mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-25 01:18:42 +00:00
Importing Twenty Nineteen, our new default theme for 2019, set for 5.0.
Let Gutenberg shine with this simple, fast, and powerful theme. Initial development occurred on GitHub. See: https://github.com/WordPress/twentynineteen Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, aaronjorbin, netweb, b-07, khleomix, blowery, dereksmart, jasmussen, audrasjb, nielslange, mmaumio, dimadin, joyously, anevins12, peterwilsoncc, dannycooper, icaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, icaleb, grapplerulrich, ocean90, joshfeck, frankew, abdulwahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart. Built from https://develop.svn.wordpress.org/branches/5.0@43842 git-svn-id: http://core.svn.wordpress.org/branches/5.0@43671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9b3cee6428
commit
b8cb0e7058
@ -6,28 +6,28 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
<section id="primary" class="content-area">
|
||||
<main id="main" class="site-main">
|
||||
|
||||
<section class="error-404 not-found">
|
||||
<div class="error-404 not-found">
|
||||
<header class="page-header">
|
||||
<h1 class="page-title"><?php _e( 'Oops! That page can’t be found.', 'twentynineteen' ); ?></h1>
|
||||
</header><!-- .page-header -->
|
||||
|
||||
<div class="page-content">
|
||||
<p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentynineteen' ); ?></p>
|
||||
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .page-content -->
|
||||
</section><!-- .error-404 -->
|
||||
</div><!-- .error-404 -->
|
||||
|
||||
</main><!-- #main -->
|
||||
</div><!-- #primary -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
|
@ -6,12 +6,13 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
<section id="primary" class="content-area">
|
||||
<main id="main" class="site-main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
@ -19,7 +20,8 @@ get_header();
|
||||
<header class="page-header">
|
||||
<?php
|
||||
the_archive_title( '<h1 class="page-title">', '</h1>' );
|
||||
the_archive_description( '<div class="page-description">', '</div>' );
|
||||
// Remove for now @TODO
|
||||
// the_archive_description( '<div class="page-description">', '</div>' );
|
||||
?>
|
||||
</header><!-- .page-header -->
|
||||
|
||||
@ -33,7 +35,7 @@ get_header();
|
||||
* If you want to override this in a child theme, then include a file
|
||||
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
|
||||
*/
|
||||
get_template_part( 'template-parts/content/content' );
|
||||
get_template_part( 'template-parts/content/content', 'excerpt' );
|
||||
|
||||
// End the loop.
|
||||
endwhile;
|
||||
@ -49,7 +51,7 @@ get_header();
|
||||
?>
|
||||
|
||||
</main><!-- .site-main -->
|
||||
</div><!-- .content-area -->
|
||||
</section><!-- .content-area -->
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
|
@ -4,6 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -32,7 +33,7 @@ class TwentyNineteen_SVG_Icons {
|
||||
$arr = array();
|
||||
}
|
||||
if ( array_key_exists( $icon, $arr ) ) {
|
||||
$repl = sprintf( '<svg id="%s-icon-%s" class="svg-icon" width="%d" height="%d" aria-hidden="true" role="img" ', $group, $icon, $size, $size );
|
||||
$repl = sprintf( '<svg class="svg-icon" width="%d" height="%d" aria-hidden="true" role="img" focusable="false" ', $size, $size );
|
||||
$svg = preg_replace( '/^<svg /', $repl, trim( $arr[ $icon ] ) ); // Add extra attributes to SVG code.
|
||||
$svg = preg_replace( "/([\n\t]+)/", ' ', $svg ); // Remove newlines & tabs.
|
||||
$svg = preg_replace( '/>\s*</', '><', $svg ); // Remove white space between SVG tags.
|
||||
@ -70,14 +71,14 @@ class TwentyNineteen_SVG_Icons {
|
||||
* @var array
|
||||
*/
|
||||
static $ui_icons = array(
|
||||
'link' => /* material-design – link */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
'link' => /* material-design – link */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/>
|
||||
</svg>',
|
||||
|
||||
'watch' => /* material-design – watch-later */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
'watch' => /* material-design – watch-later */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<defs>
|
||||
<path id="a" d="M0 0h24v24H0V0z"/>
|
||||
</defs>
|
||||
@ -87,72 +88,78 @@ class TwentyNineteen_SVG_Icons {
|
||||
<path clip-path="url(#b)" d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm4.2 14.2L11 13V7h1.5v5.2l4.5 2.7-.8 1.3z"/>
|
||||
</svg>',
|
||||
|
||||
'archive' => /* material-design – folder */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
'archive' => /* material-design – folder */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/>
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
</svg>',
|
||||
|
||||
'tag' => /* material-design – local_offer */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
'tag' => /* material-design – local_offer */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<path d="M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7z"/>
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
</svg>',
|
||||
|
||||
'comment' => /* material-design – comment */ '
|
||||
'comment' => /* material-design – comment */ '
|
||||
<svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<path d="M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18z"/>
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
</svg>',
|
||||
|
||||
'person' => /* material-design – person */ '
|
||||
'person' => /* material-design – person */ '
|
||||
<svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/>
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
</svg>',
|
||||
|
||||
'edit' => /* material-design – edit */ '
|
||||
'edit' => /* material-design – edit */ '
|
||||
<svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/>
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
</svg>',
|
||||
|
||||
'chevron_left' => /* material-design – chevron_left */ '
|
||||
'chevron_left' => /* material-design – chevron_left */ '
|
||||
<svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/>
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
</svg>',
|
||||
|
||||
'chevron_right' => /* material-design – chevron_right */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
'chevron_right' => /* material-design – chevron_right */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/>
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
</svg>',
|
||||
|
||||
'check' => /* material-design – check */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
'check' => /* material-design – check */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/>
|
||||
</svg>',
|
||||
|
||||
'arrow_drop_down_circle' => /* material-design – arrow_drop_down_circle */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 12l-4-4h8l-4 4z"/>
|
||||
</svg>',
|
||||
|
||||
'keyboard_arrow_down' => /* material-design – keyboard_arrow_down */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
'keyboard_arrow_down' => /* material-design – keyboard_arrow_down */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<path d="M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"/>
|
||||
<path fill="none" d="M0 0h24v24H0V0z"/>
|
||||
</svg>',
|
||||
|
||||
'keyboard_arrow_right' => /* material-design – keyboard_arrow_right */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
'keyboard_arrow_right' => /* material-design – keyboard_arrow_right */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<path d="M10 17l5-5-5-5v10z"/>
|
||||
<path fill="none" d="M0 24V0h24v24H0z"/>
|
||||
</svg>',
|
||||
|
||||
'keyboard_arrow_left' => /* material-design – keyboard_arrow_left */ '
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
<path d="M14 7l-5 5 5 5V7z"/>
|
||||
<path fill="none" d="M24 0v24H0V0h24z"/>
|
||||
</svg>',
|
||||
|
||||
);
|
||||
|
||||
/**
|
||||
|
@ -4,6 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -54,7 +55,7 @@ class TwentyNineteen_Walker_Comment extends Walker_Comment {
|
||||
|
||||
/* translators: %s: comment author link */
|
||||
printf(
|
||||
__( '%s <span class="screen-reader-text says">says:</span>' ),
|
||||
__( '%s <span class="screen-reader-text says">says:</span>', 'twentynineteen' ),
|
||||
sprintf( '<b class="fn">%s</b>', get_comment_author_link( $comment ) )
|
||||
);
|
||||
?>
|
||||
@ -69,12 +70,12 @@ class TwentyNineteen_Walker_Comment extends Walker_Comment {
|
||||
</a>
|
||||
<?php
|
||||
$edit_comment_icon = twentynineteen_get_icon_svg( 'edit', 16 );
|
||||
edit_comment_link( __( 'Edit' ), '<span class="edit-link-sep">—</span> <span class="edit-link">' . $edit_comment_icon, '</span>' );
|
||||
edit_comment_link( __( 'Edit', 'twentynineteen' ), '<span class="edit-link-sep">—</span> <span class="edit-link">' . $edit_comment_icon, '</span>' );
|
||||
?>
|
||||
</div><!-- .comment-metadata -->
|
||||
|
||||
<?php if ( '0' == $comment->comment_approved ) : ?>
|
||||
<p class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.' ); ?></p>
|
||||
<p class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'twentynineteen' ); ?></p>
|
||||
<?php endif; ?>
|
||||
</footer><!-- .comment-meta -->
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -28,9 +29,9 @@ if ( post_password_required() ) {
|
||||
<?php
|
||||
if ( comments_open() ) {
|
||||
if ( have_comments() ) {
|
||||
echo esc_html_e( 'Join the Conversation', 'twentynineteen' );
|
||||
esc_html_e( 'Join the Conversation', 'twentynineteen' );
|
||||
} else {
|
||||
echo esc_html_e( 'Leave a comment', 'twentynineteen' );
|
||||
esc_html_e( 'Leave a comment', 'twentynineteen' );
|
||||
}
|
||||
} else {
|
||||
$comments_number = get_comments_number();
|
||||
@ -84,17 +85,6 @@ if ( post_password_required() ) {
|
||||
</ol><!-- .comment-list -->
|
||||
<?php
|
||||
|
||||
// Show comment form at bottom if showing newest comments at the bottom.
|
||||
if ( comments_open() && 'asc' === strtolower( get_option( 'comment_order', 'asc' ) ) ) :
|
||||
?>
|
||||
<div class="comment-form-flex">
|
||||
<span class="screen-reader-text"><?php esc_html_e( 'Leave a comment', 'twentynineteen' ); ?></span>
|
||||
<?php twentynineteen_comment_form( 'asc' ); ?>
|
||||
<h2 class="comments-title" aria-hidden="true"><?php esc_html_e( 'Leave a comment', 'twentynineteen' ); ?></h2>
|
||||
</div>
|
||||
<?php
|
||||
endif;
|
||||
|
||||
// Show comment navigation
|
||||
if ( have_comments() ) :
|
||||
$prev_icon = twentynineteen_get_icon_svg( 'chevron_left', 22 );
|
||||
@ -108,6 +98,17 @@ if ( post_password_required() ) {
|
||||
);
|
||||
endif;
|
||||
|
||||
// Show comment form at bottom if showing newest comments at the bottom.
|
||||
if ( comments_open() && 'asc' === strtolower( get_option( 'comment_order', 'asc' ) ) ) :
|
||||
?>
|
||||
<div class="comment-form-flex">
|
||||
<span class="screen-reader-text"><?php esc_html_e( 'Leave a comment', 'twentynineteen' ); ?></span>
|
||||
<?php twentynineteen_comment_form( 'asc' ); ?>
|
||||
<h2 class="comments-title" aria-hidden="true"><?php esc_html_e( 'Leave a comment', 'twentynineteen' ); ?></h2>
|
||||
</div>
|
||||
<?php
|
||||
endif;
|
||||
|
||||
// If comments are closed and there are comments, let's leave a little note, shall we?
|
||||
if ( ! comments_open() ) :
|
||||
?>
|
||||
|
@ -8,6 +8,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
?>
|
||||
@ -15,8 +16,11 @@
|
||||
</div><!-- #content -->
|
||||
|
||||
<footer id="colophon" class="site-footer">
|
||||
<?php get_template_part( 'template-parts/footer/footer', 'widgets' ); ?>
|
||||
<div class="site-info">
|
||||
<a class="site-name" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>,
|
||||
<?php if ( ! empty( get_bloginfo( 'name' ) ) ) : ?>
|
||||
<a class="site-name" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>,
|
||||
<?php endif; ?>
|
||||
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentynineteen' ) ); ?>" class="imprint">
|
||||
<?php printf( __( 'Proudly powered by %s', 'twentynineteen' ), 'WordPress' ); ?>.
|
||||
</a>
|
||||
|
@ -6,6 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
if ( ! function_exists( 'twentynineteen_setup' ) ) :
|
||||
@ -67,18 +68,6 @@ if ( ! function_exists( 'twentynineteen_setup' ) ) :
|
||||
)
|
||||
);
|
||||
|
||||
// Set up the WordPress core custom background feature.
|
||||
add_theme_support(
|
||||
'custom-background',
|
||||
apply_filters(
|
||||
'twentynineteen_custom_background_args',
|
||||
array(
|
||||
'default-color' => 'ffffff',
|
||||
'default-image' => '',
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* Add support for core custom logo.
|
||||
*
|
||||
@ -106,10 +95,44 @@ if ( ! function_exists( 'twentynineteen_setup' ) ) :
|
||||
// Enqueue editor styles
|
||||
add_editor_style( 'style-editor.css' );
|
||||
|
||||
// Add custom color to the editor color palette
|
||||
add_theme_support(
|
||||
'editor-color-palette',
|
||||
array(
|
||||
array(
|
||||
'name' => esc_html__( 'Primary Color', 'twentynineteen' ),
|
||||
'slug' => 'primary',
|
||||
'color' => twentynineteen_hsl_hex( absint( get_theme_mod( 'colorscheme_hue', 199 ) ), 100, 33 ),
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
}
|
||||
endif;
|
||||
add_action( 'after_setup_theme', 'twentynineteen_setup' );
|
||||
|
||||
/**
|
||||
* Register widget area.
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar
|
||||
*/
|
||||
function twentynineteen_widgets_init() {
|
||||
|
||||
register_sidebar(
|
||||
array(
|
||||
'name' => __( 'Footer 1', 'twentynineteen' ),
|
||||
'id' => 'sidebar-1',
|
||||
'description' => __( 'Add widgets here to appear in your footer.', 'twentynineteen' ),
|
||||
'before_widget' => '<section id="%1$s" class="widget %2$s">',
|
||||
'after_widget' => '</section>',
|
||||
'before_title' => '<h2 class="widget-title">',
|
||||
'after_title' => '</h2>',
|
||||
)
|
||||
);
|
||||
|
||||
}
|
||||
add_action( 'widgets_init', 'twentynineteen_widgets_init' );
|
||||
|
||||
/**
|
||||
* Set the content width in pixels, based on the theme's design and stylesheet.
|
||||
*
|
||||
@ -135,6 +158,14 @@ function twentynineteen_scripts() {
|
||||
|
||||
wp_enqueue_script( 'twentynineteen-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20151215', true );
|
||||
|
||||
if ( has_nav_menu( 'menu-1' ) ) {
|
||||
wp_enqueue_script( 'twentynineteen-touch-navigation', get_theme_file_uri( '/js/touch-navigation.js' ), array(), '1.0', true );
|
||||
$twentynineteen_l10n['expand'] = __( 'Expand child menu', 'twentynineteen' );
|
||||
$twentynineteen_l10n['collapse'] = __( 'Collapse child menu', 'twentynineteen' );
|
||||
}
|
||||
|
||||
wp_localize_script( 'twentynineteen-skip-link-focus-fix', 'twentynineteenScreenReaderText', $twentynineteen_l10n );
|
||||
|
||||
wp_enqueue_style( 'twentynineteen-print-style', get_template_directory_uri() . '/print.css', array(), wp_get_theme()->get( 'Version' ), 'print' );
|
||||
|
||||
if ( is_singular() && twentynineteen_can_show_post_thumbnail() ) {
|
||||
@ -151,11 +182,34 @@ add_action( 'wp_enqueue_scripts', 'twentynineteen_scripts' );
|
||||
* Enqueue supplemental block editor styles
|
||||
*/
|
||||
function twentynineteen_editor_frame_styles() {
|
||||
wp_enqueue_style( 'twentynineteen-editor-frame-styles', get_theme_file_uri( '/style-editor-frame.css' ), false, '1.0', 'all' );
|
||||
}
|
||||
|
||||
// Include color patterns
|
||||
require_once( get_parent_theme_file_path( '/inc/color-patterns.php' ) );
|
||||
|
||||
wp_enqueue_style( 'twentynineteen-editor-frame-styles', get_theme_file_uri( '/style-editor-frame.css' ), false, '1.0', 'all' );
|
||||
wp_add_inline_style( 'twentynineteen-editor-frame-styles', twentynineteen_custom_colors_css() );
|
||||
}
|
||||
add_action( 'enqueue_block_editor_assets', 'twentynineteen_editor_frame_styles' );
|
||||
|
||||
/**
|
||||
* Display custom color CSS in customizer and on frontend.
|
||||
*/
|
||||
function twentynineteen_colors_css_wrap() {
|
||||
if ( 'custom' !== get_theme_mod( 'colorscheme' ) && ! is_customize_preview() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
require_once( get_parent_theme_file_path( '/inc/color-patterns.php' ) );
|
||||
$hue = absint( get_theme_mod( 'colorscheme_hue', 250 ) );
|
||||
?>
|
||||
|
||||
<style type="text/css" id="custom-theme-colors" <?php echo is_customize_preview() ? 'data-hue="' . $hue . '"' : ''; ?>>
|
||||
<?php echo twentynineteen_custom_colors_css(); ?>
|
||||
</style>
|
||||
<?php
|
||||
}
|
||||
add_action( 'wp_head', 'twentynineteen_colors_css_wrap' );
|
||||
|
||||
/**
|
||||
* SVG Icons class.
|
||||
*/
|
||||
|
@ -8,6 +8,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
?><!doctype html>
|
||||
<html <?php language_attributes(); ?>>
|
||||
@ -23,50 +24,17 @@
|
||||
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'twentynineteen' ); ?></a>
|
||||
|
||||
<header id="masthead" class="<?php echo is_singular() && twentynineteen_can_show_post_thumbnail() ? 'site-header featured-image' : 'site-header'; ?>">
|
||||
|
||||
<div class="site-branding-container">
|
||||
<?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
|
||||
</div><!-- .layout-wrap -->
|
||||
|
||||
<?php if ( is_singular() && twentynineteen_can_show_post_thumbnail() ) : ?>
|
||||
<div class="hentry">
|
||||
<div class="site-featured-image">
|
||||
<?php the_post(); ?>
|
||||
<div class="entry-header">
|
||||
<?php if ( ! is_page() ) : ?>
|
||||
<?php $discussion = twentynineteen_can_show_post_thumbnail() ? twentynineteen_get_discussion_data() : null; ?>
|
||||
<?php endif; ?>
|
||||
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
|
||||
<?php if ( ! is_page() ) : ?>
|
||||
<div class="<?php echo ( ! empty( $discussion ) && count( $discussion->authors ) > 0 ) ? 'entry-meta has-discussion' : 'entry-meta'; ?>">
|
||||
<?php twentynineteen_posted_by(); ?>
|
||||
<?php twentynineteen_posted_on(); ?>
|
||||
<span class="comment-count">
|
||||
<?php
|
||||
if ( ! empty( $discussion ) ) {
|
||||
twentynineteen_discussion_avatars_list( $discussion->authors );}
|
||||
?>
|
||||
<?php twentynineteen_comment_count(); ?>
|
||||
</span>
|
||||
<?php
|
||||
// Edit post link.
|
||||
edit_post_link(
|
||||
sprintf(
|
||||
wp_kses(
|
||||
/* translators: %s: Name of current post. Only visible to screen readers. */
|
||||
__( 'Edit <span class="screen-reader-text">%s</span>', 'twentynineteen' ),
|
||||
array(
|
||||
'span' => array(
|
||||
'class' => array(),
|
||||
),
|
||||
)
|
||||
),
|
||||
get_the_title()
|
||||
),
|
||||
'<span class="edit-link">' . twentynineteen_get_icon_svg( 'edit', 16 ),
|
||||
'</span>'
|
||||
);
|
||||
?>
|
||||
</div><!-- .meta-info -->
|
||||
<?php endif; ?>
|
||||
<?php $discussion = ! is_page() && twentynineteen_can_show_post_thumbnail() ? twentynineteen_get_discussion_data() : null; ?>
|
||||
<div class="<?php echo ( ! empty( $discussion ) && count( $discussion->authors ) > 0 ) ? 'entry-header has-discussion' : 'entry-header'; ?>">
|
||||
<?php get_template_part( 'template-parts/header/entry', 'header' ); ?>
|
||||
</div><!-- .entry-header -->
|
||||
<?php rewind_posts(); ?>
|
||||
</div>
|
||||
|
103
wp-content/themes/twentynineteen/image.php
Normal file
103
wp-content/themes/twentynineteen/image.php
Normal file
@ -0,0 +1,103 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying image attachments
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<section id="primary" class="content-area">
|
||||
<main id="main" class="site-main">
|
||||
|
||||
<?php
|
||||
// Start the loop.
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
|
||||
<header class="entry-header">
|
||||
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
|
||||
<figure class="entry-attachment wp-block-image">
|
||||
<?php
|
||||
/**
|
||||
* Filter the default twentynineteen image attachment size.
|
||||
*
|
||||
* @since Twenty Sixteen 1.0
|
||||
*
|
||||
* @param string $image_size Image size. Default 'large'.
|
||||
*/
|
||||
$image_size = apply_filters( 'twentynineteen_attachment_size', 'full' );
|
||||
|
||||
echo wp_get_attachment_image( get_the_ID(), $image_size );
|
||||
?>
|
||||
|
||||
<figcaption class="wp-caption-text"><?php echo get_the_excerpt(); ?></figcaption>
|
||||
|
||||
</figure><!-- .entry-attachment -->
|
||||
|
||||
<?php
|
||||
the_content();
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentynineteen' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
'link_before' => '<span>',
|
||||
'link_after' => '</span>',
|
||||
'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentynineteen' ) . ' </span>%',
|
||||
'separator' => '<span class="screen-reader-text">, </span>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-footer">
|
||||
<?php
|
||||
// Retrieve attachment metadata.
|
||||
$metadata = wp_get_attachment_metadata();
|
||||
if ( $metadata ) {
|
||||
printf(
|
||||
'<span class="full-size-link"><span class="screen-reader-text">%1$s </span><a href="%2$s">%3$s × %4$s</a></span>',
|
||||
esc_html_x( 'Full size', 'Used before full size attachment link.', 'twentynineteen' ),
|
||||
esc_url( wp_get_attachment_url() ),
|
||||
absint( $metadata['width'] ),
|
||||
absint( $metadata['height'] )
|
||||
);
|
||||
}
|
||||
?>
|
||||
|
||||
<?php twentynineteen_entry_footer(); ?>
|
||||
|
||||
</footer><!-- .entry-footer -->
|
||||
</article><!-- #post-## -->
|
||||
|
||||
<?php
|
||||
// Parent post navigation.
|
||||
the_post_navigation(
|
||||
array(
|
||||
'prev_text' => _x( '<span class="meta-nav">Published in</span><br><span class="post-title">%title</span>', 'Parent post link', 'twentynineteen' ),
|
||||
)
|
||||
);
|
||||
|
||||
// If comments are open or we have at least one comment, load up the comment template.
|
||||
if ( comments_open() || get_comments_number() ) {
|
||||
comments_template();
|
||||
}
|
||||
|
||||
// End the loop.
|
||||
endwhile;
|
||||
?>
|
||||
|
||||
</main><!-- .site-main -->
|
||||
</section><!-- .content-area -->
|
||||
|
||||
<?php get_footer(); ?>
|
216
wp-content/themes/twentynineteen/inc/color-patterns.php
Normal file
216
wp-content/themes/twentynineteen/inc/color-patterns.php
Normal file
@ -0,0 +1,216 @@
|
||||
<?php
|
||||
/**
|
||||
* Twenty Nineteen: Color Patterns
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage TwentyNineteen
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Generate the CSS for the current custom color scheme.
|
||||
*/
|
||||
function twentynineteen_custom_colors_css() {
|
||||
|
||||
$default_primary_color = 199;
|
||||
$primary_color = absint( get_theme_mod( 'colorscheme_hue', $default_primary_color ) );
|
||||
|
||||
/**
|
||||
* Filter Twenty Nineteen default saturation level.
|
||||
*
|
||||
* @since Twenty Nineteen 1.0
|
||||
*
|
||||
* @param int $saturation Color saturation level.
|
||||
*/
|
||||
|
||||
$saturation = absint( apply_filters( 'twentynineteen_custom_colors_saturation', 100 ) );
|
||||
$reduced_saturation = ( .8 * $saturation ) . '%';
|
||||
$saturation = $saturation . '%';
|
||||
|
||||
$theme_css = '
|
||||
/*
|
||||
* Set background for:
|
||||
* - featured image :before
|
||||
* - featured image :before
|
||||
* - post thumbmail :before
|
||||
* - post thumbmail :before
|
||||
* - Submenu
|
||||
* - Sticky Post
|
||||
* - buttons
|
||||
* - WP Block Button
|
||||
* - Blocks
|
||||
*/
|
||||
.image-filters-enabled .site-header.featured-image .site-featured-image:before,
|
||||
.image-filters-enabled .site-header.featured-image .site-featured-image:after,
|
||||
.image-filters-enabled .entry .post-thumbnail:before,
|
||||
.image-filters-enabled .entry .post-thumbnail:after,
|
||||
.main-navigation .sub-menu,
|
||||
.sticky-post,
|
||||
.entry-content .wp-block-button .wp-block-button__link,
|
||||
.button, button, input[type="button"], input[type="reset"], input[type="submit"],
|
||||
.entry-content > .has-primary-background-color,
|
||||
.entry-content > *[class^="wp-block-"].has-primary-background-color,
|
||||
.entry-content > *[class^="wp-block-"] .has-primary-background-color,
|
||||
.entry-content > *[class^="wp-block-"].is-style-solid-color,
|
||||
.entry-content > *[class^="wp-block-"].is-style-solid-color .has-primary-background-color,
|
||||
.entry-content .wp-block-file .wp-block-file__button {
|
||||
background-color: hsl( ' . $primary_color . ', ' . $saturation . ', 33% ); /* base: #0073a8; */
|
||||
}
|
||||
|
||||
/*
|
||||
* Set Color for:
|
||||
* - all links
|
||||
* - main navigation links
|
||||
* - Post navigation links
|
||||
* - Post entry meta hover
|
||||
* - Post entry header more-link hover
|
||||
* - main navigation svg
|
||||
* - comment navigation
|
||||
* - Comment edit link hover
|
||||
* - Site Footer Link hover
|
||||
* - Widget links
|
||||
*/
|
||||
a,
|
||||
a:visited,
|
||||
.main-navigation .main-menu > li,
|
||||
.main-navigation ul.main-menu > li > a,
|
||||
.post-navigation .post-title,
|
||||
.entry .entry-meta a:hover,
|
||||
.entry .entry-footer a:hover,
|
||||
.entry .entry-content .more-link:hover,
|
||||
.main-navigation .main-menu > li > a + svg,
|
||||
.comment-navigation .nav-previous a:hover,
|
||||
.comment-navigation .nav-next a:hover,
|
||||
.comment .comment-metadata .comment-edit-link:hover,
|
||||
#colophon .site-info a:hover,
|
||||
.widget a,
|
||||
.entry-content .wp-block-button.is-style-outline .wp-block-button__link,
|
||||
.entry-content .wp-block-button.is-style-outline .wp-block-button__link,
|
||||
.entry-content .wp-block-button.is-style-outline .wp-block-button__link,
|
||||
.entry-content > *[class^="wp-block-"] .has-primary-color,
|
||||
.entry-content > *[class^="wp-block-"].is-style-solid-color .has-primary-color {
|
||||
color: hsl( ' . $primary_color . ', ' . $saturation . ', 33% ); /* base: #0073a8; */
|
||||
}
|
||||
|
||||
/*
|
||||
* Set left border color for:
|
||||
* wp block quote
|
||||
*/
|
||||
.entry-content blockquote,
|
||||
.entry-content .wp-block-quote:not(.is-large),
|
||||
.entry-content .wp-block-quote:not(.is-style-large) {
|
||||
border-left-color: hsl( ' . $primary_color . ', ' . $saturation . ', 33% ); /* base: #0073a8; */
|
||||
}
|
||||
|
||||
/*
|
||||
* Set border color for:
|
||||
* :focus
|
||||
*/
|
||||
input[type="text"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="range"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="color"]:focus,
|
||||
textarea:focus {
|
||||
border-color: hsl( ' . $primary_color . ', ' . $saturation . ', 33% ); /* base: #0073a8; */
|
||||
}
|
||||
|
||||
.gallery-item > div > a:focus {
|
||||
box-shadow: 0 0 0 2px hsl( ' . $primary_color . ', ' . $saturation . ', 33% ); /* base: #0073a8; */
|
||||
}
|
||||
|
||||
/* Hover colors */
|
||||
a:hover, a:active,
|
||||
.main-navigation .main-menu > li > a:hover,
|
||||
.main-navigation .main-menu > li > a:hover + svg,
|
||||
.post-navigation .nav-links a:hover .post-title,
|
||||
.author-bio .author-description .author-link:hover,
|
||||
.comment .comment-author .fn a:hover,
|
||||
.comment-reply-link:hover,
|
||||
#cancel-comment-reply-link:hover,
|
||||
.widget a:hover {
|
||||
color: hsl( ' . $primary_color . ', ' . $saturation . ', 23% ); /* base: #005177; */
|
||||
}
|
||||
|
||||
.main-navigation .sub-menu > li > a:hover,
|
||||
.main-navigation .sub-menu > li > a:focus,
|
||||
.main-navigation .sub-menu > li > a:hover:after,
|
||||
.main-navigation .sub-menu > li > a:focus:after,
|
||||
.main-navigation .sub-menu > li > a:not(.mobile-submenu-expand):hover,
|
||||
.main-navigation .sub-menu > li > a:not(.mobile-submenu-expand):focus {
|
||||
background: hsl( ' . $primary_color . ', ' . $saturation . ', 23% ); /* base: #005177; */
|
||||
}';
|
||||
|
||||
$editor_css = '
|
||||
/*
|
||||
* Set colors for:
|
||||
* - links
|
||||
* - blockquote
|
||||
* - pullquote (solid color)
|
||||
* - buttons
|
||||
*/
|
||||
.editor-block-list__layout .editor-block-list__block a,
|
||||
.editor-block-list__layout .editor-block-list__block .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color),
|
||||
.editor-block-list__layout .editor-block-list__block .wp-block-button.is-style-outline:hover .wp-block-button__link:not(.has-text-color),
|
||||
.editor-block-list__layout .editor-block-list__block .wp-block-button.is-style-outline:focus .wp-block-button__link:not(.has-text-color),
|
||||
.editor-block-list__layout .editor-block-list__block .wp-block-button.is-style-outline:active .wp-block-button__link:not(.has-text-color) {
|
||||
color: hsl( ' . $primary_color . ', ' . $saturation . ', 33% ); /* base: #0073a8; */
|
||||
}
|
||||
|
||||
.editor-block-list__layout .editor-block-list__block .wp-block-quote:not(.is-large):not(.is-style-large),
|
||||
.editor-styles-wrapper .editor-block-list__layout .wp-block-freeform blockquote {
|
||||
border-left: 2px solid hsl( ' . $primary_color . ', ' . $saturation . ', 33% ); /* base: #0073a8; */
|
||||
}
|
||||
|
||||
.editor-block-list__layout .editor-block-list__block .wp-block-pullquote.is-style-solid-color:not(.has-background-color) {
|
||||
background-color: hsl( ' . $primary_color . ', ' . $saturation . ', 33% ); /* base: #0073a8; */
|
||||
}
|
||||
|
||||
.editor-block-list__layout .editor-block-list__block .wp-block-file .wp-block-file__button,
|
||||
.editor-block-list__layout .editor-block-list__block .wp-block-button:not(.is-style-outline) .wp-block-button__link,
|
||||
.editor-block-list__layout .editor-block-list__block .wp-block-button:not(.is-style-outline) .wp-block-button__link:active,
|
||||
.editor-block-list__layout .editor-block-list__block .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus,
|
||||
.editor-block-list__layout .editor-block-list__block .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
|
||||
background-color: hsl( ' . $primary_color . ', ' . $saturation . ', 33% ); /* base: #0073a8; */
|
||||
}
|
||||
|
||||
/* Hover colors */
|
||||
.editor-block-list__layout .editor-block-list__block a:hover,
|
||||
.editor-block-list__layout .editor-block-list__block a:active {
|
||||
color: hsl( ' . $primary_color . ', ' . $saturation . ', 23% ); /* base: #005177; */
|
||||
}
|
||||
|
||||
/* Do not overwrite solid color pullquote or cover links */
|
||||
.editor-block-list__layout .editor-block-list__block .wp-block-pullquote.is-style-solid-color a,
|
||||
.editor-block-list__layout .editor-block-list__block .wp-block-cover a {
|
||||
color: inherit;
|
||||
}
|
||||
';
|
||||
$css = '';
|
||||
if ( function_exists( 'register_block_type' ) && is_admin() ) {
|
||||
$css .= $editor_css;
|
||||
} else if ( ! is_admin() ) {
|
||||
$css = $theme_css;
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters Twenty Nineteen custom colors CSS.
|
||||
*
|
||||
* @since Twenty Nineteen 1.0
|
||||
*
|
||||
* @param string $css Base theme colors CSS.
|
||||
* @param int $primary_color The user's selected color hue.
|
||||
* @param string $saturation Filtered theme color saturation level.
|
||||
*/
|
||||
return apply_filters( 'twentynineteen_custom_colors_css', $css, $primary_color, $saturation );
|
||||
}
|
@ -4,6 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -32,6 +33,78 @@ function twentynineteen_customize_register( $wp_customize ) {
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom colors.
|
||||
*/
|
||||
$wp_customize->add_setting(
|
||||
'colorscheme',
|
||||
array(
|
||||
'default' => 'default',
|
||||
'transport' => 'postMessage',
|
||||
'sanitize_callback' => 'twentynineteen_sanitize_color_option',
|
||||
)
|
||||
);
|
||||
|
||||
$wp_customize->add_control(
|
||||
'colorscheme',
|
||||
array(
|
||||
'type' => 'radio',
|
||||
'label' => __( 'Color Scheme', 'twentynineteen' ),
|
||||
'choices' => array(
|
||||
'default' => __( 'Default', 'twentynineteen' ),
|
||||
'custom' => __( 'Custom', 'twentynineteen' ),
|
||||
),
|
||||
'section' => 'colors',
|
||||
'priority' => 5,
|
||||
)
|
||||
);
|
||||
|
||||
// Add primary color setting and control.
|
||||
$wp_customize->add_setting(
|
||||
'colorscheme_hue',
|
||||
array(
|
||||
'default' => 199,
|
||||
'transport' => 'postMessage',
|
||||
'sanitize_callback' => 'absint',
|
||||
)
|
||||
);
|
||||
|
||||
$wp_customize->add_control(
|
||||
new WP_Customize_Color_Control(
|
||||
$wp_customize,
|
||||
'colorscheme_hue',
|
||||
array(
|
||||
'label' => __( 'Primary Color' ),
|
||||
'description' => __( 'Changes the Color of the Featured Image overlay, Buttons, Links etc.' ),
|
||||
'section' => 'colors',
|
||||
'mode' => 'hue',
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
$wp_customize->add_setting(
|
||||
'image_filter',
|
||||
array(
|
||||
'default' => 'active',
|
||||
'sanitize_callback' => 'twentynineteen_sanitize_image_filter',
|
||||
'transport' => 'postMessage',
|
||||
)
|
||||
);
|
||||
|
||||
$wp_customize->add_control(
|
||||
'image_filter',
|
||||
array(
|
||||
'label' => __( 'Featured Image Color Filter', 'twentynineteen' ),
|
||||
'section' => 'colors',
|
||||
'type' => 'radio',
|
||||
'description' => __( "Twenty Nineteen adds a color filter to featured images using your site's primary color. If you disable this effect, the theme will use a black filter in individual posts to keep text readable when it appears on top of the featured image.", 'twentynineteen' ) . '<br/><span style="font-style: normal; display: block; margin-top: 16px;">' . __( 'On Featured Images, apply', 'twentynineteen' ) . '</span>',
|
||||
'choices' => array(
|
||||
'active' => __( 'A color filter', 'twentynineteen' ),
|
||||
'inactive' => __( 'A black filter', 'twentynineteen' ),
|
||||
),
|
||||
)
|
||||
);
|
||||
}
|
||||
add_action( 'customize_register', 'twentynineteen_customize_register' );
|
||||
|
||||
@ -54,9 +127,56 @@ function twentynineteen_customize_partial_blogdescription() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
|
||||
* Bind JS handlers to instantly live-preview changes.
|
||||
*/
|
||||
function twentynineteen_customize_preview_js() {
|
||||
wp_enqueue_script( 'twentynineteen-customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20151215', true );
|
||||
wp_enqueue_script( 'twentynineteen-customize-preview', get_theme_file_uri( '/js/customize-preview.js' ), array( 'customize-preview' ), '20151215', true );
|
||||
}
|
||||
add_action( 'customize_preview_init', 'twentynineteen_customize_preview_js' );
|
||||
|
||||
/**
|
||||
* Load dynamic logic for the customizer controls area.
|
||||
*/
|
||||
function twentynineteen_panels_js() {
|
||||
wp_enqueue_script( 'twentynineteen-customize-controls', get_theme_file_uri( '/js/customize-controls.js' ), array(), '1.0', true );
|
||||
}
|
||||
add_action( 'customize_controls_enqueue_scripts', 'twentynineteen_panels_js' );
|
||||
|
||||
/**
|
||||
* Sanitize image filter choice.
|
||||
*
|
||||
* @param string $choice Whether image filter is active.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function twentynineteen_sanitize_color_option( $choice ) {
|
||||
$valid = array(
|
||||
'default',
|
||||
'custom',
|
||||
);
|
||||
|
||||
if ( in_array( $choice, $valid, true ) ) {
|
||||
return $choice;
|
||||
}
|
||||
|
||||
return 'default';
|
||||
}
|
||||
/**
|
||||
* Sanitize image filter choice.
|
||||
*
|
||||
* @param string $choice Whether image filter is active.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function twentynineteen_sanitize_image_filter( $choice ) {
|
||||
$valid = array(
|
||||
'active',
|
||||
'inactive',
|
||||
);
|
||||
|
||||
if ( in_array( $choice, $valid, true ) ) {
|
||||
return $choice;
|
||||
}
|
||||
|
||||
return 'active';
|
||||
}
|
||||
|
@ -4,6 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -4,6 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -31,6 +32,17 @@ function twentynineteen_body_classes( $classes ) {
|
||||
}
|
||||
add_filter( 'body_class', 'twentynineteen_body_classes' );
|
||||
|
||||
/**
|
||||
* Adds custom class to the array of posts classes.
|
||||
*/
|
||||
function twentynineteen_post_classes( $classes, $class, $post_id ) {
|
||||
$classes[] = 'entry';
|
||||
|
||||
return $classes;
|
||||
}
|
||||
add_filter( 'post_class', 'twentynineteen_post_classes', 10, 3 );
|
||||
|
||||
|
||||
/**
|
||||
* Add a pingback url auto-discovery header for single posts, pages, or attachments.
|
||||
*/
|
||||
@ -59,23 +71,23 @@ add_filter( 'comment_form_defaults', 'twentynineteen_comment_form_defaults' );
|
||||
*/
|
||||
function twentynineteen_get_the_archive_title() {
|
||||
if ( is_category() ) {
|
||||
$title = esc_html__( 'Category Archives:', 'twentynineteen' );
|
||||
$title = esc_html__( 'Category Archives: ', 'twentynineteen' ) . '<span class="page-description">' . single_term_title( '', false ) . '</span>';
|
||||
} elseif ( is_tag() ) {
|
||||
$title = esc_html__( 'Tag Archives:', 'twentynineteen' );
|
||||
$title = esc_html__( 'Tag Archives: ', 'twentynineteen' ) . '<span class="page-description">' . single_term_title( '', false ) . '</span>';
|
||||
} elseif ( is_author() ) {
|
||||
$title = esc_html__( 'Author Archives:', 'twentynineteen' );
|
||||
$title = esc_html__( 'Author Archives: ', 'twentynineteen' ) . '<span class="page-description">' . get_the_author_meta( 'display_name' ) . '</span>';
|
||||
} elseif ( is_year() ) {
|
||||
$title = esc_html__( 'Yearly Archives:', 'twentynineteen' );
|
||||
$title = esc_html__( 'Yearly Archives: ', 'twentynineteen' ) . '<span class="page-description">' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentynineteen' ) ) . '</span>';
|
||||
} elseif ( is_month() ) {
|
||||
$title = esc_html__( 'Monthly Archives:', 'twentynineteen' );
|
||||
$title = esc_html__( 'Monthly Archives: ', 'twentynineteen' ) . '<span class="page-description">' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentynineteen' ) ) . '</span>';
|
||||
} elseif ( is_day() ) {
|
||||
$title = esc_html__( 'Daily Archives:', 'twentynineteen' );
|
||||
$title = esc_html__( 'Daily Archives: ', 'twentynineteen' ) . '<span class="page-description">' . get_the_date() . '</span>';
|
||||
} elseif ( is_post_type_archive() ) {
|
||||
$title = esc_html__( 'Post Type Archives:', 'twentynineteen' );
|
||||
$title = esc_html__( 'Post Type Archives: ', 'twentynineteen' ) . '<span class="page-description">' . post_type_archive_title( '', false ) . '</span>';
|
||||
} elseif ( is_tax() ) {
|
||||
$tax = get_taxonomy( get_queried_object()->taxonomy );
|
||||
/* translators: 1: Taxonomy singular name */
|
||||
$title = sprintf( __( '%s Archives: ' ), $tax->labels->singular_name );
|
||||
/* translators: %s: Taxonomy singular name */
|
||||
$title = sprintf( esc_html__( '%s Archives:', 'twentynineteen' ), $tax->labels->singular_name );
|
||||
} else {
|
||||
$title = esc_html__( 'Archives:', 'twentynineteen' );
|
||||
}
|
||||
@ -83,40 +95,20 @@ function twentynineteen_get_the_archive_title() {
|
||||
}
|
||||
add_filter( 'get_the_archive_title', 'twentynineteen_get_the_archive_title' );
|
||||
|
||||
/**
|
||||
* Filters the default archive descriptions.
|
||||
*/
|
||||
function twentynineteen_get_the_archive_description() {
|
||||
if ( is_category() || is_tag() || is_tax() ) {
|
||||
$description = single_term_title( '', false );
|
||||
} elseif ( is_author() ) {
|
||||
$description = get_the_author_meta( 'display_name' );
|
||||
} elseif ( is_post_type_archive() ) {
|
||||
$description = post_type_archive_title( '', false );
|
||||
} elseif ( is_year() ) {
|
||||
$description = get_the_date( _x( 'Y', 'yearly archives date format', 'twentynineteen' ) );
|
||||
} elseif ( is_month() ) {
|
||||
$description = get_the_date( _x( 'F Y', 'monthly archives date format', 'twentynineteen' ) );
|
||||
} elseif ( is_day() ) {
|
||||
$description = get_the_date();
|
||||
} else {
|
||||
$description = null;
|
||||
}
|
||||
return $description;
|
||||
}
|
||||
add_filter( 'get_the_archive_description', 'twentynineteen_get_the_archive_description' );
|
||||
|
||||
/**
|
||||
* Determines if post thumbnail can be displayed.
|
||||
*/
|
||||
function twentynineteen_can_show_post_thumbnail() {
|
||||
return ! post_password_required() && ! is_attachment() && has_post_thumbnail();
|
||||
return apply_filters( 'twentynineteen_can_show_post_thumbnail', ! post_password_required() && ! is_attachment() && has_post_thumbnail() );
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if image filters are enabled on the theme options.
|
||||
*/
|
||||
function twentynineteen_image_filters_enabled() {
|
||||
if ( 'inactive' === get_theme_mod( 'image_filter' ) ) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -154,7 +146,7 @@ function twentynineteen_get_discussion_data() {
|
||||
}
|
||||
$authors = array();
|
||||
$commenters = array();
|
||||
$user_id = is_user_logged_in() ? get_current_user_id() : -1;
|
||||
$user_id = -1; // is_user_logged_in() ? get_current_user_id() : -1;
|
||||
$comments = get_comments(
|
||||
array(
|
||||
'post_id' => $current_post_id,
|
||||
@ -204,23 +196,179 @@ function twentynineteen_nav_menu_link_attributes( $atts, $item, $args, $depth )
|
||||
add_filter( 'nav_menu_link_attributes', 'twentynineteen_nav_menu_link_attributes', 10, 4 );
|
||||
|
||||
/**
|
||||
* Add a dropdown icon to top-level menu items.
|
||||
*
|
||||
* @param string $output Nav menu item start element.
|
||||
* @param object $item Nav menu item.
|
||||
* @param int $depth Depth.
|
||||
* @param object $args Nav menu args.
|
||||
* @return string Nav menu item start element.
|
||||
* Add a dropdown icon to top-level menu items
|
||||
*/
|
||||
function twentynineteen_add_dropdown_icons( $output, $item, $depth, $args ) {
|
||||
|
||||
// Only add class to 'top level' items on the 'primary' menu.
|
||||
if ( 'menu-1' == $args->theme_location && 0 === $depth ) {
|
||||
if ( ! isset( $args->theme_location ) || 'menu-1' !== $args->theme_location ) {
|
||||
return $output;
|
||||
}
|
||||
|
||||
if ( in_array( 'menu-item-has-children', $item->classes ) ) {
|
||||
$output .= twentynineteen_get_icon_svg( 'arrow_drop_down_circle', 16 );
|
||||
}
|
||||
} else if ( 'menu-1' == $args->theme_location && $depth >= 1 ) {
|
||||
if ( in_array( 'mobile-parent-nav-menu-item', $item->classes, true ) && isset( $item->original_id ) ) {
|
||||
// Inject the keyboard_arrow_left SVG inside the parent nav menu item, and let the item link to the parent item.
|
||||
// @todo Only do this for nested submenus? If on a first-level submenu, then really the link could be "#" since the desire is to remove the target entirely.
|
||||
$link = sprintf(
|
||||
'<a class="menu-item-link-return" id="%1$s" href="%2$s" onclick="%3$s" tabindex="-1">%4$s',
|
||||
esc_attr( "menu-item-link-return-{$item->original_id}" ),
|
||||
esc_attr( "#menu-item-link-{$item->original_id}" ),
|
||||
esc_attr( 'event.preventDefault();' ),
|
||||
twentynineteen_get_icon_svg( 'chevron_left', 24 )
|
||||
);
|
||||
|
||||
if ( in_array( 'menu-item-has-children', $item->classes ) ) {
|
||||
$output .= twentynineteen_get_icon_svg( 'keyboard_arrow_right', 24 );
|
||||
$output = preg_replace(
|
||||
'/<a\s.*?>/',
|
||||
$link,
|
||||
$output,
|
||||
1 // Limit.
|
||||
);
|
||||
} elseif ( in_array( 'menu-item-has-children', $item->classes, true ) ) {
|
||||
// Add an ID to the link element itself to facilitate navigation from submenu back to parent.
|
||||
$output = preg_replace( '/(?<=<a\s)/', sprintf( ' id="%s" ', esc_attr( "menu-item-link-{$item->ID}" ) ), $output );
|
||||
|
||||
// Add SVG icon to parent items.
|
||||
if ( 0 === $depth ) {
|
||||
$icon = twentynineteen_get_icon_svg( 'keyboard_arrow_down', 24 );
|
||||
} else {
|
||||
$icon = twentynineteen_get_icon_svg( 'chevron_right', 24 );
|
||||
}
|
||||
|
||||
// @todo We might as well just go back to using the SVG element if the link approach is not suitable for no-JS environments.
|
||||
$link = sprintf(
|
||||
'<a class="mobile-submenu-expand" href="%s" onclick="%s" tabindex="-1">%s</a>',
|
||||
esc_attr( "#menu-item-link-return-{$item->ID}" ),
|
||||
esc_attr( 'event.preventDefault();' ),
|
||||
$icon
|
||||
);
|
||||
|
||||
$output .= $link;
|
||||
$output .= "<span class='desktop-submenu-expand'>$icon</span>";
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
add_filter( 'walker_nav_menu_start_el', 'twentynineteen_add_dropdown_icons', 10, 4 );
|
||||
|
||||
/**
|
||||
* Create a nav menu item to be displayed on mobile to navigate from submenu back to the parent.
|
||||
*
|
||||
* This duplicates each parent nav menu item and makes it the first child of itself.
|
||||
*
|
||||
* @param array $sorted_menu_items Sorted nav menu items.
|
||||
* @param object $args Nav menu args.
|
||||
* @return array Amended nav menu items.
|
||||
*/
|
||||
function twentynineteen_add_mobile_parent_nav_menu_items( $sorted_menu_items, $args ) {
|
||||
static $pseudo_id = 0;
|
||||
if ( ! isset( $args->theme_location ) || 'menu-1' !== $args->theme_location ) {
|
||||
return $sorted_menu_items;
|
||||
}
|
||||
|
||||
$amended_menu_items = array();
|
||||
foreach ( $sorted_menu_items as $nav_menu_item ) {
|
||||
$amended_menu_items[] = $nav_menu_item;
|
||||
if ( in_array( 'menu-item-has-children', $nav_menu_item->classes, true ) ) {
|
||||
$parent_menu_item = clone $nav_menu_item;
|
||||
$parent_menu_item->original_id = $nav_menu_item->ID;
|
||||
$parent_menu_item->ID = --$pseudo_id;
|
||||
$parent_menu_item->db_id = $parent_menu_item->ID;
|
||||
$parent_menu_item->object_id = $parent_menu_item->ID;
|
||||
$parent_menu_item->classes = array( 'mobile-parent-nav-menu-item' );
|
||||
$parent_menu_item->menu_item_parent = $nav_menu_item->ID;
|
||||
|
||||
$amended_menu_items[] = $parent_menu_item;
|
||||
}
|
||||
}
|
||||
|
||||
return $amended_menu_items;
|
||||
}
|
||||
add_filter( 'wp_nav_menu_objects', 'twentynineteen_add_mobile_parent_nav_menu_items', 10, 2 );
|
||||
|
||||
/**
|
||||
* Convert HSL to HEX colors
|
||||
*/
|
||||
function twentynineteen_hsl_hex( $h, $s, $l, $to_hex = true ) {
|
||||
|
||||
$h /= 360;
|
||||
$s /= 100;
|
||||
$l /= 100;
|
||||
|
||||
$r = $l;
|
||||
$g = $l;
|
||||
$b = $l;
|
||||
$v = ( $l <= 0.5 ) ? ( $l * ( 1.0 + $s ) ) : ( $l + $s - $l * $s );
|
||||
if ( $v > 0 ) {
|
||||
$m;
|
||||
$sv;
|
||||
$sextant;
|
||||
$fract;
|
||||
$vsf;
|
||||
$mid1;
|
||||
$mid2;
|
||||
|
||||
$m = $l + $l - $v;
|
||||
$sv = ( $v - $m ) / $v;
|
||||
$h *= 6.0;
|
||||
$sextant = floor( $h );
|
||||
$fract = $h - $sextant;
|
||||
$vsf = $v * $sv * $fract;
|
||||
$mid1 = $m + $vsf;
|
||||
$mid2 = $v - $vsf;
|
||||
|
||||
switch ( $sextant ) {
|
||||
case 0:
|
||||
$r = $v;
|
||||
$g = $mid1;
|
||||
$b = $m;
|
||||
break;
|
||||
case 1:
|
||||
$r = $mid2;
|
||||
$g = $v;
|
||||
$b = $m;
|
||||
break;
|
||||
case 2:
|
||||
$r = $m;
|
||||
$g = $v;
|
||||
$b = $mid1;
|
||||
break;
|
||||
case 3:
|
||||
$r = $m;
|
||||
$g = $mid2;
|
||||
$b = $v;
|
||||
break;
|
||||
case 4:
|
||||
$r = $mid1;
|
||||
$g = $m;
|
||||
$b = $v;
|
||||
break;
|
||||
case 5:
|
||||
$r = $v;
|
||||
$g = $m;
|
||||
$b = $mid2;
|
||||
break;
|
||||
}
|
||||
}
|
||||
$r = round( $r * 255, 0 );
|
||||
$g = round( $g * 255, 0 );
|
||||
$b = round( $b * 255, 0 );
|
||||
|
||||
if ( $to_hex ) {
|
||||
|
||||
$r = ( $r < 15 ) ? '0' . dechex( $r ) : dechex( $r );
|
||||
$g = ( $g < 15 ) ? '0' . dechex( $g ) : dechex( $g );
|
||||
$b = ( $b < 15 ) ? '0' . dechex( $b ) : dechex( $b );
|
||||
|
||||
return "#$r$g$b";
|
||||
|
||||
} else {
|
||||
|
||||
return "rgb($r, $g, $b)";
|
||||
}
|
||||
}
|
||||
|
@ -4,6 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
if ( ! function_exists( 'twentynineteen_posted_on' ) ) :
|
||||
@ -25,7 +26,7 @@ if ( ! function_exists( 'twentynineteen_posted_on' ) ) :
|
||||
);
|
||||
|
||||
printf(
|
||||
'<span class="posted-on">%1$s<a href="%2$s" rel="bookmark">' . $time_string . '</a></span>',
|
||||
'<span class="posted-on">%1$s<a href="%2$s" rel="bookmark">%3$s</a></span>',
|
||||
twentynineteen_get_icon_svg( 'watch', 16 ),
|
||||
esc_url( get_permalink() ),
|
||||
$time_string
|
||||
@ -75,6 +76,9 @@ if ( ! function_exists( 'twentynineteen_entry_footer' ) ) :
|
||||
// Posted by
|
||||
twentynineteen_posted_by();
|
||||
|
||||
// Posted on
|
||||
twentynineteen_posted_on();
|
||||
|
||||
// Hide category and tag text for pages.
|
||||
if ( 'post' === get_post_type() ) {
|
||||
/* translators: used between list items, there is a space after the comma. */
|
||||
@ -185,12 +189,11 @@ if ( ! function_exists( 'twentynineteen_comment_avatar' ) ) :
|
||||
* Returns the HTML markup to generate a user avatar.
|
||||
*/
|
||||
function twentynineteen_get_user_avatar_markup( $id_or_email = null ) {
|
||||
|
||||
if ( ! isset( $id_or_email ) ) {
|
||||
$id_or_email = get_current_user_id();
|
||||
}
|
||||
|
||||
$classes = array( 'comment-author', 'vcard' );
|
||||
|
||||
return sprintf( '<div class="comment-user-avatar comment-author vcard">%s</div>', get_avatar( $id_or_email, twentynineteen_get_avatar_size() ) );
|
||||
}
|
||||
endif;
|
||||
@ -218,9 +221,9 @@ if ( ! function_exists( 'twentynineteen_comment_form' ) ) :
|
||||
*/
|
||||
function twentynineteen_comment_form( $order ) {
|
||||
if ( true === $order || strtolower( $order ) === strtolower( get_option( 'comment_order', 'asc' ) ) ) {
|
||||
|
||||
comment_form(
|
||||
array(
|
||||
'title_reply_before' => twentynineteen_get_user_avatar_markup(),
|
||||
'logged_in_as' => null,
|
||||
'title_reply' => null,
|
||||
)
|
||||
|
@ -1,7 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Custom Icons for this theme
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
*/
|
@ -11,12 +11,13 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
<section id="primary" class="content-area">
|
||||
<main id="main" class="site-main">
|
||||
|
||||
<?php
|
||||
@ -39,7 +40,7 @@ get_header();
|
||||
}
|
||||
?>
|
||||
</main><!-- .site-main -->
|
||||
</div><!-- .content-area -->
|
||||
</section><!-- .content-area -->
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
|
30
wp-content/themes/twentynineteen/js/customize-controls.js
Normal file
30
wp-content/themes/twentynineteen/js/customize-controls.js
Normal file
@ -0,0 +1,30 @@
|
||||
/**
|
||||
* File customizer.js.
|
||||
*
|
||||
* Theme Customizer enhancements for a better user experience.
|
||||
*
|
||||
* Contains handlers to make Theme Customizer preview reload changes asynchronously.
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
wp.customize.bind( 'ready', function() {
|
||||
|
||||
// Only show the color hue control when there's a custom color scheme.
|
||||
wp.customize( 'colorscheme', function( setting ) {
|
||||
wp.customize.control( 'colorscheme_hue', function( control ) {
|
||||
var visibility = function() {
|
||||
if ( 'custom' === setting.get() ) {
|
||||
control.container.slideDown( 180 );
|
||||
} else {
|
||||
control.container.slideUp( 180 );
|
||||
}
|
||||
};
|
||||
|
||||
visibility();
|
||||
setting.bind( visibility );
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
})( jQuery );
|
52
wp-content/themes/twentynineteen/js/customize-preview.js
Normal file
52
wp-content/themes/twentynineteen/js/customize-preview.js
Normal file
@ -0,0 +1,52 @@
|
||||
/**
|
||||
* File customizer.js.
|
||||
*
|
||||
* Theme Customizer enhancements for a better user experience.
|
||||
*
|
||||
* Contains handlers to make Theme Customizer preview reload changes asynchronously.
|
||||
*/
|
||||
|
||||
(function( $ ) {
|
||||
|
||||
// Default color.
|
||||
wp.customize( 'colorscheme', function( value ) {
|
||||
value.bind( function( to ) {
|
||||
|
||||
// Update custom color CSS.
|
||||
var style = $( '#custom-theme-colors' ),
|
||||
hue = style.data( 'hue' ),
|
||||
css = style.html();
|
||||
|
||||
// Equivalent to css.replaceAll, with hue followed by comma to prevent values with units from being changed.
|
||||
css = css.split( hue + ',' ).join( to + ',' );
|
||||
style.html( css ).data( 'hue', to );
|
||||
});
|
||||
});
|
||||
|
||||
// Primary color.
|
||||
wp.customize( 'colorscheme_hue', function( value ) {
|
||||
value.bind( function( to ) {
|
||||
|
||||
// Update custom color CSS.
|
||||
var style = $( '#custom-theme-colors' ),
|
||||
hue = style.data( 'hue' ),
|
||||
css = style.html();
|
||||
|
||||
// Equivalent to css.replaceAll, with hue followed by comma to prevent values with units from being changed.
|
||||
css = css.split( hue + ',' ).join( to + ',' );
|
||||
style.html( css ).data( 'hue', to );
|
||||
});
|
||||
});
|
||||
|
||||
// Image filter.
|
||||
wp.customize( 'image_filter', function( value ) {
|
||||
value.bind( function( to ) {
|
||||
if ( 'active' === to ) {
|
||||
$( 'body' ).addClass( 'image-filters-enabled' );
|
||||
} else {
|
||||
$( 'body' ).removeClass( 'image-filters-enabled' );
|
||||
}
|
||||
} );
|
||||
} );
|
||||
|
||||
})( jQuery );
|
@ -1,11 +0,0 @@
|
||||
/**
|
||||
* File customizer.js.
|
||||
*
|
||||
* Theme Customizer enhancements for a better user experience.
|
||||
*
|
||||
* Contains handlers to make Theme Customizer preview reload changes asynchronously.
|
||||
*/
|
||||
|
||||
( function( $ ) { // jshint ignore:line
|
||||
|
||||
} )( jQuery );
|
163
wp-content/themes/twentynineteen/js/touch-navigation.js
Normal file
163
wp-content/themes/twentynineteen/js/touch-navigation.js
Normal file
@ -0,0 +1,163 @@
|
||||
/**
|
||||
* Touch navigation.
|
||||
*
|
||||
* Contains handlers for navigation on Touch devices.
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
// Toggle Aria Expanded state for screenreaders
|
||||
function toggleAriaExpandedState( menuItems ) {
|
||||
'use strict';
|
||||
|
||||
var getMenuItem = menuItems;
|
||||
var i;
|
||||
|
||||
for (i = 0; i < getMenuItem.length; i++) {
|
||||
|
||||
var state = getMenuItem[i].getAttribute('aria-expanded');
|
||||
|
||||
if (state === 'true') {
|
||||
state = 'false';
|
||||
} else {
|
||||
state = 'true';
|
||||
}
|
||||
|
||||
getMenuItem[i].setAttribute('aria-expanded', state);
|
||||
}
|
||||
}
|
||||
|
||||
// Toggle `focus` class to allow submenu access on tablets.
|
||||
function toggleSubmenuTouchScreen() {
|
||||
'use strict';
|
||||
|
||||
var siteNavigation = document.querySelector('.main-navigation > div > ul');
|
||||
var subMenuExpand = document.querySelectorAll('.mobile-submenu-expand');
|
||||
var subMenuReturn = document.querySelectorAll('.menu-item-link-return');
|
||||
var parentMenuLink = siteNavigation.querySelectorAll('.menu-item-has-children a[aria-expanded]');
|
||||
var i;
|
||||
var o;
|
||||
var u;
|
||||
|
||||
// Check for submenus and bail if none exist
|
||||
if ( ! siteNavigation || ! siteNavigation.children ) {
|
||||
return;
|
||||
}
|
||||
|
||||
function openSubMenu( currentSubmenu ) {
|
||||
|
||||
currentSubmenu.addEventListener('touchend', function() {
|
||||
|
||||
var menuItem = currentSubmenu.closest('.menu-item'); // this.parentNode
|
||||
var menuItemAria = menuItem.querySelectorAll('a[aria-expanded]');
|
||||
|
||||
menuItem.classList.add('focus');
|
||||
menuItem.lastElementChild.classList.add('expanded-true');
|
||||
|
||||
toggleAriaExpandedState( menuItemAria );
|
||||
|
||||
// Disable focus when using touchdevices
|
||||
siteNavigation.blur();
|
||||
});
|
||||
}
|
||||
|
||||
function closeSubMenu( currentSubmenu ) {
|
||||
|
||||
currentSubmenu.addEventListener('touchend', function() {
|
||||
|
||||
var menuItem = currentSubmenu.closest('.menu-item'); // this.parentNode
|
||||
var nearestSubMenu = currentSubmenu.closest('.sub-menu');
|
||||
|
||||
// If this is in a sub-sub-menu, go back to parent sub-menu
|
||||
if ( currentSubmenu.closest('ul').classList.contains('sub-menu') ) {
|
||||
|
||||
nearestSubMenu.classList.remove('expanded-true');
|
||||
toggleAriaExpandedState( currentSubmenu.closest('.menu-item').querySelectorAll('a[aria-expanded]') );
|
||||
|
||||
// Or else close all sub-menus
|
||||
} else {
|
||||
|
||||
menuItem.classList.remove('focus');
|
||||
menuItem.lastElementChild.classList.remove('expanded-true');
|
||||
toggleAriaExpandedState( currentSubmenu.closest('.menu-item').querySelectorAll('a[aria-expanded]') );
|
||||
}
|
||||
|
||||
// Disable :focus when using touchdevices
|
||||
siteNavigation.blur();
|
||||
});
|
||||
}
|
||||
|
||||
// Open submenus on touch
|
||||
for ( i = 0; i < subMenuExpand.length; i++) {
|
||||
subMenuExpand[i].addEventListener('touchstart', openSubMenu( subMenuExpand[i] ) );
|
||||
}
|
||||
|
||||
// Close sub-menus or sub-sub-menus on touch
|
||||
for ( o = 0; o < subMenuReturn.length; o++) {
|
||||
subMenuReturn[o].addEventListener('touchstart', closeSubMenu( subMenuReturn[o] ) );
|
||||
}
|
||||
|
||||
// Prevent :focus-within on menu-item links when using touch devices
|
||||
for ( u = 0; u < parentMenuLink.length; u++) {
|
||||
parentMenuLink[u].addEventListener('touchstart', function( event ) {
|
||||
|
||||
// Stop link behavior
|
||||
event.preventDefault();
|
||||
|
||||
// Go to link without openning submenu
|
||||
window.location = this.getAttribute('href');
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// Debounce
|
||||
function debounce(func, wait, immediate) {
|
||||
'use strict';
|
||||
|
||||
var timeout;
|
||||
wait = (typeof wait !== 'undefined') ? wait : 20;
|
||||
immediate = (typeof immediate !== 'undefined') ? immediate : true;
|
||||
|
||||
return function() {
|
||||
|
||||
var context = this, args = arguments;
|
||||
var later = function() {
|
||||
timeout = null;
|
||||
|
||||
if (!immediate) {
|
||||
func.apply(context, args);
|
||||
}
|
||||
};
|
||||
|
||||
var callNow = immediate && !timeout;
|
||||
|
||||
clearTimeout(timeout);
|
||||
timeout = setTimeout(later, wait);
|
||||
|
||||
if (callNow) {
|
||||
func.apply(context, args);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
// Run our functions once the window has loaded fully
|
||||
window.addEventListener('load', function() {
|
||||
toggleSubmenuTouchScreen();
|
||||
});
|
||||
|
||||
// Annnnnd also every time the window resizes
|
||||
var isResizing = false;
|
||||
window.addEventListener('resize', debounce( function() {
|
||||
if (isResizing) {
|
||||
return;
|
||||
}
|
||||
|
||||
isResizing = true;
|
||||
setTimeout( function() {
|
||||
toggleSubmenuTouchScreen();
|
||||
isResizing = false;
|
||||
}, 150 );
|
||||
}));
|
||||
|
||||
})();
|
@ -6,12 +6,13 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
<section id="primary" class="content-area">
|
||||
<main id="main" class="site-main">
|
||||
|
||||
<?php
|
||||
@ -31,7 +32,7 @@ get_header();
|
||||
?>
|
||||
|
||||
</main><!-- #main -->
|
||||
</div><!-- #primary -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
|
@ -19,7 +19,7 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
|
||||
@page {
|
||||
margin: 2cm;
|
||||
}
|
||||
.hentry .entry-header, .site-footer .site-info {
|
||||
.entry .entry-header, .site-footer .site-info {
|
||||
margin: 0;
|
||||
}
|
||||
/* Fonts */
|
||||
@ -96,7 +96,7 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
|
||||
.main-navigation,
|
||||
.social-navigation,
|
||||
.site-branding-container:before,
|
||||
.hentry .entry-title:before,
|
||||
.entry .entry-title:before,
|
||||
.entry-meta, .entry-footer,
|
||||
.author-description:before,
|
||||
.post-navigation {
|
||||
|
@ -23,7 +23,7 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
|
||||
margin: 2cm;
|
||||
}
|
||||
|
||||
.hentry .entry-header, .site-footer .site-info {
|
||||
.entry .entry-header, .site-footer .site-info {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@ -119,7 +119,7 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
|
||||
.main-navigation,
|
||||
.social-navigation,
|
||||
.site-branding-container:before,
|
||||
.hentry .entry-title:before,
|
||||
.entry .entry-title:before,
|
||||
.entry-meta, .entry-footer,
|
||||
.author-description:before,
|
||||
.post-navigation {
|
||||
|
@ -23,11 +23,11 @@ Twenty Nineteen is a Gutenberg-ready theme for WordPress.
|
||||
4. Go to https://codex.wordpress.org/Twenty_Nineteen for a guide on how to customize this theme.
|
||||
5. Navigate to Appearance > Customize in your admin panel and customize to taste.
|
||||
|
||||
|
||||
|
||||
## Copyright
|
||||
|
||||
Twenty Nineteen WordPress Theme, Copyright 2018 WordPress.org
|
||||
Twenty Nineteen is distributed under the terms of the GNU GPL
|
||||
Twenty Nineteen is distributed under the terms of the GNU GPL.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -41,9 +41,9 @@
|
||||
margin-right: auto;
|
||||
|
||||
@include media(tablet) {
|
||||
margin-left: calc(1 * (100vw / 12));
|
||||
margin-right: calc(1 * (100vw / 12));
|
||||
max-width: calc(10 * (100vw / 12));
|
||||
margin-left: calc(2 * (100vw / 12));
|
||||
margin-right: calc(2 * (100vw / 12));
|
||||
max-width: calc(8 * (100vw / 12));
|
||||
}
|
||||
}
|
||||
|
||||
@ -83,6 +83,20 @@
|
||||
margin-right: calc(2 * (100vw / 12));
|
||||
}
|
||||
}
|
||||
&.aligncenter {
|
||||
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
@include media(desktop) {
|
||||
margin-left: calc(2 * (100vw / 12));
|
||||
margin-right: calc(2 * (100vw / 12));
|
||||
max-width: calc(10 * (100vw / 12));
|
||||
position: relative;
|
||||
left: 25%;
|
||||
transform: translate(-50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.entry-content {
|
||||
@ -131,7 +145,8 @@
|
||||
line-height: $font__line-height-heading;
|
||||
box-sizing: border-box;
|
||||
font-weight: bold;
|
||||
padding: ($size__spacing-unit * .66) $size__spacing-unit;
|
||||
text-decoration: none;
|
||||
padding: ($size__spacing-unit * .76) $size__spacing-unit;
|
||||
outline: none;
|
||||
color: white;
|
||||
outline: none;
|
||||
@ -160,15 +175,11 @@
|
||||
|
||||
@include button-all-transition;
|
||||
background: transparent;
|
||||
border: 2px solid $color__background-button;
|
||||
|
||||
&:not(.has-text-color) {
|
||||
color: $color__background-button;
|
||||
}
|
||||
border: 2px solid currentColor;
|
||||
color: $color__background-button;
|
||||
}
|
||||
|
||||
&.is-style-outline .wp-block-button__link:hover {
|
||||
border-color: $color__background-button-hover;
|
||||
color: $color__background-button-hover;
|
||||
}
|
||||
}
|
||||
@ -186,15 +197,17 @@
|
||||
font-size: calc(#{$font__size_base} * #{$font__size-lg / 1em} );
|
||||
font-weight: bold;
|
||||
line-height: $font__line-height-heading;
|
||||
|
||||
a:after {
|
||||
color: $color__text-light;
|
||||
content: ",";
|
||||
|
||||
&:not(.menu-item-has-children) {
|
||||
padding-bottom: ( .75 * $size__spacing-unit );
|
||||
}
|
||||
|
||||
&:last-child a:after {
|
||||
color: $color__text-light;
|
||||
content: ".";
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: $size__spacing-unit;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -233,7 +246,7 @@
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
// !Paragraphs
|
||||
//! Paragraphs
|
||||
.has-drop-cap {
|
||||
&:not(:focus):first-letter {
|
||||
font-family: $font__heading;
|
||||
@ -244,12 +257,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
// !Pullquote
|
||||
//! Pullquote
|
||||
.wp-block-pullquote {
|
||||
border: none;
|
||||
padding: $size__spacing-unit;
|
||||
|
||||
blockquote {
|
||||
color: $color__text-main;
|
||||
border: none;
|
||||
padding-bottom: calc(2 * #{$size__spacing-unit});
|
||||
margin-right: 0;
|
||||
@ -261,7 +275,6 @@
|
||||
line-height: 1.3;
|
||||
margin-bottom: 0.5em;
|
||||
margin-top: 0.5em;
|
||||
color: $color__text-main;
|
||||
|
||||
em {
|
||||
font-style: normal;
|
||||
@ -278,7 +291,6 @@
|
||||
font-size: $font__size-xs;
|
||||
line-height: 1.6;
|
||||
text-transform: none;
|
||||
color: $color__text-light;
|
||||
}
|
||||
|
||||
&.alignleft,
|
||||
@ -295,6 +307,8 @@
|
||||
|
||||
&.is-style-solid-color {
|
||||
|
||||
background-color: $color__link;
|
||||
|
||||
p {
|
||||
font-size: $font__size-lg;
|
||||
line-height: 1.3;
|
||||
@ -306,16 +320,16 @@
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: $color__background-body;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
color: $color__background-body;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
blockquote:not(.has-text-color) p,
|
||||
cite {
|
||||
color: white;
|
||||
}
|
||||
|
||||
&:not(.has-background-color) {
|
||||
.has-primary-background-color {
|
||||
background-color: $color__link;
|
||||
}
|
||||
|
||||
@ -405,9 +419,11 @@
|
||||
}
|
||||
|
||||
//! Cover Image
|
||||
.wp-block-cover-image {
|
||||
.wp-block-cover-image,
|
||||
.wp-block-cover {
|
||||
|
||||
.wp-block-cover-image-text,
|
||||
.wp-block-cover-text,
|
||||
h2 {
|
||||
font-family: $font__heading;
|
||||
font-size: $font__size-lg;
|
||||
@ -432,7 +448,8 @@
|
||||
&.alignright,
|
||||
&.aligncenter {
|
||||
h2,
|
||||
.wp-block-cover-image-text {
|
||||
.wp-block-cover-image-text,
|
||||
.wp-block-cover-text {
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
left: 50%;
|
||||
@ -446,7 +463,8 @@
|
||||
justify-content: center;
|
||||
|
||||
h2,
|
||||
.wp-block-cover-image-text {
|
||||
.wp-block-cover-image-text,
|
||||
.wp-block-cover-text {
|
||||
padding: $size__spacing-unit;
|
||||
}
|
||||
}
|
||||
@ -455,7 +473,8 @@
|
||||
justify-content: center;
|
||||
|
||||
h2,
|
||||
.wp-block-cover-image-text {
|
||||
.wp-block-cover-image-text,
|
||||
.wp-block-cover-text {
|
||||
padding: $size__spacing-unit;
|
||||
}
|
||||
}
|
||||
@ -628,4 +647,20 @@
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//! Custom colors
|
||||
.has-primary-background-color {
|
||||
background-color: $color__link;
|
||||
|
||||
p,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
a {
|
||||
color: $color__background-body;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -36,7 +36,8 @@ a:active {
|
||||
}
|
||||
|
||||
a:focus {
|
||||
outline: 0;
|
||||
outline: thin;
|
||||
outline-style: dotted;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@ -61,30 +62,6 @@ img {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
&:before {
|
||||
background-color: $color__background-pre;
|
||||
border: 1px dashed $color__background-hr;
|
||||
border-radius: 3px;
|
||||
content: " ";
|
||||
display: block;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&:after {
|
||||
color: $color__text-input;
|
||||
content: "This image is broken :-/ ( "attr(alt)" )";
|
||||
display: block;
|
||||
left: 50%;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
figure {
|
||||
@ -92,10 +69,9 @@ figure {
|
||||
}
|
||||
|
||||
blockquote {
|
||||
|
||||
border-left: 2px solid $color__link;
|
||||
margin-left: -($size__spacing-unit * 2);
|
||||
padding: $size__spacing-unit 0 ($size__spacing-unit * .5) ($size__spacing-unit * 2);
|
||||
padding: 0 0 0 $size__spacing-unit;
|
||||
|
||||
> p {
|
||||
margin: 0 0 $size__spacing-unit;
|
||||
|
@ -15,7 +15,8 @@ input[type="submit"] {
|
||||
font-weight: 600;
|
||||
line-height: $font__line-height-heading;
|
||||
outline: none;
|
||||
padding: ( $size__spacing-unit * .66 ) $size__spacing-unit;
|
||||
padding: ( $size__spacing-unit * .76 ) $size__spacing-unit;
|
||||
vertical-align: bottom;
|
||||
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
|
@ -19,7 +19,7 @@ textarea {
|
||||
border: solid 1px $color__border;
|
||||
box-sizing: border-box;
|
||||
outline: none;
|
||||
padding: #{.5 * $size__spacing-unit} #{.66 * $size__spacing-unit};
|
||||
padding: #{.36 * $size__spacing-unit} #{.66 * $size__spacing-unit};
|
||||
|
||||
&:focus {
|
||||
border-color: $color__link;
|
||||
|
@ -1,11 +1,13 @@
|
||||
.gallery {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
justify-content: center;
|
||||
margin-bottom: calc(1.5 * #{$size__spacing-unit});
|
||||
}
|
||||
|
||||
.gallery-item {
|
||||
display: inline-block;
|
||||
margin-right: $size__spacing-unit;
|
||||
padding-right: $size__spacing-unit;
|
||||
margin-bottom: $size__spacing-unit;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
@ -19,7 +21,7 @@
|
||||
}
|
||||
|
||||
&:last-of-type {
|
||||
margin-right: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -40,8 +40,13 @@
|
||||
&:after {
|
||||
background: $color__link;
|
||||
mix-blend-mode: multiply;
|
||||
opacity: 1;
|
||||
opacity: .8;
|
||||
z-index: 3;
|
||||
|
||||
/* Browsers supporting mix-blend-mode don't need opacity < 1 */
|
||||
@supports (mix-blend-mode: multiply) {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@ a {
|
||||
}
|
||||
|
||||
&:focus {
|
||||
outline: 0;
|
||||
outline: thin dotted;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,296 @@
|
||||
/** === Main menu === */
|
||||
|
||||
.main-navigation {
|
||||
|
||||
display: block;
|
||||
margin-top: #{0.25 * $size__spacing-unit};
|
||||
|
||||
body.page & {
|
||||
display: block;
|
||||
}
|
||||
|
||||
> div {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.main-menu {
|
||||
|
||||
display: inline;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
> li {
|
||||
|
||||
color: $color__link;
|
||||
display: inline;
|
||||
|
||||
@include media(tablet) {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
> a {
|
||||
|
||||
font-weight: 700;
|
||||
color: $color__link;
|
||||
margin-right: #{0.5 * $size__spacing-unit};
|
||||
|
||||
+ svg {
|
||||
margin-right: #{0.5 * $size__spacing-unit};
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:hover + svg {
|
||||
color: $color__link-hover;
|
||||
}
|
||||
}
|
||||
|
||||
&.menu-item-has-children {
|
||||
|
||||
display: inline-block;
|
||||
|
||||
> a {
|
||||
margin-right: #{0.125 * $size__spacing-unit};
|
||||
}
|
||||
|
||||
& > a,
|
||||
.menu-item-has-children > a {
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.mobile-submenu-expand svg,
|
||||
.desktop-submenu-expand svg {
|
||||
position: relative;
|
||||
top: 0.2rem;
|
||||
}
|
||||
|
||||
&:not(:last-child) {
|
||||
|
||||
.mobile-submenu-expand,
|
||||
.desktop-submenu-expand {
|
||||
margin-right: #{0.5 * $size__spacing-unit};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child > a {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sub-menu {
|
||||
|
||||
background: $color__link;
|
||||
color: $color__background-body;
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
|
||||
display: none;
|
||||
float: left;
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
left: -999px;
|
||||
z-index: 99999;
|
||||
|
||||
@include media(tablet) {
|
||||
width: max-content;
|
||||
max-width: calc(3 * (100vw / 12));
|
||||
}
|
||||
|
||||
> li {
|
||||
|
||||
clear: both;
|
||||
display: block;
|
||||
float: none;
|
||||
position: relative;
|
||||
word-break: break-word;
|
||||
|
||||
&.menu-item-has-children {
|
||||
|
||||
.mobile-submenu-expand,
|
||||
.desktop-submenu-expand {
|
||||
position: absolute;
|
||||
width: calc( 24px + #{$size__spacing-unit} );
|
||||
right: 0;
|
||||
top: calc( .125 * #{$size__spacing-unit} );
|
||||
bottom: 0;
|
||||
color: white;
|
||||
line-height: 1;
|
||||
padding: calc( .5 * #{$size__spacing-unit} );
|
||||
|
||||
svg {
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:not(:last-child) {
|
||||
|
||||
.mobile-submenu-expand,
|
||||
.desktop-submenu-expand {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@include media(tablet) {
|
||||
.menu-item-has-children > a {
|
||||
|
||||
&:after {
|
||||
content: "\203a";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> a:not(.mobile-submenu-expand) {
|
||||
color: $color__background-body;
|
||||
display: block;
|
||||
line-height: $font__line-height-heading;
|
||||
padding: calc( .5 * #{$size__spacing-unit} ) calc( 24px + #{$size__spacing-unit} ) calc( .5 * #{$size__spacing-unit} ) $size__spacing-unit;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background: $color__link-hover;
|
||||
|
||||
&:after {
|
||||
background: $color__link-hover;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.mobile-parent-nav-menu-item {
|
||||
display: none;
|
||||
font-size: $font__size-sm;
|
||||
font-weight: normal;
|
||||
|
||||
svg {
|
||||
position: relative;
|
||||
top: 0.2rem;
|
||||
margin-right: calc( .25 * #{$size__spacing-unit} );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* :focus-within needs its own selector so other similar
|
||||
* selectors don’t get ignored if a browser doesn’t recognize it
|
||||
*/
|
||||
.main-menu .menu-item-has-children:focus-within > .sub-menu {
|
||||
display: block;
|
||||
left: 0;
|
||||
margin-top: 0;
|
||||
opacity: 1;
|
||||
width: calc( 100vw - #{$size__spacing-unit * 2});
|
||||
|
||||
.sub-menu {
|
||||
|
||||
margin-top: inherit;
|
||||
position: relative;
|
||||
padding-left: $size__spacing-unit;
|
||||
|
||||
@include media(tablet) {
|
||||
padding-left: 0;
|
||||
position: absolute;
|
||||
left: 100%;
|
||||
width: max-content;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-menu .menu-item-has-children:hover > .sub-menu,
|
||||
.main-menu .menu-item-has-children:focus > .sub-menu,
|
||||
.main-menu .menu-item-has-children .sub-menu:hover,
|
||||
.main-menu .menu-item-has-children .sub-menu:focus {
|
||||
display: table;
|
||||
margin-top: 0;
|
||||
opacity: 1;
|
||||
|
||||
/* Non-mobile position */
|
||||
@include media(tablet) {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: auto;
|
||||
top: auto;
|
||||
bottom: auto;
|
||||
height: auto;
|
||||
width: max-content;
|
||||
transform: none;
|
||||
animation: fade_in 0.1s forwards;
|
||||
}
|
||||
|
||||
.sub-menu {
|
||||
|
||||
@include media(tablet) {
|
||||
margin-top: inherit;
|
||||
padding-left: 0;
|
||||
position: absolute;
|
||||
left: 100%;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-menu .menu-item-has-children.focus .sub-menu.expanded-true {
|
||||
|
||||
display: table;
|
||||
margin-top: 0;
|
||||
opacity: 1;
|
||||
padding-left: 0;
|
||||
|
||||
/* Mobile position */
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
position: fixed;
|
||||
z-index: 100000; /* Make sure appears above mobile admin bar */
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
transform: translateX(+100%);
|
||||
animation: slide_in_right 0.3s forwards;
|
||||
|
||||
> .mobile-parent-nav-menu-item {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
/* Only show one submenu expand button at a time (desktop vs mobile) */
|
||||
.desktop-submenu-expand {
|
||||
display: none;
|
||||
|
||||
@include media(tablet) {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.mobile-submenu-expand {
|
||||
display: inline-block;
|
||||
|
||||
@include media(tablet) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Menu Animation */
|
||||
|
||||
@keyframes slide_in_right {
|
||||
100% {
|
||||
transform: translateX(0%);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fade_in {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
/* Social menu */
|
||||
|
||||
.social-navigation {
|
||||
margin-top: calc(#{$size__spacing-unit} / 2 );
|
||||
text-align: left;
|
||||
|
||||
ul.social-links-menu {
|
||||
@include clearfix;
|
||||
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
vertical-align: bottom;
|
||||
vertical-align: -webkit-baseline-middle;
|
||||
list-style: none;
|
||||
|
||||
&:nth-child(n+2) {
|
||||
margin-left: 0.1em;
|
||||
}
|
||||
|
||||
a {
|
||||
border-bottom: 1px solid transparent;
|
||||
display: block;
|
||||
color: $color__text-main;
|
||||
margin-bottom: -1px;
|
||||
transition: opacity $link_transition ease-in-out;
|
||||
|
||||
&:hover,
|
||||
&:active {
|
||||
color: $color__text-main;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
color: $color__text-main;
|
||||
opacity: 1;
|
||||
border-bottom: 1px solid $color__text-main;
|
||||
}
|
||||
|
||||
svg {
|
||||
display: block;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
|
||||
&#ui-icon-link {
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,249 +0,0 @@
|
||||
/** === Main menu === */
|
||||
|
||||
.main-navigation {
|
||||
|
||||
display: inline;
|
||||
|
||||
@include media(tablet) {
|
||||
display: block;
|
||||
}
|
||||
|
||||
body.page & {
|
||||
display: block;
|
||||
}
|
||||
|
||||
> div {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.main-menu {
|
||||
|
||||
display: inline;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
> li {
|
||||
|
||||
display: inline;
|
||||
|
||||
> a {
|
||||
|
||||
font-weight: 700;
|
||||
color: $color__link;
|
||||
|
||||
+ svg {
|
||||
color: $color__link;
|
||||
margin-right: #{-0.25 * $size__spacing-unit};
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: $color__link-hover;
|
||||
+ svg {
|
||||
color: $color__link-hover;
|
||||
}
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: ",";
|
||||
display: inline;
|
||||
color: $color__text-light;
|
||||
}
|
||||
}
|
||||
|
||||
&.menu-item-has-children {
|
||||
|
||||
&:after {
|
||||
content: ",";
|
||||
display: inline;
|
||||
color: $color__text-light;
|
||||
}
|
||||
|
||||
& > a,
|
||||
.menu-item-has-children > a {
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child> a:after {
|
||||
content: ".";
|
||||
}
|
||||
|
||||
&:last-child > a {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sub-menu {
|
||||
|
||||
background: $color__link;
|
||||
color: $color__background-body;
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
|
||||
display: none;
|
||||
float: left;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
left: -999em;
|
||||
z-index: 99999;
|
||||
-webkit-transition: opacity 0.5s ease-in-out;
|
||||
-moz-transition: opacity 0.5s ease-in-out;
|
||||
transition: opacity 0.5s ease-in-out;
|
||||
|
||||
@include media(tablet) {
|
||||
max-width: calc(3 * (100vw / 12));
|
||||
}
|
||||
|
||||
> li {
|
||||
|
||||
clear: both;
|
||||
display: block;
|
||||
float: none;
|
||||
position: relative;
|
||||
word-break: break-word;
|
||||
|
||||
&.menu-item-has-children {
|
||||
|
||||
svg {
|
||||
position: absolute;
|
||||
right: #{0.5 * $size__spacing-unit};
|
||||
top: #{0.65 * $size__spacing-unit};
|
||||
}
|
||||
|
||||
@include media(tablet) {
|
||||
.menu-item-has-children > a {
|
||||
|
||||
&:after {
|
||||
content: "\203a";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> a {
|
||||
color: $color__background-body;
|
||||
display: block;
|
||||
line-height: $font__line-height-heading;
|
||||
padding: calc( .5 * #{$size__spacing-unit} ) $size__spacing-unit;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background: $color__link-hover;
|
||||
|
||||
&:after {
|
||||
background: $color__link-hover;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-menu .menu-item-has-children:hover > .sub-menu,
|
||||
.main-menu .menu-item-has-children .sub-menu:hover {
|
||||
display: block;
|
||||
left: inherit;
|
||||
margin-top: -2px;
|
||||
opacity: 1;
|
||||
|
||||
.sub-menu {
|
||||
|
||||
margin-top: inherit;
|
||||
position: relative;
|
||||
padding-left: $size__spacing-unit;
|
||||
|
||||
@include media(tablet) {
|
||||
padding-left: 0;
|
||||
position: absolute;
|
||||
left: 100%;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* :focus-within needs its own selector so other similar
|
||||
* selectors don’t get ignored if a browser doesn’t recognize it
|
||||
*/
|
||||
.main-menu .menu-item-has-children:focus-within > .sub-menu {
|
||||
display: block;
|
||||
left: inherit;
|
||||
margin-top: -2px;
|
||||
opacity: 1;
|
||||
|
||||
.sub-menu {
|
||||
|
||||
margin-top: inherit;
|
||||
position: relative;
|
||||
padding-left: $size__spacing-unit;
|
||||
|
||||
@include media(tablet) {
|
||||
padding-left: 0;
|
||||
position: absolute;
|
||||
left: 100%;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Social menu */
|
||||
|
||||
.social-navigation {
|
||||
margin-top: calc(#{$size__spacing-unit} / 2 );
|
||||
text-align: left;
|
||||
|
||||
ul.social-links-menu {
|
||||
@include clearfix;
|
||||
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
vertical-align: bottom;
|
||||
vertical-align: -webkit-baseline-middle;
|
||||
list-style: none;
|
||||
|
||||
&:nth-child(n+2) {
|
||||
margin-left: 0.1em;
|
||||
}
|
||||
|
||||
a {
|
||||
border-bottom: 1px solid transparent;
|
||||
display: block;
|
||||
color: $color__text-main;
|
||||
margin-bottom: -1px;
|
||||
transition: opacity $link_transition ease-in-out;
|
||||
|
||||
&:hover,
|
||||
&:active {
|
||||
color: $color__text-main;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
color: $color__text-main;
|
||||
opacity: 1;
|
||||
border-bottom: 1px solid $color__text-main;
|
||||
}
|
||||
|
||||
svg {
|
||||
display: block;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
|
||||
&#ui-icon-link {
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -6,7 +6,8 @@
|
||||
/*--------------------------------------------------------------
|
||||
## Menus
|
||||
--------------------------------------------------------------*/
|
||||
@import "menus";
|
||||
@import "menu-main-navigation";
|
||||
@import "menu-social-navigation";
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
## Next / Previous
|
||||
|
@ -4,6 +4,16 @@
|
||||
.post-navigation {
|
||||
|
||||
margin: calc(3 * 1rem) 0;
|
||||
|
||||
@include media(tablet) {
|
||||
margin: calc(3 * 1rem) calc(2 * (100vw / 12));
|
||||
max-width: calc(6 * (100vw / 12));
|
||||
}
|
||||
|
||||
@include media(desktop) {
|
||||
margin: calc(3 * 1rem) 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
|
||||
@ -11,6 +21,10 @@
|
||||
max-width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@include media(tablet) {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@include media(desktop) {
|
||||
flex-direction: row;
|
||||
@ -73,6 +87,7 @@
|
||||
|
||||
@include media(desktop) {
|
||||
order: 2;
|
||||
padding-left: $size__spacing-unit;
|
||||
}
|
||||
|
||||
.meta-nav {
|
||||
@ -138,15 +153,22 @@
|
||||
.comment-navigation {
|
||||
|
||||
.nav-links {
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin: 0 $size__spacing-unit;
|
||||
|
||||
@include media(desktop) {
|
||||
margin: 0 calc(2 * (100vw / 12));
|
||||
max-width: calc(8 * (100vw / 12));
|
||||
}
|
||||
}
|
||||
|
||||
.nav-previous,
|
||||
.nav-next {
|
||||
min-width: 50%;
|
||||
width: 100%;
|
||||
font-family: $font__heading;
|
||||
font-weight: bold;
|
||||
|
||||
.secondary-text {
|
||||
display: none;
|
||||
|
@ -1,9 +1,8 @@
|
||||
/* Site footer */
|
||||
|
||||
.site-footer {
|
||||
|
||||
color: $color__text-light;
|
||||
#colophon {
|
||||
|
||||
.widget-area,
|
||||
.site-info {
|
||||
|
||||
margin: calc(2 * #{$size__spacing-unit}) $size__spacing-unit;
|
||||
@ -18,7 +17,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
.site-info a {
|
||||
color: inherit;
|
||||
|
||||
&:hover {
|
||||
@ -26,4 +25,20 @@
|
||||
color: $color__link;
|
||||
}
|
||||
}
|
||||
|
||||
.widget-column {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
.widget {
|
||||
width: 100%;
|
||||
@include media(desktop) {
|
||||
margin-right: calc(3 * #{$size__spacing-unit});
|
||||
width: calc(50% - (3 * #{$size__spacing-unit}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.site-info {
|
||||
color: $color__text-light;
|
||||
}
|
||||
}
|
@ -17,46 +17,52 @@
|
||||
.social-navigation li,
|
||||
.entry-meta,
|
||||
.entry-title {
|
||||
color: white;
|
||||
color: $color__background-body;
|
||||
}
|
||||
|
||||
.main-navigation a,
|
||||
.main-navigation a + svg,
|
||||
.social-navigation a,
|
||||
.site-title a,
|
||||
.hentry a {
|
||||
color: white;
|
||||
.site-featured-image a {
|
||||
color: $color__background-body;
|
||||
transition: opacity $link_transition ease-in-out;
|
||||
|
||||
&:hover,
|
||||
&:active {
|
||||
color: white;
|
||||
&:active,
|
||||
&:hover + svg,
|
||||
&:active + svg {
|
||||
color: $color__background-body;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
color: white;
|
||||
&:focus,
|
||||
&:focus + svg {
|
||||
color: $color__background-body;
|
||||
}
|
||||
}
|
||||
|
||||
// add focus state to social media icons
|
||||
/* add focus state to social media icons */
|
||||
.social-navigation a {
|
||||
&:focus {
|
||||
color: white;
|
||||
color: $color__background-body;
|
||||
opacity: 1;
|
||||
border-bottom: 1px solid white;
|
||||
border-bottom: 1px solid $color__background-body;
|
||||
}
|
||||
}
|
||||
|
||||
.social-navigation svg,
|
||||
.hentry svg {
|
||||
.site-featured-image svg {
|
||||
/* Use -webkit- only if supporting: Chrome < 54, iOS < 9.3, Android < 4.4.4 */
|
||||
-webkit-filter: drop-shadow(0 1px 2px rgba(black, 0.35) );
|
||||
filter: drop-shadow(0 1px 2px rgba(black, 0.35) );
|
||||
filter: drop-shadow(0 1px 2px rgba(black, 0.35) );
|
||||
}
|
||||
|
||||
/* Post header styles */
|
||||
.hentry .entry-header {
|
||||
/* Entry header */
|
||||
|
||||
.site-featured-image .entry-header {
|
||||
|
||||
margin-bottom: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
|
||||
@ -69,7 +75,71 @@
|
||||
.entry-title {
|
||||
|
||||
&:before {
|
||||
background: white;
|
||||
background: $color__background-body;
|
||||
}
|
||||
}
|
||||
|
||||
/* Entry meta */
|
||||
|
||||
.entry-meta {
|
||||
|
||||
font-weight: 500;
|
||||
|
||||
> span {
|
||||
|
||||
margin-right: $size__spacing-unit;
|
||||
display: inline-block;
|
||||
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
|
||||
@include link-transition;
|
||||
color: currentColor;
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.svg-icon {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
.discussion-avatar-list {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.has-discussion {
|
||||
|
||||
@include media (tablet) {
|
||||
|
||||
.entry-meta {
|
||||
display: flex;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.entry-title {
|
||||
padding-right: calc(1 * (100vw / 12) + #{$size__spacing-unit});
|
||||
}
|
||||
|
||||
.entry-meta .comment-count {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.entry-meta .discussion-avatar-list {
|
||||
display: block;
|
||||
position: absolute;
|
||||
bottom: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -78,27 +148,32 @@
|
||||
|
||||
.custom-logo-link {
|
||||
|
||||
background: white;
|
||||
box-shadow: 0 0 0 0 rgba(white, 0);
|
||||
background: $color__background-body;
|
||||
box-shadow: 0 0 0 0 rgba($color__background-body, 0);
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 2px rgba(white, 1);
|
||||
box-shadow: 0 0 0 2px rgba($color__background-body, 1);
|
||||
}
|
||||
}
|
||||
|
||||
/* Make sure important elements are above pseudo elements used for effects. */
|
||||
.site-branding,
|
||||
.hentry .entry-header {
|
||||
.site-branding {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.site-featured-image .entry-header {
|
||||
position: relative;
|
||||
z-index: 9;
|
||||
}
|
||||
|
||||
/* Set up image filter layer positioning */
|
||||
.site-branding-container:before,
|
||||
.site-branding-container:after,
|
||||
.hentry:before,
|
||||
.hentry:after,
|
||||
.site-featured-image:before,
|
||||
.site-featured-image:after,
|
||||
&:after {
|
||||
display: block;
|
||||
position: absolute;
|
||||
@ -117,65 +192,86 @@
|
||||
/* The intensity of each blend mode is controlled via layer opacity. */
|
||||
|
||||
/* First layer: grayscale. */
|
||||
.site-branding-container:before {
|
||||
.site-branding-container:before {
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
filter: grayscale(100%);
|
||||
z-index: 1;
|
||||
|
||||
/* When image filters are active, make it grayscale to colorize it blue. */
|
||||
.image-filters-enabled & {
|
||||
filter: grayscale(100%);
|
||||
}
|
||||
}
|
||||
|
||||
/* Second layer: screen. */
|
||||
.hentry:before {
|
||||
.image-filters-enabled & .site-featured-image:before {
|
||||
background: $color__link;
|
||||
mix-blend-mode: screen;
|
||||
opacity: 0.1;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* Third layer: multiply. */
|
||||
.hentry:after {
|
||||
background: $color__link;
|
||||
/* When image filters are inactive, a black overlay is added. */
|
||||
.site-featured-image:after {
|
||||
background: #000;
|
||||
mix-blend-mode: multiply;
|
||||
opacity: 1;
|
||||
z-index: 3;
|
||||
opacity: .7;
|
||||
|
||||
/* When image filters are active, a blue overlay is added. */
|
||||
.image-filters-enabled & {
|
||||
background: $color__link;
|
||||
opacity: .8;
|
||||
z-index: 3;
|
||||
|
||||
/* Browsers supporting mix-blend-mode don't need opacity < 1 */
|
||||
@supports (mix-blend-mode: multiply) {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Fourth layer: overlay. */
|
||||
.site-branding-container:after {
|
||||
background: rgba(white, 0.35);
|
||||
.image-filters-enabled & .site-branding-container:after {
|
||||
background: rgba(#000, 0.35);
|
||||
mix-blend-mode: overlay;
|
||||
opacity: 0.5;
|
||||
z-index: 4;
|
||||
|
||||
/* Browsers supporting mix-blend-mode can have a light overlay */
|
||||
@supports (mix-blend-mode: overlay) {
|
||||
background: rgba($color__background-body, 0.35);
|
||||
}
|
||||
}
|
||||
|
||||
/* Fifth layer: readability overlay */
|
||||
&:after {
|
||||
background: mix($color__link, black, 12%);
|
||||
|
||||
background: #000;
|
||||
/**
|
||||
* Add a transition to the readability overlay, to add a subtle
|
||||
* but smooth effect when resizing the screen.
|
||||
*/
|
||||
transition: opacity 1200ms ease-in-out;
|
||||
|
||||
opacity: 0.7;
|
||||
z-index: 5;
|
||||
opacity: 0.38;
|
||||
|
||||
@include media(tablet) {
|
||||
opacity: 0.18;
|
||||
}
|
||||
/* When image filters are active, a blue overlay is added. */
|
||||
.image-filters-enabled & {
|
||||
background: mix($color__link, black, 12%);
|
||||
opacity: 0.38;
|
||||
|
||||
@include media(desktop) {
|
||||
opacity: 0.1;
|
||||
@include media(tablet) {
|
||||
opacity: 0.18;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
::-moz-selection {
|
||||
background: rgba(white, 0.17);
|
||||
background: rgba($color__background-body, 0.17);
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: rgba(white, 0.17);
|
||||
background: rgba($color__background-body, 0.17);
|
||||
}
|
||||
}
|
||||
|
@ -31,7 +31,6 @@
|
||||
|
||||
@include media(tablet) {
|
||||
margin: 0 calc(2 * (100vw / 12));
|
||||
max-width: 22em;
|
||||
}
|
||||
}
|
||||
|
||||
@ -46,7 +45,7 @@
|
||||
@include media(tablet) {
|
||||
margin-bottom: 0;
|
||||
position: absolute;
|
||||
right: calc(100% + (0.5 * calc(100vw / 12)));
|
||||
right: calc(100% + (0.5 * 100vw / 12));
|
||||
top: 4px; // Accounts for box-shadow widths
|
||||
z-index: 999;
|
||||
}
|
||||
@ -81,10 +80,14 @@
|
||||
// Site title
|
||||
|
||||
.site-title {
|
||||
|
||||
margin: auto;
|
||||
display: inline;
|
||||
color: $color__text-main;
|
||||
|
||||
|
||||
a:link,
|
||||
a:visited {
|
||||
color: $color__text-main;
|
||||
}
|
||||
|
||||
.featured-image & {
|
||||
margin: 0;
|
||||
@ -110,6 +113,11 @@
|
||||
@include media(tablet) {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
&:not(:empty) + .site-description:not(:empty):before {
|
||||
content: "\2014";
|
||||
margin: 0 .2em;
|
||||
}
|
||||
}
|
||||
|
||||
// Site description
|
||||
@ -120,9 +128,4 @@
|
||||
color: $color__text-light;
|
||||
font-weight: normal;
|
||||
margin: 0;
|
||||
|
||||
&:not(:empty):before {
|
||||
content: "\2014";
|
||||
margin: 0 .2em;
|
||||
}
|
||||
}
|
||||
|
@ -33,7 +33,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
.hfeed .hentry .entry-header {
|
||||
.archive .page-header .page-description {
|
||||
display: block;
|
||||
color: $color__text-main;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.hfeed .entry .entry-header {
|
||||
|
||||
@include media(tablet) {
|
||||
margin: calc(3 * #{$size__spacing-unit}) calc(2 * (100vw / 12)) calc(#{ $size__spacing-unit } / 2);
|
||||
|
@ -9,18 +9,17 @@
|
||||
.comments-area {
|
||||
|
||||
/* Add extra margin when the comments section is located immediately after the
|
||||
* post itself (this happens on pages).
|
||||
* post itself (this happens on pages).
|
||||
*/
|
||||
.hentry + & {
|
||||
.entry + & {
|
||||
margin-top: calc(3 * #{$size__spacing-unit});
|
||||
}
|
||||
|
||||
.comments-title-wrap,
|
||||
.comment-list,
|
||||
.comment-navigation,
|
||||
> .comment-respond,
|
||||
.comment-form-flex,
|
||||
.no-comments {
|
||||
|
||||
margin: calc(2 * #{$size__spacing-unit}) $size__spacing-unit;
|
||||
|
||||
@include media(tablet) {
|
||||
@ -31,13 +30,30 @@
|
||||
|
||||
.comments-title-wrap {
|
||||
|
||||
align-items: baseline;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: calc(2 * #{$size__spacing-unit}) $size__spacing-unit;
|
||||
|
||||
@include media(tablet) {
|
||||
align-items: baseline;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: calc(3 * #{$size__spacing-unit}) calc(2 * (100vw / 12));
|
||||
max-width: calc(8 * (100vw / 12));
|
||||
}
|
||||
|
||||
.comments-title {
|
||||
@include post-section-dash;
|
||||
margin: 0;
|
||||
|
||||
@include media(tablet) {
|
||||
flex: 1 0 calc(3 * (100vw / 12));
|
||||
}
|
||||
}
|
||||
|
||||
.discussion-meta {
|
||||
@include media(tablet) {
|
||||
flex: 0 0 calc(2 * (100vw / 12));
|
||||
margin-left: #{$size__spacing-unit};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -48,11 +64,10 @@
|
||||
}
|
||||
|
||||
#respond {
|
||||
|
||||
position: relative;
|
||||
|
||||
.comment-user-avatar {
|
||||
display: none;
|
||||
margin: $size__spacing-unit 0 -#{$size__spacing-unit};
|
||||
}
|
||||
|
||||
.comment .comment-form {
|
||||
@ -74,26 +89,9 @@
|
||||
> .comments-title:last-child {
|
||||
display: none;
|
||||
}
|
||||
|
||||
> #respond {
|
||||
@include media(desktop) {
|
||||
|
||||
.comment-user-avatar {
|
||||
position: absolute;
|
||||
display: block;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
||||
.avatar {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.comment-form-flex {
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@ -104,8 +102,8 @@
|
||||
}
|
||||
|
||||
#respond {
|
||||
|
||||
order: 2;
|
||||
|
||||
+ .comments-title {
|
||||
display: block;
|
||||
}
|
||||
@ -113,7 +111,6 @@
|
||||
}
|
||||
|
||||
.comment-list {
|
||||
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
|
||||
@ -125,11 +122,9 @@
|
||||
> .comment:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.comment-reply {
|
||||
|
||||
left: calc(#{$size__spacing-unit} + 100%);
|
||||
bottom: 0;
|
||||
position: absolute;
|
||||
@ -144,12 +139,10 @@
|
||||
}
|
||||
|
||||
.comment {
|
||||
|
||||
list-style: none;
|
||||
position: relative;
|
||||
|
||||
@include media(tablet) {
|
||||
|
||||
padding-left: calc(.5 * (#{$size__spacing-unit} + calc(100vw / 12 )));
|
||||
|
||||
.children {
|
||||
@ -217,10 +210,14 @@
|
||||
height: 18px;
|
||||
position: absolute;
|
||||
background: lighten( $color__link, 8% );
|
||||
right: calc(100% + #{$size__spacing-unit * .25});
|
||||
right: calc(100% - #{$size__spacing-unit * 2.5});
|
||||
top: -3px;
|
||||
width: 18px;
|
||||
|
||||
@include media(tablet) {
|
||||
right: calc(100% + #{$size__spacing-unit * .75});
|
||||
}
|
||||
|
||||
svg {
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
@ -282,7 +279,6 @@
|
||||
}
|
||||
|
||||
.comment-edit-link {
|
||||
|
||||
position: relative;
|
||||
padding-left: $size__spacing-unit;
|
||||
margin-left: -#{$size__spacing-unit};
|
||||
@ -345,20 +341,11 @@
|
||||
height: calc(1.5 * #{$size__spacing-unit});
|
||||
width: calc(1.5 * #{$size__spacing-unit});
|
||||
}
|
||||
|
||||
@include media(tablet) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.discussion-meta {
|
||||
|
||||
.discussion-avatar-list {
|
||||
display: inline-block;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.discussion-meta-info {
|
||||
margin: 0;
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
margin: 0 0 calc(1.5 * #{$size__spacing-unit});
|
||||
}
|
||||
|
||||
.hentry {
|
||||
.entry {
|
||||
|
||||
margin-top: calc(6 * #{$size__spacing-unit});
|
||||
|
||||
@ -39,10 +39,6 @@
|
||||
|
||||
@include media(tablet) {
|
||||
margin: calc(3 * #{ $size__spacing-unit}) calc(2 * (100vw / 12 ) ) $size__spacing-unit;
|
||||
|
||||
.featured-image & {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -69,6 +65,7 @@
|
||||
> span {
|
||||
|
||||
margin-right: $size__spacing-unit;
|
||||
display: inline-block;
|
||||
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
@ -95,26 +92,7 @@
|
||||
}
|
||||
|
||||
.entry-meta {
|
||||
|
||||
margin: $size__spacing-unit 0;
|
||||
|
||||
&.has-discussion .comment-count {
|
||||
|
||||
@include media(desktop) {
|
||||
float: right;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.discussion-avatar-list {
|
||||
display: none;
|
||||
|
||||
@include media(desktop) {
|
||||
bottom: 100%;
|
||||
display: block;
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.entry-footer {
|
||||
@ -122,7 +100,7 @@
|
||||
margin: calc(2 * #{$size__spacing-unit}) $size__spacing-unit $size__spacing-unit;
|
||||
|
||||
@include media(tablet) {
|
||||
margin: calc(3 * #{$size__spacing-unit}) calc(2 * (100vw / 12));
|
||||
margin: $size__spacing-unit calc(2 * (100vw / 12)) calc(3 * #{$size__spacing-unit});
|
||||
max-width: calc(8 * (100vw / 12));
|
||||
}
|
||||
|
||||
@ -162,7 +140,24 @@
|
||||
display: block;
|
||||
|
||||
.post-thumbnail-inner {
|
||||
@include filter-grayscale;
|
||||
filter: grayscale(100%);
|
||||
|
||||
&:after {
|
||||
background: rgba(#000, 0.35);
|
||||
content: "";
|
||||
display: block;
|
||||
height: 100%;
|
||||
opacity: .5;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 4;
|
||||
|
||||
@supports (mix-blend-mode: multiply) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:before, &:after {
|
||||
@ -172,25 +167,27 @@
|
||||
height: 100%;
|
||||
top: 0; left: 0;
|
||||
content: "\020";
|
||||
display: block;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@include filter-duotone;
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.entry-content {
|
||||
|
||||
p {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.more-link {
|
||||
@include link-transition;
|
||||
display: inline;
|
||||
color: inherit;
|
||||
|
||||
&:after {
|
||||
content: "»";
|
||||
content: "\02192";
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
|
||||
@ -238,3 +235,41 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Author description */
|
||||
|
||||
.author-bio {
|
||||
|
||||
margin: calc(2 * #{$size__spacing-unit}) $size__spacing-unit $size__spacing-unit;
|
||||
|
||||
@include media(tablet) {
|
||||
margin: calc(3 * #{$size__spacing-unit}) calc(2 * (100vw / 12));
|
||||
max-width: calc(8 * (100vw / 12));
|
||||
}
|
||||
|
||||
@include media(tablet) {
|
||||
max-width: calc(6 * (100vw / 12));
|
||||
}
|
||||
|
||||
.author-title {
|
||||
@include post-section-dash;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.author-description {
|
||||
|
||||
display: inline;
|
||||
color: $color__text-light;
|
||||
font-size: $font__size-md;
|
||||
line-height: $font__line-height-heading;
|
||||
|
||||
.author-link {
|
||||
display: inline-block;
|
||||
|
||||
&:hover {
|
||||
color: $color__link-hover;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,4 +5,52 @@
|
||||
select {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $color__link;
|
||||
|
||||
&:hover {
|
||||
color: $color__link-hover;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.widget_archive,
|
||||
.widget_nav_menu,
|
||||
.widget_meta,
|
||||
.widget_recent_entries,
|
||||
.widget_rss {
|
||||
|
||||
ul {
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
|
||||
li {
|
||||
color: $color__text-light;
|
||||
font-family: $font__heading;
|
||||
font-size: calc(#{$font__size_base} * #{$font__size-lg / 1em} );
|
||||
font-weight: bold;
|
||||
line-height: $font__line-height-heading;
|
||||
|
||||
&:not(.menu-item-has-children) {
|
||||
padding-bottom: ( .75 * $size__spacing-unit );
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: $size__spacing-unit;
|
||||
}
|
||||
}
|
||||
|
||||
&.sub-menu {
|
||||
padding-top: ( .75 * $size__spacing-unit );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.widget_search {
|
||||
|
||||
.search-submit {
|
||||
display: block;
|
||||
margin-top: $size__spacing-unit;
|
||||
}
|
||||
}
|
@ -9,14 +9,8 @@ dfn, cite, em, i {
|
||||
|
||||
blockquote {
|
||||
|
||||
> p {
|
||||
font-size: $font__size-lg;
|
||||
font-style: italic;
|
||||
line-height: $font__line-height-heading;
|
||||
}
|
||||
|
||||
cite {
|
||||
font-size: $font__size-sm;
|
||||
font-size: $font__size-xs;
|
||||
font-style: normal;
|
||||
font-family: $font__heading;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
.main-navigation,
|
||||
.page-description,
|
||||
h2.author-title,
|
||||
.author-description .author-link,
|
||||
.not-found .page-title,
|
||||
.error-404 .page-title,
|
||||
.post-navigation .post-title,
|
||||
@ -40,7 +41,7 @@ img:after,
|
||||
.site-branding,
|
||||
.main-navigation ul.main-menu > li,
|
||||
.social-navigation,
|
||||
.author-description p.author-bio,
|
||||
.author-description .author-bio,
|
||||
.nav-links {
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
@ -6,6 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
@ -20,9 +21,7 @@ get_header();
|
||||
<h1 class="page-title">
|
||||
<?php esc_html_e( 'Search results for:', 'twentynineteen' ); ?>
|
||||
</h1>
|
||||
<div class="page-description">
|
||||
<?php echo get_search_query(); ?>
|
||||
</div>
|
||||
<div class="page-description"><?php echo get_search_query(); ?></div>
|
||||
</header><!-- .page-header -->
|
||||
|
||||
<?php
|
||||
@ -35,7 +34,7 @@ get_header();
|
||||
* If you want to override this in a child theme, then include a file
|
||||
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
|
||||
*/
|
||||
get_template_part( 'template-parts/content/content' );
|
||||
get_template_part( 'template-parts/content/content', 'excerpt' );
|
||||
|
||||
// End the loop.
|
||||
endwhile;
|
||||
|
@ -6,12 +6,13 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
<section id="primary" class="content-area">
|
||||
<main id="main" class="site-main">
|
||||
|
||||
<?php
|
||||
@ -26,7 +27,7 @@ get_header();
|
||||
// Parent post navigation.
|
||||
the_post_navigation(
|
||||
array(
|
||||
'prev_text' => _x( '<span class="meta-nav">Published in</span><span class="post-title">%title</span>', 'Parent post link', 'twentynineteen' ),
|
||||
'prev_text' => _x( '<span class="meta-nav">Published in</span><br/><span class="post-title">%title</span>', 'Parent post link', 'twentynineteen' ),
|
||||
)
|
||||
);
|
||||
} elseif ( is_singular( 'post' ) ) {
|
||||
@ -52,7 +53,7 @@ get_header();
|
||||
?>
|
||||
|
||||
</main><!-- #main -->
|
||||
</div><!-- #primary -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php get_template_part( 'template-parts/post/post', 'navigation' ); ?>
|
||||
|
||||
|
@ -8,7 +8,7 @@ NOTE: This file customizes items that are out of the normal scope of style-edito
|
||||
* since its edges can look jagged due to lack of antialiasing. In this case, we are several
|
||||
* layers of box-shadow to add the border visually, which will render the border smoother. */
|
||||
/** === Title === */
|
||||
body.gutenberg-editor-page .gutenberg .editor-post-title__block:before {
|
||||
body.block-editor-page .block-editor .editor-post-title__block:before {
|
||||
background: #767676;
|
||||
content: "\020";
|
||||
display: block;
|
||||
@ -17,7 +17,7 @@ body.gutenberg-editor-page .gutenberg .editor-post-title__block:before {
|
||||
width: 1em;
|
||||
}
|
||||
|
||||
body.gutenberg-editor-page .gutenberg .editor-post-title__block:before {
|
||||
body.block-editor-page .block-editor .editor-post-title__block:before {
|
||||
width: 2.8125em;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
@ -26,35 +26,35 @@ body.gutenberg-editor-page .gutenberg .editor-post-title__block:before {
|
||||
top: 0.5em;
|
||||
}
|
||||
|
||||
body.gutenberg-editor-page .gutenberg .editor-post-title__block .editor-post-title__input {
|
||||
body.block-editor-page .block-editor .editor-post-title__block .editor-post-title__input {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 2.8125em;
|
||||
}
|
||||
|
||||
/** === Default Appender === */
|
||||
body.gutenberg-editor-page .gutenberg .editor-default-block-appender__content {
|
||||
body.block-editor-page .block-editor .editor-default-block-appender__content {
|
||||
font-family: "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
/** === Off-Center Content === */
|
||||
@media only screen and (min-width: 768px) {
|
||||
body.gutenberg-editor-page .gutenberg .edit-post-layout .editor-writing-flow {
|
||||
body.block-editor-page .block-editor .edit-post-layout .editor-writing-flow {
|
||||
max-width: 80%;
|
||||
margin: 0 10%;
|
||||
}
|
||||
body.gutenberg-editor-page .gutenberg .edit-post-layout .editor-post-title__block,
|
||||
body.gutenberg-editor-page .gutenberg .edit-post-layout .editor-default-block-appender,
|
||||
body.gutenberg-editor-page .gutenberg .edit-post-layout .editor-block-list__block {
|
||||
body.block-editor-page .block-editor .edit-post-layout .editor-post-title__block,
|
||||
body.block-editor-page .block-editor .edit-post-layout .editor-default-block-appender,
|
||||
body.block-editor-page .block-editor .edit-post-layout .editor-block-list__block {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
body.gutenberg-editor-page .gutenberg .edit-post-layout .editor-block-list__block[data-align="full"] {
|
||||
body.block-editor-page .block-editor .edit-post-layout .editor-block-list__block[data-align="full"] {
|
||||
width: calc( 125% + 88px + 28px);
|
||||
position: relative;
|
||||
left: calc( -12.5% - 46px - 14px);
|
||||
}
|
||||
body.gutenberg-editor-page .gutenberg .edit-post-layout .editor-block-list__block[data-align="right"] {
|
||||
body.block-editor-page .block-editor .edit-post-layout .editor-block-list__block[data-align="right"] {
|
||||
max-width: 125%;
|
||||
}
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ NOTE: This file customizes items that are out of the normal scope of style-edito
|
||||
|
||||
/** === Title === */
|
||||
|
||||
body.gutenberg-editor-page .gutenberg .editor-post-title__block {
|
||||
body.block-editor-page .block-editor .editor-post-title__block {
|
||||
@include post-section-dash;
|
||||
|
||||
&:before {
|
||||
@ -32,14 +32,14 @@ body.gutenberg-editor-page .gutenberg .editor-post-title__block {
|
||||
|
||||
/** === Default Appender === */
|
||||
|
||||
body.gutenberg-editor-page .gutenberg .editor-default-block-appender__content {
|
||||
body.block-editor-page .block-editor .editor-default-block-appender__content {
|
||||
font-family: $font__body;
|
||||
font-size: $font__size_base;
|
||||
}
|
||||
|
||||
/** === Off-Center Content === */
|
||||
|
||||
body.gutenberg-editor-page .gutenberg .edit-post-layout {
|
||||
body.block-editor-page .block-editor .edit-post-layout {
|
||||
|
||||
@include media(tablet) {
|
||||
.editor-writing-flow {
|
||||
|
@ -116,6 +116,18 @@ a:focus {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.has-primary-background-color p,
|
||||
.has-primary-background-color h1,
|
||||
.has-primary-background-color h2,
|
||||
.has-primary-background-color h3,
|
||||
.has-primary-background-color h4,
|
||||
.has-primary-background-color h5,
|
||||
.has-primary-background-color h6,
|
||||
.has-primary-background-color a,
|
||||
.has-primary-background-color a:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
figcaption,
|
||||
.gallery-caption {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
@ -133,46 +145,46 @@ figcaption,
|
||||
margin: 0 0.25em 0 0;
|
||||
}
|
||||
|
||||
/** === Cover Image === */
|
||||
.wp-block-cover-image h2,
|
||||
.wp-block-cover-image .wp-block-cover-image-text {
|
||||
/** === Cover === */
|
||||
.wp-block-cover h2,
|
||||
.wp-block-cover .wp-block-cover-text {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 2.25em;
|
||||
font-weight: bold;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.wp-block-cover-image.has-left-content {
|
||||
.wp-block-cover.has-left-content {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.wp-block-cover-image.has-left-content h2,
|
||||
.wp-block-cover-image.has-left-content .wp-block-cover-image-text {
|
||||
.wp-block-cover.has-left-content h2,
|
||||
.wp-block-cover.has-left-content .wp-block-cover-text {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
.wp-block-cover-image.has-right-content {
|
||||
.wp-block-cover.has-right-content {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.wp-block-cover-image.has-right-content h2,
|
||||
.wp-block-cover-image.has-right-content .wp-block-cover-image-text {
|
||||
.wp-block-cover.has-right-content h2,
|
||||
.wp-block-cover.has-right-content .wp-block-cover-text {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
body[data-type="core/cover-image"][data-align="left"] h2,
|
||||
body[data-type="core/cover-image"][data-align="left"] .wp-block-cover-image-text,
|
||||
body[data-type="core/cover-image"][data-align="right"] h2,
|
||||
body[data-type="core/cover-image"][data-align="right"] .wp-block-cover-image-text {
|
||||
body[data-type="core/cover"][data-align="left"] h2,
|
||||
body[data-type="core/cover"][data-align="left"] .wp-block-cover-text,
|
||||
body[data-type="core/cover"][data-align="right"] h2,
|
||||
body[data-type="core/cover"][data-align="right"] .wp-block-cover-text {
|
||||
width: 100%;
|
||||
max-width: 305px;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1168px) {
|
||||
body[data-type="core/cover-image"][data-align="wide"] h2,
|
||||
body[data-type="core/cover-image"][data-align="wide"] .wp-block-cover-image-text,
|
||||
body[data-type="core/cover-image"][data-align="full"] h2,
|
||||
body[data-type="core/cover-image"][data-align="full"] .wp-block-cover-image-text {
|
||||
body[data-type="core/cover"][data-align="wide"] h2,
|
||||
body[data-type="core/cover"][data-align="wide"] .wp-block-cover-text,
|
||||
body[data-type="core/cover"][data-align="full"] h2,
|
||||
body[data-type="core/cover"][data-align="full"] .wp-block-cover-text {
|
||||
padding: 0;
|
||||
width: calc(6 * (100vw / 12));
|
||||
max-width: calc(6 * (100vw / 12));
|
||||
@ -195,8 +207,7 @@ body[data-type="core/cover-image"][data-align="right"] .wp-block-cover-image-tex
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.wp-block-button .wp-block-button__link:not(.has-background),
|
||||
.wp-block-button .wp-block-button__link:not(.has-background) {
|
||||
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
|
||||
background: #0073aa;
|
||||
}
|
||||
|
||||
@ -204,18 +215,16 @@ body[data-type="core/cover-image"][data-align="right"] .wp-block-cover-image-tex
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.wp-block-button.is-style-outline .wp-block-button__link,
|
||||
.wp-block-button.is-style-outline .wp-block-button__link:hover,
|
||||
.wp-block-button.is-style-outline .wp-block-button__link:focus,
|
||||
.wp-block-button.is-style-outline .wp-block-button__link:active {
|
||||
.wp-block-button.is-style-outline, .wp-block-button.is-style-outline:hover, .wp-block-button.is-style-outline:focus, .wp-block-button.is-style-outline:active {
|
||||
background: transparent;
|
||||
border-color: #0073aa;
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color),
|
||||
.wp-block-button.is-style-outline .wp-block-button__link:hover:not(.has-text-color),
|
||||
.wp-block-button.is-style-outline .wp-block-button__link:focus:not(.has-text-color),
|
||||
.wp-block-button.is-style-outline .wp-block-button__link:active:not(.has-text-color) {
|
||||
.wp-block-button.is-style-outline .wp-block-button__link, .wp-block-button.is-style-outline:hover .wp-block-button__link, .wp-block-button.is-style-outline:focus .wp-block-button__link, .wp-block-button.is-style-outline:active .wp-block-button__link {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color), .wp-block-button.is-style-outline:hover .wp-block-button__link:not(.has-text-color), .wp-block-button.is-style-outline:focus .wp-block-button__link:not(.has-text-color), .wp-block-button.is-style-outline:active .wp-block-button__link:not(.has-text-color) {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
@ -268,9 +277,8 @@ body[data-type="core/cover-image"][data-align="right"] .wp-block-cover-image-tex
|
||||
}
|
||||
}
|
||||
|
||||
.wp-block-pullquote.is-style-solid-color blockquote:not(.has-text-color) p,
|
||||
.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation {
|
||||
color: white;
|
||||
.wp-block-pullquote.is-style-solid-color blockquote:not(.has-text-color) {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.is-style-solid-color:not(.has-background-color) {
|
||||
@ -298,7 +306,6 @@ body[data-type="core/pullquote"][data-align="right"] p {
|
||||
line-height: 1.3;
|
||||
margin-bottom: 0.5em;
|
||||
margin-top: 0.5em;
|
||||
color: #111;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
@ -322,7 +329,6 @@ body[data-type="core/pullquote"][data-align="right"] .wp-block-pullquote__citati
|
||||
font-size: 0.71111em;
|
||||
line-height: 1.6;
|
||||
text-transform: none;
|
||||
color: #767676;
|
||||
}
|
||||
|
||||
body[data-type="core/pullquote"] em,
|
||||
@ -346,13 +352,6 @@ body[data-type="core/pullquote"][data-align="right"] .editor-block-list__block-e
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
body[data-type="core/pullquote"][data-align="left"] .editor-block-list__block-edit .wp-block-pullquote.is-style-solid-color p,
|
||||
body[data-type="core/pullquote"][data-align="left"] .editor-block-list__block-edit .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation,
|
||||
body[data-type="core/pullquote"][data-align="right"] .editor-block-list__block-edit .wp-block-pullquote.is-style-solid-color p,
|
||||
body[data-type="core/pullquote"][data-align="right"] .editor-block-list__block-edit .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation {
|
||||
color: white;
|
||||
}
|
||||
|
||||
body[data-type="core/pullquote"][data-align="left"] blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
|
||||
body[data-type="core/pullquote"][data-align="left"] blockquote > .editor-rich-text p,
|
||||
body[data-type="core/pullquote"][data-align="left"] p,
|
||||
@ -433,24 +432,22 @@ ul.wp-block-archives li,
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
ul.wp-block-archives li:not(.menu-item-has-children),
|
||||
.wp-block-categories li:not(.menu-item-has-children),
|
||||
.wp-block-latest-posts li:not(.menu-item-has-children) {
|
||||
padding-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
ul.wp-block-archives li a,
|
||||
.wp-block-categories li a,
|
||||
.wp-block-latest-posts li a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
ul.wp-block-archives li a:after,
|
||||
.wp-block-categories li a:after,
|
||||
.wp-block-latest-posts li a:after {
|
||||
color: #767676;
|
||||
content: ",";
|
||||
}
|
||||
|
||||
ul.wp-block-archives li:last-child a:after,
|
||||
.wp-block-categories li:last-child a:after,
|
||||
.wp-block-latest-posts li:last-child a:after {
|
||||
color: #767676;
|
||||
content: ".";
|
||||
ul.wp-block-archives li ul,
|
||||
.wp-block-categories li ul,
|
||||
.wp-block-latest-posts li ul {
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
/** === Latest Posts grid view === */
|
||||
@ -502,6 +499,19 @@ ul.wp-block-archives li:last-child a:after,
|
||||
|
||||
.wp-block-freeform {
|
||||
/* Add style for galleries in classic-editor block */
|
||||
/* Add style for galleries in classic-editor block */
|
||||
}
|
||||
|
||||
.wp-block-freeform blockquote {
|
||||
border-left: 2px solid #0073aa;
|
||||
}
|
||||
|
||||
.wp-block-freeform blockquote cite {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 0.71111em;
|
||||
font-style: normal;
|
||||
line-height: 1.6;
|
||||
color: #767676;
|
||||
}
|
||||
|
||||
.wp-block-freeform .gallery {
|
||||
|
@ -102,6 +102,21 @@ a {
|
||||
}
|
||||
}
|
||||
|
||||
.has-primary-background-color {
|
||||
|
||||
p,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
a,
|
||||
a:hover {
|
||||
color: $color__background-body;
|
||||
}
|
||||
}
|
||||
|
||||
figcaption,
|
||||
.gallery-caption {
|
||||
font-family: $font__heading;
|
||||
@ -123,12 +138,12 @@ figcaption,
|
||||
}
|
||||
}
|
||||
|
||||
/** === Cover Image === */
|
||||
/** === Cover === */
|
||||
|
||||
.wp-block-cover-image {
|
||||
.wp-block-cover {
|
||||
|
||||
h2,
|
||||
.wp-block-cover-image-text {
|
||||
.wp-block-cover-text {
|
||||
font-family: $font__heading;
|
||||
font-size: $font__size-xl;
|
||||
font-weight: bold;
|
||||
@ -139,7 +154,7 @@ figcaption,
|
||||
justify-content: center;
|
||||
|
||||
h2,
|
||||
.wp-block-cover-image-text {
|
||||
.wp-block-cover-text {
|
||||
padding: 1em;
|
||||
}
|
||||
}
|
||||
@ -148,28 +163,28 @@ figcaption,
|
||||
justify-content: center;
|
||||
|
||||
h2,
|
||||
.wp-block-cover-image-text {
|
||||
.wp-block-cover-text {
|
||||
padding: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body[data-type="core/cover-image"][data-align="left"],
|
||||
body[data-type="core/cover-image"][data-align="right"] {
|
||||
body[data-type="core/cover"][data-align="left"],
|
||||
body[data-type="core/cover"][data-align="right"] {
|
||||
|
||||
h2,
|
||||
.wp-block-cover-image-text {
|
||||
.wp-block-cover-text {
|
||||
width: 100%;
|
||||
max-width: 305px;
|
||||
}
|
||||
}
|
||||
|
||||
body[data-type="core/cover-image"][data-align="wide"],
|
||||
body[data-type="core/cover-image"][data-align="full"] {
|
||||
body[data-type="core/cover"][data-align="wide"],
|
||||
body[data-type="core/cover"][data-align="full"] {
|
||||
|
||||
@include media(desktop) {
|
||||
h2,
|
||||
.wp-block-cover-image-text {
|
||||
.wp-block-cover-text {
|
||||
padding: 0;
|
||||
width: calc(6 * (100vw / 12));
|
||||
max-width: calc(6 * (100vw / 12));
|
||||
@ -200,8 +215,7 @@ body[data-type="core/cover-image"][data-align="full"] {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.wp-block-button__link:not(.has-background),
|
||||
.wp-block-button__link:not(.has-background) {
|
||||
&:not(.is-style-outline) .wp-block-button__link {
|
||||
background: $color__background-button;
|
||||
}
|
||||
|
||||
@ -209,15 +223,19 @@ body[data-type="core/cover-image"][data-align="full"] {
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
&.is-style-outline .wp-block-button__link,
|
||||
&.is-style-outline .wp-block-button__link:hover,
|
||||
&.is-style-outline .wp-block-button__link:focus,
|
||||
&.is-style-outline .wp-block-button__link:active {
|
||||
&.is-style-outline,
|
||||
&.is-style-outline:hover,
|
||||
&.is-style-outline:focus,
|
||||
&.is-style-outline:active {
|
||||
background: transparent;
|
||||
border-color: $color__background-button;
|
||||
color: $color__background-button;
|
||||
|
||||
&:not(.has-text-color) {
|
||||
color: $color__background-button;
|
||||
.wp-block-button__link {
|
||||
background: transparent;
|
||||
|
||||
&:not(.has-text-color) {
|
||||
color: $color__background-button;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -274,9 +292,8 @@ body[data-type="core/cover-image"][data-align="full"] {
|
||||
}
|
||||
}
|
||||
|
||||
blockquote:not(.has-text-color) p,
|
||||
.wp-block-pullquote__citation {
|
||||
color: white;
|
||||
blockquote:not(.has-text-color) {
|
||||
color: $color__background-body;
|
||||
}
|
||||
|
||||
&:not(.has-background-color) {
|
||||
@ -302,7 +319,6 @@ body[data-type="core/pullquote"][data-align="right"] {
|
||||
line-height: 1.3;
|
||||
margin-bottom: 0.5em;
|
||||
margin-top: 0.5em;
|
||||
color: $color__text-main;
|
||||
|
||||
@include media(tablet) {
|
||||
font-size: $font__size-xl;
|
||||
@ -314,7 +330,6 @@ body[data-type="core/pullquote"][data-align="right"] {
|
||||
font-size: $font__size-xs;
|
||||
line-height: 1.6;
|
||||
text-transform: none;
|
||||
color: $color__text-light;
|
||||
}
|
||||
|
||||
em {
|
||||
@ -334,11 +349,6 @@ body[data-type="core/pullquote"][data-align="right"] {
|
||||
|
||||
.wp-block-pullquote.is-style-solid-color {
|
||||
padding: 1em;
|
||||
|
||||
p,
|
||||
.wp-block-pullquote__citation {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -425,18 +435,16 @@ ul.wp-block-archives,
|
||||
font-weight: bold;
|
||||
line-height: $font__line-height-heading;
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
|
||||
&:after {
|
||||
color: $color__text-light;
|
||||
content: ",";
|
||||
}
|
||||
&:not(.menu-item-has-children) {
|
||||
padding-bottom: ( .75 * $size__spacing-unit );
|
||||
}
|
||||
|
||||
&:last-child a:after {
|
||||
color: $color__text-light;
|
||||
content: ".";
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: $size__spacing-unit;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -498,6 +506,19 @@ ul.wp-block-archives,
|
||||
|
||||
.wp-block-freeform {
|
||||
|
||||
/* Add style for galleries in classic-editor block */
|
||||
blockquote {
|
||||
border-left: 2px solid $color__link;
|
||||
|
||||
cite {
|
||||
font-family: $font__heading;
|
||||
font-size: $font__size-xs;
|
||||
font-style: normal;
|
||||
line-height: 1.6;
|
||||
color: $color__text-light;
|
||||
}
|
||||
}
|
||||
|
||||
/* Add style for galleries in classic-editor block */
|
||||
.gallery {
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1
wp-content/themes/twentynineteen/style.css.map
Normal file
1
wp-content/themes/twentynineteen/style.css.map
Normal file
File diff suppressed because one or more lines are too long
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying post archives and search results
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<?php
|
||||
if ( is_sticky() && is_home() && ! is_paged() ) {
|
||||
printf( '<span class="sticky-post">%s</span>', __( 'Featured', 'twentynineteen' ) );
|
||||
}
|
||||
the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );
|
||||
?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<?php twentynineteen_post_thumbnail(); ?>
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-footer">
|
||||
<?php twentynineteen_entry_footer(); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
</article><!-- #post-${ID} -->
|
@ -6,6 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
?>
|
||||
|
@ -6,17 +6,17 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<?php if ( ! twentynineteen_can_show_post_thumbnail() ) : ?>
|
||||
<header class="entry-header">
|
||||
<?php
|
||||
if ( ! twentynineteen_can_show_post_thumbnail() ) {
|
||||
get_template_part( 'template-parts/header/entry', 'header' );}
|
||||
?>
|
||||
<?php get_template_part( 'template-parts/header/entry', 'header' ); ?>
|
||||
</header>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="entry-content">
|
||||
<?php
|
||||
|
@ -6,51 +6,17 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<?php if ( ! twentynineteen_can_show_post_thumbnail() ) : ?>
|
||||
<?php if ( ! twentynineteen_can_show_post_thumbnail() ) : ?>
|
||||
<header class="entry-header">
|
||||
<?php if ( ! is_page() ) : ?>
|
||||
<?php $discussion = twentynineteen_can_show_post_thumbnail() ? twentynineteen_get_discussion_data() : null; ?>
|
||||
<?php endif; ?>
|
||||
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
|
||||
<?php if ( ! is_page() ) : ?>
|
||||
<div class="<?php echo ( ! empty( $discussion ) && count( $discussion->authors ) > 0 ) ? 'entry-meta has-discussion' : 'entry-meta'; ?>">
|
||||
<?php twentynineteen_posted_by(); ?>
|
||||
<?php twentynineteen_posted_on(); ?>
|
||||
<span class="comment-count">
|
||||
<?php
|
||||
if ( ! empty( $discussion ) ) {
|
||||
twentynineteen_discussion_avatars_list( $discussion->authors );}
|
||||
?>
|
||||
<?php twentynineteen_comment_count(); ?>
|
||||
</span>
|
||||
<?php
|
||||
// Edit post link.
|
||||
edit_post_link(
|
||||
sprintf(
|
||||
wp_kses(
|
||||
/* translators: %s: Name of current post. Only visible to screen readers. */
|
||||
__( 'Edit <span class="screen-reader-text">%s</span>', 'twentynineteen' ),
|
||||
array(
|
||||
'span' => array(
|
||||
'class' => array(),
|
||||
),
|
||||
)
|
||||
),
|
||||
get_the_title()
|
||||
),
|
||||
'<span class="edit-link">' . twentynineteen_get_icon_svg( 'edit', 16 ),
|
||||
'</span>'
|
||||
);
|
||||
?>
|
||||
</div><!-- .meta-info -->
|
||||
<?php endif; ?>
|
||||
<?php get_template_part( 'template-parts/header/entry', 'header' ); ?>
|
||||
</header>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="entry-content">
|
||||
<?php
|
||||
@ -82,6 +48,8 @@
|
||||
<?php twentynineteen_entry_footer(); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
|
||||
<?php get_template_part( 'template-parts/post/author', 'info' ); ?>
|
||||
<?php if ( ! is_singular( 'attachment' ) ) : ?>
|
||||
<?php get_template_part( 'template-parts/post/author', 'bio' ); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</article><!-- #post-${ID} -->
|
||||
|
@ -6,6 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
?>
|
||||
@ -22,7 +23,6 @@
|
||||
the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );
|
||||
endif;
|
||||
?>
|
||||
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<?php twentynineteen_post_thumbnail(); ?>
|
||||
|
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* Displays the footer widget area
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
|
||||
|
||||
<aside class="widget-area" role="complementary" aria-label="<?php esc_attr_e( 'Footer', 'twentynineteen' ); ?>">
|
||||
<?php
|
||||
if ( is_active_sidebar( 'sidebar-1' ) ) {
|
||||
?>
|
||||
<div class="widget-column footer-widget-1">
|
||||
<?php dynamic_sidebar( 'sidebar-1' ); ?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</aside><!-- .widget-area -->
|
||||
|
||||
<?php endif; ?>
|
@ -4,24 +4,43 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since Twenty Nineteen 1.0
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
if ( ! is_page() ) :
|
||||
?>
|
||||
<?php $discussion = twentynineteen_can_show_post_thumbnail() ? twentynineteen_get_discussion_data() : null; ?>
|
||||
<?php endif; ?>
|
||||
$discussion = ! is_page() && twentynineteen_can_show_post_thumbnail() ? twentynineteen_get_discussion_data() : null; ?>
|
||||
|
||||
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
|
||||
|
||||
<?php if ( ! is_page() ) : ?>
|
||||
<div class="<?php echo ( ! empty( $discussion ) && count( $discussion->authors ) > 0 ) ? 'entry-meta has-discussion' : 'entry-meta'; ?>">
|
||||
<div class="entry-meta">
|
||||
<?php twentynineteen_posted_by(); ?>
|
||||
<?php twentynineteen_posted_on(); ?>
|
||||
<span class="comment-count">
|
||||
<?php
|
||||
if ( ! empty( $discussion ) ) {
|
||||
twentynineteen_discussion_avatars_list( $discussion->authors );}
|
||||
twentynineteen_discussion_avatars_list( $discussion->authors );
|
||||
}
|
||||
?>
|
||||
<?php twentynineteen_comment_count(); ?>
|
||||
</span>
|
||||
<?php
|
||||
// Edit post link.
|
||||
edit_post_link(
|
||||
sprintf(
|
||||
wp_kses(
|
||||
/* translators: %s: Name of current post. Only visible to screen readers. */
|
||||
__( 'Edit <span class="screen-reader-text">%s</span>', 'twentynineteen' ),
|
||||
array(
|
||||
'span' => array(
|
||||
'class' => array(),
|
||||
),
|
||||
)
|
||||
),
|
||||
get_the_title()
|
||||
),
|
||||
'<span class="edit-link">' . twentynineteen_get_icon_svg( 'edit', 16 ),
|
||||
'</span>'
|
||||
);
|
||||
?>
|
||||
</div><!-- .meta-info -->
|
||||
<?php endif; ?>
|
||||
|
@ -4,6 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
?>
|
||||
<div class="site-branding">
|
||||
@ -12,10 +13,12 @@
|
||||
<div class="site-logo"><?php the_custom_logo(); ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( is_front_page() && is_home() ) : ?>
|
||||
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
|
||||
<?php else : ?>
|
||||
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
|
||||
<?php if ( ! empty( get_bloginfo( 'name' ) ) ) : ?>
|
||||
<?php if ( is_front_page() && is_home() ) : ?>
|
||||
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
|
||||
<?php else : ?>
|
||||
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
@ -39,7 +42,7 @@
|
||||
</nav><!-- #site-navigation -->
|
||||
<?php endif; ?>
|
||||
<?php if ( has_nav_menu( 'social' ) ) : ?>
|
||||
<nav class="social-navigation" aria-label="<?php esc_attr_e( 'Footer Social Links Menu', 'twentynineteen' ); ?>">
|
||||
<nav class="social-navigation" aria-label="<?php esc_attr_e( 'Social Links Menu', 'twentynineteen' ); ?>">
|
||||
<?php
|
||||
wp_nav_menu(
|
||||
array(
|
||||
|
@ -4,18 +4,19 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
if ( (bool) get_the_author_meta( 'description' ) ) : ?>
|
||||
<div class="author-description">
|
||||
<div class="author-bio">
|
||||
<h2 class="author-title">
|
||||
<span class="author-heading"><?php echo esc_html( sprintf( __( 'Published by %s', 'twentynineteen' ), get_the_author() ) ); ?></span>
|
||||
</h2>
|
||||
<p class="author-bio">
|
||||
<p class="author-description">
|
||||
<?php the_author_meta( 'description' ); ?>
|
||||
<a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
|
||||
<?php _e( 'View more posts ', 'twentynineteen' ); ?>
|
||||
</a>
|
||||
</p><!-- .author-bio -->
|
||||
<div><!-- .author-description -->
|
||||
</p><!-- .author-description -->
|
||||
</div><!-- .author-bio -->
|
||||
<?php endif; ?>
|
@ -4,6 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
/* Get data from current discussion on post. */
|
||||
|
File diff suppressed because one or more lines are too long
2
wp-includes/css/dist/block-library/style.css
vendored
2
wp-includes/css/dist/block-library/style.css
vendored
File diff suppressed because one or more lines are too long
6
wp-includes/js/dist/block-library.min.js
vendored
6
wp-includes/js/dist/block-library.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/blocks.min.js
vendored
2
wp-includes/js/dist/blocks.min.js
vendored
File diff suppressed because one or more lines are too long
4
wp-includes/js/dist/components.min.js
vendored
4
wp-includes/js/dist/components.min.js
vendored
File diff suppressed because one or more lines are too long
4
wp-includes/js/dist/date.min.js
vendored
4
wp-includes/js/dist/date.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/edit-post.min.js
vendored
2
wp-includes/js/dist/edit-post.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/editor.min.js
vendored
2
wp-includes/js/dist/editor.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/i18n.min.js
vendored
2
wp-includes/js/dist/i18n.min.js
vendored
File diff suppressed because one or more lines are too long
375
wp-includes/js/dist/vendor/react-dom.min.js
vendored
375
wp-includes/js/dist/vendor/react-dom.min.js
vendored
@ -1,4 +1,4 @@
|
||||
/** @license React v16.5.2
|
||||
/** @license React v16.6.0
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
@ -9,186 +9,197 @@
|
||||
/*
|
||||
Modernizr 3.0.0pre (Custom Build) | MIT
|
||||
*/
|
||||
'use strict';(function(T,Ua){"object"===typeof exports&&"undefined"!==typeof module?module.exports=Ua(require("react")):"function"===typeof define&&define.amd?define(["react"],Ua):T.ReactDOM=Ua(T.React)})(this,function(T){function Ua(a,b,c,d,e,f,g,h){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var k=[c,d,e,f,g,h],l=0;a=Error(b.replace(/%s/g,function(){return k[l++]}));a.name=
|
||||
"Invariant Violation"}a.framesToPop=1;throw a;}}function m(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=0;d<b;d++)c+="&args[]="+encodeURIComponent(arguments[d+1]);Ua(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",c)}function jg(a,b,c,d,e,f,g,h,k){Va=!1;wb=null;kg.apply(lg,arguments)}function mg(a,b,c,d,e,f,g,h,k){jg.apply(this,arguments);if(Va){if(Va){var l=
|
||||
wb;Va=!1;wb=null}else m("198"),l=void 0;xb||(xb=!0,uc=l)}}function Kd(){if(yb)for(var a in va){var b=va[a],c=yb.indexOf(a);-1<c?void 0:m("96",a);if(!zb[c]){b.extractEvents?void 0:m("97",a);zb[c]=b;c=b.eventTypes;for(var d in c){var e=void 0;var f=c[d],g=b,h=d;vc.hasOwnProperty(h)?m("99",h):void 0;vc[h]=f;var k=f.phasedRegistrationNames;if(k){for(e in k)k.hasOwnProperty(e)&&Ld(k[e],g,h);e=!0}else f.registrationName?(Ld(f.registrationName,g,h),e=!0):e=!1;e?void 0:m("98",d,a)}}}}function Ld(a,b,c){wa[a]?
|
||||
m("100",a):void 0;wa[a]=b;wc[a]=b.eventTypes[c].dependencies}function Md(a,b,c,d){b=a.type||"unknown-event";a.currentTarget=Nd(d);mg(b,c,void 0,a);a.currentTarget=null}function xa(a,b){null==b?m("30"):void 0;if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function Ab(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}function Od(a,b){var c=a.stateNode;if(!c)return null;var d=xc(c);if(!d)return null;
|
||||
c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;c&&"function"!==typeof c?m("231",b,typeof c):void 0;return c}function yc(a,b){null!==a&&(Wa=xa(Wa,a));a=Wa;Wa=null;if(a&&(b?Ab(a,ng):
|
||||
Ab(a,og),Wa?m("95"):void 0,xb))throw b=uc,xb=!1,uc=null,b;}function Bb(a){if(a[U])return a[U];for(;!a[U];)if(a.parentNode)a=a.parentNode;else return null;a=a[U];return 7===a.tag||8===a.tag?a:null}function Pd(a){a=a[U];return!a||7!==a.tag&&8!==a.tag?null:a}function na(a){if(7===a.tag||8===a.tag)return a.stateNode;m("33")}function zc(a){return a[Cb]||null}function V(a){do a=a.return;while(a&&7!==a.tag);return a?a:null}function Qd(a,b,c){if(b=Od(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=
|
||||
xa(c._dispatchListeners,b),c._dispatchInstances=xa(c._dispatchInstances,a)}function pg(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=V(b);for(b=c.length;0<b--;)Qd(c[b],"captured",a);for(b=0;b<c.length;b++)Qd(c[b],"bubbled",a)}}function Ac(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=Od(a,c.dispatchConfig.registrationName))&&(c._dispatchListeners=xa(c._dispatchListeners,b),c._dispatchInstances=xa(c._dispatchInstances,a))}function qg(a){a&&a.dispatchConfig.registrationName&&
|
||||
Ac(a._targetInst,null,a)}function ya(a){Ab(a,pg)}function Db(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}function Eb(a){if(Bc[a])return Bc[a];if(!za[a])return a;var b=za[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Rd)return Bc[a]=b[c];return a}function Sd(){if(Fb)return Fb;var a,b=Cc,c=b.length,d,e="value"in da?da.value:da.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return Fb=e.slice(a,
|
||||
1<d?1-d:void 0)}function Gb(){return!0}function Hb(){return!1}function L(a,b,c,d){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):"target"===e?this.target=d:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?Gb:Hb;this.isPropagationStopped=Hb;return this}function rg(a,b,c,d){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,d);
|
||||
return e}return new this(a,b,c,d)}function sg(a){a instanceof this?void 0:m("279");a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function Td(a){a.eventPool=[];a.getPooled=rg;a.release=sg}function Ud(a,b){switch(a){case "keyup":return-1!==tg.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "blur":return!0;default:return!1}}function Vd(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}function ug(a,b){switch(a){case "compositionend":return Vd(b);
|
||||
case "keypress":if(32!==b.which)return null;Wd=!0;return Xd;case "textInput":return a=b.data,a===Xd&&Wd?null:a;default:return null}}function vg(a,b){if(Aa)return"compositionend"===a||!Dc&&Ud(a,b)?(a=Sd(),Fb=Cc=da=null,Aa=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return Yd&&"ko"!==b.locale?null:b.data;
|
||||
default:return null}}function Zd(a){if(a=$d(a)){"function"!==typeof Ec?m("280"):void 0;var b=xc(a.stateNode);Ec(a.stateNode,a.type,b)}}function ae(a){Ba?Ca?Ca.push(a):Ca=[a]:Ba=a}function be(){if(Ba){var a=Ba,b=Ca;Ca=Ba=null;Zd(a);if(b)for(a=0;a<b.length;a++)Zd(b[a])}}function ce(a,b){if(Fc)return a(b);Fc=!0;try{return de(a,b)}finally{if(Fc=!1,null!==Ba||null!==Ca)ee(),be()}}function fe(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!wg[a.type]:"textarea"===b?!0:!1}function Gc(a){a=
|
||||
a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}function ge(a){if(!ea)return!1;a="on"+a;var b=a in document;b||(b=document.createElement("div"),b.setAttribute(a,"return;"),b="function"===typeof b[a]);return b}function he(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}function xg(a){var b=he(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=
|
||||
""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=""+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=""+a},stopTracking:function(){a._valueTracker=null;delete a[b]}}}}function Ib(a){a._valueTracker||(a._valueTracker=xg(a))}function ie(a){if(!a)return!1;
|
||||
var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=he(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Xa(a){if(null===a||"object"!==typeof a)return null;a=je&&a[je]||a["@@iterator"];return"function"===typeof a?a:null}function Da(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case ke:return"AsyncMode";case fa:return"Fragment";case Ea:return"Portal";case Hc:return"Profiler";
|
||||
case le:return"StrictMode";case me:return"Placeholder"}if("object"===typeof a){switch(a.$$typeof){case ne:return"Context.Consumer";case oe:return"Context.Provider";case pe:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef")}if("function"===typeof a.then&&(a=1===a._reactStatus?a._reactResult:null))return Da(a)}return null}function qe(a){var b="";do{a:switch(a.tag){case 4:case 0:case 1:case 2:case 3:case 7:case 10:var c=a._debugOwner,d=a._debugSource,
|
||||
e=Da(a.type);var f=null;c&&(f=Da(c.type));c=e;e="";d?e=" (at "+d.fileName.replace(yg,"")+":"+d.lineNumber+")":f&&(e=" (created by "+f+")");f="\n in "+(c||"Unknown")+e;break a;default:f=""}b+=f;a=a.return}while(a);return b}function zg(a){if(re.call(se,a))return!0;if(re.call(te,a))return!1;if(Ag.test(a))return se[a]=!0;te[a]=!0;return!1}function Bg(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(d)return!1;if(null!==c)return!c.acceptsBooleans;
|
||||
a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}function Cg(a,b,c,d){if(null===b||"undefined"===typeof b||Bg(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function M(a,b,c,d,e){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b}function Ic(a,b,c,d){var e=E.hasOwnProperty(b)?
|
||||
E[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1]?!1:!0;f||(Cg(b,c,e,d)&&(c=null),d||null===e?zg(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))))}function ha(a){switch(typeof a){case "boolean":case "number":case "object":case "string":case "undefined":return a;
|
||||
default:return""}}function Jc(a,b){var c=b.checked;return H({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function ue(a,b){var c=null==b.defaultValue?"":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=ha(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:"checkbox"===b.type||"radio"===b.type?null!=b.checked:null!=b.value}}function ve(a,b){b=b.checked;null!=b&&Ic(a,"checked",b,!1)}function Kc(a,
|
||||
b){ve(a,b);var c=ha(b.value),d=b.type;if(null!=c)if("number"===d){if(0===c&&""===a.value||a.value!=c)a.value=""+c}else a.value!==""+c&&(a.value=""+c);else if("submit"===d||"reset"===d){a.removeAttribute("value");return}b.hasOwnProperty("value")?Lc(a,b.type,c):b.hasOwnProperty("defaultValue")&&Lc(a,b.type,ha(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}function we(a,b,c){if(b.hasOwnProperty("value")||b.hasOwnProperty("defaultValue")){var d=b.type;
|
||||
if(!("submit"!==d&&"reset"!==d||void 0!==b.value&&null!==b.value))return;b=""+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;""!==c&&(a.name="");a.defaultChecked=!a.defaultChecked;a.defaultChecked=!!a._wrapperState.initialChecked;""!==c&&(a.name=c)}function Lc(a,b,c){if("number"!==b||a.ownerDocument.activeElement!==a)null==c?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c)}function xe(a,b,c){a=L.getPooled(ye.change,a,b,
|
||||
c);a.type="change";ae(c);ya(a);return a}function Dg(a){yc(a,!1)}function Jb(a){var b=na(a);if(ie(b))return a}function Eg(a,b){if("change"===a)return b}function ze(){Ya&&(Ya.detachEvent("onpropertychange",Ae),Za=Ya=null)}function Ae(a){"value"===a.propertyName&&Jb(Za)&&(a=xe(Za,a,Gc(a)),ce(Dg,a))}function Fg(a,b,c){"focus"===a?(ze(),Ya=b,Za=c,Ya.attachEvent("onpropertychange",Ae)):"blur"===a&&ze()}function Gg(a,b){if("selectionchange"===a||"keyup"===a||"keydown"===a)return Jb(Za)}function Hg(a,b){if("click"===
|
||||
a)return Jb(b)}function Ig(a,b){if("input"===a||"change"===a)return Jb(b)}function Jg(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Kg[a])?!!b[a]:!1}function Mc(a){return Jg}function Be(a,b){return a===b?0!==a||0!==b||1/a===1/b:a!==a&&b!==b}function Nc(a,b){if(Be(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!Lg.call(b,c[d])||!Be(a[c[d]],
|
||||
b[c[d]]))return!1;return!0}function $a(a){var b=a;if(a.alternate)for(;b.return;)b=b.return;else{if(0!==(b.effectTag&2))return 1;for(;b.return;)if(b=b.return,0!==(b.effectTag&2))return 1}return 5===b.tag?2:3}function Ce(a){2!==$a(a)?m("188"):void 0}function Mg(a){var b=a.alternate;if(!b)return b=$a(a),3===b?m("188"):void 0,1===b?null:a;for(var c=a,d=b;;){var e=c.return,f=e?e.alternate:null;if(!e||!f)break;if(e.child===f.child){for(var g=e.child;g;){if(g===c)return Ce(e),a;if(g===d)return Ce(e),b;g=
|
||||
g.sibling}m("188")}if(c.return!==d.return)c=e,d=f;else{g=!1;for(var h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}g?void 0:m("189")}}c.alternate!==d?m("190"):void 0}5!==c.tag?m("188"):void 0;return c.stateNode.current===c?a:b}function De(a){a=Mg(a);if(!a)return null;for(var b=a;;){if(7===b.tag||8===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;
|
||||
for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}function Kb(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function Ee(a,b){var c=a[0];a=a[1];var d="on"+(a[0].toUpperCase()+a.slice(1));b={phasedRegistrationNames:{bubbled:d,captured:d+"Capture"},dependencies:[c],isInteractive:b};Fe[a]=b;Oc[c]=b}function Ng(a){var b=a.targetInst,c=b;do{if(!c){a.ancestors.push(c);
|
||||
break}var d;for(d=c;d.return;)d=d.return;d=5!==d.tag?null:d.stateNode.containerInfo;if(!d)break;a.ancestors.push(c);c=Bb(d)}while(c);for(c=0;c<a.ancestors.length;c++){b=a.ancestors[c];var e=Gc(a.nativeEvent);d=a.topLevelType;for(var f=a.nativeEvent,g=null,h=0;h<zb.length;h++){var k=zb[h];k&&(k=k.extractEvents(d,b,f,e))&&(g=xa(g,k))}yc(g,!1)}}function u(a,b){if(!b)return null;var c=(Ge(a)?He:Lb).bind(null,a);b.addEventListener(a,c,!1)}function Mb(a,b){if(!b)return null;var c=(Ge(a)?He:Lb).bind(null,
|
||||
a);b.addEventListener(a,c,!0)}function He(a,b){Ie(Lb,a,b)}function Lb(a,b){if(Nb){var c=Gc(b);c=Bb(c);null===c||"number"!==typeof c.tag||2===$a(c)||(c=null);if(Ob.length){var d=Ob.pop();d.topLevelType=a;d.nativeEvent=b;d.targetInst=c;a=d}else a={topLevelType:a,nativeEvent:b,targetInst:c,ancestors:[]};try{ce(Ng,a)}finally{a.topLevelType=null,a.nativeEvent=null,a.targetInst=null,a.ancestors.length=0,10>Ob.length&&Ob.push(a)}}}function Je(a){Object.prototype.hasOwnProperty.call(a,Pb)||(a[Pb]=Og++,Ke[a[Pb]]=
|
||||
{});return Ke[a[Pb]]}function Pc(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}function Le(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function Me(a,b){var c=Le(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Le(c)}}function Ne(a,b){return a&&b?a===
|
||||
b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Ne(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function Oe(){for(var a=window,b=Pc();b instanceof a.HTMLIFrameElement;){try{a=b.contentDocument.defaultView}catch(c){break}b=Pc(a.document)}return b}function Qc(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||
|
||||
"true"===a.contentEditable)}function Pe(a,b){var c=b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(Rc||null==Fa||Fa!==Pc(c))return null;c=Fa;"selectionStart"in c&&Qc(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return ab&&Nc(ab,c)?null:(ab=c,a=L.getPooled(Qe.select,Sc,a,b),a.type="select",a.target=Fa,ya(a),
|
||||
a)}function Pg(a){var b="";T.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function Tc(a,b){a=H({children:void 0},b);if(b=Pg(b.children))a.children=b;return a}function Ga(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+ha(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==
|
||||
b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}function Uc(a,b){null!=b.dangerouslySetInnerHTML?m("91"):void 0;return H({},b,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function Re(a,b){var c=b.value;null==c&&(c=b.defaultValue,b=b.children,null!=b&&(null!=c?m("92"):void 0,Array.isArray(b)&&(1>=b.length?void 0:m("93"),b=b[0]),c=b),null==c&&(c=""));a._wrapperState={initialValue:ha(c)}}function Se(a,b){var c=ha(b.value),d=ha(b.defaultValue);null!=c&&(c=""+c,c!==
|
||||
a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=""+d)}function Te(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Vc(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?Te(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}function Ue(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=
|
||||
0===c.indexOf("--");var e=c;var f=b[c];e=null==f||"boolean"===typeof f||""===f?"":d||"number"!==typeof f||0===f||bb.hasOwnProperty(e)&&bb[e]?(""+f).trim():f+"px";"float"===c&&(c="cssFloat");d?a.setProperty(c,e):a[c]=e}}function Wc(a,b){b&&(Qg[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML?m("137",a,""):void 0),null!=b.dangerouslySetInnerHTML&&(null!=b.children?m("60"):void 0,"object"===typeof b.dangerouslySetInnerHTML&&"__html"in b.dangerouslySetInnerHTML?void 0:m("61")),null!=b.style&&"object"!==
|
||||
typeof b.style?m("62",""):void 0)}function Xc(a,b){if(-1===a.indexOf("-"))return"string"===typeof b.is;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}}function W(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=Je(a);b=wc[b];for(var d=0;d<b.length;d++){var e=b[d];if(!c.hasOwnProperty(e)||!c[e]){switch(e){case "scroll":Mb("scroll",
|
||||
a);break;case "focus":case "blur":Mb("focus",a);Mb("blur",a);c.blur=!0;c.focus=!0;break;case "cancel":case "close":ge(e)&&Mb(e,a);break;case "invalid":case "submit":case "reset":break;default:-1===cb.indexOf(e)&&u(e,a)}c[e]=!0}}}function Qb(){}function Ve(a,b){switch(a){case "button":case "input":case "select":case "textarea":return!!b.autoFocus}return!1}function Yc(a,b){return"textarea"===a||"option"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&
|
||||
null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}function Zc(a){for(a=a.nextSibling;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a}function We(a){for(a=a.firstChild;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a}function F(a,b){0>Ha||(a.current=$c[Ha],$c[Ha]=null,Ha--)}function J(a,b,c){Ha++;$c[Ha]=a.current;a.current=b}function Ia(a,b){var c=a.type.contextTypes;if(!c)return oa;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===
|
||||
b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function v(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Ja(a){F(K,a);F(G,a)}function ad(a){F(K,a);F(G,a)}function Xe(a,b,c){G.current!==oa?m("168"):void 0;J(G,b,a);J(K,c,a)}function bd(a,b,c){var d=a.stateNode;a=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;
|
||||
d=d.getChildContext();for(var e in d)e in a?void 0:m("108",Da(b)||"Unknown",e);return H({},c,d)}function Rb(a){var b=a.stateNode;b=b&&b.__reactInternalMemoizedMergedChildContext||oa;pa=G.current;J(G,b,a);J(K,K.current,a);return!0}function Ye(a,b,c){var d=a.stateNode;d?void 0:m("169");c?(b=bd(a,b,pa),d.__reactInternalMemoizedMergedChildContext=b,F(K,a),F(G,a),J(G,b,a)):F(K,a);J(K,c,a)}function Ze(a){return function(b){try{return a(b)}catch(c){}}}function Rg(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;
|
||||
var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{var c=b.inject(a);cd=Ze(function(a){return b.onCommitFiberRoot(c,a)});dd=Ze(function(a){return b.onCommitFiberUnmount(c,a)})}catch(d){}return!0}function ia(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=null;this.index=0;this.ref=null;this.pendingProps=b;this.firstContextDependency=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.effectTag=0;
|
||||
this.lastEffect=this.firstEffect=this.nextEffect=null;this.childExpirationTime=this.expirationTime=0;this.alternate=null}function $e(a){a=a.prototype;return!(!a||!a.isReactComponent)}function Sb(a,b,c){var d=a.alternate;null===d?(d=new ia(a.tag,b,a.key,a.mode),d.type=a.type,d.stateNode=a.stateNode,d.alternate=a,a.alternate=d):(d.pendingProps=b,d.effectTag=0,d.nextEffect=null,d.firstEffect=null,d.lastEffect=null);d.childExpirationTime=a.childExpirationTime;d.expirationTime=b!==a.pendingProps?c:a.expirationTime;
|
||||
d.child=a.child;d.memoizedProps=a.memoizedProps;d.memoizedState=a.memoizedState;d.updateQueue=a.updateQueue;d.firstContextDependency=a.firstContextDependency;d.sibling=a.sibling;d.index=a.index;d.ref=a.ref;return d}function ed(a,b,c){var d=a.type,e=a.key;a=a.props;var f=void 0;if("function"===typeof d)f=$e(d)?2:4;else if("string"===typeof d)f=7;else a:switch(d){case fa:return Tb(a.children,b,c,e);case ke:f=10;b|=3;break;case le:f=10;b|=2;break;case Hc:return d=new ia(15,a,e,b|4),d.type=Hc,d.expirationTime=
|
||||
c,d;case me:f=16;break;default:if("object"===typeof d&&null!==d)switch(d.$$typeof){case oe:f=12;break a;case ne:f=11;break a;case pe:f=13;break a;default:if("function"===typeof d.then){f=4;break a}}m("130",null==d?d:typeof d,"")}b=new ia(f,a,e,b);b.type=d;b.expirationTime=c;return b}function Tb(a,b,c,d){a=new ia(9,a,d,b);a.expirationTime=c;return a}function fd(a,b,c){a=new ia(8,a,null,b);a.expirationTime=c;return a}function gd(a,b,c){b=new ia(6,null!==a.children?a.children:[],a.key,b);b.expirationTime=
|
||||
c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}function Ub(a,b){a.didError=!1;var c=a.earliestPendingTime;0===c?a.earliestPendingTime=a.latestPendingTime=b:c>b?a.earliestPendingTime=b:a.latestPendingTime<b&&(a.latestPendingTime=b);hd(b,a)}function hd(a,b){var c=b.earliestSuspendedTime,d=b.latestSuspendedTime,e=b.earliestPendingTime,f=b.latestPingedTime;e=0!==e?e:f;0===e&&(0===a||d>a)&&(e=d);a=e;0!==a&&0!==c&&c<a&&(a=c);b.nextExpirationTimeToWorkOn=
|
||||
e;b.expirationTime=a}function Vb(a){return{baseState:a,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function id(a){return{baseState:a.baseState,firstUpdate:a.firstUpdate,lastUpdate:a.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function qa(a){return{expirationTime:a,tag:0,payload:null,
|
||||
callback:null,next:null,nextEffect:null}}function Wb(a,b){null===a.lastUpdate?a.firstUpdate=a.lastUpdate=b:(a.lastUpdate.next=b,a.lastUpdate=b)}function ja(a,b){var c=a.alternate;if(null===c){var d=a.updateQueue;var e=null;null===d&&(d=a.updateQueue=Vb(a.memoizedState))}else d=a.updateQueue,e=c.updateQueue,null===d?null===e?(d=a.updateQueue=Vb(a.memoizedState),e=c.updateQueue=Vb(c.memoizedState)):d=a.updateQueue=id(e):null===e&&(e=c.updateQueue=id(d));null===e||d===e?Wb(d,b):null===d.lastUpdate||
|
||||
null===e.lastUpdate?(Wb(d,b),Wb(e,b)):(Wb(d,b),e.lastUpdate=b)}function af(a,b){var c=a.updateQueue;c=null===c?a.updateQueue=Vb(a.memoizedState):bf(a,c);null===c.lastCapturedUpdate?c.firstCapturedUpdate=c.lastCapturedUpdate=b:(c.lastCapturedUpdate.next=b,c.lastCapturedUpdate=b)}function bf(a,b){var c=a.alternate;null!==c&&b===c.updateQueue&&(b=a.updateQueue=id(b));return b}function cf(a,b,c,d,e,f){switch(c.tag){case 1:return a=c.payload,"function"===typeof a?a.call(f,d,e):a;case 3:a.effectTag=a.effectTag&
|
||||
-1025|64;case 0:a=c.payload;e="function"===typeof a?a.call(f,d,e):a;if(null===e||void 0===e)break;return H({},d,e);case 2:ka=!0}return d}function db(a,b,c,d,e){ka=!1;b=bf(a,b);for(var f=b.baseState,g=null,h=0,k=b.firstUpdate,l=f;null!==k;){var n=k.expirationTime;if(n>e){if(null===g&&(g=k,f=l),0===h||h>n)h=n}else l=cf(a,b,k,l,c,d),null!==k.callback&&(a.effectTag|=32,k.nextEffect=null,null===b.lastEffect?b.firstEffect=b.lastEffect=k:(b.lastEffect.nextEffect=k,b.lastEffect=k));k=k.next}n=null;for(k=
|
||||
b.firstCapturedUpdate;null!==k;){var m=k.expirationTime;if(m>e){if(null===n&&(n=k,null===g&&(f=l)),0===h||h>m)h=m}else l=cf(a,b,k,l,c,d),null!==k.callback&&(a.effectTag|=32,k.nextEffect=null,null===b.lastCapturedEffect?b.firstCapturedEffect=b.lastCapturedEffect=k:(b.lastCapturedEffect.nextEffect=k,b.lastCapturedEffect=k));k=k.next}null===g&&(b.lastUpdate=null);null===n?b.lastCapturedUpdate=null:a.effectTag|=32;null===g&&null===n&&(f=l);b.baseState=f;b.firstUpdate=g;b.firstCapturedUpdate=n;a.expirationTime=
|
||||
h;a.memoizedState=l}function df(a,b,c,d){null!==b.firstCapturedUpdate&&(null!==b.lastUpdate&&(b.lastUpdate.next=b.firstCapturedUpdate,b.lastUpdate=b.lastCapturedUpdate),b.firstCapturedUpdate=b.lastCapturedUpdate=null);ef(b.firstEffect,c);b.firstEffect=b.lastEffect=null;ef(b.firstCapturedEffect,c);b.firstCapturedEffect=b.lastCapturedEffect=null}function ef(a,b){for(;null!==a;){var c=a.callback;if(null!==c){a.callback=null;var d=b;"function"!==typeof c?m("191",c):void 0;c.call(d)}a=a.nextEffect}}function Xb(a,
|
||||
b){return{value:a,source:b,stack:qe(b)}}function ff(a,b){var c=a.type._context;J(jd,c._currentValue,a);c._currentValue=b}function kd(a){var b=jd.current;F(jd,a);a.type._context._currentValue=b}function Yb(a,b){Zb=a;$b=La=null;a.firstContextDependency=null}function gf(a,b){if($b!==a&&!1!==b&&0!==b){if("number"!==typeof b||1073741823===b)$b=a,b=1073741823;b={context:a,observedBits:b,next:null};null===La?(null===Zb?m("277"):void 0,Zb.firstContextDependency=La=b):La=La.next=b}return a._currentValue}function ra(a){a===
|
||||
eb?m("174"):void 0;return a}function ld(a,b){J(fb,b,a);J(gb,a,a);J(P,eb,a);var c=b.nodeType;switch(c){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Vc(null,"");break;default:c=8===c?b.parentNode:b,b=c.namespaceURI||null,c=c.tagName,b=Vc(b,c)}F(P,a);J(P,b,a)}function Ma(a){F(P,a);F(gb,a);F(fb,a)}function hf(a){ra(fb.current);var b=ra(P.current);var c=Vc(b,a.type);b!==c&&(J(gb,a,a),J(P,c,a))}function md(a){gb.current===a&&(F(P,a),F(gb,a))}function ac(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===
|
||||
c||void 0===c?b:H({},b,c);a.memoizedState=c;d=a.updateQueue;null!==d&&0===a.expirationTime&&(d.baseState=c)}function jf(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!Nc(c,d)||!Nc(e,f):!0}function kf(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,
|
||||
d);b.state!==a&&bc.enqueueReplaceState(b,b.state,null)}function lf(a,b,c,d){var e=a.stateNode,f=v(b)?pa:G.current;e.props=c;e.state=a.memoizedState;e.refs=mf;e.context=Ia(a,f);f=a.updateQueue;null!==f&&(db(a,f,c,e,d),e.state=a.memoizedState);f=b.getDerivedStateFromProps;"function"===typeof f&&(ac(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||
|
||||
(b=e.state,"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&bc.enqueueReplaceState(e,e.state,null),f=a.updateQueue,null!==f&&(db(a,f,c,e,d),e.state=a.memoizedState));"function"===typeof e.componentDidMount&&(a.effectTag|=4)}function hb(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;var d=void 0;c&&(2!==c.tag&&3!==c.tag?m("110"):void 0,d=c.stateNode);
|
||||
d?void 0:m("147",a);var e=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===e)return b.ref;b=function(a){var b=d.refs;b===mf&&(b=d.refs={});null===a?delete b[e]:b[e]=a};b._stringRef=e;return b}"string"!==typeof a?m("284"):void 0;c._owner?void 0:m("254",a)}return a}function cc(a,b){"textarea"!==a.type&&m("31","[object Object]"===Object.prototype.toString.call(b)?"object with keys {"+Object.keys(b).join(", ")+"}":b,"")}function nf(a){function b(b,c){if(a){var d=b.lastEffect;
|
||||
null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b,c){a=Sb(a,b,c);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.effectTag=2,c):d;b.effectTag=2;return c}function g(b){a&&
|
||||
null===b.alternate&&(b.effectTag=2);return b}function h(a,b,c,d){if(null===b||8!==b.tag)return b=fd(c,a.mode,d),b.return=a,b;b=e(b,c,d);b.return=a;return b}function k(a,b,c,d){if(null!==b&&b.type===c.type)return d=e(b,c.props,d),d.ref=hb(a,b,c),d.return=a,d;d=ed(c,a.mode,d);d.ref=hb(a,b,c);d.return=a;return d}function l(a,b,c,d){if(null===b||6!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==c.implementation)return b=gd(c,a.mode,d),b.return=a,b;b=e(b,c.children||
|
||||
[],d);b.return=a;return b}function n(a,b,c,d,f){if(null===b||9!==b.tag)return b=Tb(c,a.mode,d,f),b.return=a,b;b=e(b,c,d);b.return=a;return b}function Ka(a,b,c){if("string"===typeof b||"number"===typeof b)return b=fd(""+b,a.mode,c),b.return=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case dc:return c=ed(b,a.mode,c),c.ref=hb(a,null,b),c.return=a,c;case Ea:return b=gd(b,a.mode,c),b.return=a,b}if(ec(b)||Xa(b))return b=Tb(b,a.mode,c,null),b.return=a,b;cc(a,b)}return null}function p(a,b,c,
|
||||
d){var e=null!==b?b.key:null;if("string"===typeof c||"number"===typeof c)return null!==e?null:h(a,b,""+c,d);if("object"===typeof c&&null!==c){switch(c.$$typeof){case dc:return c.key===e?c.type===fa?n(a,b,c.props.children,d,e):k(a,b,c,d):null;case Ea:return c.key===e?l(a,b,c,d):null}if(ec(c)||Xa(c))return null!==e?null:n(a,b,c,d,null);cc(a,c)}return null}function u(a,b,c,d,e){if("string"===typeof d||"number"===typeof d)return a=a.get(c)||null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case dc:return a=
|
||||
a.get(null===d.key?c:d.key)||null,d.type===fa?n(b,a,d.props.children,e,d.key):k(b,a,d,e);case Ea:return a=a.get(null===d.key?c:d.key)||null,l(b,a,d,e)}if(ec(d)||Xa(d))return a=a.get(c)||null,n(b,a,d,e,null);cc(b,d)}return null}function nd(e,g,h,k){for(var l=null,n=null,m=g,r=g=0,q=null;null!==m&&r<h.length;r++){m.index>r?(q=m,m=null):q=m.sibling;var t=p(e,m,h[r],k);if(null===t){null===m&&(m=q);break}a&&m&&null===t.alternate&&b(e,m);g=f(t,g,r);null===n?l=t:n.sibling=t;n=t;m=q}if(r===h.length)return c(e,
|
||||
m),l;if(null===m){for(;r<h.length;r++)if(m=Ka(e,h[r],k))g=f(m,g,r),null===n?l=m:n.sibling=m,n=m;return l}for(m=d(e,m);r<h.length;r++)if(q=u(m,e,r,h[r],k))a&&null!==q.alternate&&m.delete(null===q.key?r:q.key),g=f(q,g,r),null===n?l=q:n.sibling=q,n=q;a&&m.forEach(function(a){return b(e,a)});return l}function v(e,g,h,k){var l=Xa(h);"function"!==typeof l?m("150"):void 0;h=l.call(h);null==h?m("151"):void 0;for(var n=l=null,r=g,t=g=0,q=null,w=h.next();null!==r&&!w.done;t++,w=h.next()){r.index>t?(q=r,r=null):
|
||||
q=r.sibling;var z=p(e,r,w.value,k);if(null===z){r||(r=q);break}a&&r&&null===z.alternate&&b(e,r);g=f(z,g,t);null===n?l=z:n.sibling=z;n=z;r=q}if(w.done)return c(e,r),l;if(null===r){for(;!w.done;t++,w=h.next())w=Ka(e,w.value,k),null!==w&&(g=f(w,g,t),null===n?l=w:n.sibling=w,n=w);return l}for(r=d(e,r);!w.done;t++,w=h.next())w=u(r,e,t,w.value,k),null!==w&&(a&&null!==w.alternate&&r.delete(null===w.key?t:w.key),g=f(w,g,t),null===n?l=w:n.sibling=w,n=w);a&&r.forEach(function(a){return b(e,a)});return l}return function(a,
|
||||
d,f,h){var k="object"===typeof f&&null!==f&&f.type===fa&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case dc:a:{l=f.key;for(k=d;null!==k;){if(k.key===l)if(9===k.tag?f.type===fa:k.type===f.type){c(a,k.sibling);d=e(k,f.type===fa?f.props.children:f.props,h);d.ref=hb(a,k,f);d.return=a;a=d;break a}else{c(a,k);break}else b(a,k);k=k.sibling}f.type===fa?(d=Tb(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=ed(f,a.mode,h),h.ref=hb(a,d,f),h.return=a,
|
||||
a=h)}return g(a);case Ea:a:{for(k=f.key;null!==d;){if(d.key===k)if(6===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[],h);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=gd(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&8===d.tag?(c(a,d.sibling),d=e(d,f,h),d.return=a,a=d):(c(a,d),d=fd(f,a.mode,h),d.return=a,a=d),g(a);if(ec(f))return nd(a,
|
||||
d,f,h);if(Xa(f))return v(a,d,f,h);l&&cc(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 2:case 3:case 0:h=a.type,m("152",h.displayName||h.name||"Component")}return c(a,d)}}function of(a,b){var c=new ia(7,null,null,0);c.type="DELETED";c.stateNode=b;c.return=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}function pf(a,b){switch(a.tag){case 7:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==
|
||||
b?(a.stateNode=b,!0):!1;case 8:return b=""===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;default:return!1}}function qf(a){if(sa){var b=Na;if(b){var c=b;if(!pf(a,b)){b=Zc(c);if(!b||!pf(a,b)){a.effectTag|=2;sa=!1;X=a;return}of(X,c)}X=a;Na=We(b)}else a.effectTag|=2,sa=!1,X=a}}function rf(a){for(a=a.return;null!==a&&7!==a.tag&&5!==a.tag;)a=a.return;X=a}function od(a){if(a!==X)return!1;if(!sa)return rf(a),sa=!0,!1;var b=a.type;if(7!==a.tag||"head"!==b&&"body"!==b&&!Yc(b,a.memoizedProps))for(b=
|
||||
Na;b;)of(a,b),b=Zc(b);rf(a);Na=X?Zc(a.stateNode):null;return!0}function pd(){Na=X=null;sa=!1}function Sg(a){switch(a._reactStatus){case 1:return a._reactResult;case 2:throw a._reactResult;case 0:throw a;default:throw a._reactStatus=0,a.then(function(b){if(0===a._reactStatus){a._reactStatus=1;if("object"===typeof b&&null!==b){var c=b.default;b=void 0!==c&&null!==c?c:b}a._reactResult=b}},function(b){0===a._reactStatus&&(a._reactStatus=2,a._reactResult=b)}),a;}}function N(a,b,c,d){b.child=null===a?sf(b,
|
||||
null,c,d):tf(b,a.child,c,d)}function qd(a,b,c,d,e){c=c.render;var f=b.ref;if(!K.current&&b.memoizedProps===d&&f===(null!==a?a.ref:null))return ib(a,b,e);c=c(d,f);N(a,b,c,e);b.memoizedProps=d;return b.child}function uf(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.effectTag|=128}function rd(a,b,c,d,e){var f=v(c)?pa:G.current;f=Ia(b,f);Yb(b,e);c=c(d,f);b.effectTag|=1;N(a,b,c,e);b.memoizedProps=d;return b.child}function sd(a,b,c,d,e){if(v(c)){var f=!0;Rb(b)}else f=!1;Yb(b,e);if(null===
|
||||
a)if(null===b.stateNode){var g=v(c)?pa:G.current,h=c.contextTypes,k=null!==h&&void 0!==h;h=k?Ia(b,g):oa;var l=new c(d,h);b.memoizedState=null!==l.state&&void 0!==l.state?l.state:null;l.updater=bc;b.stateNode=l;l._reactInternalFiber=b;k&&(k=b.stateNode,k.__reactInternalMemoizedUnmaskedChildContext=g,k.__reactInternalMemoizedMaskedChildContext=h);lf(b,c,d,e);d=!0}else{g=b.stateNode;h=b.memoizedProps;g.props=h;var n=g.context;k=v(c)?pa:G.current;k=Ia(b,k);var m=c.getDerivedStateFromProps;(l="function"===
|
||||
typeof m||"function"===typeof g.getSnapshotBeforeUpdate)||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||n!==k)&&kf(b,g,d,k);ka=!1;var p=b.memoizedState;n=g.state=p;var u=b.updateQueue;null!==u&&(db(b,u,d,g,e),n=b.memoizedState);h!==d||p!==n||K.current||ka?("function"===typeof m&&(ac(b,c,m,d),n=b.memoizedState),(h=ka||jf(b,c,h,d,p,n,k))?(l||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===
|
||||
typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.effectTag|=4)):("function"===typeof g.componentDidMount&&(b.effectTag|=4),b.memoizedProps=d,b.memoizedState=n),g.props=d,g.state=n,g.context=k,d=h):("function"===typeof g.componentDidMount&&(b.effectTag|=4),d=!1)}else g=b.stateNode,h=b.memoizedProps,g.props=h,n=g.context,k=v(c)?pa:G.current,k=Ia(b,k),m=c.getDerivedStateFromProps,
|
||||
(l="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate)||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||n!==k)&&kf(b,g,d,k),ka=!1,n=b.memoizedState,p=g.state=n,u=b.updateQueue,null!==u&&(db(b,u,d,g,e),p=b.memoizedState),h!==d||n!==p||K.current||ka?("function"===typeof m&&(ac(b,c,m,d),p=b.memoizedState),(m=ka||jf(b,c,h,d,n,p,k))?(l||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||
|
||||
("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,p,k),"function"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,p,k)),"function"===typeof g.componentDidUpdate&&(b.effectTag|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.effectTag|=256)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&n===a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&n===a.memoizedState||(b.effectTag|=256),b.memoizedProps=
|
||||
d,b.memoizedState=p),g.props=d,g.state=p,g.context=k,d=m):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&n===a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&n===a.memoizedState||(b.effectTag|=256),d=!1);return vf(a,b,c,d,f,e)}function vf(a,b,c,d,e,f){uf(a,b);var g=0!==(b.effectTag&64);if(!d&&!g)return e&&Ye(b,c,!1),ib(a,b,f);d=b.stateNode;Tg.current=b;var h=g?null:d.render();b.effectTag|=1;null!==a&&g&&(N(a,b,null,f),b.child=null);
|
||||
N(a,b,h,f);b.memoizedState=d.state;b.memoizedProps=d.props;e&&Ye(b,c,!0);return b.child}function wf(a){var b=a.stateNode;b.pendingContext?Xe(a,b.pendingContext,b.pendingContext!==b.context):b.context&&Xe(a,b.context,!1);ld(a,b.containerInfo)}function fc(a,b){if(a&&a.defaultProps){b=H({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c])}return b}function Ug(a,b,c,d){null!==a?m("155"):void 0;var e=b.pendingProps;if("object"===typeof c&&null!==c&&"function"===typeof c.then){c=Sg(c);var f=
|
||||
c;f="function"===typeof f?$e(f)?3:1:void 0!==f&&null!==f&&f.$$typeof?14:4;f=b.tag=f;var g=fc(c,e);switch(f){case 1:return rd(a,b,c,g,d);case 3:return sd(a,b,c,g,d);case 14:return qd(a,b,c,g,d);default:m("283",c)}}f=Ia(b,G.current);Yb(b,d);f=c(e,f);b.effectTag|=1;if("object"===typeof f&&null!==f&&"function"===typeof f.render&&void 0===f.$$typeof){b.tag=2;v(c)?(g=!0,Rb(b)):g=!1;b.memoizedState=null!==f.state&&void 0!==f.state?f.state:null;var h=c.getDerivedStateFromProps;"function"===typeof h&&ac(b,
|
||||
c,h,e);f.updater=bc;b.stateNode=f;f._reactInternalFiber=b;lf(b,c,e,d);return vf(a,b,c,!0,g,d)}b.tag=0;N(a,b,f,d);b.memoizedProps=e;return b.child}function ib(a,b,c){null!==a&&(b.firstContextDependency=a.firstContextDependency);var d=b.childExpirationTime;if(0===d||d>c)return null;null!==a&&b.child!==a.child?m("153"):void 0;if(null!==b.child){a=b.child;c=Sb(a,a.pendingProps,a.expirationTime);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Sb(a,a.pendingProps,a.expirationTime),c.return=
|
||||
b;c.sibling=null}return b.child}function Vg(a,b,c){var d=b.expirationTime;if(!K.current&&(0===d||d>c)){switch(b.tag){case 5:wf(b);pd();break;case 7:hf(b);break;case 2:v(b.type)&&Rb(b);break;case 3:v(b.type._reactResult)&&Rb(b);break;case 6:ld(b,b.stateNode.containerInfo);break;case 12:ff(b,b.memoizedProps.value)}return ib(a,b,c)}b.expirationTime=0;switch(b.tag){case 4:return Ug(a,b,b.type,c);case 0:return rd(a,b,b.type,b.pendingProps,c);case 1:var e=b.type._reactResult;d=b.pendingProps;a=rd(a,b,e,
|
||||
fc(e,d),c);b.memoizedProps=d;return a;case 2:return sd(a,b,b.type,b.pendingProps,c);case 3:return e=b.type._reactResult,d=b.pendingProps,a=sd(a,b,e,fc(e,d),c),b.memoizedProps=d,a;case 5:wf(b);d=b.updateQueue;null===d?m("282"):void 0;e=b.memoizedState;e=null!==e?e.element:null;db(b,d,b.pendingProps,null,c);d=b.memoizedState.element;if(d===e)pd(),b=ib(a,b,c);else{e=b.stateNode;if(e=(null===a||null===a.child)&&e.hydrate)Na=We(b.stateNode.containerInfo),X=b,e=sa=!0;e?(b.effectTag|=2,b.child=sf(b,null,
|
||||
d,c)):(N(a,b,d,c),pd());b=b.child}return b;case 7:hf(b);null===a&&qf(b);d=b.type;e=b.pendingProps;var f=null!==a?a.memoizedProps:null,g=e.children;Yc(d,e)?g=null:null!==f&&Yc(d,f)&&(b.effectTag|=16);uf(a,b);1073741823!==c&&b.mode&1&&e.hidden?(b.expirationTime=1073741823,b.memoizedProps=e,b=null):(N(a,b,g,c),b.memoizedProps=e,b=b.child);return b;case 8:return null===a&&qf(b),b.memoizedProps=b.pendingProps,null;case 16:return null;case 6:return ld(b,b.stateNode.containerInfo),d=b.pendingProps,null===
|
||||
a?b.child=tf(b,null,d,c):N(a,b,d,c),b.memoizedProps=d,b.child;case 13:return qd(a,b,b.type,b.pendingProps,c);case 14:return e=b.type._reactResult,d=b.pendingProps,a=qd(a,b,e,fc(e,d),c),b.memoizedProps=d,a;case 9:return d=b.pendingProps,N(a,b,d,c),b.memoizedProps=d,b.child;case 10:return d=b.pendingProps.children,N(a,b,d,c),b.memoizedProps=d,b.child;case 15:return d=b.pendingProps,N(a,b,d.children,c),b.memoizedProps=d,b.child;case 12:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;
|
||||
b.memoizedProps=e;ff(b,f);if(null!==g){var h=g.value;f=h===f&&(0!==h||1/h===1/f)||h!==h&&f!==f?0:("function"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0;if(0===f){if(g.children===e.children&&!K.current){b=ib(a,b,c);break a}}else for(g=b.child,null!==g&&(g.return=b);null!==g;){h=g.firstContextDependency;if(null!==h){do{if(h.context===d&&0!==(h.observedBits&f)){if(2===g.tag||3===g.tag){var k=qa(c);k.tag=2;ja(g,k)}if(0===g.expirationTime||g.expirationTime>c)g.expirationTime=
|
||||
c;k=g.alternate;null!==k&&(0===k.expirationTime||k.expirationTime>c)&&(k.expirationTime=c);for(var l=g.return;null!==l;){k=l.alternate;if(0===l.childExpirationTime||l.childExpirationTime>c)l.childExpirationTime=c,null!==k&&(0===k.childExpirationTime||k.childExpirationTime>c)&&(k.childExpirationTime=c);else if(null!==k&&(0===k.childExpirationTime||k.childExpirationTime>c))k.childExpirationTime=c;else break;l=l.return}}k=g.child;h=h.next}while(null!==h)}else k=12===g.tag?g.type===b.type?null:g.child:
|
||||
g.child;if(null!==k)k.return=g;else for(k=g;null!==k;){if(k===b){k=null;break}g=k.sibling;if(null!==g){g.return=k.return;k=g;break}k=k.return}g=k}}N(a,b,e.children,c);b=b.child}return b;case 11:return f=b.type,d=b.pendingProps,e=d.children,Yb(b,c),f=gf(f,d.unstable_observedBits),e=e(f),b.effectTag|=1,N(a,b,e,c),b.memoizedProps=d,b.child;default:m("156")}}function jb(a){a.effectTag|=4}function xf(a,b){var c=b.source,d=b.stack;null===d&&null!==c&&(d=qe(c));null!==c&&Da(c.type);b=b.value;null!==a&&2===
|
||||
a.tag&&Da(a.type);try{console.error(b)}catch(e){setTimeout(function(){throw e;})}}function yf(a){var b=a.ref;if(null!==b)if("function"===typeof b)try{b(null)}catch(c){kb(a,c)}else b.current=null}function zf(a){"function"===typeof dd&&dd(a);switch(a.tag){case 2:case 3:yf(a);var b=a.stateNode;if("function"===typeof b.componentWillUnmount)try{b.props=a.memoizedProps,b.state=a.memoizedState,b.componentWillUnmount()}catch(c){kb(a,c)}break;case 7:yf(a);break;case 6:Af(a)}}function Bf(a){return 7===a.tag||
|
||||
5===a.tag||6===a.tag}function Cf(a){a:{for(var b=a.return;null!==b;){if(Bf(b)){var c=b;break a}b=b.return}m("160");c=void 0}var d=b=void 0;switch(c.tag){case 7:b=c.stateNode;d=!1;break;case 5:b=c.stateNode.containerInfo;d=!0;break;case 6:b=c.stateNode.containerInfo;d=!0;break;default:m("161")}c.effectTag&16&&(lb(b,""),c.effectTag&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||Bf(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;7!==c.tag&&8!==c.tag;){if(c.effectTag&
|
||||
2)continue b;if(null===c.child||6===c.tag)continue b;else c.child.return=c,c=c.child}if(!(c.effectTag&2)){c=c.stateNode;break a}}for(var e=a;;){if(7===e.tag||8===e.tag)if(c)if(d){var f=b,g=e.stateNode,h=c;8===f.nodeType?f.parentNode.insertBefore(g,h):f.insertBefore(g,h)}else b.insertBefore(e.stateNode,c);else d?(f=b,g=e.stateNode,8===f.nodeType?(h=f.parentNode,h.insertBefore(g,f)):(h=f,h.appendChild(g)),null===h.onclick&&(h.onclick=Qb)):b.appendChild(e.stateNode);else if(6!==e.tag&&null!==e.child){e.child.return=
|
||||
e;e=e.child;continue}if(e===a)break;for(;null===e.sibling;){if(null===e.return||e.return===a)return;e=e.return}e.sibling.return=e.return;e=e.sibling}}function Af(a){for(var b=a,c=!1,d=void 0,e=void 0;;){if(!c){c=b.return;a:for(;;){null===c?m("160"):void 0;switch(c.tag){case 7:d=c.stateNode;e=!1;break a;case 5:d=c.stateNode.containerInfo;e=!0;break a;case 6:d=c.stateNode.containerInfo;e=!0;break a}c=c.return}c=!0}if(7===b.tag||8===b.tag){a:for(var f=b,g=f;;)if(zf(g),null!==g.child&&6!==g.tag)g.child.return=
|
||||
g,g=g.child;else{if(g===f)break;for(;null===g.sibling;){if(null===g.return||g.return===f)break a;g=g.return}g.sibling.return=g.return;g=g.sibling}e?(f=d,g=b.stateNode,8===f.nodeType?f.parentNode.removeChild(g):f.removeChild(g)):d.removeChild(b.stateNode)}else if(6===b.tag?(d=b.stateNode.containerInfo,e=!0):zf(b),null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return;b=b.return;6===b.tag&&(c=!1)}b.sibling.return=b.return;b=
|
||||
b.sibling}}function Df(a,b){switch(b.tag){case 2:case 3:break;case 7:var c=b.stateNode;if(null!=c){var d=b.memoizedProps,e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=null;if(null!==f){c[Cb]=d;"input"===a&&"radio"===d.type&&null!=d.name&&ve(c,d);Xc(a,e);b=Xc(a,d);for(e=0;e<f.length;e+=2){var g=f[e],h=f[e+1];"style"===g?Ue(c,h):"dangerouslySetInnerHTML"===g?Ef(c,h):"children"===g?lb(c,h):Ic(c,g,h,b)}switch(a){case "input":Kc(c,d);break;case "textarea":Se(c,d);break;case "select":a=
|
||||
c._wrapperState.wasMultiple,c._wrapperState.wasMultiple=!!d.multiple,f=d.value,null!=f?Ga(c,!!d.multiple,f,!1):a!==!!d.multiple&&(null!=d.defaultValue?Ga(c,!!d.multiple,d.defaultValue,!0):Ga(c,!!d.multiple,d.multiple?[]:"",!1))}}}break;case 8:null===b.stateNode?m("162"):void 0;b.stateNode.nodeValue=b.memoizedProps;break;case 5:break;case 15:break;case 16:break;default:m("163")}}function td(a,b,c){c=qa(c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){ud(d);xf(a,b)};return c}
|
||||
function Ff(a,b,c){c=qa(c);c.tag=3;var d=a.stateNode;null!==d&&"function"===typeof d.componentDidCatch&&(c.callback=function(){null===la?la=new Set([this]):la.add(this);var c=b.value,d=b.stack;xf(a,b);this.componentDidCatch(c,{componentStack:null!==d?d:""})});return c}function Wg(a,b){switch(a.tag){case 2:return v(a.type)&&Ja(a),b=a.effectTag,b&1024?(a.effectTag=b&-1025|64,a):null;case 3:return v(a.type._reactResult)&&Ja(a),b=a.effectTag,b&1024?(a.effectTag=b&-1025|64,a):null;case 5:return Ma(a),
|
||||
ad(a),b=a.effectTag,0!==(b&64)?m("285"):void 0,a.effectTag=b&-1025|64,a;case 7:return md(a),null;case 16:return b=a.effectTag,b&1024?(a.effectTag=b&-1025|64,a):null;case 6:return Ma(a),null;case 12:return kd(a),null;default:return null}}function Gf(){if(null!==C)for(var a=C.return;null!==a;){var b=a;switch(b.tag){case 2:var c=b.type.childContextTypes;null!==c&&void 0!==c&&Ja(b);break;case 3:c=b.type._reactResult.childContextTypes;null!==c&&void 0!==c&&Ja(b);break;case 5:Ma(b);ad(b);break;case 7:md(b);
|
||||
break;case 6:Ma(b);break;case 12:kd(b)}a=a.return}ma=null;I=0;vd=!1;C=null}function Hf(a){for(;;){var b=a.alternate,c=a.return,d=a.sibling;if(0===(a.effectTag&512)){var e=b;b=a;var f=b.pendingProps;switch(b.tag){case 0:case 1:break;case 2:v(b.type)&&Ja(b);break;case 3:v(b.type._reactResult)&&Ja(b);break;case 5:Ma(b);ad(b);f=b.stateNode;f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null);if(null===e||null===e.child)od(b),b.effectTag&=-3;wd(b);break;case 7:md(b);var g=ra(fb.current),
|
||||
h=b.type;if(null!==e&&null!=b.stateNode)If(e,b,h,f,g),e.ref!==b.ref&&(b.effectTag|=128);else if(f){var k=ra(P.current);if(od(b)){f=b;e=f.stateNode;var l=f.type,n=f.memoizedProps,p=g;e[U]=f;e[Cb]=n;h=void 0;g=l;switch(g){case "iframe":case "object":u("load",e);break;case "video":case "audio":for(l=0;l<cb.length;l++)u(cb[l],e);break;case "source":u("error",e);break;case "img":case "image":case "link":u("error",e);u("load",e);break;case "form":u("reset",e);u("submit",e);break;case "details":u("toggle",
|
||||
e);break;case "input":ue(e,n);u("invalid",e);W(p,"onChange");break;case "select":e._wrapperState={wasMultiple:!!n.multiple};u("invalid",e);W(p,"onChange");break;case "textarea":Re(e,n),u("invalid",e),W(p,"onChange")}Wc(g,n);l=null;for(h in n)n.hasOwnProperty(h)&&(k=n[h],"children"===h?"string"===typeof k?e.textContent!==k&&(l=["children",k]):"number"===typeof k&&e.textContent!==""+k&&(l=["children",""+k]):wa.hasOwnProperty(h)&&null!=k&&W(p,h));switch(g){case "input":Ib(e);we(e,n,!0);break;case "textarea":Ib(e);
|
||||
h=e.textContent;h===e._wrapperState.initialValue&&(e.value=h);break;case "select":case "option":break;default:"function"===typeof n.onClick&&(e.onclick=Qb)}h=l;f.updateQueue=h;f=null!==h?!0:!1;f&&jb(b)}else{n=b;e=h;p=f;l=9===g.nodeType?g:g.ownerDocument;"http://www.w3.org/1999/xhtml"===k&&(k=Te(e));"http://www.w3.org/1999/xhtml"===k?"script"===e?(e=l.createElement("div"),e.innerHTML="<script>\x3c/script>",l=e.removeChild(e.firstChild)):"string"===typeof p.is?l=l.createElement(e,{is:p.is}):(l=l.createElement(e),
|
||||
"select"===e&&p.multiple&&(l.multiple=!0)):l=l.createElementNS(k,e);e=l;e[U]=n;e[Cb]=f;a:for(n=e,p=b,l=p.child;null!==l;){if(7===l.tag||8===l.tag)n.appendChild(l.stateNode);else if(6!==l.tag&&null!==l.child){l.child.return=l;l=l.child;continue}if(l===p)break;for(;null===l.sibling;){if(null===l.return||l.return===p)break a;l=l.return}l.sibling.return=l.return;l=l.sibling}n=e;l=h;p=f;var E=g,x=Xc(l,p);switch(l){case "iframe":case "object":u("load",n);g=p;break;case "video":case "audio":for(g=0;g<cb.length;g++)u(cb[g],
|
||||
n);g=p;break;case "source":u("error",n);g=p;break;case "img":case "image":case "link":u("error",n);u("load",n);g=p;break;case "form":u("reset",n);u("submit",n);g=p;break;case "details":u("toggle",n);g=p;break;case "input":ue(n,p);g=Jc(n,p);u("invalid",n);W(E,"onChange");break;case "option":g=Tc(n,p);break;case "select":n._wrapperState={wasMultiple:!!p.multiple};g=H({},p,{value:void 0});u("invalid",n);W(E,"onChange");break;case "textarea":Re(n,p);g=Uc(n,p);u("invalid",n);W(E,"onChange");break;default:g=
|
||||
p}Wc(l,g);k=void 0;var nd=l,D=n,w=g;for(k in w)if(w.hasOwnProperty(k)){var r=w[k];"style"===k?Ue(D,r):"dangerouslySetInnerHTML"===k?(r=r?r.__html:void 0,null!=r&&Ef(D,r)):"children"===k?"string"===typeof r?("textarea"!==nd||""!==r)&&lb(D,r):"number"===typeof r&&lb(D,""+r):"suppressContentEditableWarning"!==k&&"suppressHydrationWarning"!==k&&"autoFocus"!==k&&(wa.hasOwnProperty(k)?null!=r&&W(E,k):null!=r&&Ic(D,k,r,x))}switch(l){case "input":Ib(n);we(n,p,!1);break;case "textarea":Ib(n);g=n.textContent;
|
||||
g===n._wrapperState.initialValue&&(n.value=g);break;case "option":null!=p.value&&n.setAttribute("value",""+ha(p.value));break;case "select":g=n;n=p;g.multiple=!!n.multiple;p=n.value;null!=p?Ga(g,!!n.multiple,p,!1):null!=n.defaultValue&&Ga(g,!!n.multiple,n.defaultValue,!0);break;default:"function"===typeof g.onClick&&(n.onclick=Qb)}(f=Ve(h,f))&&jb(b);b.stateNode=e}null!==b.ref&&(b.effectTag|=128)}else null===b.stateNode?m("166"):void 0;break;case 8:e&&null!=b.stateNode?Jf(e,b,e.memoizedProps,f):("string"!==
|
||||
typeof f&&(null===b.stateNode?m("166"):void 0),e=ra(fb.current),ra(P.current),od(b)?(f=b,h=f.stateNode,e=f.memoizedProps,h[U]=f,(f=h.nodeValue!==e)&&jb(b)):(h=b,f=(9===e.nodeType?e:e.ownerDocument).createTextNode(f),f[U]=h,b.stateNode=f));break;case 13:case 14:break;case 16:break;case 9:break;case 10:break;case 15:break;case 6:Ma(b);wd(b);break;case 12:kd(b);break;case 11:break;case 4:m("167");default:m("156")}b=C=null;f=a;if(1073741823===I||1073741823!==f.childExpirationTime){h=0;for(e=f.child;null!==
|
||||
e;){g=e.expirationTime;n=e.childExpirationTime;if(0===h||0!==g&&g<h)h=g;if(0===h||0!==n&&n<h)h=n;e=e.sibling}f.childExpirationTime=h}if(null!==b)return b;null!==c&&0===(c.effectTag&512)&&(null===c.firstEffect&&(c.firstEffect=a.firstEffect),null!==a.lastEffect&&(null!==c.lastEffect&&(c.lastEffect.nextEffect=a.firstEffect),c.lastEffect=a.lastEffect),1<a.effectTag&&(null!==c.lastEffect?c.lastEffect.nextEffect=a:c.firstEffect=a,c.lastEffect=a))}else{a=Wg(a,I);if(null!==a)return a.effectTag&=511,a;null!==
|
||||
c&&(c.firstEffect=c.lastEffect=null,c.effectTag|=512)}if(null!==d)return d;if(null!==c)a=c;else break}return null}function Kf(a){var b=Vg(a.alternate,a,I);null===b&&(b=Hf(a));gc.current=null;return b}function Lf(a,b,c){Y?m("243"):void 0;Y=!0;gc.currentDispatcher=Xg;var d=a.nextExpirationTimeToWorkOn;if(d!==I||a!==ma||null===C)Gf(),ma=a,I=d,C=Sb(ma.current,null,I),a.pendingCommitExpirationTime=0;var e=!1;do{try{if(b)for(;null!==C&&!Mf();)C=Kf(C);else for(;null!==C;)C=Kf(C)}catch(Ka){if(null===C)e=
|
||||
!0,ud(Ka);else{null===C?m("271"):void 0;var f=C,g=f.return;if(null===g)e=!0,ud(Ka);else{a:{var h=g,k=f,l=Ka;g=I;k.effectTag|=512;k.firstEffect=k.lastEffect=null;vd=!0;l=Xb(l,k);do{switch(h.tag){case 5:h.effectTag|=1024;h.expirationTime=g;g=td(h,l,g);af(h,g);break a;case 2:case 3:k=l;var n=h.stateNode;if(0===(h.effectTag&64)&&null!==n&&"function"===typeof n.componentDidCatch&&(null===la||!la.has(n))){h.effectTag|=1024;h.expirationTime=g;g=Ff(h,k,g);af(h,g);break a}}h=h.return}while(null!==h)}C=Hf(f);
|
||||
continue}}}break}while(1);Y=!1;$b=La=Zb=gc.currentDispatcher=null;if(e)ma=null,a.finishedWork=null;else if(null!==C)a.finishedWork=null;else{b=a.current.alternate;null===b?m("281"):void 0;ma=null;if(vd){e=a.latestPendingTime;f=a.latestSuspendedTime;g=a.latestPingedTime;if(0!==e&&e>d||0!==f&&f>d||0!==g&&g>d){a.didError=!1;c=a.latestPingedTime;0!==c&&c<=d&&(a.latestPingedTime=0);c=a.earliestPendingTime;b=a.latestPendingTime;c===d?a.earliestPendingTime=b===d?a.latestPendingTime=0:b:b===d&&(a.latestPendingTime=
|
||||
c);c=a.earliestSuspendedTime;b=a.latestSuspendedTime;0===c?a.earliestSuspendedTime=a.latestSuspendedTime=d:c>d?a.earliestSuspendedTime=d:b<d&&(a.latestSuspendedTime=d);hd(d,a);a.expirationTime=a.expirationTime;return}if(!a.didError&&!c){a.didError=!0;a.nextExpirationTimeToWorkOn=d;d=a.expirationTime=1;a.expirationTime=d;return}}a.pendingCommitExpirationTime=d;a.finishedWork=b}}function kb(a,b){var c;a:{Y&&!mb?m("263"):void 0;for(c=a.return;null!==c;){switch(c.tag){case 2:case 3:var d=c.stateNode;
|
||||
if("function"===typeof c.type.getDerivedStateFromCatch||"function"===typeof d.componentDidCatch&&(null===la||!la.has(d))){a=Xb(b,a);a=Ff(c,a,1);ja(c,a);ta(c,1);c=void 0;break a}break;case 5:a=Xb(b,a);a=td(c,a,1);ja(c,a);ta(c,1);c=void 0;break a}c=c.return}5===a.tag&&(c=Xb(b,a),c=td(a,c,1),ja(a,c),ta(a,1));c=void 0}return c}function hc(a,b){0!==nb?a=nb:Y?a=mb?1:I:b.mode&1?(a=Oa?2+10*(((a-2+15)/10|0)+1):2+25*(((a-2+500)/25|0)+1),null!==ma&&a===I&&(a+=1)):a=1;Oa&&(0===Z||a>Z)&&(Z=a);return a}function ta(a,
|
||||
b){a:{if(0===a.expirationTime||a.expirationTime>b)a.expirationTime=b;var c=a.alternate;null!==c&&(0===c.expirationTime||c.expirationTime>b)&&(c.expirationTime=b);var d=a.return;if(null===d&&5===a.tag)a=a.stateNode;else{for(;null!==d;){c=d.alternate;if(0===d.childExpirationTime||d.childExpirationTime>b)d.childExpirationTime=b;null!==c&&(0===c.childExpirationTime||c.childExpirationTime>b)&&(c.childExpirationTime=b);if(null===d.return&&5===d.tag){a=d.stateNode;break a}d=d.return}a=null}}if(null!==a){!Y&&
|
||||
0!==I&&b<I&&Gf();Ub(a,b);if(!Y||mb||ma!==a){b=a;a=a.expirationTime;if(null===b.nextScheduledRoot)b.expirationTime=a,null===A?(Q=A=b,b.nextScheduledRoot=b):(A=A.nextScheduledRoot=b,A.nextScheduledRoot=Q);else if(c=b.expirationTime,0===c||a<c)b.expirationTime=a;O||(x?ic&&(R=b,D=1,jc(b,1,!0)):1===a?aa(1,null):Nf(b,a))}ob>Yg&&(ob=0,m("185"))}}function Of(a,b,c,d,e){var f=nb;nb=1;try{return a(b,c,d,e)}finally{nb=f}}function kc(){ba=((xd()-yd)/10|0)+2}function Nf(a,b){if(0!==lc){if(b>lc)return;null!==mc&&
|
||||
Zg(mc)}lc=b;a=xd()-yd;mc=$g(ah,{timeout:10*(b-2)-a})}function pb(){if(O)return qb;nc();if(0===D||1073741823===D)kc(),qb=ba;return qb}function nc(){var a=0,b=null;if(null!==A)for(var c=A,d=Q;null!==d;){var e=d.expirationTime;if(0===e){null===c||null===A?m("244"):void 0;if(d===d.nextScheduledRoot){Q=A=d.nextScheduledRoot=null;break}else if(d===Q)Q=e=d.nextScheduledRoot,A.nextScheduledRoot=e,d.nextScheduledRoot=null;else if(d===A){A=c;A.nextScheduledRoot=Q;d.nextScheduledRoot=null;break}else c.nextScheduledRoot=
|
||||
d.nextScheduledRoot,d.nextScheduledRoot=null;d=c.nextScheduledRoot}else{if(0===a||e<a)a=e,b=d;if(d===A)break;if(1===a)break;c=d;d=d.nextScheduledRoot}}R=b;D=a}function ah(a){if(a.didTimeout&&null!==Q){kc();var b=Q;do{var c=b.expirationTime;0!==c&&ba>=c&&(b.nextExpirationTimeToWorkOn=ba);b=b.nextScheduledRoot}while(b!==Q)}aa(0,a)}function aa(a,b){ua=b;nc();if(null!==ua)for(kc(),qb=ba;null!==R&&0!==D&&(0===a||a>=D)&&(!oc||ba>=D);)jc(R,D,ba>=D),nc(),kc(),qb=ba;else for(;null!==R&&0!==D&&(0===a||a>=D);)jc(R,
|
||||
D,!0),nc();null!==ua&&(lc=0,mc=null);0!==D&&Nf(R,D);ua=null;oc=!1;ob=0;zd=null;if(null!==Pa)for(a=Pa,Pa=null,b=0;b<a.length;b++){var c=a[b];try{c._onComplete()}catch(d){Qa||(Qa=!0,pc=d)}}if(Qa)throw a=pc,pc=null,Qa=!1,a;}function jc(a,b,c){O?m("245"):void 0;O=!0;if(null===ua||c){var d=a.finishedWork;null!==d?qc(a,d,b):(a.finishedWork=null,Lf(a,!1,c),d=a.finishedWork,null!==d&&qc(a,d,b))}else d=a.finishedWork,null!==d?qc(a,d,b):(a.finishedWork=null,Lf(a,!0,c),d=a.finishedWork,null!==d&&(Mf()?a.finishedWork=
|
||||
d:qc(a,d,b)));O=!1}function qc(a,b,c){var d=a.firstBatch;if(null!==d&&d._expirationTime<=c&&(null===Pa?Pa=[d]:Pa.push(d),d._defer)){a.finishedWork=b;a.expirationTime=0;return}a.finishedWork=null;a===zd?ob++:(zd=a,ob=0);mb=Y=!0;a.current===b?m("177"):void 0;c=a.pendingCommitExpirationTime;0===c?m("261"):void 0;a.pendingCommitExpirationTime=0;d=b.expirationTime;var e=b.childExpirationTime;d=0===d||0!==e&&e<d?e:d;a.didError=!1;0===d?(a.earliestPendingTime=0,a.latestPendingTime=0,a.earliestSuspendedTime=
|
||||
0,a.latestSuspendedTime=0,a.latestPingedTime=0):(e=a.latestPendingTime,0!==e&&(e<d?a.earliestPendingTime=a.latestPendingTime=0:a.earliestPendingTime<d&&(a.earliestPendingTime=a.latestPendingTime)),e=a.earliestSuspendedTime,0===e?Ub(a,d):d>a.latestSuspendedTime?(a.earliestSuspendedTime=0,a.latestSuspendedTime=0,a.latestPingedTime=0,Ub(a,d)):d<e&&Ub(a,d));hd(0,a);gc.current=null;1<b.effectTag?null!==b.lastEffect?(b.lastEffect.nextEffect=b,d=b.firstEffect):d=b:d=b.firstEffect;Ad=Nb;e=Oe();if(Qc(e)){if("selectionStart"in
|
||||
e)var f={start:e.selectionStart,end:e.selectionEnd};else a:{f=(f=e.ownerDocument)&&f.defaultView||window;var g=f.getSelection&&f.getSelection();if(g&&0!==g.rangeCount){f=g.anchorNode;var h=g.anchorOffset,k=g.focusNode;g=g.focusOffset;try{f.nodeType,k.nodeType}catch(Ra){f=null;break a}var l=0,n=-1,u=-1,D=0,E=0,v=e,C=null;b:for(;;){for(var w;;){v!==f||0!==h&&3!==v.nodeType||(n=l+h);v!==k||0!==g&&3!==v.nodeType||(u=l+g);3===v.nodeType&&(l+=v.nodeValue.length);if(null===(w=v.firstChild))break;C=v;v=w}for(;;){if(v===
|
||||
e)break b;C===f&&++D===h&&(n=l);C===k&&++E===g&&(u=l);if(null!==(w=v.nextSibling))break;v=C;C=v.parentNode}v=w}f=-1===n||-1===u?null:{start:n,end:u}}else f=null}f=f||{start:0,end:0}}else f=null;Bd={focusedElem:e,selectionRange:f};Nb=!1;for(p=d;null!==p;){e=!1;f=void 0;try{for(;null!==p;){if(p.effectTag&256){var r=p.alternate;a:switch(h=p,h.tag){case 2:case 3:if(h.effectTag&256&&null!==r){var t=r.memoizedProps,z=r.memoizedState,x=h.stateNode;x.props=h.memoizedProps;x.state=h.memoizedState;var H=x.getSnapshotBeforeUpdate(t,
|
||||
z);x.__reactInternalSnapshotBeforeUpdate=H}break a;case 5:case 7:case 8:case 6:break a;default:m("163")}}p=p.nextEffect}}catch(Ra){e=!0,f=Ra}e&&(null===p?m("178"):void 0,kb(p,f),null!==p&&(p=p.nextEffect))}for(p=d;null!==p;){r=!1;t=void 0;try{for(;null!==p;){var y=p.effectTag;y&16&&lb(p.stateNode,"");if(y&128){var B=p.alternate;if(null!==B){var q=B.ref;null!==q&&("function"===typeof q?q(null):q.current=null)}}switch(y&14){case 2:Cf(p);p.effectTag&=-3;break;case 6:Cf(p);p.effectTag&=-3;Df(p.alternate,
|
||||
p);break;case 4:Df(p.alternate,p);break;case 8:z=p,Af(z),z.return=null,z.child=null,z.alternate&&(z.alternate.child=null,z.alternate.return=null)}p=p.nextEffect}}catch(Ra){r=!0,t=Ra}r&&(null===p?m("178"):void 0,kb(p,t),null!==p&&(p=p.nextEffect))}q=Bd;B=Oe();y=q.focusedElem;t=q.selectionRange;if(B!==y&&y&&y.ownerDocument&&Ne(y.ownerDocument.documentElement,y)){null!==t&&Qc(y)&&(B=t.start,q=t.end,void 0===q&&(q=B),"selectionStart"in y?(y.selectionStart=B,y.selectionEnd=Math.min(q,y.value.length)):
|
||||
(r=y.ownerDocument||document,B=(r&&r.defaultView||window).getSelection(),z=y.textContent.length,q=Math.min(t.start,z),t=void 0===t.end?q:Math.min(t.end,z),!B.extend&&q>t&&(z=t,t=q,q=z),z=Me(y,q),x=Me(y,t),z&&x&&(1!==B.rangeCount||B.anchorNode!==z.node||B.anchorOffset!==z.offset||B.focusNode!==x.node||B.focusOffset!==x.offset)&&(r=r.createRange(),r.setStart(z.node,z.offset),B.removeAllRanges(),q>t?(B.addRange(r),B.extend(x.node,x.offset)):(r.setEnd(x.node,x.offset),B.addRange(r)))));B=[];for(q=y;q=
|
||||
q.parentNode;)1===q.nodeType&&B.push({element:q,left:q.scrollLeft,top:q.scrollTop});"function"===typeof y.focus&&y.focus();for(y=0;y<B.length;y++)q=B[y],q.element.scrollLeft=q.left,q.element.scrollTop=q.top}Bd=null;Nb=!!Ad;Ad=null;a.current=b;for(p=d;null!==p;){d=!1;y=void 0;try{for(B=c;null!==p;){var F=p.effectTag;if(F&36){var G=p.alternate;q=p;r=B;switch(q.tag){case 2:case 3:var A=q.stateNode;if(q.effectTag&4)if(null===G)A.props=q.memoizedProps,A.state=q.memoizedState,A.componentDidMount();else{var L=
|
||||
G.memoizedProps,M=G.memoizedState;A.props=q.memoizedProps;A.state=q.memoizedState;A.componentDidUpdate(L,M,A.__reactInternalSnapshotBeforeUpdate)}var J=q.updateQueue;null!==J&&(A.props=q.memoizedProps,A.state=q.memoizedState,df(q,J,A,r));break;case 5:var K=q.updateQueue;if(null!==K){t=null;if(null!==q.child)switch(q.child.tag){case 7:t=q.child.stateNode;break;case 2:case 3:t=q.child.stateNode}df(q,K,t,r)}break;case 7:var N=q.stateNode;null===G&&q.effectTag&4&&Ve(q.type,q.memoizedProps)&&N.focus();
|
||||
break;case 8:break;case 6:break;case 15:break;case 16:break;default:m("163")}}if(F&128){var I=p.ref;if(null!==I){var O=p.stateNode;switch(p.tag){case 7:var P=O;break;default:P=O}"function"===typeof I?I(P):I.current=P}}var Q=p.nextEffect;p.nextEffect=null;p=Q}}catch(Ra){d=!0,y=Ra}d&&(null===p?m("178"):void 0,kb(p,y),null!==p&&(p=p.nextEffect))}Y=mb=!1;"function"===typeof cd&&cd(b.stateNode);F=b.expirationTime;b=b.childExpirationTime;b=0===F||0!==b&&b<F?b:F;0===b&&(la=null);a.expirationTime=b;a.finishedWork=
|
||||
null}function Mf(){return oc?!0:null===ua||ua.timeRemaining()>bh?!1:oc=!0}function ud(a){null===R?m("246"):void 0;R.expirationTime=0;Qa||(Qa=!0,pc=a)}function Pf(a,b){var c=x;x=!0;try{return a(b)}finally{(x=c)||O||aa(1,null)}}function Qf(a,b){if(x&&!ic){ic=!0;try{return a(b)}finally{ic=!1}}return a(b)}function Rf(a,b,c){if(Oa)return a(b,c);x||O||0===Z||(aa(Z,null),Z=0);var d=Oa,e=x;x=Oa=!0;try{return a(b,c)}finally{Oa=d,(x=e)||O||aa(1,null)}}function ch(a){if(!a)return oa;a=a._reactInternalFiber;
|
||||
a:{2!==$a(a)||2!==a.tag&&3!==a.tag?m("170"):void 0;var b=a;do{switch(b.tag){case 5:b=b.stateNode.context;break a;case 2:if(v(b.type)){b=b.stateNode.__reactInternalMemoizedMergedChildContext;break a}break;case 3:if(v(b.type._reactResult)){b=b.stateNode.__reactInternalMemoizedMergedChildContext;break a}}b=b.return}while(null!==b);m("171");b=void 0}if(2===a.tag){var c=a.type;if(v(c))return bd(a,c,b)}else if(3===a.tag&&(c=a.type._reactResult,v(c)))return bd(a,c,b);return b}function Sf(a,b,c,d,e){var f=
|
||||
b.current;c=ch(c);null===b.context?b.context=c:b.pendingContext=c;b=e;e=qa(d);e.payload={element:a};b=void 0===b?null:b;null!==b&&(e.callback=b);ja(f,e);ta(f,d);return d}function Cd(a,b,c,d){var e=b.current,f=pb();e=hc(f,e);return Sf(a,b,c,e,d)}function Dd(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 7:return a.child.stateNode;default:return a.child.stateNode}}function dh(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ea,key:null==d?null:
|
||||
""+d,children:a,containerInfo:b,implementation:c}}function rb(a){var b=2+25*(((pb()-2+500)/25|0)+1);b<=Ed&&(b=Ed+1);this._expirationTime=Ed=b;this._root=a;this._callbacks=this._next=null;this._hasChildren=this._didComplete=!1;this._children=null;this._defer=!0}function Sa(){this._callbacks=null;this._didCommit=!1;this._onCommit=this._onCommit.bind(this)}function Ta(a,b,c){b=new ia(5,null,null,b?3:0);a={current:b,containerInfo:a,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,
|
||||
latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:c,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null};this._internalRoot=b.stateNode=a}function rc(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function eh(a,b){b||(b=a?9===a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||
|
||||
1!==b.nodeType||!b.hasAttribute("data-reactroot")));if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new Ta(a,!1,b)}function sc(a,b,c,d,e){rc(c)?void 0:m("200");var f=c._reactRootContainer;if(f){if("function"===typeof e){var g=e;e=function(){var a=Dd(f._internalRoot);g.call(a)}}null!=a?f.legacy_renderSubtreeIntoContainer(a,b,e):f.render(b,e)}else{f=c._reactRootContainer=eh(c,d);if("function"===typeof e){var h=e;e=function(){var a=Dd(f._internalRoot);h.call(a)}}Qf(function(){null!=a?f.legacy_renderSubtreeIntoContainer(a,
|
||||
b,e):f.render(b,e)})}return Dd(f._internalRoot)}function Tf(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;rc(b)?void 0:m("200");return dh(a,b,null,c)}T?void 0:m("227");var kg=function(a,b,c,d,e,f,g,h,k){var l=Array.prototype.slice.call(arguments,3);try{b.apply(c,l)}catch(n){this.onError(n)}},Va=!1,wb=null,xb=!1,uc=null,lg={onError:function(a){Va=!0;wb=a}},yb=null,va={},zb=[],vc={},wa={},wc={},xc=null,$d=null,Nd=null,Wa=null,Uf=function(a,b){if(a){var c=a._dispatchListeners,
|
||||
d=a._dispatchInstances;if(Array.isArray(c))for(var e=0;e<c.length&&!a.isPropagationStopped();e++)Md(a,b,c[e],d[e]);else c&&Md(a,b,c,d);a._dispatchListeners=null;a._dispatchInstances=null;a.isPersistent()||a.constructor.release(a)}},ng=function(a){return Uf(a,!0)},og=function(a){return Uf(a,!1)},Fd={injectEventPluginOrder:function(a){yb?m("101"):void 0;yb=Array.prototype.slice.call(a);Kd()},injectEventPluginsByName:function(a){var b=!1,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];va.hasOwnProperty(c)&&
|
||||
va[c]===d||(va[c]?m("102",c):void 0,va[c]=d,b=!0)}b&&Kd()}},Vf=Math.random().toString(36).slice(2),U="__reactInternalInstance$"+Vf,Cb="__reactEventHandlers$"+Vf,ea=!("undefined"===typeof window||!window.document||!window.document.createElement),za={animationend:Db("Animation","AnimationEnd"),animationiteration:Db("Animation","AnimationIteration"),animationstart:Db("Animation","AnimationStart"),transitionend:Db("Transition","TransitionEnd")},Bc={},Rd={};ea&&(Rd=document.createElement("div").style,
|
||||
"AnimationEvent"in window||(delete za.animationend.animation,delete za.animationiteration.animation,delete za.animationstart.animation),"TransitionEvent"in window||delete za.transitionend.transition);var Wf=Eb("animationend"),Xf=Eb("animationiteration"),Yf=Eb("animationstart"),Zf=Eb("transitionend"),cb="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),
|
||||
da=null,Cc=null,Fb=null,H=T.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign;H(L.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=Gb)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=Gb)},persist:function(){this.isPersistent=
|
||||
Gb},isPersistent:Hb,destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=Hb;this._dispatchInstances=this._dispatchListeners=null}});L.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};L.extend=function(a){function b(){return c.apply(this,
|
||||
arguments)}var c=this,d=function(){};d.prototype=c.prototype;d=new d;H(d,b.prototype);b.prototype=d;b.prototype.constructor=b;b.Interface=H({},c.Interface,a);b.extend=c.extend;Td(b);return b};Td(L);var fh=L.extend({data:null}),gh=L.extend({data:null}),tg=[9,13,27,32],Dc=ea&&"CompositionEvent"in window,sb=null;ea&&"documentMode"in document&&(sb=document.documentMode);var hh=ea&&"TextEvent"in window&&!sb,Yd=ea&&(!Dc||sb&&8<sb&&11>=sb),Xd=String.fromCharCode(32),ca={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",
|
||||
captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",
|
||||
captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Wd=!1,Aa=!1,ih={eventTypes:ca,extractEvents:function(a,b,c,d){var e=void 0;var f=void 0;if(Dc)b:{switch(a){case "compositionstart":e=ca.compositionStart;break b;case "compositionend":e=ca.compositionEnd;break b;case "compositionupdate":e=ca.compositionUpdate;break b}e=void 0}else Aa?Ud(a,c)&&(e=ca.compositionEnd):"keydown"===a&&229===c.keyCode&&(e=ca.compositionStart);e?(Yd&&
|
||||
"ko"!==c.locale&&(Aa||e!==ca.compositionStart?e===ca.compositionEnd&&Aa&&(f=Sd()):(da=d,Cc="value"in da?da.value:da.textContent,Aa=!0)),e=fh.getPooled(e,b,c,d),f?e.data=f:(f=Vd(c),null!==f&&(e.data=f)),ya(e),f=e):f=null;(a=hh?ug(a,c):vg(a,c))?(b=gh.getPooled(ca.beforeInput,b,c,d),b.data=a,ya(b)):b=null;return null===f?b:null===b?f:[f,b]}},Ec=null,Ba=null,Ca=null,de=function(a,b){return a(b)},Ie=function(a,b,c){return a(b,c)},ee=function(){},Fc=!1,wg={color:!0,date:!0,datetime:!0,"datetime-local":!0,
|
||||
email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},$f=T.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,yg=/^(.*)[\\\/]/,S="function"===typeof Symbol&&Symbol.for,dc=S?Symbol.for("react.element"):60103,Ea=S?Symbol.for("react.portal"):60106,fa=S?Symbol.for("react.fragment"):60107,le=S?Symbol.for("react.strict_mode"):60108,Hc=S?Symbol.for("react.profiler"):60114,oe=S?Symbol.for("react.provider"):60109,ne=S?Symbol.for("react.context"):60110,ke=S?Symbol.for("react.async_mode"):
|
||||
60111,pe=S?Symbol.for("react.forward_ref"):60112,me=S?Symbol.for("react.placeholder"):60113,je="function"===typeof Symbol&&Symbol.iterator,Ag=/^[: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]*$/,re=Object.prototype.hasOwnProperty,
|
||||
te={},se={},E={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){E[a]=new M(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];E[b]=new M(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){E[a]=new M(a,2,!1,a.toLowerCase(),null)});["autoReverse",
|
||||
"externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){E[a]=new M(a,2,!1,a,null)});"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){E[a]=new M(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){E[a]=new M(a,3,!0,a,null)});["capture","download"].forEach(function(a){E[a]=
|
||||
new M(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){E[a]=new M(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){E[a]=new M(a,5,!1,a.toLowerCase(),null)});var Gd=/[\-:]([a-z])/g,Hd=function(a){return a[1].toUpperCase()};"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=
|
||||
a.replace(Gd,Hd);E[b]=new M(b,1,!1,a,null)});"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(Gd,Hd);E[b]=new M(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(Gd,Hd);E[b]=new M(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});E.tabIndex=new M("tabIndex",1,!1,"tabindex",null);var ye={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},
|
||||
dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},Ya=null,Za=null,Id=!1;ea&&(Id=ge("input")&&(!document.documentMode||9<document.documentMode));var jh={eventTypes:ye,_isInputEventSupported:Id,extractEvents:function(a,b,c,d){var e=b?na(b):window,f=void 0,g=void 0,h=e.nodeName&&e.nodeName.toLowerCase();"select"===h||"input"===h&&"file"===e.type?f=Eg:fe(e)?Id?f=Ig:(f=Gg,g=Fg):(h=e.nodeName)&&"input"===h.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)&&(f=
|
||||
Hg);if(f&&(f=f(a,b)))return xe(f,c,d);g&&g(a,e,b);"blur"===a&&(a=e._wrapperState)&&a.controlled&&"number"===e.type&&Lc(e,"number",e.value)}},tb=L.extend({view:null,detail:null}),Kg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},ag=0,bg=0,cg=!1,dg=!1,ub=tb.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Mc,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||
|
||||
(a.fromElement===a.srcElement?a.toElement:a.fromElement)},movementX:function(a){if("movementX"in a)return a.movementX;var b=ag;ag=a.screenX;return cg?"mousemove"===a.type?a.screenX-b:0:(cg=!0,0)},movementY:function(a){if("movementY"in a)return a.movementY;var b=bg;bg=a.screenY;return dg?"mousemove"===a.type?a.screenY-b:0:(dg=!0,0)}}),eg=ub.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),vb={mouseEnter:{registrationName:"onMouseEnter",
|
||||
dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},kh={eventTypes:vb,extractEvents:function(a,b,c,d){var e="mouseover"===a||"pointerover"===a,f="mouseout"===a||"pointerout"===a;if(e&&(c.relatedTarget||c.fromElement)||!f&&!e)return null;e=d.window===
|
||||
d?d:(e=d.ownerDocument)?e.defaultView||e.parentWindow:window;f?(f=b,b=(b=c.relatedTarget||c.toElement)?Bb(b):null):f=null;if(f===b)return null;var g=void 0,h=void 0,k=void 0,l=void 0;if("mouseout"===a||"mouseover"===a)g=ub,h=vb.mouseLeave,k=vb.mouseEnter,l="mouse";else if("pointerout"===a||"pointerover"===a)g=eg,h=vb.pointerLeave,k=vb.pointerEnter,l="pointer";var m=null==f?e:na(f);e=null==b?e:na(b);a=g.getPooled(h,f,c,d);a.type=l+"leave";a.target=m;a.relatedTarget=e;c=g.getPooled(k,b,c,d);c.type=
|
||||
l+"enter";c.target=e;c.relatedTarget=m;d=b;if(f&&d)a:{b=f;e=d;l=0;for(g=b;g;g=V(g))l++;g=0;for(k=e;k;k=V(k))g++;for(;0<l-g;)b=V(b),l--;for(;0<g-l;)e=V(e),g--;for(;l--;){if(b===e||b===e.alternate)break a;b=V(b);e=V(e)}b=null}else b=null;e=b;for(b=[];f&&f!==e;){l=f.alternate;if(null!==l&&l===e)break;b.push(f);f=V(f)}for(f=[];d&&d!==e;){l=d.alternate;if(null!==l&&l===e)break;f.push(d);d=V(d)}for(d=0;d<b.length;d++)Ac(b[d],"bubbled",a);for(d=f.length;0<d--;)Ac(f[d],"captured",c);return[a,c]}},Lg=Object.prototype.hasOwnProperty,
|
||||
lh=L.extend({animationName:null,elapsedTime:null,pseudoElement:null}),mh=L.extend({clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),nh=tb.extend({relatedTarget:null}),oh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ph={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",
|
||||
20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},qh=tb.extend({key:function(a){if(a.key){var b=oh[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=Kb(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||
|
||||
"keyup"===a.type?ph[a.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Mc,charCode:function(a){return"keypress"===a.type?Kb(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"===a.type?Kb(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),rh=ub.extend({dataTransfer:null}),sh=tb.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,
|
||||
metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Mc}),th=L.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),uh=ub.extend({deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:null,deltaMode:null}),vh=[["abort","abort"],[Wf,"animationEnd"],[Xf,"animationIteration"],[Yf,"animationStart"],["canplay","canPlay"],["canplaythrough",
|
||||
'use strict';(function(fa,Ja){"object"===typeof exports&&"undefined"!==typeof module?module.exports=Ja(require("react")):"function"===typeof define&&define.amd?define(["react"],Ja):fa.ReactDOM=Ja(fa.React)})(this,function(fa){function Ja(a,b,c,d,e,f,g,h){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var k=[c,d,e,f,g,h],l=0;a=Error(b.replace(/%s/g,function(){return k[l++]}));
|
||||
a.name="Invariant Violation"}a.framesToPop=1;throw a;}}function n(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=0;d<b;d++)c+="&args[]="+encodeURIComponent(arguments[d+1]);Ja(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",c)}function Dg(a,b,c,d,e,f,g,h,k){Ra=!1;Ib=null;Eg.apply(Fg,arguments)}function Gg(a,b,c,d,e,f,g,h,k){Dg.apply(this,arguments);
|
||||
if(Ra){if(Ra){var l=Ib;Ra=!1;Ib=null}else n("198"),l=void 0;Jb||(Jb=!0,Fc=l)}}function $d(){if(Kb)for(var a in Sa){var b=Sa[a],c=Kb.indexOf(a);-1<c?void 0:n("96",a);if(!Lb[c]){b.extractEvents?void 0:n("97",a);Lb[c]=b;c=b.eventTypes;for(var d in c){var e=void 0;var f=c[d],g=b,h=d;Gc.hasOwnProperty(h)?n("99",h):void 0;Gc[h]=f;var k=f.phasedRegistrationNames;if(k){for(e in k)k.hasOwnProperty(e)&&ae(k[e],g,h);e=!0}else f.registrationName?(ae(f.registrationName,g,h),e=!0):e=!1;e?void 0:n("98",d,a)}}}}
|
||||
function ae(a,b,c){Ta[a]?n("100",a):void 0;Ta[a]=b;Hc[a]=b.eventTypes[c].dependencies}function be(a,b,c,d){b=a.type||"unknown-event";a.currentTarget=ce(d);Gg(b,c,void 0,a);a.currentTarget=null}function Ka(a,b){null==b?n("30"):void 0;if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function Mb(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}function de(a,b){var c=a.stateNode;if(!c)return null;
|
||||
var d=Ic(c);if(!d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;c&&"function"!==typeof c?n("231",b,typeof c):void 0;return c}function Jc(a,b){null!==a&&(fb=Ka(fb,a));a=
|
||||
fb;fb=null;if(a&&(b?Mb(a,Hg):Mb(a,Ig),fb?n("95"):void 0,Jb))throw b=Fc,Jb=!1,Fc=null,b;}function Nb(a){if(a[V])return a[V];for(;!a[V];)if(a.parentNode)a=a.parentNode;else return null;a=a[V];return 5===a.tag||6===a.tag?a:null}function ee(a){a=a[V];return!a||5!==a.tag&&6!==a.tag?null:a}function W(a){if(5===a.tag||6===a.tag)return a.stateNode;n("33")}function Kc(a){return a[Ob]||null}function ha(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}function fe(a,b,c){if(b=de(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=
|
||||
Ka(c._dispatchListeners,b),c._dispatchInstances=Ka(c._dispatchInstances,a)}function Jg(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=ha(b);for(b=c.length;0<b--;)fe(c[b],"captured",a);for(b=0;b<c.length;b++)fe(c[b],"bubbled",a)}}function Lc(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=de(a,c.dispatchConfig.registrationName))&&(c._dispatchListeners=Ka(c._dispatchListeners,b),c._dispatchInstances=Ka(c._dispatchInstances,a))}function Kg(a){a&&a.dispatchConfig.registrationName&&
|
||||
Lc(a._targetInst,null,a)}function La(a){Mb(a,Jg)}function Pb(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}function Qb(a){if(Mc[a])return Mc[a];if(!xa[a])return a;var b=xa[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in ge)return Mc[a]=b[c];return a}function he(){if(Rb)return Rb;var a,b=Nc,c=b.length,d,e="value"in ia?ia.value:ia.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return Rb=e.slice(a,
|
||||
1<d?1-d:void 0)}function Sb(){return!0}function Tb(){return!1}function D(a,b,c,d){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):"target"===e?this.target=d:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?Sb:Tb;this.isPropagationStopped=Tb;return this}function Lg(a,b,c,d){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,d);
|
||||
return e}return new this(a,b,c,d)}function Mg(a){a instanceof this?void 0:n("279");a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function ie(a){a.eventPool=[];a.getPooled=Lg;a.release=Mg}function je(a,b){switch(a){case "keyup":return-1!==Ng.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "blur":return!0;default:return!1}}function ke(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}function Og(a,b){switch(a){case "compositionend":return ke(b);
|
||||
case "keypress":if(32!==b.which)return null;le=!0;return me;case "textInput":return a=b.data,a===me&&le?null:a;default:return null}}function Pg(a,b){if(Ua)return"compositionend"===a||!Oc&&je(a,b)?(a=he(),Rb=Nc=ia=null,Ua=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return ne&&"ko"!==b.locale?null:b.data;
|
||||
default:return null}}function oe(a){if(a=pe(a)){"function"!==typeof Pc?n("280"):void 0;var b=Ic(a.stateNode);Pc(a.stateNode,a.type,b)}}function qe(a){Ma?ja?ja.push(a):ja=[a]:Ma=a}function re(){if(Ma){var a=Ma,b=ja;ja=Ma=null;oe(a);if(b)for(a=0;a<b.length;a++)oe(b[a])}}function se(a,b){if(Qc)return a(b);Qc=!0;try{return te(a,b)}finally{if(Qc=!1,null!==Ma||null!==ja)ue(),re()}}function ve(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!Qg[a.type]:"textarea"===b?!0:!1}function Rc(a){a=
|
||||
a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}function we(a){if(!ka)return!1;a="on"+a;var b=a in document;b||(b=document.createElement("div"),b.setAttribute(a,"return;"),b="function"===typeof b[a]);return b}function xe(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}function Rg(a){var b=xe(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=
|
||||
""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=""+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=""+a},stopTracking:function(){a._valueTracker=null;delete a[b]}}}}function Ub(a){a._valueTracker||(a._valueTracker=Rg(a))}function ye(a){if(!a)return!1;
|
||||
var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=xe(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function gb(a){if(null===a||"object"!==typeof a)return null;a=ze&&a[ze]||a["@@iterator"];return"function"===typeof a?a:null}function sa(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case Sc:return"ConcurrentMode";case ta:return"Fragment";case Va:return"Portal";case Vb:return"Profiler";
|
||||
case Tc:return"StrictMode";case Uc:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case Ae:return"Context.Consumer";case Be:return"Context.Provider";case Vc:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef");case Wc:return sa(a.type);case Ce:if(a=1===a._status?a._result:null)return sa(a)}return null}function De(a){var b="";do{a:switch(a.tag){case 2:case 16:case 0:case 1:case 5:case 8:var c=a._debugOwner,d=a._debugSource,e=sa(a.type);
|
||||
var f=null;c&&(f=sa(c.type));c=e;e="";d?e=" (at "+d.fileName.replace(Sg,"")+":"+d.lineNumber+")":f&&(e=" (created by "+f+")");f="\n in "+(c||"Unknown")+e;break a;default:f=""}b+=f;a=a.return}while(a);return b}function Tg(a){if(Ee.call(Fe,a))return!0;if(Ee.call(Ge,a))return!1;if(Ug.test(a))return Fe[a]=!0;Ge[a]=!0;return!1}function Vg(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(d)return!1;if(null!==c)return!c.acceptsBooleans;
|
||||
a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}function Wg(a,b,c,d){if(null===b||"undefined"===typeof b||Vg(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function G(a,b,c,d,e){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b}function Xc(a,b,c,d){var e=x.hasOwnProperty(b)?
|
||||
x[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1]?!1:!0;f||(Wg(b,c,e,d)&&(c=null),d||null===e?Tg(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))))}function S(a){switch(typeof a){case "boolean":case "number":case "object":case "string":case "undefined":return a;
|
||||
default:return""}}function Yc(a,b){var c=b.checked;return E({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function He(a,b){var c=null==b.defaultValue?"":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=S(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:"checkbox"===b.type||"radio"===b.type?null!=b.checked:null!=b.value}}function Ie(a,b){b=b.checked;null!=b&&Xc(a,"checked",b,!1)}function Zc(a,
|
||||
b){Ie(a,b);var c=S(b.value),d=b.type;if(null!=c)if("number"===d){if(0===c&&""===a.value||a.value!=c)a.value=""+c}else a.value!==""+c&&(a.value=""+c);else if("submit"===d||"reset"===d){a.removeAttribute("value");return}b.hasOwnProperty("value")?$c(a,b.type,c):b.hasOwnProperty("defaultValue")&&$c(a,b.type,S(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}function Je(a,b,c){if(b.hasOwnProperty("value")||b.hasOwnProperty("defaultValue")){var d=b.type;if(!("submit"!==
|
||||
d&&"reset"!==d||void 0!==b.value&&null!==b.value))return;b=""+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;""!==c&&(a.name="");a.defaultChecked=!a.defaultChecked;a.defaultChecked=!!a._wrapperState.initialChecked;""!==c&&(a.name=c)}function $c(a,b,c){if("number"!==b||a.ownerDocument.activeElement!==a)null==c?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c)}function Ke(a,b,c){a=D.getPooled(Le.change,a,b,c);a.type="change";
|
||||
qe(c);La(a);return a}function Xg(a){Jc(a,!1)}function Wb(a){var b=W(a);if(ye(b))return a}function Yg(a,b){if("change"===a)return b}function Me(){hb&&(hb.detachEvent("onpropertychange",Ne),ib=hb=null)}function Ne(a){"value"===a.propertyName&&Wb(ib)&&(a=Ke(ib,a,Rc(a)),se(Xg,a))}function Zg(a,b,c){"focus"===a?(Me(),hb=b,ib=c,hb.attachEvent("onpropertychange",Ne)):"blur"===a&&Me()}function $g(a,b){if("selectionchange"===a||"keyup"===a||"keydown"===a)return Wb(ib)}function ah(a,b){if("click"===a)return Wb(b)}
|
||||
function bh(a,b){if("input"===a||"change"===a)return Wb(b)}function ch(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=dh[a])?!!b[a]:!1}function ad(a){return ch}function Oe(a,b){return a===b?0!==a||0!==b||1/a===1/b:a!==a&&b!==b}function jb(a,b){if(Oe(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!eh.call(b,c[d])||!Oe(a[c[d]],b[c[d]]))return!1;
|
||||
return!0}function kb(a){var b=a;if(a.alternate)for(;b.return;)b=b.return;else{if(0!==(b.effectTag&2))return 1;for(;b.return;)if(b=b.return,0!==(b.effectTag&2))return 1}return 3===b.tag?2:3}function Pe(a){2!==kb(a)?n("188"):void 0}function fh(a){var b=a.alternate;if(!b)return b=kb(a),3===b?n("188"):void 0,1===b?null:a;for(var c=a,d=b;;){var e=c.return,f=e?e.alternate:null;if(!e||!f)break;if(e.child===f.child){for(var g=e.child;g;){if(g===c)return Pe(e),a;if(g===d)return Pe(e),b;g=g.sibling}n("188")}if(c.return!==
|
||||
d.return)c=e,d=f;else{g=!1;for(var h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}g?void 0:n("189")}}c.alternate!==d?n("190"):void 0}3!==c.tag?n("188"):void 0;return c.stateNode.current===c?a:b}function Qe(a){a=fh(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||
|
||||
b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}function Xb(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function Re(a,b){var c=a[0];a=a[1];var d="on"+(a[0].toUpperCase()+a.slice(1));b={phasedRegistrationNames:{bubbled:d,captured:d+"Capture"},dependencies:[c],isInteractive:b};Se[a]=b;bd[c]=b}function gh(a){var b=a.targetInst,c=b;do{if(!c){a.ancestors.push(c);break}var d;for(d=c;d.return;)d=
|
||||
d.return;d=3!==d.tag?null:d.stateNode.containerInfo;if(!d)break;a.ancestors.push(c);c=Nb(d)}while(c);for(c=0;c<a.ancestors.length;c++){b=a.ancestors[c];var e=Rc(a.nativeEvent);d=a.topLevelType;for(var f=a.nativeEvent,g=null,h=0;h<Lb.length;h++){var k=Lb[h];k&&(k=k.extractEvents(d,b,f,e))&&(g=Ka(g,k))}Jc(g,!1)}}function r(a,b){if(!b)return null;var c=(Te(a)?Ue:Yb).bind(null,a);b.addEventListener(a,c,!1)}function Zb(a,b){if(!b)return null;var c=(Te(a)?Ue:Yb).bind(null,a);b.addEventListener(a,c,!0)}
|
||||
function Ue(a,b){Ve(Yb,a,b)}function Yb(a,b){if($b){var c=Rc(b);c=Nb(c);null===c||"number"!==typeof c.tag||2===kb(c)||(c=null);if(ac.length){var d=ac.pop();d.topLevelType=a;d.nativeEvent=b;d.targetInst=c;a=d}else a={topLevelType:a,nativeEvent:b,targetInst:c,ancestors:[]};try{se(gh,a)}finally{a.topLevelType=null,a.nativeEvent=null,a.targetInst=null,a.ancestors.length=0,10>ac.length&&ac.push(a)}}}function We(a){Object.prototype.hasOwnProperty.call(a,bc)||(a[bc]=hh++,Xe[a[bc]]={});return Xe[a[bc]]}function cd(a){a=
|
||||
a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}function Ye(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function Ze(a,b){var c=Ye(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Ye(c)}}function $e(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?
|
||||
$e(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function af(){for(var a=window,b=cd();b instanceof a.HTMLIFrameElement;){try{a=b.contentDocument.defaultView}catch(c){break}b=cd(a.document)}return b}function dd(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}function bf(a,b){var c=
|
||||
b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(ed||null==ya||ya!==cd(c))return null;c=ya;"selectionStart"in c&&dd(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return lb&&jb(lb,c)?null:(lb=c,a=D.getPooled(cf.select,fd,a,b),a.type="select",a.target=ya,La(a),a)}function ih(a){var b="";fa.Children.forEach(a,function(a){null!=
|
||||
a&&(b+=a)});return b}function gd(a,b){a=E({children:void 0},b);if(b=ih(b.children))a.children=b;return a}function za(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+S(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}function hd(a,
|
||||
b){null!=b.dangerouslySetInnerHTML?n("91"):void 0;return E({},b,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function df(a,b){var c=b.value;null==c&&(c=b.defaultValue,b=b.children,null!=b&&(null!=c?n("92"):void 0,Array.isArray(b)&&(1>=b.length?void 0:n("93"),b=b[0]),c=b),null==c&&(c=""));a._wrapperState={initialValue:S(c)}}function ef(a,b){var c=S(b.value),d=S(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=
|
||||
c));null!=d&&(a.defaultValue=""+d)}function ff(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function id(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?ff(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}function gf(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf("--");var e=c;var f=b[c];e=null==f||"boolean"===
|
||||
typeof f||""===f?"":d||"number"!==typeof f||0===f||mb.hasOwnProperty(e)&&mb[e]?(""+f).trim():f+"px";"float"===c&&(c="cssFloat");d?a.setProperty(c,e):a[c]=e}}function jd(a,b){b&&(jh[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML?n("137",a,""):void 0),null!=b.dangerouslySetInnerHTML&&(null!=b.children?n("60"):void 0,"object"===typeof b.dangerouslySetInnerHTML&&"__html"in b.dangerouslySetInnerHTML?void 0:n("61")),null!=b.style&&"object"!==typeof b.style?n("62",""):void 0)}function kd(a,b){if(-1===
|
||||
a.indexOf("-"))return"string"===typeof b.is;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}}function T(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=We(a);b=Hc[b];for(var d=0;d<b.length;d++){var e=b[d];if(!c.hasOwnProperty(e)||!c[e]){switch(e){case "scroll":Zb("scroll",a);break;case "focus":case "blur":Zb("focus",a);Zb("blur",
|
||||
a);c.blur=!0;c.focus=!0;break;case "cancel":case "close":we(e)&&Zb(e,a);break;case "invalid":case "submit":case "reset":break;default:-1===nb.indexOf(e)&&r(e,a)}c[e]=!0}}}function cc(){}function hf(a,b){switch(a){case "button":case "input":case "select":case "textarea":return!!b.autoFocus}return!1}function ld(a,b){return"textarea"===a||"option"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&
|
||||
null!=b.dangerouslySetInnerHTML.__html}function md(a){for(a=a.nextSibling;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a}function jf(a){for(a=a.firstChild;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a}function F(a,b){0>Na||(a.current=nd[Na],nd[Na]=null,Na--)}function L(a,b,c){Na++;nd[Na]=a.current;a.current=b}function Wa(a,b){var c=a.type.contextTypes;if(!c)return X;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;
|
||||
var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function M(a){a=a.childContextTypes;return null!==a&&void 0!==a}function dc(a){F(N,a);F(O,a)}function od(a){F(N,a);F(O,a)}function kf(a,b,c){O.current!==X?n("168"):void 0;L(O,b,a);L(N,c,a)}function lf(a,b,c){var d=a.stateNode;a=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)e in a?void 0:
|
||||
n("108",sa(b)||"Unknown",e);return E({},c,d)}function ec(a){var b=a.stateNode;b=b&&b.__reactInternalMemoizedMergedChildContext||X;la=O.current;L(O,b,a);L(N,N.current,a);return!0}function mf(a,b,c){var d=a.stateNode;d?void 0:n("169");c?(b=lf(a,b,la),d.__reactInternalMemoizedMergedChildContext=b,F(N,a),F(O,a),L(O,b,a)):F(N,a);L(N,c,a)}function nf(a){return function(b){try{return a(b)}catch(c){}}}function kh(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if(b.isDisabled||!b.supportsFiber)return!0;try{var c=b.inject(a);pd=nf(function(a){return b.onCommitFiberRoot(c,a)});qd=nf(function(a){return b.onCommitFiberUnmount(c,a)})}catch(d){}return!0}function lh(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.firstContextDependency=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.effectTag=0;this.lastEffect=this.firstEffect=
|
||||
this.nextEffect=null;this.childExpirationTime=this.expirationTime=0;this.alternate=null}function rd(a){a=a.prototype;return!(!a||!a.isReactComponent)}function mh(a){if("function"===typeof a)return rd(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Vc)return 11;if(a===Wc)return 14}return 2}function Aa(a,b,c){c=a.alternate;null===c?(c=ma(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.effectTag=0,c.nextEffect=
|
||||
null,c.firstEffect=null,c.lastEffect=null);c.childExpirationTime=a.childExpirationTime;c.expirationTime=a.expirationTime;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;c.firstContextDependency=a.firstContextDependency;c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}function fc(a,b,c,d,e,f){var g=2;d=a;if("function"===typeof a)rd(a)&&(g=1);else if("string"===typeof a)g=5;else a:switch(a){case ta:return Ba(c.children,e,f,b);case Sc:return of(c,
|
||||
e|3,f,b);case Tc:return of(c,e|2,f,b);case Vb:return a=ma(12,c,b,e|4),a.elementType=Vb,a.type=Vb,a.expirationTime=f,a;case Uc:return a=ma(13,c,b,e),b=Uc,a.elementType=b,a.type=b,a.expirationTime=f,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case Be:g=10;break a;case Ae:g=9;break a;case Vc:g=11;break a;case Wc:g=14;break a;case Ce:g=16;d=null;break a}n("130",null==a?a:typeof a,"")}b=ma(g,c,b,e);b.elementType=a;b.type=d;b.expirationTime=f;return b}function Ba(a,b,c,d){a=ma(7,a,d,b);
|
||||
a.expirationTime=c;return a}function of(a,b,c,d){a=ma(8,a,d,b);b=0===(b&1)?Tc:Sc;a.elementType=b;a.type=b;a.expirationTime=c;return a}function sd(a,b,c){a=ma(6,a,null,b);a.expirationTime=c;return a}function td(a,b,c){b=ma(4,null!==a.children?a.children:[],a.key,b);b.expirationTime=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}function ob(a,b){a.didError=!1;var c=a.earliestPendingTime;0===c?a.earliestPendingTime=a.latestPendingTime=b:c>
|
||||
b?a.earliestPendingTime=b:a.latestPendingTime<b&&(a.latestPendingTime=b);gc(b,a)}function pf(a,b){a.didError=!1;var c=a.latestPingedTime;0!==c&&c<=b&&(a.latestPingedTime=0);c=a.earliestPendingTime;var d=a.latestPendingTime;c===b?a.earliestPendingTime=d===b?a.latestPendingTime=0:d:d===b&&(a.latestPendingTime=c);c=a.earliestSuspendedTime;d=a.latestSuspendedTime;0===c?a.earliestSuspendedTime=a.latestSuspendedTime=b:c>b?a.earliestSuspendedTime=b:d<b&&(a.latestSuspendedTime=b);gc(b,a)}function qf(a,b){var c=
|
||||
a.earliestPendingTime;a=a.earliestSuspendedTime;if(0===b||0!==c&&c<b)b=c;if(0===b||0!==a&&a<b)b=a;return b}function gc(a,b){var c=b.earliestSuspendedTime,d=b.latestSuspendedTime,e=b.earliestPendingTime,f=b.latestPingedTime;e=0!==e?e:f;0===e&&(0===a||d>a)&&(e=d);a=e;0!==a&&0!==c&&c<a&&(a=c);b.nextExpirationTimeToWorkOn=e;b.expirationTime=a}function hc(a){return{baseState:a,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,
|
||||
lastCapturedEffect:null}}function ud(a){return{baseState:a.baseState,firstUpdate:a.firstUpdate,lastUpdate:a.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Y(a){return{expirationTime:a,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function ic(a,b){null===a.lastUpdate?a.firstUpdate=a.lastUpdate=b:(a.lastUpdate.next=b,a.lastUpdate=b)}function na(a,b){var c=a.alternate;if(null===c){var d=
|
||||
a.updateQueue;var e=null;null===d&&(d=a.updateQueue=hc(a.memoizedState))}else d=a.updateQueue,e=c.updateQueue,null===d?null===e?(d=a.updateQueue=hc(a.memoizedState),e=c.updateQueue=hc(c.memoizedState)):d=a.updateQueue=ud(e):null===e&&(e=c.updateQueue=ud(d));null===e||d===e?ic(d,b):null===d.lastUpdate||null===e.lastUpdate?(ic(d,b),ic(e,b)):(ic(d,b),e.lastUpdate=b)}function rf(a,b){var c=a.updateQueue;c=null===c?a.updateQueue=hc(a.memoizedState):sf(a,c);null===c.lastCapturedUpdate?c.firstCapturedUpdate=
|
||||
c.lastCapturedUpdate=b:(c.lastCapturedUpdate.next=b,c.lastCapturedUpdate=b)}function sf(a,b){var c=a.alternate;null!==c&&b===c.updateQueue&&(b=a.updateQueue=ud(b));return b}function tf(a,b,c,d,e,f){switch(c.tag){case 1:return a=c.payload,"function"===typeof a?a.call(f,d,e):a;case 3:a.effectTag=a.effectTag&-1025|64;case 0:a=c.payload;e="function"===typeof a?a.call(f,d,e):a;if(null===e||void 0===e)break;return E({},d,e);case 2:P=!0}return d}function pb(a,b,c,d,e){P=!1;b=sf(a,b);for(var f=b.baseState,
|
||||
g=null,h=0,k=b.firstUpdate,l=f;null!==k;){var m=k.expirationTime;if(m>e){if(null===g&&(g=k,f=l),0===h||h>m)h=m}else l=tf(a,b,k,l,c,d),null!==k.callback&&(a.effectTag|=32,k.nextEffect=null,null===b.lastEffect?b.firstEffect=b.lastEffect=k:(b.lastEffect.nextEffect=k,b.lastEffect=k));k=k.next}m=null;for(k=b.firstCapturedUpdate;null!==k;){var n=k.expirationTime;if(n>e){if(null===m&&(m=k,null===g&&(f=l)),0===h||h>n)h=n}else l=tf(a,b,k,l,c,d),null!==k.callback&&(a.effectTag|=32,k.nextEffect=null,null===
|
||||
b.lastCapturedEffect?b.firstCapturedEffect=b.lastCapturedEffect=k:(b.lastCapturedEffect.nextEffect=k,b.lastCapturedEffect=k));k=k.next}null===g&&(b.lastUpdate=null);null===m?b.lastCapturedUpdate=null:a.effectTag|=32;null===g&&null===m&&(f=l);b.baseState=f;b.firstUpdate=g;b.firstCapturedUpdate=m;a.expirationTime=h;a.memoizedState=l}function uf(a,b,c,d){null!==b.firstCapturedUpdate&&(null!==b.lastUpdate&&(b.lastUpdate.next=b.firstCapturedUpdate,b.lastUpdate=b.lastCapturedUpdate),b.firstCapturedUpdate=
|
||||
b.lastCapturedUpdate=null);vf(b.firstEffect,c);b.firstEffect=b.lastEffect=null;vf(b.firstCapturedEffect,c);b.firstCapturedEffect=b.lastCapturedEffect=null}function vf(a,b){for(;null!==a;){var c=a.callback;if(null!==c){a.callback=null;var d=b;"function"!==typeof c?n("191",c):void 0;c.call(d)}a=a.nextEffect}}function kc(a,b){return{value:a,source:b,stack:De(b)}}function wf(a,b){var c=a.type._context;L(vd,c._currentValue,a);c._currentValue=b}function wd(a){var b=vd.current;F(vd,a);a.type._context._currentValue=
|
||||
b}function qb(a,b){lc=a;mc=Xa=null;a.firstContextDependency=null}function xf(a,b){if(mc!==a&&!1!==b&&0!==b){if("number"!==typeof b||1073741823===b)mc=a,b=1073741823;b={context:a,observedBits:b,next:null};null===Xa?(null===lc?n("293"):void 0,lc.firstContextDependency=Xa=b):Xa=Xa.next=b}return a._currentValue}function Ca(a){a===rb?n("174"):void 0;return a}function xd(a,b){L(sb,b,a);L(tb,a,a);L(U,rb,a);var c=b.nodeType;switch(c){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:id(null,"");break;
|
||||
default:c=8===c?b.parentNode:b,b=c.namespaceURI||null,c=c.tagName,b=id(b,c)}F(U,a);L(U,b,a)}function ua(a){F(U,a);F(tb,a);F(sb,a)}function yf(a){Ca(sb.current);var b=Ca(U.current);var c=id(b,a.type);b!==c&&(L(tb,a,a),L(U,c,a))}function yd(a){tb.current===a&&(F(U,a),F(tb,a))}function nc(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:E({},b,c);a.memoizedState=c;d=a.updateQueue;null!==d&&0===a.expirationTime&&(d.baseState=c)}function zf(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?
|
||||
a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!jb(c,d)||!jb(e,f):!0}function Af(a,b,c,d){var e=!1;d=X;var f=b.contextType;"object"===typeof f&&null!==f?f=oc.currentDispatcher.readContext(f):(d=M(b)?la:O.current,e=b.contextTypes,f=(e=null!==e&&void 0!==e)?Wa(a,d):X);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=pc;a.stateNode=b;b._reactInternalFiber=a;e&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=d,a.__reactInternalMemoizedMaskedChildContext=
|
||||
f);return b}function Bf(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&pc.enqueueReplaceState(b,b.state,null)}function zd(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs=Cf;var f=b.contextType;"object"===typeof f&&null!==f?e.context=oc.currentDispatcher.readContext(f):(f=M(b)?la:O.current,e.context=Wa(a,f));f=a.updateQueue;
|
||||
null!==f&&(pb(a,f,c,e,d),e.state=a.memoizedState);f=b.getDerivedStateFromProps;"function"===typeof f&&(nc(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state,"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&pc.enqueueReplaceState(e,
|
||||
e.state,null),f=a.updateQueue,null!==f&&(pb(a,f,c,e,d),e.state=a.memoizedState));"function"===typeof e.componentDidMount&&(a.effectTag|=4)}function ub(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;var d=void 0;c&&(1!==c.tag?n("289"):void 0,d=c.stateNode);d?void 0:n("147",a);var e=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===e)return b.ref;b=function(a){var b=d.refs;b===Cf&&(b=d.refs={});null===a?delete b[e]:b[e]=a};
|
||||
b._stringRef=e;return b}"string"!==typeof a?n("284"):void 0;c._owner?void 0:n("290",a)}return a}function qc(a,b){"textarea"!==a.type&&n("31","[object Object]"===Object.prototype.toString.call(b)?"object with keys {"+Object.keys(b).join(", ")+"}":b,"")}function Df(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,
|
||||
b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b,c){a=Aa(a,b,c);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.effectTag=2,c):d;b.effectTag=2;return c}function g(b){a&&null===b.alternate&&(b.effectTag=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=sd(c,a.mode,d),b.return=a,b;b=e(b,c,d);b.return=a;return b}function k(a,b,c,d){if(null!==b&&b.elementType===
|
||||
c.type)return d=e(b,c.props,d),d.ref=ub(a,b,c),d.return=a,d;d=fc(c.type,c.key,c.props,null,a.mode,d);d.ref=ub(a,b,c);d.return=a;return d}function l(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==c.implementation)return b=td(c,a.mode,d),b.return=a,b;b=e(b,c.children||[],d);b.return=a;return b}function m(a,b,c,d,f){if(null===b||7!==b.tag)return b=Ba(c,a.mode,d,f),b.return=a,b;b=e(b,c,d);b.return=a;return b}function p(a,b,c){if("string"===typeof b||
|
||||
"number"===typeof b)return b=sd(""+b,a.mode,c),b.return=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case rc:return c=fc(b.type,b.key,b.props,null,a.mode,c),c.ref=ub(a,null,b),c.return=a,c;case Va:return b=td(b,a.mode,c),b.return=a,b}if(sc(b)||gb(b))return b=Ba(b,a.mode,c,null),b.return=a,b;qc(a,b)}return null}function cb(a,b,c,d){var e=null!==b?b.key:null;if("string"===typeof c||"number"===typeof c)return null!==e?null:h(a,b,""+c,d);if("object"===typeof c&&null!==c){switch(c.$$typeof){case rc:return c.key===
|
||||
e?c.type===ta?m(a,b,c.props.children,d,e):k(a,b,c,d):null;case Va:return c.key===e?l(a,b,c,d):null}if(sc(c)||gb(c))return null!==e?null:m(a,b,c,d,null);qc(a,c)}return null}function r(a,b,c,d,e){if("string"===typeof d||"number"===typeof d)return a=a.get(c)||null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case rc:return a=a.get(null===d.key?c:d.key)||null,d.type===ta?m(b,a,d.props.children,e,d.key):k(b,a,d,e);case Va:return a=a.get(null===d.key?c:d.key)||null,l(b,a,d,e)}if(sc(d)||
|
||||
gb(d))return a=a.get(c)||null,m(b,a,d,e,null);qc(b,d)}return null}function u(e,g,h,k){for(var l=null,m=null,n=g,q=g=0,v=null;null!==n&&q<h.length;q++){n.index>q?(v=n,n=null):v=n.sibling;var t=cb(e,n,h[q],k);if(null===t){null===n&&(n=v);break}a&&n&&null===t.alternate&&b(e,n);g=f(t,g,q);null===m?l=t:m.sibling=t;m=t;n=v}if(q===h.length)return c(e,n),l;if(null===n){for(;q<h.length;q++)if(n=p(e,h[q],k))g=f(n,g,q),null===m?l=n:m.sibling=n,m=n;return l}for(n=d(e,n);q<h.length;q++)if(v=r(n,e,q,h[q],k))a&&
|
||||
null!==v.alternate&&n.delete(null===v.key?q:v.key),g=f(v,g,q),null===m?l=v:m.sibling=v,m=v;a&&n.forEach(function(a){return b(e,a)});return l}function H(e,g,h,k){var l=gb(h);"function"!==typeof l?n("150"):void 0;h=l.call(h);null==h?n("151"):void 0;for(var m=l=null,q=g,v=g=0,jc=null,t=h.next();null!==q&&!t.done;v++,t=h.next()){q.index>v?(jc=q,q=null):jc=q.sibling;var u=cb(e,q,t.value,k);if(null===u){q||(q=jc);break}a&&q&&null===u.alternate&&b(e,q);g=f(u,g,v);null===m?l=u:m.sibling=u;m=u;q=jc}if(t.done)return c(e,
|
||||
q),l;if(null===q){for(;!t.done;v++,t=h.next())t=p(e,t.value,k),null!==t&&(g=f(t,g,v),null===m?l=t:m.sibling=t,m=t);return l}for(q=d(e,q);!t.done;v++,t=h.next())t=r(q,e,v,t.value,k),null!==t&&(a&&null!==t.alternate&&q.delete(null===t.key?v:t.key),g=f(t,g,v),null===m?l=t:m.sibling=t,m=t);a&&q.forEach(function(a){return b(e,a)});return l}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===ta&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case rc:a:{l=
|
||||
f.key;for(k=d;null!==k;){if(k.key===l)if(7===k.tag?f.type===ta:k.elementType===f.type){c(a,k.sibling);d=e(k,f.type===ta?f.props.children:f.props,h);d.ref=ub(a,k,f);d.return=a;a=d;break a}else{c(a,k);break}else b(a,k);k=k.sibling}f.type===ta?(d=Ba(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=fc(f.type,f.key,f.props,null,a.mode,h),h.ref=ub(a,d,f),h.return=a,a=h)}return g(a);case Va:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===
|
||||
f.implementation){c(a,d.sibling);d=e(d,f.children||[],h);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=td(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f,h),d.return=a,a=d):(c(a,d),d=sd(f,a.mode,h),d.return=a,a=d),g(a);if(sc(f))return u(a,d,f,h);if(gb(f))return H(a,d,f,h);l&&qc(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 1:case 0:h=a.type,n("152",h.displayName||h.name||"Component")}return c(a,
|
||||
d)}}function Ef(a,b){var c=ma(5,null,null,0);c.elementType="DELETED";c.type="DELETED";c.stateNode=b;c.return=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}function Ff(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=""===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;default:return!1}}function Gf(a){if(Oa){var b=
|
||||
Ya;if(b){var c=b;if(!Ff(a,b)){b=md(c);if(!b||!Ff(a,b)){a.effectTag|=2;Oa=!1;va=a;return}Ef(va,c)}va=a;Ya=jf(b)}else a.effectTag|=2,Oa=!1,va=a}}function Hf(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag;)a=a.return;va=a}function Ad(a){if(a!==va)return!1;if(!Oa)return Hf(a),Oa=!0,!1;var b=a.type;if(5!==a.tag||"head"!==b&&"body"!==b&&!ld(b,a.memoizedProps))for(b=Ya;b;)Ef(a,b),b=md(b);Hf(a);Ya=va?md(a.stateNode):null;return!0}function Bd(){Ya=va=null;Oa=!1}function nh(a){var b=a._result;switch(a._status){case 1:return b;
|
||||
case 2:throw b;case 0:throw b;default:throw a._status=0,b=a._ctor,b=b(),b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)}),a._result=b,b;}}function Q(a,b,c,d){b.child=null===a?Cd(b,null,c,d):Da(b,a.child,c,d)}function If(a,b,c,d,e){c=c.render;var f=b.ref;if(!N.current&&b.memoizedProps===d&&f===(null!==a?a.ref:null))return ca(a,b,e);d=c(d,f);Q(a,b,d,e);return b.child}function Jf(a,b,c,d,e,f){if(null===a){var g=c.type;if("function"===
|
||||
typeof g&&!rd(g)&&void 0===g.defaultProps&&null===c.compare)return b.tag=15,b.type=g,Kf(a,b,g,d,e,f);a=fc(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(0===e||e>f)if(e=g.memoizedProps,c=c.compare,c=null!==c?c:jb,c(e,d)&&a.ref===b.ref)return ca(a,b,f);a=Aa(g,d,f);a.ref=b.ref;a.return=b;return b.child=a}function Kf(a,b,c,d,e,f){return null!==a&&(0===e||e>f)&&jb(a.memoizedProps,d)&&a.ref===b.ref?ca(a,b,f):Dd(a,b,c,d,f)}function Lf(a,b){var c=b.ref;if(null===a&&null!==
|
||||
c||null!==a&&a.ref!==c)b.effectTag|=128}function Dd(a,b,c,d,e){var f=M(c)?la:O.current;f=Wa(b,f);qb(b,e);c=c(d,f);b.effectTag|=1;Q(a,b,c,e);return b.child}function Mf(a,b,c,d,e){if(M(c)){var f=!0;ec(b)}else f=!1;qb(b,e);if(null===b.stateNode)null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),Af(b,c,d,e),zd(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,l=c.contextType;"object"===typeof l&&null!==l?l=oc.currentDispatcher.readContext(l):(l=M(c)?
|
||||
la:O.current,l=Wa(b,l));var m=c.getDerivedStateFromProps,n="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate;n||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Bf(b,g,d,l);P=!1;var p=b.memoizedState;k=g.state=p;var r=b.updateQueue;null!==r&&(pb(b,r,d,g,e),k=b.memoizedState);h!==d||p!==k||N.current||P?("function"===typeof m&&(nc(b,c,m,d),k=b.memoizedState),(h=P||zf(b,c,h,d,p,k,l))?(n||"function"!==typeof g.UNSAFE_componentWillMount&&
|
||||
"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.effectTag|=4)):("function"===typeof g.componentDidMount&&(b.effectTag|=4),b.memoizedProps=d,b.memoizedState=k),g.props=d,g.state=k,g.context=l,d=h):("function"===typeof g.componentDidMount&&(b.effectTag|=4),d=!1)}else g=b.stateNode,h=b.memoizedProps,g.props=h,k=g.context,
|
||||
l=c.contextType,"object"===typeof l&&null!==l?l=oc.currentDispatcher.readContext(l):(l=M(c)?la:O.current,l=Wa(b,l)),m=c.getDerivedStateFromProps,(n="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate)||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Bf(b,g,d,l),P=!1,k=b.memoizedState,p=g.state=k,r=b.updateQueue,null!==r&&(pb(b,r,d,g,e),p=b.memoizedState),h!==d||k!==p||N.current||P?("function"===typeof m&&(nc(b,
|
||||
c,m,d),p=b.memoizedState),(m=P||zf(b,c,h,d,k,p,l))?(n||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,p,l),"function"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,p,l)),"function"===typeof g.componentDidUpdate&&(b.effectTag|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.effectTag|=256)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===
|
||||
a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),b.memoizedProps=d,b.memoizedState=p),g.props=d,g.state=p,g.context=l,d=m):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),d=!1);return Ed(a,b,c,d,f,e)}function Ed(a,b,c,d,e,f){Lf(a,b);var g=0!==(b.effectTag&
|
||||
64);if(!d&&!g)return e&&mf(b,c,!1),ca(a,b,f);d=b.stateNode;oh.current=b;var h=g&&"function"!==typeof c.getDerivedStateFromError?null:d.render();b.effectTag|=1;null!==a&&g?(b.child=Da(b,a.child,null,f),b.child=Da(b,null,h,f)):Q(a,b,h,f);b.memoizedState=d.state;e&&mf(b,c,!0);return b.child}function Nf(a){var b=a.stateNode;b.pendingContext?kf(a,b.pendingContext,b.pendingContext!==b.context):b.context&&kf(a,b.context,!1);xd(a,b.containerInfo)}function oa(a,b){if(a&&a.defaultProps){b=E({},b);a=a.defaultProps;
|
||||
for(var c in a)void 0===b[c]&&(b[c]=a[c])}return b}function Of(a,b,c){var d=b.mode,e=b.pendingProps,f=b.memoizedState;null!==f&&(f.alreadyCaptured?null!==a&&f===a.memoizedState?f={alreadyCaptured:!0,didTimeout:!0,timedOutAt:f.timedOutAt}:(f.alreadyCaptured=!0,f.didTimeout=!0):f=null);var g=null!==f&&f.didTimeout;if(null===a)g?(g=e.fallback,e=Ba(null,d,0,null),d=Ba(g,d,c,null),e.sibling=d,c=e,c.return=d.return=b):c=d=Cd(b,null,e.children,c);else{var h=a.memoizedState;null!==h&&h.didTimeout?(d=a.child,
|
||||
a=d.sibling,g?(c=e.fallback,d=Aa(d,d.pendingProps,0),d.effectTag|=2,e=d.sibling=Aa(a,c,a.expirationTime),e.effectTag|=2,c=d,d.childExpirationTime=0,d=e,c.return=d.return=b):(g=a.child,d=Da(b,d.child,e.children,c),Da(b,g,null,c),c=d)):(a=a.child,g?(g=e.fallback,e=Ba(null,d,0,null),e.effectTag|=2,e.child=a,a.return=e,d=e.sibling=Ba(g,d,c,null),d.effectTag|=2,c=e,e.childExpirationTime=0,c.return=d.return=b):d=c=Da(b,a,e.children,c))}b.memoizedState=f;b.child=c;return d}function ca(a,b,c){null!==a&&(b.firstContextDependency=
|
||||
a.firstContextDependency);var d=b.childExpirationTime;if(0===d||d>c)return null;null!==a&&b.child!==a.child?n("153"):void 0;if(null!==b.child){a=b.child;c=Aa(a,a.pendingProps,a.expirationTime);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Aa(a,a.pendingProps,a.expirationTime),c.return=b;c.sibling=null}return b.child}function ph(a,b,c){var d=b.expirationTime;if(null!==a&&a.memoizedProps===b.pendingProps&&!N.current&&(0===d||d>c)){switch(b.tag){case 3:Nf(b);Bd();break;case 5:yf(b);
|
||||
break;case 1:M(b.type)&&ec(b);break;case 4:xd(b,b.stateNode.containerInfo);break;case 10:wf(b,b.memoizedProps.value);break;case 13:if(d=b.memoizedState,null!==d&&d.didTimeout){d=b.child.childExpirationTime;if(0!==d&&d<=c)return Of(a,b,c);b=ca(a,b,c);return null!==b?b.sibling:null}}return ca(a,b,c)}b.expirationTime=0;switch(b.tag){case 2:d=b.elementType;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;var e=Wa(b,O.current);qb(b,c);e=d(a,e);b.effectTag|=1;if("object"===
|
||||
typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof){b.tag=1;if(M(d)){var f=!0;ec(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;var g=d.getDerivedStateFromProps;"function"===typeof g&&nc(b,d,g,a);e.updater=pc;b.stateNode=e;e._reactInternalFiber=b;zd(b,d,a,c);b=Ed(null,b,d,!0,f,c)}else b.tag=0,Q(null,b,e,c),b=b.child;return b;case 16:e=b.elementType;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);f=b.pendingProps;a=nh(e);b.type=a;e=b.tag=
|
||||
mh(a);f=oa(a,f);g=void 0;switch(e){case 0:g=Dd(null,b,a,f,c);break;case 1:g=Mf(null,b,a,f,c);break;case 11:g=If(null,b,a,f,c);break;case 14:g=Jf(null,b,a,oa(a.type,f),d,c);break;default:n("283",a)}return g;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:oa(d,e),Dd(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:oa(d,e),Mf(a,b,d,e,c);case 3:Nf(b);d=b.updateQueue;null===d?n("282"):void 0;e=b.memoizedState;e=null!==e?e.element:null;pb(b,d,b.pendingProps,null,c);
|
||||
d=b.memoizedState.element;if(d===e)Bd(),b=ca(a,b,c);else{e=b.stateNode;if(e=(null===a||null===a.child)&&e.hydrate)Ya=jf(b.stateNode.containerInfo),va=b,e=Oa=!0;e?(b.effectTag|=2,b.child=Cd(b,null,d,c)):(Q(a,b,d,c),Bd());b=b.child}return b;case 5:return yf(b),null===a&&Gf(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,ld(d,e)?g=null:null!==f&&ld(d,f)&&(b.effectTag|=16),Lf(a,b),1073741823!==c&&b.mode&1&&e.hidden?(b.expirationTime=1073741823,b=null):(Q(a,b,g,c),b=b.child),
|
||||
b;case 6:return null===a&&Gf(b),null;case 13:return Of(a,b,c);case 4:return xd(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Da(b,null,d,c):Q(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:oa(d,e),If(a,b,d,e,c);case 7:return Q(a,b,b.pendingProps,c),b.child;case 8:return Q(a,b,b.pendingProps.children,c),b.child;case 12:return Q(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;wf(b,f);if(null!==
|
||||
g){var h=g.value;f=h===f&&(0!==h||1/h===1/f)||h!==h&&f!==f?0:("function"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0;if(0===f){if(g.children===e.children&&!N.current){b=ca(a,b,c);break a}}else for(g=b.child,null!==g&&(g.return=b);null!==g;){h=g.firstContextDependency;if(null!==h){do{if(h.context===d&&0!==(h.observedBits&f)){if(1===g.tag){var k=Y(c);k.tag=2;na(g,k)}if(0===g.expirationTime||g.expirationTime>c)g.expirationTime=c;k=g.alternate;null!==k&&(0===k.expirationTime||
|
||||
k.expirationTime>c)&&(k.expirationTime=c);for(var l=g.return;null!==l;){k=l.alternate;if(0===l.childExpirationTime||l.childExpirationTime>c)l.childExpirationTime=c,null!==k&&(0===k.childExpirationTime||k.childExpirationTime>c)&&(k.childExpirationTime=c);else if(null!==k&&(0===k.childExpirationTime||k.childExpirationTime>c))k.childExpirationTime=c;else break;l=l.return}}k=g.child;h=h.next}while(null!==h)}else k=10===g.tag?g.type===b.type?null:g.child:g.child;if(null!==k)k.return=g;else for(k=g;null!==
|
||||
k;){if(k===b){k=null;break}g=k.sibling;if(null!==g){g.return=k.return;k=g;break}k=k.return}g=k}}Q(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,f=b.pendingProps,d=f.children,qb(b,c),e=xf(e,f.unstable_observedBits),d=d(e),b.effectTag|=1,Q(a,b,d,c),b.child;case 14:return e=b.type,f=oa(e.type,b.pendingProps),Jf(a,b,e,f,d,c);case 15:return Kf(a,b,b.type,b.pendingProps,d,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:oa(d,e),null!==a&&(a.alternate=null,b.alternate=null,
|
||||
b.effectTag|=2),b.tag=1,M(d)?(a=!0,ec(b)):a=!1,qb(b,c),Af(b,d,e,c),zd(b,d,e,c),Ed(null,b,d,!0,a,c);default:n("156")}}function vb(a){a.effectTag|=4}function Pf(a,b){var c=b.source,d=b.stack;null===d&&null!==c&&(d=De(c));null!==c&&sa(c.type);b=b.value;null!==a&&1===a.tag&&sa(a.type);try{console.error(b)}catch(e){setTimeout(function(){throw e;})}}function Qf(a){var b=a.ref;if(null!==b)if("function"===typeof b)try{b(null)}catch(c){wb(a,c)}else b.current=null}function Rf(a){"function"===typeof qd&&qd(a);
|
||||
switch(a.tag){case 1:Qf(a);var b=a.stateNode;if("function"===typeof b.componentWillUnmount)try{b.props=a.memoizedProps,b.state=a.memoizedState,b.componentWillUnmount()}catch(c){wb(a,c)}break;case 5:Qf(a);break;case 4:Sf(a)}}function Tf(a){return 5===a.tag||3===a.tag||4===a.tag}function Uf(a){a:{for(var b=a.return;null!==b;){if(Tf(b)){var c=b;break a}b=b.return}n("160");c=void 0}var d=b=void 0;switch(c.tag){case 5:b=c.stateNode;d=!1;break;case 3:b=c.stateNode.containerInfo;d=!0;break;case 4:b=c.stateNode.containerInfo;
|
||||
d=!0;break;default:n("161")}c.effectTag&16&&(xb(b,""),c.effectTag&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||Tf(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag;){if(c.effectTag&2)continue b;if(null===c.child||4===c.tag)continue b;else c.child.return=c,c=c.child}if(!(c.effectTag&2)){c=c.stateNode;break a}}for(var e=a;;){if(5===e.tag||6===e.tag)if(c)if(d){var f=b,g=e.stateNode,h=c;8===f.nodeType?f.parentNode.insertBefore(g,h):
|
||||
f.insertBefore(g,h)}else b.insertBefore(e.stateNode,c);else d?(g=b,h=e.stateNode,8===g.nodeType?(f=g.parentNode,f.insertBefore(h,g)):(f=g,f.appendChild(h)),g=g._reactRootContainer,null!==g&&void 0!==g||null!==f.onclick||(f.onclick=cc)):b.appendChild(e.stateNode);else if(4!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===a)break;for(;null===e.sibling;){if(null===e.return||e.return===a)return;e=e.return}e.sibling.return=e.return;e=e.sibling}}function Sf(a){for(var b=a,c=!1,d=void 0,
|
||||
e=void 0;;){if(!c){c=b.return;a:for(;;){null===c?n("160"):void 0;switch(c.tag){case 5:d=c.stateNode;e=!1;break a;case 3:d=c.stateNode.containerInfo;e=!0;break a;case 4:d=c.stateNode.containerInfo;e=!0;break a}c=c.return}c=!0}if(5===b.tag||6===b.tag){a:for(var f=b,g=f;;)if(Rf(g),null!==g.child&&4!==g.tag)g.child.return=g,g=g.child;else{if(g===f)break;for(;null===g.sibling;){if(null===g.return||g.return===f)break a;g=g.return}g.sibling.return=g.return;g=g.sibling}e?(f=d,g=b.stateNode,8===f.nodeType?
|
||||
f.parentNode.removeChild(g):f.removeChild(g)):d.removeChild(b.stateNode)}else if(4===b.tag?(d=b.stateNode.containerInfo,e=!0):Rf(b),null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return;b=b.return;4===b.tag&&(c=!1)}b.sibling.return=b.return;b=b.sibling}}function Vf(a,b){switch(b.tag){case 1:break;case 5:var c=b.stateNode;if(null!=c){var d=b.memoizedProps,e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=
|
||||
null;if(null!==f){c[Ob]=d;"input"===a&&"radio"===d.type&&null!=d.name&&Ie(c,d);kd(a,e);b=kd(a,d);for(e=0;e<f.length;e+=2){var g=f[e],h=f[e+1];"style"===g?gf(c,h):"dangerouslySetInnerHTML"===g?Wf(c,h):"children"===g?xb(c,h):Xc(c,g,h,b)}switch(a){case "input":Zc(c,d);break;case "textarea":ef(c,d);break;case "select":a=c._wrapperState.wasMultiple,c._wrapperState.wasMultiple=!!d.multiple,f=d.value,null!=f?za(c,!!d.multiple,f,!1):a!==!!d.multiple&&(null!=d.defaultValue?za(c,!!d.multiple,d.defaultValue,
|
||||
!0):za(c,!!d.multiple,d.multiple?[]:"",!1))}}}break;case 6:null===b.stateNode?n("162"):void 0;b.stateNode.nodeValue=b.memoizedProps;break;case 3:break;case 12:break;case 13:break;case 17:break;default:n("163")}}function Fd(a,b,c){c=Y(c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Gd(d);Pf(a,b)};return c}function Xf(a,b,c){c=Y(c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)}}var f=a.stateNode;null!==
|
||||
f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){"function"!==typeof d&&(null===Za?Za=new Set([this]):Za.add(this));var c=b.value,e=b.stack;Pf(a,b);this.componentDidCatch(c,{componentStack:null!==e?e:""})});return c}function qh(a,b){switch(a.tag){case 1:return M(a.type)&&dc(a),b=a.effectTag,b&1024?(a.effectTag=b&-1025|64,a):null;case 3:return ua(a),od(a),b=a.effectTag,0!==(b&64)?n("285"):void 0,a.effectTag=b&-1025|64,a;case 5:return yd(a),null;case 13:b=a.effectTag;if(b&1024){a.effectTag=
|
||||
b&-1025|64;b=a.alternate;b=null!==b?b.memoizedState:null;var c=a.memoizedState;null===c?c={alreadyCaptured:!0,didTimeout:!1,timedOutAt:0}:b===c?c={alreadyCaptured:!0,didTimeout:c.didTimeout,timedOutAt:c.timedOutAt}:c.alreadyCaptured=!0;a.memoizedState=c;return a}return null;case 4:return ua(a),null;case 10:return wd(a),null;default:return null}}function Yf(){if(null!==B)for(var a=B.return;null!==a;){var b=a;switch(b.tag){case 1:var c=b.type.childContextTypes;null!==c&&void 0!==c&&dc(b);break;case 3:ua(b);
|
||||
od(b);break;case 5:yd(b);break;case 4:ua(b);break;case 10:wd(b)}a=a.return}pa=null;J=0;Z=-1;Hd=!1;B=null}function Zf(a){for(;;){var b=a.alternate,c=a.return,d=a.sibling;if(0===(a.effectTag&512)){var e=b;b=a;var f=b.pendingProps;switch(b.tag){case 2:break;case 16:break;case 15:case 0:break;case 1:M(b.type)&&dc(b);break;case 3:ua(b);od(b);f=b.stateNode;f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null);if(null===e||null===e.child)Ad(b),b.effectTag&=-3;Id(b);break;case 5:yd(b);var g=
|
||||
Ca(sb.current),h=b.type;if(null!==e&&null!=b.stateNode)$f(e,b,h,f,g),e.ref!==b.ref&&(b.effectTag|=128);else if(f){var k=Ca(U.current);if(Ad(b)){f=b;e=f.stateNode;var l=f.type,m=f.memoizedProps,p=g;e[V]=f;e[Ob]=m;h=void 0;g=l;switch(g){case "iframe":case "object":r("load",e);break;case "video":case "audio":for(l=0;l<nb.length;l++)r(nb[l],e);break;case "source":r("error",e);break;case "img":case "image":case "link":r("error",e);r("load",e);break;case "form":r("reset",e);r("submit",e);break;case "details":r("toggle",
|
||||
e);break;case "input":He(e,m);r("invalid",e);T(p,"onChange");break;case "select":e._wrapperState={wasMultiple:!!m.multiple};r("invalid",e);T(p,"onChange");break;case "textarea":df(e,m),r("invalid",e),T(p,"onChange")}jd(g,m);l=null;for(h in m)m.hasOwnProperty(h)&&(k=m[h],"children"===h?"string"===typeof k?e.textContent!==k&&(l=["children",k]):"number"===typeof k&&e.textContent!==""+k&&(l=["children",""+k]):Ta.hasOwnProperty(h)&&null!=k&&T(p,h));switch(g){case "input":Ub(e);Je(e,m,!0);break;case "textarea":Ub(e);
|
||||
h=e.textContent;h===e._wrapperState.initialValue&&(e.value=h);break;case "select":case "option":break;default:"function"===typeof m.onClick&&(e.onclick=cc)}h=l;f.updateQueue=h;f=null!==h?!0:!1;f&&vb(b)}else{m=b;e=h;p=f;l=9===g.nodeType?g:g.ownerDocument;"http://www.w3.org/1999/xhtml"===k&&(k=ff(e));"http://www.w3.org/1999/xhtml"===k?"script"===e?(e=l.createElement("div"),e.innerHTML="<script>\x3c/script>",l=e.removeChild(e.firstChild)):"string"===typeof p.is?l=l.createElement(e,{is:p.is}):(l=l.createElement(e),
|
||||
"select"===e&&p.multiple&&(l.multiple=!0)):l=l.createElementNS(k,e);e=l;e[V]=m;e[Ob]=f;ag(e,b,!1,!1);m=e;l=h;p=f;var cb=g,x=kd(l,p);switch(l){case "iframe":case "object":r("load",m);g=p;break;case "video":case "audio":for(g=0;g<nb.length;g++)r(nb[g],m);g=p;break;case "source":r("error",m);g=p;break;case "img":case "image":case "link":r("error",m);r("load",m);g=p;break;case "form":r("reset",m);r("submit",m);g=p;break;case "details":r("toggle",m);g=p;break;case "input":He(m,p);g=Yc(m,p);r("invalid",
|
||||
m);T(cb,"onChange");break;case "option":g=gd(m,p);break;case "select":m._wrapperState={wasMultiple:!!p.multiple};g=E({},p,{value:void 0});r("invalid",m);T(cb,"onChange");break;case "textarea":df(m,p);g=hd(m,p);r("invalid",m);T(cb,"onChange");break;default:g=p}jd(l,g);k=void 0;var u=l,H=m,v=g;for(k in v)if(v.hasOwnProperty(k)){var q=v[k];"style"===k?gf(H,q):"dangerouslySetInnerHTML"===k?(q=q?q.__html:void 0,null!=q&&Wf(H,q)):"children"===k?"string"===typeof q?("textarea"!==u||""!==q)&&xb(H,q):"number"===
|
||||
typeof q&&xb(H,""+q):"suppressContentEditableWarning"!==k&&"suppressHydrationWarning"!==k&&"autoFocus"!==k&&(Ta.hasOwnProperty(k)?null!=q&&T(cb,k):null!=q&&Xc(H,k,q,x))}switch(l){case "input":Ub(m);Je(m,p,!1);break;case "textarea":Ub(m);g=m.textContent;g===m._wrapperState.initialValue&&(m.value=g);break;case "option":null!=p.value&&m.setAttribute("value",""+S(p.value));break;case "select":g=m;m=p;g.multiple=!!m.multiple;p=m.value;null!=p?za(g,!!m.multiple,p,!1):null!=m.defaultValue&&za(g,!!m.multiple,
|
||||
m.defaultValue,!0);break;default:"function"===typeof g.onClick&&(m.onclick=cc)}(f=hf(h,f))&&vb(b);b.stateNode=e}null!==b.ref&&(b.effectTag|=128)}else null===b.stateNode?n("166"):void 0;break;case 6:e&&null!=b.stateNode?bg(e,b,e.memoizedProps,f):("string"!==typeof f&&(null===b.stateNode?n("166"):void 0),e=Ca(sb.current),Ca(U.current),Ad(b)?(f=b,h=f.stateNode,e=f.memoizedProps,h[V]=f,(f=h.nodeValue!==e)&&vb(b)):(h=b,f=(9===e.nodeType?e:e.ownerDocument).createTextNode(f),f[V]=b,h.stateNode=f));break;
|
||||
case 11:break;case 13:f=b.memoizedState;h=null!==e?e.memoizedState:null;(null!==f&&f.didTimeout)!==(null!==h&&h.didTimeout)&&(b.effectTag|=4);break;case 7:break;case 8:break;case 12:break;case 4:ua(b);Id(b);break;case 10:wd(b);break;case 9:break;case 14:break;case 17:M(b.type)&&dc(b);break;default:n("156")}B=null;b=a;if(1073741823===J||1073741823!==b.childExpirationTime){f=0;for(h=b.child;null!==h;){e=h.expirationTime;g=h.childExpirationTime;if(0===f||0!==e&&e<f)f=e;if(0===f||0!==g&&g<f)f=g;h=h.sibling}b.childExpirationTime=
|
||||
f}null!==c&&0===(c.effectTag&512)&&(null===c.firstEffect&&(c.firstEffect=a.firstEffect),null!==a.lastEffect&&(null!==c.lastEffect&&(c.lastEffect.nextEffect=a.firstEffect),c.lastEffect=a.lastEffect),1<a.effectTag&&(null!==c.lastEffect?c.lastEffect.nextEffect=a:c.firstEffect=a,c.lastEffect=a))}else{a=qh(a,J);if(null!==a)return a.effectTag&=511,a;null!==c&&(c.firstEffect=c.lastEffect=null,c.effectTag|=512)}if(null!==d)return d;if(null!==c)a=c;else break}return null}function cg(a){var b=ph(a.alternate,
|
||||
a,J);a.memoizedProps=a.pendingProps;null===b&&(b=Zf(a));tc.current=null;return b}function dg(a,b,c){Pa?n("243"):void 0;Pa=!0;tc.currentDispatcher=rh;var d=a.nextExpirationTimeToWorkOn;if(d!==J||a!==pa||null===B)Yf(),pa=a,J=d,B=Aa(pa.current,null,J),a.pendingCommitExpirationTime=0;var e=!1;do{try{if(b)for(;null!==B&&!Jd();)B=cg(B);else for(;null!==B;)B=cg(B)}catch(H){if(null===B)e=!0,Gd(H);else{null===B?n("271"):void 0;var f=B,g=f.return;if(null===g)e=!0,Gd(H);else{a:{var h=a,k=g,l=f,m=H;g=J;l.effectTag|=
|
||||
512;l.firstEffect=l.lastEffect=null;if(null!==m&&"object"===typeof m&&"function"===typeof m.then){var p=m;m=k;var r=-1,x=-1;do{if(13===m.tag){var u=m.alternate;if(null!==u&&(u=u.memoizedState,null!==u&&u.didTimeout)){x=10*(u.timedOutAt-2);break}u=m.pendingProps.maxDuration;if("number"===typeof u)if(0>=u)r=0;else if(-1===r||u<r)r=u}m=m.return}while(null!==m);m=k;do{if(u=13===m.tag)void 0===m.memoizedProps.fallback?u=!1:(u=m.memoizedState,u=null===u||!u.didTimeout);if(u){k=sh.bind(null,h,m,l,0===(m.mode&
|
||||
1)?1:g);p.then(k,k);if(0===(m.mode&1)){m.effectTag|=32;Q(l.alternate,l,null,g);l.effectTag&=-513;1===l.tag&&(l.effectTag&=-421,null===l.alternate&&(l.tag=17));break a}-1===r?h=1073741823:(-1===x&&(x=10*(qf(h,g)-2)-5E3),h=x+r);0<=h&&Z<h&&(Z=h);m.effectTag|=1024;m.expirationTime=g;break a}m=m.return}while(null!==m);m=Error("An update was suspended, but no placeholder UI was provided.")}Hd=!0;m=kc(m,l);h=k;do{switch(h.tag){case 3:l=m;h.effectTag|=1024;h.expirationTime=g;g=Fd(h,l,g);rf(h,g);break a;case 1:if(l=
|
||||
m,k=h.type,p=h.stateNode,0===(h.effectTag&64)&&("function"===typeof k.getDerivedStateFromError||null!==p&&"function"===typeof p.componentDidCatch&&(null===Za||!Za.has(p)))){h.effectTag|=1024;h.expirationTime=g;g=Xf(h,l,g);rf(h,g);break a}}h=h.return}while(null!==h)}B=Zf(f);continue}}}break}while(1);Pa=!1;mc=Xa=lc=tc.currentDispatcher=null;if(e)pa=null,a.finishedWork=null;else if(null!==B)a.finishedWork=null;else{b=a.current.alternate;null===b?n("281"):void 0;pa=null;if(Hd){e=a.latestPendingTime;f=
|
||||
a.latestSuspendedTime;g=a.latestPingedTime;if(0!==e&&e>d||0!==f&&f>d||0!==g&&g>d){pf(a,d);Kd(a,b,d,a.expirationTime,-1);return}if(!a.didError&&!c){a.didError=!0;d=a.nextExpirationTimeToWorkOn=d;c=a.expirationTime=1;Kd(a,b,d,c,-1);return}}c||-1===Z?(a.pendingCommitExpirationTime=d,a.finishedWork=b):(pf(a,d),c=10*(qf(a,d)-2),c<Z&&(Z=c),c=10*($a()-2),c=Z-c,Kd(a,b,d,a.expirationTime,0>c?0:c))}}function wb(a,b){var c;a:{Pa&&!yb?n("263"):void 0;for(c=a.return;null!==c;){switch(c.tag){case 1:var d=c.stateNode;
|
||||
if("function"===typeof c.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===Za||!Za.has(d))){a=kc(b,a);a=Xf(c,a,1);na(c,a);ab(c,1);c=void 0;break a}break;case 3:a=kc(b,a);a=Fd(c,a,1);na(c,a);ab(c,1);c=void 0;break a}c=c.return}3===a.tag&&(c=kc(b,a),c=Fd(a,c,1),na(a,c),ab(a,1));c=void 0}return c}function zb(a,b){0!==Ab?a=Ab:Pa?a=yb?1:J:b.mode&1?(a=wa?2+10*(((a-2+15)/10|0)+1):2+25*(((a-2+500)/25|0)+1),null!==pa&&a===J&&(a+=1)):a=1;wa&&a>qa&&(qa=a);return a}function sh(a,
|
||||
b,c,d){var e=a.earliestSuspendedTime;var f=a.latestSuspendedTime;if(0!==e&&d>=e&&d<=f){f=e=d;a.didError=!1;var g=a.latestPingedTime;if(0===g||g<f)a.latestPingedTime=f;gc(f,a)}else e=$a(),e=zb(e,b),ob(a,e);0!==(b.mode&1)&&a===pa&&J===d&&(pa=null);Ld(b,e);0===(b.mode&1)&&(Ld(c,e),1===c.tag&&null!==c.stateNode&&(b=Y(e),b.tag=2,na(c,b)));c=a.expirationTime;0!==c&&eg(a,c)}function Ld(a,b){if(0===a.expirationTime||a.expirationTime>b)a.expirationTime=b;var c=a.alternate;null!==c&&(0===c.expirationTime||
|
||||
c.expirationTime>b)&&(c.expirationTime=b);var d=a.return,e=null;if(null===d&&3===a.tag)e=a.stateNode;else for(;null!==d;){c=d.alternate;if(0===d.childExpirationTime||d.childExpirationTime>b)d.childExpirationTime=b;null!==c&&(0===c.childExpirationTime||c.childExpirationTime>b)&&(c.childExpirationTime=b);if(null===d.return&&3===d.tag){e=d.stateNode;break}d=d.return}return null===e?null:e}function ab(a,b){a=Ld(a,b);null!==a&&(!Pa&&0!==J&&b<J&&Yf(),ob(a,b),Pa&&!yb&&pa===a||eg(a,a.expirationTime),Bb>th&&
|
||||
(Bb=0,n("185")))}function fg(a,b,c,d,e){var f=Ab;Ab=1;try{return a(b,c,d,e)}finally{Ab=f}}function Cb(){da=((Md()-Nd)/10|0)+2}function gg(a,b){if(0!==uc){if(b>uc)return;null!==vc&&uh(vc)}uc=b;a=Md()-Nd;vc=vh(wh,{timeout:10*(b-2)-a})}function Kd(a,b,c,d,e){a.expirationTime=d;0!==e||Jd()?0<e&&(a.timeoutHandle=xh(yh.bind(null,a,b,c),e)):(a.pendingCommitExpirationTime=c,a.finishedWork=b)}function yh(a,b,c){a.pendingCommitExpirationTime=c;a.finishedWork=b;Cb();Qa=da;hg(a,c)}function $a(){if(I)return Qa;
|
||||
wc();if(0===A||1073741823===A)Cb(),Qa=da;return Qa}function eg(a,b){if(null===a.nextScheduledRoot)a.expirationTime=b,null===w?(ea=w=a,a.nextScheduledRoot=a):(w=w.nextScheduledRoot=a,w.nextScheduledRoot=ea);else{var c=a.expirationTime;if(0===c||b<c)a.expirationTime=b}I||(C?xc&&(aa=a,A=1,yc(a,1,!0)):1===b?R(1,null):gg(a,b))}function wc(){var a=0,b=null;if(null!==w)for(var c=w,d=ea;null!==d;){var e=d.expirationTime;if(0===e){null===c||null===w?n("244"):void 0;if(d===d.nextScheduledRoot){ea=w=d.nextScheduledRoot=
|
||||
null;break}else if(d===ea)ea=e=d.nextScheduledRoot,w.nextScheduledRoot=e,d.nextScheduledRoot=null;else if(d===w){w=c;w.nextScheduledRoot=ea;d.nextScheduledRoot=null;break}else c.nextScheduledRoot=d.nextScheduledRoot,d.nextScheduledRoot=null;d=c.nextScheduledRoot}else{if(0===a||e<a)a=e,b=d;if(d===w)break;if(1===a)break;c=d;d=d.nextScheduledRoot}}aa=b;A=a}function wh(a){if(a.didTimeout&&null!==ea){Cb();var b=ea;do{var c=b.expirationTime;0!==c&&da>=c&&(b.nextExpirationTimeToWorkOn=da);b=b.nextScheduledRoot}while(b!==
|
||||
ea)}R(0,a)}function R(a,b){Ea=b;wc();if(null!==Ea)for(Cb(),Qa=da;null!==aa&&0!==A&&(0===a||a>=A)&&(!zc||da>=A);)yc(aa,A,da>=A),wc(),Cb(),Qa=da;else for(;null!==aa&&0!==A&&(0===a||a>=A);)yc(aa,A,!0),wc();null!==Ea&&(uc=0,vc=null);0!==A&&gg(aa,A);Ea=null;zc=!1;Bb=0;Od=null;if(null!==db)for(a=db,db=null,b=0;b<a.length;b++){var c=a[b];try{c._onComplete()}catch(d){Fa||(Fa=!0,Ac=d)}}if(Fa)throw a=Ac,Ac=null,Fa=!1,a;}function hg(a,b){I?n("253"):void 0;aa=a;A=b;yc(a,b,!0);R(1,null)}function yc(a,b,c){I?n("245"):
|
||||
void 0;I=!0;if(null===Ea||c){var d=a.finishedWork;null!==d?Bc(a,d,b):(a.finishedWork=null,d=a.timeoutHandle,-1!==d&&(a.timeoutHandle=-1,ig(d)),dg(a,!1,c),d=a.finishedWork,null!==d&&Bc(a,d,b))}else d=a.finishedWork,null!==d?Bc(a,d,b):(a.finishedWork=null,d=a.timeoutHandle,-1!==d&&(a.timeoutHandle=-1,ig(d)),dg(a,!0,c),d=a.finishedWork,null!==d&&(Jd()?a.finishedWork=d:Bc(a,d,b)));I=!1}function Bc(a,b,c){var d=a.firstBatch;if(null!==d&&d._expirationTime<=c&&(null===db?db=[d]:db.push(d),d._defer)){a.finishedWork=
|
||||
b;a.expirationTime=0;return}a.finishedWork=null;a===Od?Bb++:(Od=a,Bb=0);yb=Pa=!0;a.current===b?n("177"):void 0;var e=a.pendingCommitExpirationTime;0===e?n("261"):void 0;a.pendingCommitExpirationTime=0;var f=b.expirationTime,g=b.childExpirationTime,h=0===f||0!==g&&g<f?g:f;a.didError=!1;if(0===h)a.earliestPendingTime=0,a.latestPendingTime=0,a.earliestSuspendedTime=0,a.latestSuspendedTime=0,a.latestPingedTime=0;else{var k=a.latestPendingTime;0!==k&&(k<h?a.earliestPendingTime=a.latestPendingTime=0:a.earliestPendingTime<
|
||||
h&&(a.earliestPendingTime=a.latestPendingTime));var l=a.earliestSuspendedTime;0===l?ob(a,h):h>a.latestSuspendedTime?(a.earliestSuspendedTime=0,a.latestSuspendedTime=0,a.latestPingedTime=0,ob(a,h)):h<l&&ob(a,h)}gc(0,a);tc.current=null;if(1<b.effectTag)if(null!==b.lastEffect){b.lastEffect.nextEffect=b;var m=b.firstEffect}else m=b;else m=b.firstEffect;Pd=$b;var r=af();if(dd(r)){if("selectionStart"in r)var x={start:r.selectionStart,end:r.selectionEnd};else a:{var B=r.ownerDocument,u=B&&B.defaultView||
|
||||
window,H=u.getSelection&&u.getSelection();if(H&&0!==H.rangeCount){var v=H.anchorNode,q=H.anchorOffset,t=H.focusNode,E=H.focusOffset;try{v.nodeType,t.nodeType}catch(eb){x=null;break a}var A=0,C=-1,F=-1,M=0,O=0,w=r,D=null;b:for(;;){for(var G;;){w!==v||0!==q&&3!==w.nodeType||(C=A+q);w!==t||0!==E&&3!==w.nodeType||(F=A+E);3===w.nodeType&&(A+=w.nodeValue.length);if(null===(G=w.firstChild))break;D=w;w=G}for(;;){if(w===r)break b;D===v&&++M===q&&(C=A);D===t&&++O===E&&(F=A);if(null!==(G=w.nextSibling))break;
|
||||
w=D;D=w.parentNode}w=G}x=-1===C||-1===F?null:{start:C,end:F}}else x=null}var L=x||{start:0,end:0}}else L=null;Qd={focusedElem:r,selectionRange:L};$b=!1;for(p=m;null!==p;){var N=!1,Q=void 0;try{for(;null!==p;){if(p.effectTag&256){var J=p.alternate;a:{var I=p;switch(I.tag){case 1:if(I.effectTag&256&&null!==J){var ba=J.memoizedProps,ma=J.memoizedState,U=I.stateNode;U.props=I.memoizedProps;U.state=I.memoizedState;var pa=U.getSnapshotBeforeUpdate(ba,ma);U.__reactInternalSnapshotBeforeUpdate=pa}break a;
|
||||
case 3:case 5:case 6:case 4:case 17:break a;default:n("163")}}}p=p.nextEffect}}catch(eb){N=!0,Q=eb}N&&(null===p?n("178"):void 0,wb(p,Q),null!==p&&(p=p.nextEffect))}for(p=m;null!==p;){var da=!1,ea=void 0;try{for(;null!==p;){var aa=p.effectTag;aa&16&&xb(p.stateNode,"");if(aa&128){var fa=p.alternate;if(null!==fa){var V=fa.ref;null!==V&&("function"===typeof V?V(null):V.current=null)}}switch(aa&14){case 2:Uf(p);p.effectTag&=-3;break;case 6:Uf(p);p.effectTag&=-3;Vf(p.alternate,p);break;case 4:Vf(p.alternate,
|
||||
p);break;case 8:var ha=p;Sf(ha);var T=ha;T.return=null;T.child=null;T.alternate&&(T.alternate.child=null,T.alternate.return=null)}p=p.nextEffect}}catch(eb){da=!0,ea=eb}da&&(null===p?n("178"):void 0,wb(p,ea),null!==p&&(p=p.nextEffect))}var na=Qd,va=af(),K=na.focusedElem,R=na.selectionRange;if(va!==K&&K&&K.ownerDocument&&$e(K.ownerDocument.documentElement,K)){if(null!==R&&dd(K)){var ra=R.start,ia=R.end;void 0===ia&&(ia=ra);if("selectionStart"in K)K.selectionStart=ra,K.selectionEnd=Math.min(ia,K.value.length);
|
||||
else{var ka=K.ownerDocument||document,Ga=(ka&&ka.defaultView||window).getSelection(),ta=K.textContent.length,S=Math.min(R.start,ta),X=void 0===R.end?S:Math.min(R.end,ta);if(!Ga.extend&&S>X){var Ba=X;X=S;S=Ba}var Y=Ze(K,S),P=Ze(K,X);if(Y&&P&&(1!==Ga.rangeCount||Ga.anchorNode!==Y.node||Ga.anchorOffset!==Y.offset||Ga.focusNode!==P.node||Ga.focusOffset!==P.offset)){var ca=ka.createRange();ca.setStart(Y.node,Y.offset);Ga.removeAllRanges();S>X?(Ga.addRange(ca),Ga.extend(P.node,P.offset)):(ca.setEnd(P.node,
|
||||
P.offset),Ga.addRange(ca))}}}for(var qa=[],W=K;W=W.parentNode;)1===W.nodeType&&qa.push({element:W,left:W.scrollLeft,top:W.scrollTop});"function"===typeof K.focus&&K.focus();for(var sa=0;sa<qa.length;sa++){var la=qa[sa];la.element.scrollLeft=la.left;la.element.scrollTop=la.top}}Qd=null;$b=!!Pd;Pd=null;a.current=b;for(p=m;null!==p;){var Aa=!1,Ca=void 0;try{for(var Oa=e;null!==p;){var Da=p.effectTag;if(Da&36){var oa=void 0,Z=p.alternate,y=p,Ea=Oa;switch(y.tag){case 1:var Ha=y.stateNode;if(y.effectTag&
|
||||
4)if(null===Z)Ha.props=y.memoizedProps,Ha.state=y.memoizedState,Ha.componentDidMount();else{var Sa=Z.memoizedProps,Ta=Z.memoizedState;Ha.props=y.memoizedProps;Ha.state=y.memoizedState;Ha.componentDidUpdate(Sa,Ta,Ha.__reactInternalSnapshotBeforeUpdate)}var Ka=y.updateQueue;null!==Ka&&(Ha.props=y.memoizedProps,Ha.state=y.memoizedState,uf(y,Ka,Ha,Ea));break;case 3:var La=y.updateQueue;if(null!==La){var xa=null;if(null!==y.child)switch(y.child.tag){case 5:xa=y.child.stateNode;break;case 1:xa=y.child.stateNode}uf(y,
|
||||
La,xa,Ea)}break;case 5:var Ua=y.stateNode;null===Z&&y.effectTag&4&&hf(y.type,y.memoizedProps)&&Ua.focus();break;case 6:break;case 4:break;case 12:break;case 13:if(y.effectTag&32){y.memoizedState={alreadyCaptured:!0,didTimeout:!1,timedOutAt:0};ab(y,1);break}var Ma=null!==Z?Z.memoizedState:null,ja=y.memoizedState,Va=null!==Ma?Ma.didTimeout:!1,ya=y;if(null===ja)oa=!1;else if(oa=ja.didTimeout)ya=y.child,ja.alreadyCaptured=!1,0===ja.timedOutAt&&(ja.timedOutAt=$a());if(oa!==Va&&null!==ya)a:for(var za=ya,
|
||||
Na=oa,z=za;;){if(5===z.tag){var Wa=z.stateNode;if(Na)Wa.style.display="none";else{var Xa=z.stateNode,ua=z.memoizedProps.style,Ya=void 0!==ua&&null!==ua&&ua.hasOwnProperty("display")?ua.display:null;Xa.style.display=Ya}}else if(6===z.tag)z.stateNode.nodeValue=Na?"":z.memoizedProps;else if(null!==z.child){z.child.return=z;z=z.child;continue}if(z===za)break a;for(;null===z.sibling;){if(null===z.return||z.return===za)break a;z=z.return}z.sibling.return=z.return;z=z.sibling}break;case 17:break;default:n("163")}}if(Da&
|
||||
128){var wa=p.ref;if(null!==wa){var Qa=p.stateNode;switch(p.tag){case 5:var Fa=Qa;break;default:Fa=Qa}"function"===typeof wa?wa(Fa):wa.current=Fa}}var bb=p.nextEffect;p.nextEffect=null;p=bb}}catch(eb){Aa=!0,Ca=eb}Aa&&(null===p?n("178"):void 0,wb(p,Ca),null!==p&&(p=p.nextEffect))}Pa=yb=!1;"function"===typeof pd&&pd(b.stateNode);var Ia=b.expirationTime,Ja=b.childExpirationTime,Ra=0===Ia||0!==Ja&&Ja<Ia?Ja:Ia;0===Ra&&(Za=null);a.expirationTime=Ra;a.finishedWork=null}function Jd(){return zc?!0:null===
|
||||
Ea||Ea.timeRemaining()>zh?!1:zc=!0}function Gd(a){null===aa?n("246"):void 0;aa.expirationTime=0;Fa||(Fa=!0,Ac=a)}function jg(a,b){var c=C;C=!0;try{return a(b)}finally{(C=c)||I||R(1,null)}}function kg(a,b){if(C&&!xc){xc=!0;try{return a(b)}finally{xc=!1}}return a(b)}function lg(a,b,c){if(wa)return a(b,c);C||I||0===qa||(R(qa,null),qa=0);var d=wa,e=C;C=wa=!0;try{return a(b,c)}finally{wa=d,(C=e)||I||R(1,null)}}function mg(a,b,c,d,e){var f=b.current;a:if(c){c=c._reactInternalFiber;b:{2===kb(c)&&1===c.tag?
|
||||
void 0:n("170");var g=c;do{switch(g.tag){case 3:g=g.stateNode.context;break b;case 1:if(M(g.type)){g=g.stateNode.__reactInternalMemoizedMergedChildContext;break b}}g=g.return}while(null!==g);n("171");g=void 0}if(1===c.tag){var h=c.type;if(M(h)){c=lf(c,h,g);break a}}c=g}else c=X;null===b.context?b.context=c:b.pendingContext=c;b=e;e=Y(d);e.payload={element:a};b=void 0===b?null:b;null!==b&&(e.callback=b);na(f,e);ab(f,d);return d}function Rd(a,b,c,d){var e=b.current,f=$a();e=zb(f,e);return mg(a,b,c,e,
|
||||
d)}function Sd(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function Ah(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Va,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}}function Db(a){var b=2+25*((($a()-2+500)/25|0)+1);b<=Td&&(b=Td+1);this._expirationTime=Td=b;this._root=a;this._callbacks=this._next=null;this._hasChildren=this._didComplete=!1;this._children=
|
||||
null;this._defer=!0}function bb(){this._callbacks=null;this._didCommit=!1;this._onCommit=this._onCommit.bind(this)}function Ia(a,b,c){b=ma(3,null,null,b?3:0);a={current:b,containerInfo:a,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:c,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null};
|
||||
this._internalRoot=b.stateNode=a}function Cc(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function Bh(a,b){b||(b=a?9===a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||1!==b.nodeType||!b.hasAttribute("data-reactroot")));if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new Ia(a,!1,b)}function Dc(a,b,c,d,e){Cc(c)?void 0:n("200");var f=c._reactRootContainer;if(f){if("function"===typeof e){var g=e;e=function(){var a=
|
||||
Sd(f._internalRoot);g.call(a)}}null!=a?f.legacy_renderSubtreeIntoContainer(a,b,e):f.render(b,e)}else{f=c._reactRootContainer=Bh(c,d);if("function"===typeof e){var h=e;e=function(){var a=Sd(f._internalRoot);h.call(a)}}kg(function(){null!=a?f.legacy_renderSubtreeIntoContainer(a,b,e):f.render(b,e)})}return Sd(f._internalRoot)}function ng(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;Cc(b)?void 0:n("200");return Ah(a,b,null,c)}fa?void 0:n("227");var Eg=function(a,b,c,d,e,f,g,
|
||||
h,k){var l=Array.prototype.slice.call(arguments,3);try{b.apply(c,l)}catch(m){this.onError(m)}},Ra=!1,Ib=null,Jb=!1,Fc=null,Fg={onError:function(a){Ra=!0;Ib=a}},Kb=null,Sa={},Lb=[],Gc={},Ta={},Hc={},Ic=null,pe=null,ce=null,fb=null,og=function(a,b){if(a){var c=a._dispatchListeners,d=a._dispatchInstances;if(Array.isArray(c))for(var e=0;e<c.length&&!a.isPropagationStopped();e++)be(a,b,c[e],d[e]);else c&&be(a,b,c,d);a._dispatchListeners=null;a._dispatchInstances=null;a.isPersistent()||a.constructor.release(a)}},
|
||||
Hg=function(a){return og(a,!0)},Ig=function(a){return og(a,!1)},Ud={injectEventPluginOrder:function(a){Kb?n("101"):void 0;Kb=Array.prototype.slice.call(a);$d()},injectEventPluginsByName:function(a){var b=!1,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];Sa.hasOwnProperty(c)&&Sa[c]===d||(Sa[c]?n("102",c):void 0,Sa[c]=d,b=!0)}b&&$d()}},pg=Math.random().toString(36).slice(2),V="__reactInternalInstance$"+pg,Ob="__reactEventHandlers$"+pg,ka=!("undefined"===typeof window||!window.document||!window.document.createElement),
|
||||
xa={animationend:Pb("Animation","AnimationEnd"),animationiteration:Pb("Animation","AnimationIteration"),animationstart:Pb("Animation","AnimationStart"),transitionend:Pb("Transition","TransitionEnd")},Mc={},ge={};ka&&(ge=document.createElement("div").style,"AnimationEvent"in window||(delete xa.animationend.animation,delete xa.animationiteration.animation,delete xa.animationstart.animation),"TransitionEvent"in window||delete xa.transitionend.transition);var qg=Qb("animationend"),rg=Qb("animationiteration"),
|
||||
sg=Qb("animationstart"),tg=Qb("transitionend"),nb="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ia=null,Nc=null,Rb=null,E=fa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign;E(D.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==
|
||||
typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=Sb)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=Sb)},persist:function(){this.isPersistent=Sb},isPersistent:Tb,destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=Tb;this._dispatchInstances=
|
||||
this._dispatchListeners=null}});D.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};D.extend=function(a){function b(){return c.apply(this,arguments)}var c=this,d=function(){};d.prototype=c.prototype;d=new d;E(d,b.prototype);b.prototype=d;b.prototype.constructor=b;b.Interface=E({},c.Interface,a);b.extend=c.extend;ie(b);return b};ie(D);var Ch=
|
||||
D.extend({data:null}),Dh=D.extend({data:null}),Ng=[9,13,27,32],Oc=ka&&"CompositionEvent"in window,Eb=null;ka&&"documentMode"in document&&(Eb=document.documentMode);var Eh=ka&&"TextEvent"in window&&!Eb,ne=ka&&(!Oc||Eb&&8<Eb&&11>=Eb),me=String.fromCharCode(32),ra={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},
|
||||
dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},le=!1,Ua=!1,Fh={eventTypes:ra,extractEvents:function(a,
|
||||
b,c,d){var e=void 0;var f=void 0;if(Oc)b:{switch(a){case "compositionstart":e=ra.compositionStart;break b;case "compositionend":e=ra.compositionEnd;break b;case "compositionupdate":e=ra.compositionUpdate;break b}e=void 0}else Ua?je(a,c)&&(e=ra.compositionEnd):"keydown"===a&&229===c.keyCode&&(e=ra.compositionStart);e?(ne&&"ko"!==c.locale&&(Ua||e!==ra.compositionStart?e===ra.compositionEnd&&Ua&&(f=he()):(ia=d,Nc="value"in ia?ia.value:ia.textContent,Ua=!0)),e=Ch.getPooled(e,b,c,d),f?e.data=f:(f=ke(c),
|
||||
null!==f&&(e.data=f)),La(e),f=e):f=null;(a=Eh?Og(a,c):Pg(a,c))?(b=Dh.getPooled(ra.beforeInput,b,c,d),b.data=a,La(b)):b=null;return null===f?b:null===b?f:[f,b]}},Pc=null,Ma=null,ja=null,te=function(a,b){return a(b)},Ve=function(a,b,c){return a(b,c)},ue=function(){},Qc=!1,Qg={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Vd=fa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Sg=/^(.*)[\\\/]/,ba="function"===
|
||||
typeof Symbol&&Symbol.for,rc=ba?Symbol.for("react.element"):60103,Va=ba?Symbol.for("react.portal"):60106,ta=ba?Symbol.for("react.fragment"):60107,Tc=ba?Symbol.for("react.strict_mode"):60108,Vb=ba?Symbol.for("react.profiler"):60114,Be=ba?Symbol.for("react.provider"):60109,Ae=ba?Symbol.for("react.context"):60110,Sc=ba?Symbol.for("react.concurrent_mode"):60111,Vc=ba?Symbol.for("react.forward_ref"):60112,Uc=ba?Symbol.for("react.suspense"):60113,Wc=ba?Symbol.for("react.memo"):60115,Ce=ba?Symbol.for("react.lazy"):
|
||||
60116,ze="function"===typeof Symbol&&Symbol.iterator,Ug=/^[: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]*$/,Ee=Object.prototype.hasOwnProperty,Ge={},Fe={},x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){x[a]=
|
||||
new G(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];x[b]=new G(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){x[a]=new G(a,2,!1,a.toLowerCase(),null)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){x[a]=new G(a,2,!1,a,null)});"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){x[a]=
|
||||
new G(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){x[a]=new G(a,3,!0,a,null)});["capture","download"].forEach(function(a){x[a]=new G(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){x[a]=new G(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){x[a]=new G(a,5,!1,a.toLowerCase(),null)});var Wd=/[\-:]([a-z])/g,Xd=function(a){return a[1].toUpperCase()};"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=
|
||||
a.replace(Wd,Xd);x[b]=new G(b,1,!1,a,null)});"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(Wd,Xd);x[b]=new G(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(Wd,Xd);x[b]=new G(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});x.tabIndex=new G("tabIndex",1,!1,"tabindex",null);var Le={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},
|
||||
dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},hb=null,ib=null,Yd=!1;ka&&(Yd=we("input")&&(!document.documentMode||9<document.documentMode));var Gh={eventTypes:Le,_isInputEventSupported:Yd,extractEvents:function(a,b,c,d){var e=b?W(b):window,f=void 0,g=void 0,h=e.nodeName&&e.nodeName.toLowerCase();"select"===h||"input"===h&&"file"===e.type?f=Yg:ve(e)?Yd?f=bh:(f=$g,g=Zg):(h=e.nodeName)&&"input"===h.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)&&(f=ah);
|
||||
if(f&&(f=f(a,b)))return Ke(f,c,d);g&&g(a,e,b);"blur"===a&&(a=e._wrapperState)&&a.controlled&&"number"===e.type&&$c(e,"number",e.value)}},Fb=D.extend({view:null,detail:null}),dh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},ug=0,vg=0,wg=!1,xg=!1,Gb=Fb.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:ad,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||(a.fromElement===
|
||||
a.srcElement?a.toElement:a.fromElement)},movementX:function(a){if("movementX"in a)return a.movementX;var b=ug;ug=a.screenX;return wg?"mousemove"===a.type?a.screenX-b:0:(wg=!0,0)},movementY:function(a){if("movementY"in a)return a.movementY;var b=vg;vg=a.screenY;return xg?"mousemove"===a.type?a.screenY-b:0:(xg=!0,0)}}),yg=Gb.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Hb={mouseEnter:{registrationName:"onMouseEnter",
|
||||
dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Hh={eventTypes:Hb,extractEvents:function(a,b,c,d){var e="mouseover"===a||"pointerover"===a,f="mouseout"===a||"pointerout"===a;if(e&&(c.relatedTarget||c.fromElement)||!f&&!e)return null;e=d.window===
|
||||
d?d:(e=d.ownerDocument)?e.defaultView||e.parentWindow:window;f?(f=b,b=(b=c.relatedTarget||c.toElement)?Nb(b):null):f=null;if(f===b)return null;var g=void 0,h=void 0,k=void 0,l=void 0;if("mouseout"===a||"mouseover"===a)g=Gb,h=Hb.mouseLeave,k=Hb.mouseEnter,l="mouse";else if("pointerout"===a||"pointerover"===a)g=yg,h=Hb.pointerLeave,k=Hb.pointerEnter,l="pointer";var m=null==f?e:W(f);e=null==b?e:W(b);a=g.getPooled(h,f,c,d);a.type=l+"leave";a.target=m;a.relatedTarget=e;c=g.getPooled(k,b,c,d);c.type=l+
|
||||
"enter";c.target=e;c.relatedTarget=m;d=b;if(f&&d)a:{b=f;e=d;l=0;for(g=b;g;g=ha(g))l++;g=0;for(k=e;k;k=ha(k))g++;for(;0<l-g;)b=ha(b),l--;for(;0<g-l;)e=ha(e),g--;for(;l--;){if(b===e||b===e.alternate)break a;b=ha(b);e=ha(e)}b=null}else b=null;e=b;for(b=[];f&&f!==e;){l=f.alternate;if(null!==l&&l===e)break;b.push(f);f=ha(f)}for(f=[];d&&d!==e;){l=d.alternate;if(null!==l&&l===e)break;f.push(d);d=ha(d)}for(d=0;d<b.length;d++)Lc(b[d],"bubbled",a);for(d=f.length;0<d--;)Lc(f[d],"captured",c);return[a,c]}},eh=
|
||||
Object.prototype.hasOwnProperty,Ih=D.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Jh=D.extend({clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),Kh=Fb.extend({relatedTarget:null}),Lh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Mh={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",
|
||||
17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Nh=Fb.extend({key:function(a){if(a.key){var b=Lh[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=Xb(a),13===a?"Enter":String.fromCharCode(a)):
|
||||
"keydown"===a.type||"keyup"===a.type?Mh[a.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:ad,charCode:function(a){return"keypress"===a.type?Xb(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"===a.type?Xb(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),Oh=Gb.extend({dataTransfer:null}),Ph=Fb.extend({touches:null,targetTouches:null,changedTouches:null,
|
||||
altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:ad}),Qh=D.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),Rh=Gb.extend({deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:null,deltaMode:null}),Sh=[["abort","abort"],[qg,"animationEnd"],[rg,"animationIteration"],[sg,"animationStart"],["canplay","canPlay"],["canplaythrough",
|
||||
"canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover",
|
||||
"mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[Zf,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],Fe={},Oc={};[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut",
|
||||
"mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[tg,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],Se={},bd={};[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut",
|
||||
"cut"],["auxclick","auxClick"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit",
|
||||
"submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(a){Ee(a,!0)});vh.forEach(function(a){Ee(a,!1)});var fg={eventTypes:Fe,isInteractiveTopLevelEventType:function(a){a=Oc[a];return void 0!==a&&!0===a.isInteractive},extractEvents:function(a,b,c,d){var e=Oc[a];if(!e)return null;switch(a){case "keypress":if(0===Kb(c))return null;case "keydown":case "keyup":a=qh;break;case "blur":case "focus":a=nh;break;case "click":if(2===
|
||||
c.button)return null;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":a=ub;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":a=rh;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":a=sh;break;case Wf:case Xf:case Yf:a=lh;break;case Zf:a=th;break;case "scroll":a=tb;break;case "wheel":a=uh;break;case "copy":case "cut":case "paste":a=
|
||||
mh;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":a=eg;break;default:a=L}b=a.getPooled(e,b,c,d);ya(b);return b}},Ge=fg.isInteractiveTopLevelEventType,Ob=[],Nb=!0,Ke={},Og=0,Pb="_reactListenersID"+(""+Math.random()).slice(2),wh=ea&&"documentMode"in document&&11>=document.documentMode,Qe={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},
|
||||
Fa=null,Sc=null,ab=null,Rc=!1,xh={eventTypes:Qe,extractEvents:function(a,b,c,d){var e=d.window===d?d.document:9===d.nodeType?d:d.ownerDocument,f;if(!(f=!e)){a:{e=Je(e);f=wc.onSelect;for(var g=0;g<f.length;g++){var h=f[g];if(!e.hasOwnProperty(h)||!e[h]){e=!1;break a}}e=!0}f=!e}if(f)return null;e=b?na(b):window;switch(a){case "focus":if(fe(e)||"true"===e.contentEditable)Fa=e,Sc=b,ab=null;break;case "blur":ab=Sc=Fa=null;break;case "mousedown":Rc=!0;break;case "contextmenu":case "mouseup":case "dragend":return Rc=
|
||||
!1,Pe(c,d);case "selectionchange":if(wh)break;case "keydown":case "keyup":return Pe(c,d)}return null}};Fd.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" "));(function(a,b,c){xc=a;$d=b;Nd=c})(zc,Pd,na);Fd.injectEventPluginsByName({SimpleEventPlugin:fg,EnterLeaveEventPlugin:kh,ChangeEventPlugin:jh,SelectEventPlugin:xh,BeforeInputEventPlugin:ih});var tc=void 0,Ef=function(a){return"undefined"!==
|
||||
typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if("http://www.w3.org/2000/svg"!==a.namespaceURI||"innerHTML"in a)a.innerHTML=b;else{tc=tc||document.createElement("div");tc.innerHTML="<svg>"+b+"</svg>";for(b=tc.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}}),lb=function(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;
|
||||
return}}a.textContent=b},bb={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,
|
||||
zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},yh=["Webkit","ms","Moz","O"];Object.keys(bb).forEach(function(a){yh.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);bb[b]=bb[a]})});var Qg=H({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),Jd=T.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Schedule,
|
||||
Zg=Jd.unstable_cancelScheduledWork,xd=Jd.unstable_now,$g=Jd.unstable_scheduleWork,Ad=null,Bd=null;new Set;var $c=[],Ha=-1,oa={},G={current:oa},K={current:!1},pa=oa,cd=null,dd=null,ka=!1,jd={current:null},Zb=null,La=null,$b=null,eb={},P={current:eb},gb={current:eb},fb={current:eb},mf=(new T.Component).refs,bc={isMounted:function(a){return(a=a._reactInternalFiber)?2===$a(a):!1},enqueueSetState:function(a,b,c){a=a._reactInternalFiber;var d=pb();d=hc(d,a);var e=qa(d);e.payload=b;void 0!==c&&null!==c&&
|
||||
(e.callback=c);ja(a,e);ta(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternalFiber;var d=pb();d=hc(d,a);var e=qa(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);ja(a,e);ta(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternalFiber;var c=pb();c=hc(c,a);var d=qa(c);d.tag=2;void 0!==b&&null!==b&&(d.callback=b);ja(a,d);ta(a,c)}},ec=Array.isArray,tf=nf(!0),sf=nf(!1),X=null,Na=null,sa=!1,Tg=$f.ReactCurrentOwner,wd=void 0,If=void 0,Jf=void 0;wd=function(a){};If=function(a,b,c,d,
|
||||
e){var f=a.memoizedProps;if(f!==d){var g=b.stateNode;ra(P.current);a=null;switch(c){case "input":f=Jc(g,f);d=Jc(g,d);a=[];break;case "option":f=Tc(g,f);d=Tc(g,d);a=[];break;case "select":f=H({},f,{value:void 0});d=H({},d,{value:void 0});a=[];break;case "textarea":f=Uc(g,f);d=Uc(g,d);a=[];break;default:"function"!==typeof f.onClick&&"function"===typeof d.onClick&&(g.onclick=Qb)}Wc(c,d);g=c=void 0;var h=null;for(c in f)if(!d.hasOwnProperty(c)&&f.hasOwnProperty(c)&&null!=f[c])if("style"===c){var k=f[c];
|
||||
for(g in k)k.hasOwnProperty(g)&&(h||(h={}),h[g]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(wa.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in d){var l=d[c];k=null!=f?f[c]:void 0;if(d.hasOwnProperty(c)&&l!==k&&(null!=l||null!=k))if("style"===c)if(k){for(g in k)!k.hasOwnProperty(g)||l&&l.hasOwnProperty(g)||(h||(h={}),h[g]="");for(g in l)l.hasOwnProperty(g)&&k[g]!==l[g]&&(h||(h={}),h[g]=l[g])}else h||
|
||||
(a||(a=[]),a.push(c,h)),h=l;else"dangerouslySetInnerHTML"===c?(l=l?l.__html:void 0,k=k?k.__html:void 0,null!=l&&k!==l&&(a=a||[]).push(c,""+l)):"children"===c?k===l||"string"!==typeof l&&"number"!==typeof l||(a=a||[]).push(c,""+l):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(wa.hasOwnProperty(c)?(null!=l&&W(e,c),a||k===l||(a=[])):(a=a||[]).push(c,l))}h&&(a=a||[]).push("style",h);e=a;(b.updateQueue=e)&&jb(b)}};Jf=function(a,b,c,d){c!==d&&jb(b)};var Xg={readContext:gf},gc=$f.ReactCurrentOwner,
|
||||
Ed=0,nb=0,Y=!1,C=null,ma=null,I=0,vd=!1,p=null,mb=!1,la=null,Q=null,A=null,lc=0,mc=void 0,O=!1,R=null,D=0,Z=0,oc=!1,Qa=!1,pc=null,ua=null,x=!1,ic=!1,Oa=!1,Pa=null,yd=xd(),ba=(yd/10|0)+2,qb=ba,Yg=50,ob=0,zd=null,bh=1;Ec=function(a,b,c){switch(b){case "input":Kc(a,c);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll("input[name="+JSON.stringify(""+b)+'][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=zc(d);e?void 0:m("90");
|
||||
ie(d);Kc(d,e)}}}break;case "textarea":Se(a,c);break;case "select":b=c.value,null!=b&&Ga(a,!!c.multiple,b,!1)}};rb.prototype.render=function(a){this._defer?void 0:m("250");this._hasChildren=!0;this._children=a;var b=this._root._internalRoot,c=this._expirationTime,d=new Sa;Sf(a,b,null,c,d._onCommit);return d};rb.prototype.then=function(a){if(this._didComplete)a();else{var b=this._callbacks;null===b&&(b=this._callbacks=[]);b.push(a)}};rb.prototype.commit=function(){var a=this._root._internalRoot,b=a.firstBatch;
|
||||
this._defer&&null!==b?void 0:m("251");if(this._hasChildren){var c=this._expirationTime;if(b!==this){this._hasChildren&&(c=this._expirationTime=b._expirationTime,this.render(this._children));for(var d=null,e=b;e!==this;)d=e,e=e._next;null===d?m("251"):void 0;d._next=e._next;this._next=b;a.firstBatch=this}this._defer=!1;b=c;O?m("253"):void 0;R=a;D=b;jc(a,b,!0);aa(1,null);b=this._next;this._next=null;b=a.firstBatch=b;null!==b&&b._hasChildren&&b.render(b._children)}else this._next=null,this._defer=!1};
|
||||
rb.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var a=this._callbacks;if(null!==a)for(var b=0;b<a.length;b++)(0,a[b])()}};Sa.prototype.then=function(a){if(this._didCommit)a();else{var b=this._callbacks;null===b&&(b=this._callbacks=[]);b.push(a)}};Sa.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var a=this._callbacks;if(null!==a)for(var b=0;b<a.length;b++){var c=a[b];"function"!==typeof c?m("191",c):void 0;c()}}};Ta.prototype.render=function(a,
|
||||
b){var c=this._internalRoot,d=new Sa;b=void 0===b?null:b;null!==b&&d.then(b);Cd(a,c,null,d._onCommit);return d};Ta.prototype.unmount=function(a){var b=this._internalRoot,c=new Sa;a=void 0===a?null:a;null!==a&&c.then(a);Cd(null,b,null,c._onCommit);return c};Ta.prototype.legacy_renderSubtreeIntoContainer=function(a,b,c){var d=this._internalRoot,e=new Sa;c=void 0===c?null:c;null!==c&&e.then(c);Cd(b,d,a,e._onCommit);return e};Ta.prototype.createBatch=function(){var a=new rb(this),b=a._expirationTime,
|
||||
c=this._internalRoot,d=c.firstBatch;if(null===d)c.firstBatch=a,a._next=null;else{for(c=null;null!==d&&d._expirationTime<=b;)c=d,d=d._next;a._next=d;null!==c&&(c._next=a)}return a};(function(a,b,c){de=a;Ie=b;ee=c})(Pf,Rf,function(){O||0===Z||(aa(Z,null),Z=0)});var gg={createPortal:Tf,findDOMNode:function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternalFiber;void 0===b&&("function"===typeof a.render?m("188"):m("268",Object.keys(a)));a=De(b);a=null===a?null:a.stateNode;return a},
|
||||
hydrate:function(a,b,c){return sc(null,a,b,!0,c)},render:function(a,b,c){return sc(null,a,b,!1,c)},unstable_renderSubtreeIntoContainer:function(a,b,c,d){null==a||void 0===a._reactInternalFiber?m("38"):void 0;return sc(a,b,c,!1,d)},unmountComponentAtNode:function(a){rc(a)?void 0:m("40");return a._reactRootContainer?(Qf(function(){sc(null,null,a,!1,function(){a._reactRootContainer=null})}),!0):!1},unstable_createPortal:function(){return Tf.apply(void 0,arguments)},unstable_batchedUpdates:Pf,unstable_interactiveUpdates:Rf,
|
||||
flushSync:function(a,b){O?m("187"):void 0;var c=x;x=!0;try{return Of(a,b)}finally{x=c,aa(1,null)}},unstable_flushControlled:function(a){var b=x;x=!0;try{Of(a)}finally{(x=b)||O||aa(1,null)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[Pd,na,zc,Fd.injectEventPluginsByName,vc,ya,function(a){Ab(a,qg)},ae,be,Lb,yc]},unstable_createRoot:function(a,b){rc(a)?void 0:m("278");return new Ta(a,!0,null!=b&&!0===b.hydrate)}};(function(a){var b=a.findFiberByHostInstance;return Rg(H({},a,{findHostInstanceByFiber:function(a){a=
|
||||
De(a);return null===a?null:a.stateNode},findFiberByHostInstance:function(a){return b?b(a):null}}))})({findFiberByHostInstance:Bb,bundleType:0,version:"16.5.2",rendererPackageName:"react-dom"});var hg={default:gg},ig=hg&&gg||hg;return ig.default||ig});
|
||||
"submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(a){Re(a,!0)});Sh.forEach(function(a){Re(a,!1)});var zg={eventTypes:Se,isInteractiveTopLevelEventType:function(a){a=bd[a];return void 0!==a&&!0===a.isInteractive},extractEvents:function(a,b,c,d){var e=bd[a];if(!e)return null;switch(a){case "keypress":if(0===Xb(c))return null;case "keydown":case "keyup":a=Nh;break;case "blur":case "focus":a=Kh;break;case "click":if(2===
|
||||
c.button)return null;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":a=Gb;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":a=Oh;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":a=Ph;break;case qg:case rg:case sg:a=Ih;break;case tg:a=Qh;break;case "scroll":a=Fb;break;case "wheel":a=Rh;break;case "copy":case "cut":case "paste":a=
|
||||
Jh;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":a=yg;break;default:a=D}b=a.getPooled(e,b,c,d);La(b);return b}},Te=zg.isInteractiveTopLevelEventType,ac=[],$b=!0,Xe={},hh=0,bc="_reactListenersID"+(""+Math.random()).slice(2),Th=ka&&"documentMode"in document&&11>=document.documentMode,cf={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},
|
||||
ya=null,fd=null,lb=null,ed=!1,Uh={eventTypes:cf,extractEvents:function(a,b,c,d){var e=d.window===d?d.document:9===d.nodeType?d:d.ownerDocument,f;if(!(f=!e)){a:{e=We(e);f=Hc.onSelect;for(var g=0;g<f.length;g++){var h=f[g];if(!e.hasOwnProperty(h)||!e[h]){e=!1;break a}}e=!0}f=!e}if(f)return null;e=b?W(b):window;switch(a){case "focus":if(ve(e)||"true"===e.contentEditable)ya=e,fd=b,lb=null;break;case "blur":lb=fd=ya=null;break;case "mousedown":ed=!0;break;case "contextmenu":case "mouseup":case "dragend":return ed=
|
||||
!1,bf(c,d);case "selectionchange":if(Th)break;case "keydown":case "keyup":return bf(c,d)}return null}};Ud.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" "));(function(a,b,c){Ic=a;pe=b;ce=c})(Kc,ee,W);Ud.injectEventPluginsByName({SimpleEventPlugin:zg,EnterLeaveEventPlugin:Hh,ChangeEventPlugin:Gh,SelectEventPlugin:Uh,BeforeInputEventPlugin:Fh});var Ec=void 0,Wf=function(a){return"undefined"!==typeof MSApp&&
|
||||
MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if("http://www.w3.org/2000/svg"!==a.namespaceURI||"innerHTML"in a)a.innerHTML=b;else{Ec=Ec||document.createElement("div");Ec.innerHTML="<svg>"+b+"</svg>";for(b=Ec.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}}),xb=function(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=
|
||||
b},mb={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,
|
||||
floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Vh=["Webkit","ms","Moz","O"];Object.keys(mb).forEach(function(a){Vh.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);mb[b]=mb[a]})});var jh=E({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),Zd=fa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler,uh=Zd.unstable_cancelCallback,
|
||||
Md=Zd.unstable_now,vh=Zd.unstable_scheduleCallback,Pd=null,Qd=null,xh=setTimeout,ig=clearTimeout;new Set;var nd=[],Na=-1,X={},O={current:X},N={current:!1},la=X,pd=null,qd=null,ma=function(a,b,c,d){return new lh(a,b,c,d)},P=!1,vd={current:null},lc=null,Xa=null,mc=null,rb={},U={current:rb},tb={current:rb},sb={current:rb},oc=Vd.ReactCurrentOwner,Cf=(new fa.Component).refs,pc={isMounted:function(a){return(a=a._reactInternalFiber)?2===kb(a):!1},enqueueSetState:function(a,b,c){a=a._reactInternalFiber;var d=
|
||||
$a();d=zb(d,a);var e=Y(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);na(a,e);ab(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternalFiber;var d=$a();d=zb(d,a);var e=Y(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);na(a,e);ab(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternalFiber;var c=$a();c=zb(c,a);var d=Y(c);d.tag=2;void 0!==b&&null!==b&&(d.callback=b);na(a,d);ab(a,c)}},sc=Array.isArray,Da=Df(!0),Cd=Df(!1),va=null,Ya=null,Oa=!1,oh=Vd.ReactCurrentOwner,ag=void 0,
|
||||
Id=void 0,$f=void 0,bg=void 0;ag=function(a,b,c,d){for(c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return}c.sibling.return=c.return;c=c.sibling}};Id=function(a){};$f=function(a,b,c,d,e){var f=a.memoizedProps;if(f!==d){var g=b.stateNode;Ca(U.current);a=null;switch(c){case "input":f=Yc(g,f);d=Yc(g,d);a=[];break;case "option":f=
|
||||
gd(g,f);d=gd(g,d);a=[];break;case "select":f=E({},f,{value:void 0});d=E({},d,{value:void 0});a=[];break;case "textarea":f=hd(g,f);d=hd(g,d);a=[];break;default:"function"!==typeof f.onClick&&"function"===typeof d.onClick&&(g.onclick=cc)}jd(c,d);g=c=void 0;var h=null;for(c in f)if(!d.hasOwnProperty(c)&&f.hasOwnProperty(c)&&null!=f[c])if("style"===c){var k=f[c];for(g in k)k.hasOwnProperty(g)&&(h||(h={}),h[g]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&
|
||||
"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(Ta.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in d){var l=d[c];k=null!=f?f[c]:void 0;if(d.hasOwnProperty(c)&&l!==k&&(null!=l||null!=k))if("style"===c)if(k){for(g in k)!k.hasOwnProperty(g)||l&&l.hasOwnProperty(g)||(h||(h={}),h[g]="");for(g in l)l.hasOwnProperty(g)&&k[g]!==l[g]&&(h||(h={}),h[g]=l[g])}else h||(a||(a=[]),a.push(c,h)),h=l;else"dangerouslySetInnerHTML"===c?(l=l?l.__html:void 0,k=k?k.__html:void 0,null!=l&&k!==l&&(a=a||[]).push(c,
|
||||
""+l)):"children"===c?k===l||"string"!==typeof l&&"number"!==typeof l||(a=a||[]).push(c,""+l):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(Ta.hasOwnProperty(c)?(null!=l&&T(e,c),a||k===l||(a=[])):(a=a||[]).push(c,l))}h&&(a=a||[]).push("style",h);e=a;(b.updateQueue=e)&&vb(b)}};bg=function(a,b,c,d){c!==d&&vb(b)};var rh={readContext:xf},tc=Vd.ReactCurrentOwner,Td=0,Ab=0,Pa=!1,B=null,pa=null,J=0,Z=-1,Hd=!1,p=null,yb=!1,Za=null,ea=null,w=null,uc=0,vc=void 0,I=!1,aa=null,A=0,qa=
|
||||
0,zc=!1,Fa=!1,Ac=null,Ea=null,C=!1,xc=!1,wa=!1,db=null,Nd=Md(),da=(Nd/10|0)+2,Qa=da,th=50,Bb=0,Od=null,zh=1;Pc=function(a,b,c){switch(b){case "input":Zc(a,c);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll("input[name="+JSON.stringify(""+b)+'][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Kc(d);e?void 0:n("90");ye(d);Zc(d,e)}}}break;case "textarea":ef(a,c);break;case "select":b=c.value,null!=b&&za(a,!!c.multiple,
|
||||
b,!1)}};Db.prototype.render=function(a){this._defer?void 0:n("250");this._hasChildren=!0;this._children=a;var b=this._root._internalRoot,c=this._expirationTime,d=new bb;mg(a,b,null,c,d._onCommit);return d};Db.prototype.then=function(a){if(this._didComplete)a();else{var b=this._callbacks;null===b&&(b=this._callbacks=[]);b.push(a)}};Db.prototype.commit=function(){var a=this._root._internalRoot,b=a.firstBatch;this._defer&&null!==b?void 0:n("251");if(this._hasChildren){var c=this._expirationTime;if(b!==
|
||||
this){this._hasChildren&&(c=this._expirationTime=b._expirationTime,this.render(this._children));for(var d=null,e=b;e!==this;)d=e,e=e._next;null===d?n("251"):void 0;d._next=e._next;this._next=b;a.firstBatch=this}this._defer=!1;hg(a,c);b=this._next;this._next=null;b=a.firstBatch=b;null!==b&&b._hasChildren&&b.render(b._children)}else this._next=null,this._defer=!1};Db.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var a=this._callbacks;if(null!==a)for(var b=0;b<a.length;b++)(0,a[b])()}};
|
||||
bb.prototype.then=function(a){if(this._didCommit)a();else{var b=this._callbacks;null===b&&(b=this._callbacks=[]);b.push(a)}};bb.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var a=this._callbacks;if(null!==a)for(var b=0;b<a.length;b++){var c=a[b];"function"!==typeof c?n("191",c):void 0;c()}}};Ia.prototype.render=function(a,b){var c=this._internalRoot,d=new bb;b=void 0===b?null:b;null!==b&&d.then(b);Rd(a,c,null,d._onCommit);return d};Ia.prototype.unmount=function(a){var b=
|
||||
this._internalRoot,c=new bb;a=void 0===a?null:a;null!==a&&c.then(a);Rd(null,b,null,c._onCommit);return c};Ia.prototype.legacy_renderSubtreeIntoContainer=function(a,b,c){var d=this._internalRoot,e=new bb;c=void 0===c?null:c;null!==c&&e.then(c);Rd(b,d,a,e._onCommit);return e};Ia.prototype.createBatch=function(){var a=new Db(this),b=a._expirationTime,c=this._internalRoot,d=c.firstBatch;if(null===d)c.firstBatch=a,a._next=null;else{for(c=null;null!==d&&d._expirationTime<=b;)c=d,d=d._next;a._next=d;null!==
|
||||
c&&(c._next=a)}return a};(function(a,b,c){te=a;Ve=b;ue=c})(jg,lg,function(){I||0===qa||(R(qa,null),qa=0)});var Ag={createPortal:ng,findDOMNode:function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternalFiber;void 0===b&&("function"===typeof a.render?n("188"):n("268",Object.keys(a)));a=Qe(b);a=null===a?null:a.stateNode;return a},hydrate:function(a,b,c){return Dc(null,a,b,!0,c)},render:function(a,b,c){return Dc(null,a,b,!1,c)},unstable_renderSubtreeIntoContainer:function(a,
|
||||
b,c,d){null==a||void 0===a._reactInternalFiber?n("38"):void 0;return Dc(a,b,c,!1,d)},unmountComponentAtNode:function(a){Cc(a)?void 0:n("40");return a._reactRootContainer?(kg(function(){Dc(null,null,a,!1,function(){a._reactRootContainer=null})}),!0):!1},unstable_createPortal:function(){return ng.apply(void 0,arguments)},unstable_batchedUpdates:jg,unstable_interactiveUpdates:lg,flushSync:function(a,b){I?n("187"):void 0;var c=C;C=!0;try{return fg(a,b)}finally{C=c,R(1,null)}},unstable_flushControlled:function(a){var b=
|
||||
C;C=!0;try{fg(a)}finally{(C=b)||I||R(1,null)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[ee,W,Kc,Ud.injectEventPluginsByName,Gc,La,function(a){Mb(a,Kg)},qe,re,Yb,Jc]},unstable_createRoot:function(a,b){Cc(a)?void 0:n("278");return new Ia(a,!0,null!=b&&!0===b.hydrate)}};(function(a){var b=a.findFiberByHostInstance;return kh(E({},a,{findHostInstanceByFiber:function(a){a=Qe(a);return null===a?null:a.stateNode},findFiberByHostInstance:function(a){return b?b(a):null}}))})({findFiberByHostInstance:Nb,
|
||||
bundleType:0,version:"16.6.0",rendererPackageName:"react-dom"});var Bg={default:Ag},Cg=Bg&&Ag||Bg;return Cg.default||Cg});
|
||||
|
45
wp-includes/js/dist/vendor/react.min.js
vendored
45
wp-includes/js/dist/vendor/react.min.js
vendored
@ -1,4 +1,4 @@
|
||||
/** @license React v16.5.2
|
||||
/** @license React v16.6.0
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
@ -6,23 +6,26 @@
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
'use strict';(function(D,k){"object"===typeof exports&&"undefined"!==typeof module?module.exports=k():"function"===typeof define&&define.amd?define(k):D.React=k()})(this,function(){function D(a,b,c,d,g,na,e,h){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[c,d,g,na,e,h],oa=0;a=Error(b.replace(/%s/g,function(){return f[oa++]}));a.name="Invariant Violation"}a.framesToPop=
|
||||
1;throw a;}}function k(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=0;d<b;d++)c+="&args[]="+encodeURIComponent(arguments[d+1]);D(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",c)}function p(a,b,c){this.props=a;this.context=b;this.refs=S;this.updater=c||T}function U(){}function E(a,b,c){this.props=a;this.context=b;this.refs=S;this.updater=c||T}
|
||||
function F(){if(!G){var a=e.timesOutAt;H?I():H=!0;J(pa,a)}}function V(a){a=e;var b=e.next;if(e===b)e=null;else{var c=e.previous;e=c.next=b;b.previous=c}a.next=a.previous=null;a=a.callback;a(W)}function pa(a){G=!0;W.didTimeout=a;try{if(a)for(;null!==e;){var b=m();if(e.timesOutAt<=b){do V();while(null!==e&&e.timesOutAt<=b)}else break}else if(null!==e){do V();while(null!==e&&0<q()-m())}}finally{G=!1,null!==e?F(e):H=!1}}function X(a,b,c){var d=void 0,g={},e=null,f=null;if(null!=b)for(d in void 0!==b.ref&&
|
||||
(f=b.ref),void 0!==b.key&&(e=""+b.key),b)Y.call(b,d)&&!Z.hasOwnProperty(d)&&(g[d]=b[d]);var h=arguments.length-2;if(1===h)g.children=c;else if(1<h){for(var k=Array(h),n=0;n<h;n++)k[n]=arguments[n+2];g.children=k}if(a&&a.defaultProps)for(d in h=a.defaultProps,h)void 0===g[d]&&(g[d]=h[d]);return{$$typeof:r,type:a,key:e,ref:f,props:g,_owner:w.current}}function qa(a,b){return{$$typeof:r,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function K(a){return"object"===typeof a&&null!==a&&a.$$typeof===
|
||||
r}function ra(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function aa(a,b,c,d){if(x.length){var g=x.pop();g.result=a;g.keyPrefix=b;g.func=c;g.context=d;g.count=0;return g}return{result:a,keyPrefix:b,func:c,context:d,count:0}}function ba(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>x.length&&x.push(a)}function L(a,b,c,d){var g=typeof a;if("undefined"===g||"boolean"===g)a=null;var e=!1;if(null===a)e=!0;else switch(g){case "string":case "number":e=
|
||||
!0;break;case "object":switch(a.$$typeof){case r:case sa:e=!0}}if(e)return c(d,a,""===b?"."+M(a,0):b),1;e=0;b=""===b?".":b+":";if(Array.isArray(a))for(var f=0;f<a.length;f++){g=a[f];var h=b+M(g,f);e+=L(g,h,c,d)}else if(null===a||"object"!==typeof a?h=null:(h=ca&&a[ca]||a["@@iterator"],h="function"===typeof h?h:null),"function"===typeof h)for(a=h.call(a),f=0;!(g=a.next()).done;)g=g.value,h=b+M(g,f++),e+=L(g,h,c,d);else"object"===g&&(c=""+a,k("31","[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+
|
||||
"}":c,""));return e}function N(a,b,c){return null==a?0:L(a,"",b,c)}function M(a,b){return"object"===typeof a&&null!==a&&null!=a.key?ra(a.key):b.toString(36)}function ta(a,b,c){a.func.call(a.context,b,a.count++)}function ua(a,b,c){var d=a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?O(a,d,c,function(a){return a}):null!=a&&(K(a)&&(a=qa(a,e+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(da,"$&/")+"/")+c)),d.push(a))}function O(a,b,c,d,e){var g="";null!=c&&(g=(""+c).replace(da,
|
||||
"$&/")+"/");b=aa(b,g,d,e);N(a,ua,b);ba(b)}function va(a,b){var c=w.currentDispatcher;null===c?k("277"):void 0;return c.readContext(a,b)}var f="function"===typeof Symbol&&Symbol.for,r=f?Symbol.for("react.element"):60103,sa=f?Symbol.for("react.portal"):60106,l=f?Symbol.for("react.fragment"):60107,P=f?Symbol.for("react.strict_mode"):60108,wa=f?Symbol.for("react.profiler"):60114,xa=f?Symbol.for("react.provider"):60109,ya=f?Symbol.for("react.context"):60110,za=f?Symbol.for("react.async_mode"):60111,Aa=
|
||||
f?Symbol.for("react.forward_ref"):60112;f&&Symbol.for("react.placeholder");var ca="function"===typeof Symbol&&Symbol.iterator,ea=Object.getOwnPropertySymbols,Ba=Object.prototype.hasOwnProperty,Ca=Object.prototype.propertyIsEnumerable,y=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;
|
||||
var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(d){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var d,e=1;e<arguments.length;e++){var f=Object(arguments[e]);for(var k in f)Ba.call(f,k)&&(c[k]=f[k]);if(ea){d=ea(f);for(var h=0;h<d.length;h++)Ca.call(f,d[h])&&(c[d[h]]=f[d[h]])}}return c},
|
||||
T={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},S={};p.prototype.isReactComponent={};p.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?k("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};p.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};U.prototype=p.prototype;f=E.prototype=new U;f.constructor=E;y(f,p.prototype);
|
||||
f.isPureReactComponent=!0;var e=null,G=!1,H=!1;f="object"===typeof performance&&"function"===typeof performance.now;var W={timeRemaining:f?function(){var a=q()-performance.now();return 0<a?a:0}:function(){var a=q()-Date.now();return 0<a?a:0},didTimeout:!1},Da=Date,Ea="function"===typeof setTimeout?setTimeout:void 0,Fa="function"===typeof clearTimeout?clearTimeout:void 0,fa="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,ha="function"===typeof cancelAnimationFrame?cancelAnimationFrame:
|
||||
void 0,ia,ja,ka=function(a){ia=fa(function(b){Fa(ja);a(b)});ja=Ea(function(){ha(ia);a(m())},100)};if(f){var Ga=performance;var m=function(){return Ga.now()}}else m=function(){return Da.now()};if("undefined"===typeof window){var la=-1;var J=function(a,b){la=setTimeout(a,0,!0)};var I=function(){clearTimeout(la)};var q=function(){return 0}}else if(window._schedMock)f=window._schedMock,J=f[0],I=f[1],q=f[2];else{"undefined"!==typeof console&&("function"!==typeof fa&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),
|
||||
"function"!==typeof ha&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var z=null,A=!1,t=-1,u=!1,Q=!1,B=0,C=33,v=33;q=function(){return B};var R="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(a){if(a.source===window&&a.data===R){A=!1;var b=m();a=!1;if(0>=B-b)if(-1!==t&&t<=b)a=!0;else{u||(u=!0,ka(ma));return}t=-1;b=z;z=null;if(null!==b){Q=
|
||||
!0;try{b(a)}finally{Q=!1}}}},!1);var ma=function(a){u=!1;var b=a-B+v;b<v&&C<v?(8>b&&(b=8),v=b<C?C:b):C=b;B=a+v;A||(A=!0,window.postMessage(R,"*"))};J=function(a,b){z=a;t=b;Q?window.postMessage(R,"*"):u||(u=!0,ka(ma))};I=function(){z=null;A=!1;t=-1}}var Ha=0,w={current:null,currentDispatcher:null};f={ReactCurrentOwner:w,assign:y};y(f,{Schedule:{unstable_cancelScheduledWork:function(a){var b=a.next;if(null!==b){if(b===a)e=null;else{a===e&&(e=b);var c=a.previous;c.next=b;b.previous=c}a.next=a.previous=
|
||||
null}},unstable_now:m,unstable_scheduleWork:function(a,b){var c=m();b=void 0!==b&&null!==b&&null!==b.timeout&&void 0!==b.timeout?c+b.timeout:c+5E3;a={callback:a,timesOutAt:b,next:null,previous:null};if(null===e)e=a.next=a.previous=a,F(e);else{c=null;var d=e;do{if(d.timesOutAt>b){c=d;break}d=d.next}while(d!==e);null===c?c=e:c===e&&(e=a,F(e));b=c.previous;b.next=c.previous=a;a.next=c;a.previous=b}return a}},ScheduleTracing:{__interactionsRef:null,__subscriberRef:null,unstable_clear:function(a){return a()},
|
||||
unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Ha},unstable_subscribe:function(a){},unstable_trace:function(a,b,c){return c()},unstable_unsubscribe:function(a){},unstable_wrap:function(a){return a}}});var Y=Object.prototype.hasOwnProperty,Z={key:!0,ref:!0,__self:!0,__source:!0},da=/\/+/g,x=[];l={Children:{map:function(a,b,c){if(null==a)return a;var d=[];O(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=aa(null,null,b,c);N(a,ta,b);ba(b)},count:function(a){return N(a,
|
||||
function(){return null},null)},toArray:function(a){var b=[];O(a,b,null,function(a){return a});return b},only:function(a){K(a)?void 0:k("143");return a}},createRef:function(){return{current:null}},Component:p,PureComponent:E,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:ya,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,Provider:null,Consumer:null,unstable_read:null};a.Provider={$$typeof:xa,_context:a};a.Consumer=a;a.unstable_read=va.bind(null,a);return a},forwardRef:function(a){return{$$typeof:Aa,
|
||||
render:a}},Fragment:l,StrictMode:P,unstable_AsyncMode:za,unstable_Profiler:wa,createElement:X,cloneElement:function(a,b,c){null===a||void 0===a?k("267",a):void 0;var d=void 0,e=y({},a.props),f=a.key,m=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(m=b.ref,h=w.current);void 0!==b.key&&(f=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(d in b)Y.call(b,d)&&!Z.hasOwnProperty(d)&&(e[d]=void 0===b[d]&&void 0!==l?l[d]:b[d])}d=arguments.length-2;if(1===d)e.children=c;else if(1<
|
||||
d){l=Array(d);for(var n=0;n<d;n++)l[n]=arguments[n+2];e.children=l}return{$$typeof:r,type:a.type,key:f,ref:m,props:e,_owner:h}},createFactory:function(a){var b=X.bind(null,a);b.type=a;return b},isValidElement:K,version:"16.5.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:f};l=(P={default:l},l)||P;return l.default||l});
|
||||
'use strict';(function(L,p){"object"===typeof exports&&"undefined"!==typeof module?module.exports=p():"function"===typeof define&&define.amd?define(p):L.React=p()})(this,function(){function L(a,b,c,f,n,d,e,h){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var g=[c,f,n,d,e,h],ta=0;a=Error(b.replace(/%s/g,function(){return g[ta++]}));a.name="Invariant Violation"}a.framesToPop=
|
||||
1;throw a;}}function p(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=0;f<b;f++)c+="&args[]="+encodeURIComponent(arguments[f+1]);L(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",c)}function r(a,b,c){this.props=a;this.context=b;this.refs=ca;this.updater=c||da}function ea(){}function M(a,b,c){this.props=a;this.context=b;this.refs=ca;this.updater=
|
||||
c||da}function u(){if(!v){var a=d.expirationTime;E?N():E=!0;F(ua,a)}}function O(){var a=d,b=d.next;if(d===b)d=null;else{var c=d.previous;d=c.next=b;b.previous=c}a.next=a.previous=null;c=a.callback;b=a.expirationTime;a=a.priorityLevel;var f=k,n=w;k=a;w=b;try{var g=c(P)}finally{k=f,w=n}if("function"===typeof g)if(g={callback:g,priorityLevel:a,expirationTime:b,next:null,previous:null},null===d)d=g.next=g.previous=g;else{c=null;a=d;do{if(a.expirationTime>=b){c=a;break}a=a.next}while(a!==d);null===c?c=
|
||||
d:c===d&&(d=g,u());b=c.previous;b.next=c.previous=g;g.next=c;g.previous=b}}function Q(){if(-1===m&&null!==d&&1===d.priorityLevel){v=!0;P.didTimeout=!0;try{do O();while(null!==d&&1===d.priorityLevel)}finally{v=!1,null!==d?u():E=!1}}}function ua(a){v=!0;P.didTimeout=a;try{if(a)for(;null!==d;){var b=l();if(d.expirationTime<=b){do O();while(null!==d&&d.expirationTime<=b)}else break}else if(null!==d){do O();while(null!==d&&0<x()-l())}}finally{v=!1,null!==d?u():E=!1,Q()}}function fa(a,b,c){var f=void 0,
|
||||
n={},d=null,e=null;if(null!=b)for(f in void 0!==b.ref&&(e=b.ref),void 0!==b.key&&(d=""+b.key),b)ha.call(b,f)&&!ia.hasOwnProperty(f)&&(n[f]=b[f]);var h=arguments.length-2;if(1===h)n.children=c;else if(1<h){for(var k=Array(h),l=0;l<h;l++)k[l]=arguments[l+2];n.children=k}if(a&&a.defaultProps)for(f in h=a.defaultProps,h)void 0===n[f]&&(n[f]=h[f]);return{$$typeof:y,type:a,key:d,ref:e,props:n,_owner:R.current}}function va(a,b){return{$$typeof:y,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}
|
||||
function S(a){return"object"===typeof a&&null!==a&&a.$$typeof===y}function wa(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function ja(a,b,c,f){if(G.length){var d=G.pop();d.result=a;d.keyPrefix=b;d.func=c;d.context=f;d.count=0;return d}return{result:a,keyPrefix:b,func:c,context:f,count:0}}function ka(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>G.length&&G.push(a)}function T(a,b,c,f){var d=typeof a;if("undefined"===d||"boolean"===
|
||||
d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case y:case xa:g=!0}}if(g)return c(f,a,""===b?"."+U(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var e=0;e<a.length;e++){d=a[e];var h=b+U(d,e);g+=T(d,h,c,f)}else if(null===a||"object"!==typeof a?h=null:(h=la&&a[la]||a["@@iterator"],h="function"===typeof h?h:null),"function"===typeof h)for(a=h.call(a),e=0;!(d=a.next()).done;)d=d.value,h=b+U(d,e++),g+=T(d,h,c,f);else"object"===
|
||||
d&&(c=""+a,p("31","[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return g}function V(a,b,c){return null==a?0:T(a,"",b,c)}function U(a,b){return"object"===typeof a&&null!==a&&null!=a.key?wa(a.key):b.toString(36)}function ya(a,b,c){a.func.call(a.context,b,a.count++)}function za(a,b,c){var f=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?W(a,f,c,function(a){return a}):null!=a&&(S(a)&&(a=va(a,d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(ma,
|
||||
"$&/")+"/")+c)),f.push(a))}function W(a,b,c,f,d){var e="";null!=c&&(e=(""+c).replace(ma,"$&/")+"/");b=ja(b,e,f,d);V(a,za,b);ka(b)}var e="function"===typeof Symbol&&Symbol.for,y=e?Symbol.for("react.element"):60103,xa=e?Symbol.for("react.portal"):60106,q=e?Symbol.for("react.fragment"):60107,X=e?Symbol.for("react.strict_mode"):60108,Aa=e?Symbol.for("react.profiler"):60114,Ba=e?Symbol.for("react.provider"):60109,Ca=e?Symbol.for("react.context"):60110,Da=e?Symbol.for("react.concurrent_mode"):60111,Ea=
|
||||
e?Symbol.for("react.forward_ref"):60112,Fa=e?Symbol.for("react.suspense"):60113,Ga=e?Symbol.for("react.memo"):60115,Ha=e?Symbol.for("react.lazy"):60116,la="function"===typeof Symbol&&Symbol.iterator,na=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,H=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==
|
||||
Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(f){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var d,e=1;e<arguments.length;e++){var g=Object(arguments[e]);for(var k in g)Ia.call(g,k)&&(c[k]=g[k]);
|
||||
if(na){d=na(g);for(var h=0;h<d.length;h++)Ja.call(g,d[h])&&(c[d[h]]=g[d[h]])}}return c},da={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},ca={};r.prototype.isReactComponent={};r.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?p("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};r.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,
|
||||
a,"forceUpdate")};ea.prototype=r.prototype;e=M.prototype=new ea;e.constructor=M;H(e,r.prototype);e.isPureReactComponent=!0;var d=null,k=3,m=-1,w=-1,v=!1,E=!1;e="object"===typeof performance&&"function"===typeof performance.now;var P={timeRemaining:e?function(){if(null!==d&&d.expirationTime<w)return 0;var a=x()-performance.now();return 0<a?a:0}:function(){if(null!==d&&d.expirationTime<w)return 0;var a=x()-Date.now();return 0<a?a:0},didTimeout:!1},Ka=Date,La="function"===typeof setTimeout?setTimeout:
|
||||
void 0,Ma="function"===typeof clearTimeout?clearTimeout:void 0,oa="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,pa="function"===typeof cancelAnimationFrame?cancelAnimationFrame:void 0,qa,ra,Y=function(a){qa=oa(function(b){Ma(ra);a(b)});ra=La(function(){pa(qa);a(l())},100)};if(e){var Na=performance;var l=function(){return Na.now()}}else l=function(){return Ka.now()};if("undefined"!==typeof window&&window._schedMock){e=window._schedMock;var F=e[0];var N=e[1];var x=e[2]}else if("undefined"===
|
||||
typeof window||"function"!==typeof window.addEventListener){var z=null,A=-1,sa=function(a,b){if(null!==z){var c=z;z=null;try{A=b,c(a)}finally{A=-1}}};F=function(a,b){-1!==A?setTimeout(F,0,a,b):(z=a,setTimeout(sa,b,!0,b),setTimeout(sa,1073741823,!1,1073741823))};N=function(){z=null};x=function(){return Infinity};l=function(){return-1===A?0:A}}else{"undefined"!==typeof console&&("function"!==typeof oa&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),
|
||||
"function"!==typeof pa&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var t=null,I=!1,B=-1,C=!1,Z=!1,J=0,K=33,D=33;x=function(){return J};var aa="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(a){if(a.source===window&&a.data===aa){I=!1;a=t;var b=B;t=null;B=-1;var c=l(),d=!1;if(0>=J-c)if(-1!==b&&b<=c)d=!0;else{C||(C=!0,Y(ba));t=a;B=b;return}if(null!==
|
||||
a){Z=!0;try{a(d)}finally{Z=!1}}}},!1);var ba=function(a){if(null!==t){Y(ba);var b=a-J+D;b<D&&K<D?(8>b&&(b=8),D=b<K?K:b):K=b;J=a+D;I||(I=!0,window.postMessage(aa,"*"))}else C=!1};F=function(a,b){t=a;B=b;Z||0>b?window.postMessage(aa,"*"):C||(C=!0,Y(ba))};N=function(){t=null;I=!1;B=-1}}var Oa=0,R={current:null,currentDispatcher:null};e={ReactCurrentOwner:R,assign:H};H(e,{Scheduler:{unstable_cancelCallback:function(a){var b=a.next;if(null!==b){if(b===a)d=null;else{a===d&&(d=b);var c=a.previous;c.next=
|
||||
b;b.previous=c}a.next=a.previous=null}},unstable_now:l,unstable_scheduleCallback:function(a,b){var c=-1!==m?m:l();if("object"===typeof b&&null!==b&&"number"===typeof b.timeout)b=c+b.timeout;else switch(k){case 1:b=c+-1;break;case 2:b=c+250;break;case 4:b=c+1073741823;break;default:b=c+5E3}a={callback:a,priorityLevel:k,expirationTime:b,next:null,previous:null};if(null===d)d=a.next=a.previous=a,u();else{c=null;var f=d;do{if(f.expirationTime>b){c=f;break}f=f.next}while(f!==d);null===c?c=d:c===d&&(d=
|
||||
a,u());b=c.previous;b.next=c.previous=a;a.next=c;a.previous=b}return a},unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:break;default:a=3}var c=k,d=m;k=a;m=l();try{return b()}finally{k=c,m=d,Q()}},unstable_wrapCallback:function(a){var b=k;return function(){var c=k,d=m;k=b;m=l();try{return a.apply(this,arguments)}finally{k=c,m=d,Q()}}},unstable_getCurrentPriorityLevel:function(){return k}},SchedulerTracing:{__interactionsRef:null,__subscriberRef:null,unstable_clear:function(a){return a()},
|
||||
unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Oa},unstable_subscribe:function(a){},unstable_trace:function(a,b,c){return c()},unstable_unsubscribe:function(a){},unstable_wrap:function(a){return a}}});var ha=Object.prototype.hasOwnProperty,ia={key:!0,ref:!0,__self:!0,__source:!0},ma=/\/+/g,G=[];q={Children:{map:function(a,b,c){if(null==a)return a;var d=[];W(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=ja(null,null,b,c);V(a,ya,b);ka(b)},
|
||||
count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];W(a,b,null,function(a){return a});return b},only:function(a){S(a)?void 0:p("143");return a}},createRef:function(){return{current:null}},Component:r,PureComponent:M,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:Ca,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,Provider:null,Consumer:null};a.Provider={$$typeof:Ba,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:Ea,
|
||||
render:a}},lazy:function(a){return{$$typeof:Ha,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:Ga,type:a,compare:void 0===b?null:b}},Fragment:q,StrictMode:X,unstable_ConcurrentMode:Da,Suspense:Fa,unstable_Profiler:Aa,createElement:fa,cloneElement:function(a,b,d){null===a||void 0===a?p("267",a):void 0;var c=void 0,e=H({},a.props),g=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=R.current);void 0!==b.key&&(g=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=
|
||||
a.type.defaultProps);for(c in b)ha.call(b,c)&&!ia.hasOwnProperty(c)&&(e[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)e.children=d;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];e.children=l}return{$$typeof:y,type:a.type,key:g,ref:k,props:e,_owner:h}},createFactory:function(a){var b=fa.bind(null,a);b.type=a;return b},isValidElement:S,version:"16.6.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:e};q=(X={default:q},q)||X;return q.default||q});
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-beta1-43841';
|
||||
$wp_version = '5.0-beta1-43842';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user