Make WordPress Core

Ticket #23932: 23932-3.patch

File 23932-3.patch, 233.0 KB (added by antpb, 10 years ago)
  • src/wp-admin/css/about.css

    diff --git a/src/wp-admin/css/about.css b/src/wp-admin/css/about.css
    old mode 100644
    new mode 100755
    index 50c4d92..41f3d6a
    a b  
    293293}
    294294
    295295.about-wrap li.wp-person {
    296         float: left;
     296        display: inline-block;
     297        vertical-align: top;
    297298        margin-right: 10px;
    298299}
    299300
  • src/wp-admin/edit-form-advanced.php

    diff --git a/src/wp-admin/edit-form-advanced.php b/src/wp-admin/edit-form-advanced.php
    old mode 100644
    new mode 100755
    index a0dada7..709779b
    a b do_action( 'edit_form_top', $post ); ?> 
    461461        <label class="screen-reader-text" id="title-prompt-text" for="title"><?php echo apply_filters( 'enter_title_here', __( 'Enter title here' ), $post ); ?></label>
    462462        <input type="text" name="post_title" size="30" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
    463463</div>
     464<?php
     465/**
     466 * Fires before the permalink field.
     467 *
     468 * @since 4.1.0
     469 *
     470 * @param WP_Post $post Post object.
     471 */
     472do_action( 'edit_form_before_permalink', $post );
     473?>
    464474<div class="inside">
    465475<?php
    466476$sample_permalink_html = $post_type_object->public ? get_sample_permalink_html($post->ID) : '';
  • src/wp-admin/includes/media.php

    diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php
    index 0eeeaea..ab8fa65 100644
    a b function edit_form_image_editor( $post ) { 
    26862686        endif; ?>
    26872687        </div>
    26882688        <div class="wp_attachment_details edit-form-section">
     2689        <?php if ( post_type_supports('attachment', 'caption') ) { ?>
    26892690                <p>
    26902691                        <label for="attachment_caption"><strong><?php _e( 'Caption' ); ?></strong></label><br />
    26912692                        <textarea class="widefat" name="excerpt" id="attachment_caption"><?php echo $post->post_excerpt; ?></textarea>
    26922693                </p>
    2693 
    2694 
     2694        <?php } ?>
    26952695        <?php if ( 'image' === substr( $post->post_mime_type, 0, 5 ) ) : ?>
    26962696                <p>
     2697                <?php if ( post_type_supports('attachment', 'alt') ) { ?>
    26972698                        <label for="attachment_alt"><strong><?php _e( 'Alternative Text' ); ?></strong></label><br />
    26982699                        <input type="text" class="widefat" name="_wp_attachment_image_alt" id="attachment_alt" value="<?php echo esc_attr( $alt_text ); ?>" />
    26992700                </p>
     2701                <?php } ?>
    27002702        <?php endif; ?>
    27012703
    27022704        <?php
    function edit_form_image_editor( $post ) { 
    27092711                        'quicktags' => $quicktags_settings,
    27102712                );
    27112713        ?>
    2712 
     2714        <?php if ( post_type_supports('attachment', 'description') ) { ?>
    27132715        <label for="content"><strong><?php _e( 'Description' ); ?></strong><?php
    27142716        if ( preg_match( '#^(audio|video)/#', $post->post_mime_type ) ) {
    27152717                echo ': ' . __( 'Displayed on attachment pages.' );
    27162718        } ?></label>
    27172719        <?php wp_editor( $post->post_content, 'attachment_content', $editor_args ); ?>
    2718 
     2720        <?php } ?>
    27192721        </div>
    27202722        <?php
    27212723        $extras = get_compat_media_markup( $post->ID );
  • src/wp-admin/includes/post.php

    diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php
    old mode 100644
    new mode 100755
    index d230667..4cfad6e
    a b function wp_write_post() { 
    704704 * Calls wp_write_post() and handles the errors.
    705705 *
    706706 * @since 2.0.0
    707 
    708  * @uses wp_write_post()
    709  * @uses is_wp_error()
    710  * @uses wp_die()
     707 *
    711708 * @return unknown
    712709 */
    713710function write_post() {
  • src/wp-admin/includes/template.php

    diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php
    old mode 100644
    new mode 100755
    index 2a1623b..4fa9f0c
    a b function do_meta_boxes( $screen, $context, $object ) { 
    10041004
    10051005        printf('<div id="%s-sortables" class="meta-box-sortables">', htmlspecialchars($context));
    10061006
    1007         $i = 0;
    1008         do {
    1009                 // Grab the ones the user has manually sorted. Pull them out of their previous context/priority and into the one the user chose
    1010                 if ( !$already_sorted && $sorted = get_user_option( "meta-box-order_$page" ) ) {
    1011                         foreach ( $sorted as $box_context => $ids ) {
    1012                                 foreach ( explode(',', $ids ) as $id ) {
    1013                                         if ( $id && 'dashboard_browser_nag' !== $id )
    1014                                                 add_meta_box( $id, null, null, $screen, $box_context, 'sorted' );
     1007        // Grab the ones the user has manually sorted. Pull them out of their previous context/priority and into the one the user chose
     1008        if ( ! $already_sorted && $sorted = get_user_option( "meta-box-order_$page" ) ) {
     1009                foreach ( $sorted as $box_context => $ids ) {
     1010                        foreach ( explode( ',', $ids ) as $id ) {
     1011                                if ( $id && 'dashboard_browser_nag' !== $id ) {
     1012                                        add_meta_box( $id, null, null, $screen, $box_context, 'sorted' );
    10151013                                }
    10161014                        }
    10171015                }
    1018                 $already_sorted = true;
     1016        }
     1017
     1018        $already_sorted = true;
    10191019
    1020                 if ( !isset($wp_meta_boxes) || !isset($wp_meta_boxes[$page]) || !isset($wp_meta_boxes[$page][$context]) )
    1021                         break;
     1020        $i = 0;
    10221021
    1023                 foreach ( array('high', 'sorted', 'core', 'default', 'low') as $priority ) {
    1024                         if ( isset($wp_meta_boxes[$page][$context][$priority]) ) {
    1025                                 foreach ( (array) $wp_meta_boxes[$page][$context][$priority] as $box ) {
     1022        if ( isset( $wp_meta_boxes[ $page ][ $context ] ) ) {
     1023                foreach ( array( 'high', 'sorted', 'core', 'default', 'low' ) as $priority ) {
     1024                        if ( isset( $wp_meta_boxes[ $page ][ $context ][ $priority ]) ) {
     1025                                foreach ( (array) $wp_meta_boxes[ $page ][ $context ][ $priority ] as $box ) {
    10261026                                        if ( false == $box || ! $box['title'] )
    10271027                                                continue;
    10281028                                        $i++;
    function do_meta_boxes( $screen, $context, $object ) { 
    10381038                                }
    10391039                        }
    10401040                }
    1041         } while(0);
     1041        }
    10421042
    10431043        echo "</div>";
    10441044
  • src/wp-admin/install.php

    diff --git a/src/wp-admin/includes/update-core.php b/src/wp-admin/includes/update-core.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-admin/install.php b/src/wp-admin/install.php
    old mode 100644
    new mode 100755
    index f7a1037..65d1932
    a b function display_setup_form( $error = null ) { 
    133133                                <input name="admin_password" type="password" id="pass1" size="25" value="" />
    134134                                <p><input name="admin_password2" type="password" id="pass2" size="25" value="" /></p>
    135135                                <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
    136                                 <p><?php echo _wp_password_hint(); ?></p>
     136                                <p><?php echo _wp_get_password_hint(); ?></p>
    137137                        </td>
    138138                </tr>
    139139                <?php endif; ?>
  • src/wp-admin/network/upgrade.php

    diff --git a/src/wp-admin/network/upgrade.php b/src/wp-admin/network/upgrade.php
    old mode 100644
    new mode 100755
    index f7ea218..dcca3de
    a b switch ( $action ) { 
    5252                        update_site_option( 'wpmu_upgrade_site', $wp_db_version );
    5353                }
    5454
    55                 $blogs = $wpdb->get_results( "SELECT * FROM {$wpdb->blogs} WHERE site_id = '{$wpdb->siteid}' AND spam = '0' AND deleted = '0' AND archived = '0' ORDER BY registered DESC LIMIT {$n}, 5", ARRAY_A );
     55                $blogs = $wpdb->get_results( "SELECT blog_id FROM {$wpdb->blogs} WHERE site_id = '{$wpdb->siteid}' AND spam = '0' AND deleted = '0' AND archived = '0' ORDER BY registered DESC LIMIT {$n}, 5", ARRAY_A );
    5656                if ( empty( $blogs ) ) {
    5757                        echo '<p>' . __( 'All done!' ) . '</p>';
    5858                        break;
  • src/wp-admin/user-edit.php

    diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php
    old mode 100644
    new mode 100755
    index e713bf8..a2b7040
    a b if ( ! IS_PROFILE_PAGE ) { 
    243243<table class="form-table">
    244244<?php if ( ! ( IS_PROFILE_PAGE && ! $user_can_edit ) ) : ?>
    245245        <tr class="user-rich-editing-wrap">
    246                 <th scope="row"><?php _e('Visual Editor')?></th>
     246                <th scope="row"><label for="rich_editing"><?php _e( 'Visual Editor' )?></label></th>
    247247                <td><label for="rich_editing"><input name="rich_editing" type="checkbox" id="rich_editing" value="false" <?php if ( ! empty( $profileuser->rich_editing ) ) checked( 'false', $profileuser->rich_editing ); ?> /> <?php _e( 'Disable the visual editor when writing' ); ?></label></td>
    248248        </tr>
    249249<?php endif; ?>
    if ( ! IS_PROFILE_PAGE ) { 
    266266endif; // $_wp_admin_css_colors
    267267if ( !( IS_PROFILE_PAGE && !$user_can_edit ) ) : ?>
    268268<tr class="user-comment-shortcuts-wrap">
    269 <th scope="row"><?php _e( 'Keyboard Shortcuts' ); ?></th>
     269<th scope="row"><label for="comment_shortcuts"><?php _e( 'Keyboard Shortcuts' ); ?></label></th>
    270270<td><label for="comment_shortcuts"><input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php if ( ! empty( $profileuser->comment_shortcuts ) ) checked( 'true', $profileuser->comment_shortcuts ); ?> /> <?php _e('Enable keyboard shortcuts for comment moderation.'); ?></label> <?php _e('<a href="http://codex.wordpress.org/Keyboard_Shortcuts" target="_blank">More information</a>'); ?></td>
    271271</tr>
    272272<?php endif; ?>
    273273<tr class="show-admin-bar user-admin-bar-front-wrap">
    274 <th scope="row"><?php _e('Toolbar')?></th>
     274<th scope="row"><label for="admin_bar_front"><?php _e( 'Toolbar' )?></label></th>
    275275<td><fieldset><legend class="screen-reader-text"><span><?php _e('Toolbar') ?></span></legend>
    276276<label for="admin_bar_front">
    277277<input name="admin_bar_front" type="checkbox" id="admin_bar_front" value="1"<?php checked( _get_admin_bar_pref( 'front', $profileuser->ID ) ); ?> />
    if ( $show_password_fields ) : 
    470470        <p class="description"><?php _e( 'Type your new password again.' ); ?></p>
    471471        <br />
    472472        <div id="pass-strength-result"><?php _e( 'Strength indicator' ); ?></div>
    473         <p class="description indicator-hint"><?php echo _wp_password_hint(); ?></p>
     473        <p class="description indicator-hint"><?php echo _wp_get_password_hint(); ?></p>
    474474        </td>
    475475</tr>
    476476<?php endif; ?>
  • src/wp-admin/user-new.php

    diff --git a/src/wp-admin/user-new.php b/src/wp-admin/user-new.php
    old mode 100644
    new mode 100755
    index 69d2884..be3bf69
    a b if ( apply_filters( 'show_password_fields', true ) ) : ?> 
    396396                <input name="pass2" type="password" id="pass2" autocomplete="off" />
    397397                <br />
    398398                <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
    399                 <p class="description indicator-hint"><?php echo _wp_password_hint(); ?></p>
     399                <p class="description indicator-hint"><?php echo _wp_get_password_hint(); ?></p>
    400400                </td>
    401401        </tr>
    402402        <tr>
  • src/wp-content/themes/twentyfifteen/css/editor-style.css

    diff --git a/src/wp-content/themes/twentyeleven/404.php b/src/wp-content/themes/twentyeleven/404.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/archive.php b/src/wp-content/themes/twentyeleven/archive.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/author.php b/src/wp-content/themes/twentyeleven/author.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/category.php b/src/wp-content/themes/twentyeleven/category.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/colors/dark.css b/src/wp-content/themes/twentyeleven/colors/dark.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/comments.php b/src/wp-content/themes/twentyeleven/comments.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/content-aside.php b/src/wp-content/themes/twentyeleven/content-aside.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/content-featured.php b/src/wp-content/themes/twentyeleven/content-featured.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/content-gallery.php b/src/wp-content/themes/twentyeleven/content-gallery.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/content-image.php b/src/wp-content/themes/twentyeleven/content-image.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/content-intro.php b/src/wp-content/themes/twentyeleven/content-intro.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/content-link.php b/src/wp-content/themes/twentyeleven/content-link.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/content-page.php b/src/wp-content/themes/twentyeleven/content-page.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/content-quote.php b/src/wp-content/themes/twentyeleven/content-quote.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/content-single.php b/src/wp-content/themes/twentyeleven/content-single.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/content-status.php b/src/wp-content/themes/twentyeleven/content-status.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/content.php b/src/wp-content/themes/twentyeleven/content.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/editor-style-rtl.css b/src/wp-content/themes/twentyeleven/editor-style-rtl.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/editor-style.css b/src/wp-content/themes/twentyeleven/editor-style.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/footer.php b/src/wp-content/themes/twentyeleven/footer.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/functions.php b/src/wp-content/themes/twentyeleven/functions.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/header.php b/src/wp-content/themes/twentyeleven/header.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/image.php b/src/wp-content/themes/twentyeleven/image.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-dark-rtl.png b/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-dark-rtl.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-dark.png b/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-dark.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-rtl.png b/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-rtl.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor.png b/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/comment-arrow-dark-rtl.png b/src/wp-content/themes/twentyeleven/images/comment-arrow-dark-rtl.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/comment-arrow-dark.png b/src/wp-content/themes/twentyeleven/images/comment-arrow-dark.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/comment-arrow-rtl.png b/src/wp-content/themes/twentyeleven/images/comment-arrow-rtl.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/comment-arrow.png b/src/wp-content/themes/twentyeleven/images/comment-arrow.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/comment-bubble-dark-rtl.png b/src/wp-content/themes/twentyeleven/images/comment-bubble-dark-rtl.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/comment-bubble-dark.png b/src/wp-content/themes/twentyeleven/images/comment-bubble-dark.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/comment-bubble-rtl.png b/src/wp-content/themes/twentyeleven/images/comment-bubble-rtl.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/comment-bubble.png b/src/wp-content/themes/twentyeleven/images/comment-bubble.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/headers/chessboard-thumbnail.jpg b/src/wp-content/themes/twentyeleven/images/headers/chessboard-thumbnail.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/headers/chessboard.jpg b/src/wp-content/themes/twentyeleven/images/headers/chessboard.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/headers/hanoi-thumbnail.jpg b/src/wp-content/themes/twentyeleven/images/headers/hanoi-thumbnail.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/headers/hanoi.jpg b/src/wp-content/themes/twentyeleven/images/headers/hanoi.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/headers/lanterns-thumbnail.jpg b/src/wp-content/themes/twentyeleven/images/headers/lanterns-thumbnail.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/headers/lanterns.jpg b/src/wp-content/themes/twentyeleven/images/headers/lanterns.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/headers/pine-cone-thumbnail.jpg b/src/wp-content/themes/twentyeleven/images/headers/pine-cone-thumbnail.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/headers/pine-cone.jpg b/src/wp-content/themes/twentyeleven/images/headers/pine-cone.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/headers/shore-thumbnail.jpg b/src/wp-content/themes/twentyeleven/images/headers/shore-thumbnail.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/headers/shore.jpg b/src/wp-content/themes/twentyeleven/images/headers/shore.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/headers/trolley-thumbnail.jpg b/src/wp-content/themes/twentyeleven/images/headers/trolley-thumbnail.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/headers/trolley.jpg b/src/wp-content/themes/twentyeleven/images/headers/trolley.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/headers/wheel-thumbnail.jpg b/src/wp-content/themes/twentyeleven/images/headers/wheel-thumbnail.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/headers/wheel.jpg b/src/wp-content/themes/twentyeleven/images/headers/wheel.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/headers/willow-thumbnail.jpg b/src/wp-content/themes/twentyeleven/images/headers/willow-thumbnail.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/headers/willow.jpg b/src/wp-content/themes/twentyeleven/images/headers/willow.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/search.png b/src/wp-content/themes/twentyeleven/images/search.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/images/wordpress.png b/src/wp-content/themes/twentyeleven/images/wordpress.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/inc/images/content-sidebar.png b/src/wp-content/themes/twentyeleven/inc/images/content-sidebar.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/inc/images/content.png b/src/wp-content/themes/twentyeleven/inc/images/content.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/inc/images/dark.png b/src/wp-content/themes/twentyeleven/inc/images/dark.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/inc/images/light.png b/src/wp-content/themes/twentyeleven/inc/images/light.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/inc/images/sidebar-content.png b/src/wp-content/themes/twentyeleven/inc/images/sidebar-content.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/inc/theme-customizer.js b/src/wp-content/themes/twentyeleven/inc/theme-customizer.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/inc/theme-options.css b/src/wp-content/themes/twentyeleven/inc/theme-options.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/inc/theme-options.js b/src/wp-content/themes/twentyeleven/inc/theme-options.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/inc/theme-options.php b/src/wp-content/themes/twentyeleven/inc/theme-options.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/inc/widgets.php b/src/wp-content/themes/twentyeleven/inc/widgets.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/index.php b/src/wp-content/themes/twentyeleven/index.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/js/html5.js b/src/wp-content/themes/twentyeleven/js/html5.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/js/showcase.js b/src/wp-content/themes/twentyeleven/js/showcase.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/languages/twentyeleven.pot b/src/wp-content/themes/twentyeleven/languages/twentyeleven.pot
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/license.txt b/src/wp-content/themes/twentyeleven/license.txt
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/page.php b/src/wp-content/themes/twentyeleven/page.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/readme.txt b/src/wp-content/themes/twentyeleven/readme.txt
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/rtl.css b/src/wp-content/themes/twentyeleven/rtl.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/screenshot.png b/src/wp-content/themes/twentyeleven/screenshot.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/search.php b/src/wp-content/themes/twentyeleven/search.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/searchform.php b/src/wp-content/themes/twentyeleven/searchform.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/showcase.php b/src/wp-content/themes/twentyeleven/showcase.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/sidebar-footer.php b/src/wp-content/themes/twentyeleven/sidebar-footer.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/sidebar-page.php b/src/wp-content/themes/twentyeleven/sidebar-page.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/sidebar.php b/src/wp-content/themes/twentyeleven/sidebar.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/single.php b/src/wp-content/themes/twentyeleven/single.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/style.css b/src/wp-content/themes/twentyeleven/style.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyeleven/tag.php b/src/wp-content/themes/twentyeleven/tag.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/404.php b/src/wp-content/themes/twentyfifteen/404.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/archive.php b/src/wp-content/themes/twentyfifteen/archive.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/author-bio.php b/src/wp-content/themes/twentyfifteen/author-bio.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/changelog.txt b/src/wp-content/themes/twentyfifteen/changelog.txt
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/comments.php b/src/wp-content/themes/twentyfifteen/comments.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/content-link.php b/src/wp-content/themes/twentyfifteen/content-link.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/content-none.php b/src/wp-content/themes/twentyfifteen/content-none.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/content-page.php b/src/wp-content/themes/twentyfifteen/content-page.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/content-search.php b/src/wp-content/themes/twentyfifteen/content-search.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/content.php b/src/wp-content/themes/twentyfifteen/content.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/css/admin-custom-header.css b/src/wp-content/themes/twentyfifteen/css/admin-custom-header.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/css/editor-style.css b/src/wp-content/themes/twentyfifteen/css/editor-style.css
    old mode 100644
    new mode 100755
    index 4b91b92..f60b3c7
    a b  
    1 /*
    2 Theme Name: Twenty Fifteen
    3 Description: Used to style the TinyMCE editor.
    4 */
    5 
    6 
    7 /**
    8  * Table of Contents:
    9  *
    10  * 1.0 - Body
    11  * 2.0 - Typography
    12  * 3.0 - Elements
    13  * 4.0 - Alignment
    14  * 5.0 - Caption
    15  * 6.0 - Galleries
    16  * 7.0 - Audio / Video
    17  * 8.0 - RTL
    18  */
    19 
    20 
    21 /**
    22  * 1.0 Body
    23  */
    24 
    25 body {
    26         color: #333;
    27         font-family: "Noto Serif", serif;
    28         font-weight: 400;
    29         font-size: 17px;
    30         line-height: 1.6471;
    31         max-width: 660px;
    32         margin: 8% 10%;
    33         vertical-align: baseline;
    34 }
    35 
    36 
    37 /**
    38  * 2.0 Typography
    39  */
    40 
    41 h1,
    42 h2,
    43 h3,
    44 h4,
    45 h5,
    46 h6 {
    47         clear: both;
    48         font-weight: 700;
    49         margin: 56px 0 28px;
    50 }
    51 
    52 h1 {
    53         font-size: 35px;
    54         line-height: 1.2308;
    55 }
    56 
    57 h2 {
    58         font-size: 29px;
    59         line-height: 1.2069;
    60 }
    61 
    62 h3 {
    63         font-size: 24px;
    64         line-height: 1.1667;
    65 }
    66 
    67 h4 {
    68         font-size: 20px;
    69         line-height: 1.4;
    70 }
    71 
    72 h5,
    73 h6 {
    74         font-size: 17px;
    75         letter-spacing: 0.1em;
    76         line-height: 1.2353;
    77         text-transform: uppercase;
    78 }
    79 
    80 h1:first-child,
    81 h2:first-child,
    82 h3:first-child,
    83 h4:first-child,
    84 h5:first-child,
    85 h6:first-child {
    86         margin-top: 0;
    87 }
    88 
    89 p {
    90         margin: 0 0 28px;
    91 }
    92 
    93 b,
    94 strong {
    95         font-weight: 700;
    96 }
    97 
    98 dfn,
    99 cite,
    100 em,
    101 i {
    102         font-style: italic;
    103 }
    104 
    105 blockquote {
    106         border-left: 4px solid #707070;
    107         color: #707070;
    108         font-size: 20px;
    109         font-style: italic;
    110         line-height: 1.8182;
    111         margin: 0 0 35px -21px;
    112         padding-left: 17px;
    113 }
    114 
    115 blockquote > blockquote {
    116         margin-left: 0;
    117 }
    118 
    119 blockquote p {
    120         margin-bottom: 35px;
    121 }
    122 
    123 blockquote > p:last-child {
    124         margin-bottom: 0;
    125 }
    126 
    127 blockquote cite,
    128 blockquote small {
    129         color: #333;
    130         font-size: 17px;
    131         font-family: "Noto Sans", sans-serif;
    132         line-height: 1.6471;
    133 }
    134 
    135 blockquote em,
    136 blockquote i,
    137 blockquote cite {
    138         font-style: normal;
    139 }
    140 
    141 blockquote strong,
    142 blockquote b {
    143         font-weight: 400;
    144 }
    145 
    146 address {
    147         font-style: italic;
    148         margin: 0 0 28px;
    149 }
    150 
    151 code,
    152 kbd,
    153 tt,
    154 var,
    155 samp,
    156 pre {
    157         font-family: Inconsolata, monospace;
    158 }
    159 
    160 pre {
    161         background-color: #fcfcfc;
    162         border: 1px solid #eaeaea;
    163         font-size: 17px;
    164         line-height: 1.2353;
    165         margin-bottom: 28px;
    166         max-width: 100%;
    167         overflow: auto;
    168         padding: 14px;
    169         white-space: pre;
    170         white-space: pre-wrap;
    171         word-wrap: break-word;
    172 }
    173 
    174 abbr[title] {
    175         border-bottom: 1px dotted #eaeaea;
    176         cursor: help;
    177 }
    178 
    179 mark,
    180 ins {
    181         background-color: #fff9c0;
    182         text-decoration: none;
    183 }
    184 
    185 sup,
    186 sub {
    187         font-size: 75%;
    188         height: 0;
    189         line-height: 0;
    190         position: relative;
    191         vertical-align: baseline;
    192 }
    193 
    194 sup {
    195         bottom: 1ex;
    196 }
    197 
    198 sub {
    199         top: .5ex;
    200 }
    201 
    202 small {
    203         font-size: 75%;
    204 }
    205 
    206 big {
    207         font-size: 125%;
    208 }
    209 
    210 
    211 /**
    212  * 3.0 Elements
    213  */
    214 
    215 hr {
    216         background-color: #eaeaea;
    217         border: 0;
    218         height: 1px;
    219         margin-bottom: 28px;
    220 }
    221 
    222 ul,
    223 ol {
    224         margin: 0 0 28px 0;
    225         padding: 0;
    226 }
    227 
    228 ul {
    229         list-style: disc;
    230 }
    231 
    232 ol {
    233         list-style: decimal;
    234 }
    235 
    236 li > ul,
    237 li > ol {
    238         margin: 0 0 0 23px;
    239 }
    240 
    241 dl {
    242         margin: 0 0 28px;
    243 }
    244 
    245 dt {
    246         font-weight: bold;
    247 }
    248 
    249 dd {
    250         margin: 0 0 28px;
    251 }
    252 
    253 table,
    254 th,
    255 td,
    256 .mce-item-table,
    257 .mce-item-table th,
    258 .mce-item-table td {
    259         border: 1px solid #eaeaea;
    260 }
    261 
    262 table a {
    263         color: #333;
    264 }
    265 
    266 table,
    267 .mce-item-table {
    268         border-collapse: separate;
    269         border-spacing: 0;
    270         border-width: 1px 0 0 1px;
    271         margin: 0 0 28px;
    272         width: 100%;
    273 }
    274 
    275 table th,
    276 .mce-item-table th,
    277 table caption {
    278         border-width: 0 1px 1px 0;
    279         font-family: "Noto Serif", serif;
    280         font-size: 17px;
    281         font-weight: 700;
    282         padding: 7px;
    283         text-align: left;
    284         vertical-align: baseline;
    285 }
    286 
    287 table td,
    288 .mce-item-table td {
    289         border-width: 0 1px 1px 0;
    290         font-family: "Noto Serif", serif;
    291         font-size: 17px;
    292         padding: 7px;
    293         vertical-align: baseline;
    294 }
    295 
    296 img {
    297         border: 0;
    298         height: auto;
    299         max-width: 660px;
    300         vertical-align: middle;
    301 }
    302 
    303 a img {
    304         display: block;
    305 }
    306 
    307 figure {
    308         margin: 0;
    309 }
    310 
    311 del {
    312         opacity: 0.8;
    313 }
    314 
    315 a {
    316         border-bottom: 1px solid #333;
    317         color: #333;
    318         text-decoration: none;
    319 }
    320 
    321 
    322 /**
    323  * 4.0 Alignment
    324  */
    325 
    326 .alignleft {
    327         float: left;
    328         margin: 7px 28px 28px 0;
    329 }
    330 
    331 .alignright {
    332         float: right;
    333         margin: 7px 0 28px 28px;
    334 }
    335 
    336 .aligncenter {
    337         clear: both;
    338         display: block;
    339         margin: 7px auto;
    340 }
    341 
    342 
    343 /**
    344  * 5.0 Caption
    345  */
    346 
    347 .wp-caption {
    348         background: transparent;
    349         border: none;
    350         color: #707070;
    351         font-family: "Noto Sans", sans-serif;
    352         margin: 0 0 28px 0;
    353         max-width: 660px;
    354         padding: 0;
    355         text-align: center;
    356 }
    357 
    358 .wp-caption.alignleft {
    359         margin: 7px 28px 21px 0;
    360 }
    361 
    362 .wp-caption.alignright {
    363         margin: 7px 0 21px 28px;
    364 }
    365 
    366 .wp-caption.aligncenter {
    367         margin: 7px auto;
    368 }
    369 
    370 .wp-caption .wp-caption-text,
    371 .wp-caption-dd {
    372         font-size: 14px;
    373         line-height: 1.5;
    374         padding: 7px 0;
    375 }
    376 
    377 
    378 /**
    379  * 6.0 Galleries
    380  */
    381 
    382 .gallery {
    383         margin-bottom: 28px;
    384 }
    385 
    386 .gallery-item {
    387         display: inline-block;
    388         padding: 1.79104477%;
    389         text-align: center;
    390         vertical-align: top;
    391         width: 100%;
    392 }
    393 
    394 .gallery-columns-2 .gallery-item {
    395         max-width: 50%;
    396 }
    397 
    398 .gallery-columns-3 .gallery-item {
    399         max-width: 33.33%;
    400 }
    401 
    402 .gallery-columns-4 .gallery-item {
    403         max-width: 25%;
    404 }
    405 
    406 .gallery-columns-5 .gallery-item {
    407         max-width: 20%;
    408 }
    409 
    410 .gallery-columns-6 .gallery-item {
    411         max-width: 16.66%;
    412 }
    413 
    414 .gallery-columns-7 .gallery-item {
    415         max-width: 14.28%;
    416 }
    417 
    418 .gallery-columns-8 .gallery-item {
    419         max-width: 12.5%;
    420 }
    421 
    422 .gallery-columns-9 .gallery-item {
    423         max-width: 11.11%;
    424 }
    425 
    426 .gallery .gallery-caption {
    427         color: #707070;
    428         display: block;
    429         font-family: "Noto Sans", sans-serif;
    430         font-size: 14px;
    431         line-height: 1.5;
    432         padding: 7px 0;
    433 }
    434 
    435 .gallery-columns-6 .gallery-caption,
    436 .gallery-columns-7 .gallery-caption,
    437 .gallery-columns-8 .gallery-caption,
    438 .gallery-columns-9 .gallery-caption {
    439         display: none;
    440 }
    441 
    442 
    443 /**
    444  * 7.0 Audio / Video
    445  */
    446 
    447 .mce-content-body .wpview-wrap {
    448         margin-bottom: 32px;
    449 }
    450 
    451 .mce-content-body .wp-audio-playlist {
    452         margin: 0;
    453 }
    454 
    455 
    456 /**
    457  * 8.0 RTL
    458  */
    459 
    460 .rtl blockquote {
    461         border-right: 4px solid #707070;
    462         border-left: none;
    463         margin: 0 -21px 35px 0;
    464         padding-right: 17px;
    465         padding-left: 0;
    466 }
    467 
    468 .rtl blockquote > blockquote {
    469         margin-right: 0;
    470         margin-left: auto;
    471 }
    472 
    473 .rtl li > ul,
    474 .rtl li > ol {
    475         margin: 0 23px 0 0;
    476 }
    477 
    478 .rtl table th,
    479 .rtl table caption {
    480         text-align: right;
    481 }
     1/*
     2Theme Name: Twenty Fifteen
     3Description: Used to style the TinyMCE editor.
     4*/
     5
     6
     7/**
     8 * Table of Contents:
     9 *
     10 * 1.0 - Body
     11 * 2.0 - Typography
     12 * 3.0 - Elements
     13 * 4.0 - Alignment
     14 * 5.0 - Caption
     15 * 6.0 - Galleries
     16 * 7.0 - Audio / Video
     17 * 8.0 - RTL
     18 */
     19
     20
     21/**
     22 * 1.0 Body
     23 */
     24
     25body {
     26        color: #333;
     27        font-family: "Noto Serif", serif;
     28        font-weight: 400;
     29        font-size: 17px;
     30        line-height: 1.6471;
     31        max-width: 660px;
     32        margin: 8% 10%;
     33        vertical-align: baseline;
     34}
     35
     36
     37/**
     38 * 2.0 Typography
     39 */
     40
     41h1,
     42h2,
     43h3,
     44h4,
     45h5,
     46h6 {
     47        clear: both;
     48        font-weight: 700;
     49        margin: 56px 0 28px;
     50}
     51
     52h1 {
     53        font-size: 35px;
     54        line-height: 1.2308;
     55}
     56
     57h2 {
     58        font-size: 29px;
     59        line-height: 1.2069;
     60}
     61
     62h3 {
     63        font-size: 24px;
     64        line-height: 1.1667;
     65}
     66
     67h4 {
     68        font-size: 20px;
     69        line-height: 1.4;
     70}
     71
     72h5,
     73h6 {
     74        font-size: 17px;
     75        letter-spacing: 0.1em;
     76        line-height: 1.2353;
     77        text-transform: uppercase;
     78}
     79
     80h1:first-child,
     81h2:first-child,
     82h3:first-child,
     83h4:first-child,
     84h5:first-child,
     85h6:first-child {
     86        margin-top: 0;
     87}
     88
     89p {
     90        margin: 0 0 28px;
     91}
     92
     93b,
     94strong {
     95        font-weight: 700;
     96}
     97
     98dfn,
     99cite,
     100em,
     101i {
     102        font-style: italic;
     103}
     104
     105blockquote {
     106        border-left: 4px solid #707070;
     107        color: #707070;
     108        font-size: 20px;
     109        font-style: italic;
     110        line-height: 1.8182;
     111        margin: 0 0 35px -21px;
     112        padding-left: 17px;
     113}
     114
     115blockquote > blockquote {
     116        margin-left: 0;
     117}
     118
     119blockquote p {
     120        margin-bottom: 35px;
     121}
     122
     123blockquote > p:last-child {
     124        margin-bottom: 0;
     125}
     126
     127blockquote cite,
     128blockquote small {
     129        color: #333;
     130        font-size: 17px;
     131        font-family: "Noto Sans", sans-serif;
     132        line-height: 1.6471;
     133}
     134
     135blockquote em,
     136blockquote i,
     137blockquote cite {
     138        font-style: normal;
     139}
     140
     141blockquote strong,
     142blockquote b {
     143        font-weight: 400;
     144}
     145
     146address {
     147        font-style: italic;
     148        margin: 0 0 28px;
     149}
     150
     151code,
     152kbd,
     153tt,
     154var,
     155samp,
     156pre {
     157        font-family: Inconsolata, monospace;
     158}
     159
     160pre {
     161        background-color: #fcfcfc;
     162        border: 1px solid #eaeaea;
     163        font-size: 17px;
     164        line-height: 1.2353;
     165        margin-bottom: 28px;
     166        max-width: 100%;
     167        overflow: auto;
     168        padding: 14px;
     169        white-space: pre;
     170        white-space: pre-wrap;
     171        word-wrap: break-word;
     172}
     173
     174abbr[title] {
     175        border-bottom: 1px dotted #eaeaea;
     176        cursor: help;
     177}
     178
     179mark,
     180ins {
     181        background-color: #fff9c0;
     182        text-decoration: none;
     183}
     184
     185sup,
     186sub {
     187        font-size: 75%;
     188        height: 0;
     189        line-height: 0;
     190        position: relative;
     191        vertical-align: baseline;
     192}
     193
     194sup {
     195        bottom: 1ex;
     196}
     197
     198sub {
     199        top: .5ex;
     200}
     201
     202small {
     203        font-size: 75%;
     204}
     205
     206big {
     207        font-size: 125%;
     208}
     209
     210
     211/**
     212 * 3.0 Elements
     213 */
     214
     215hr {
     216        background-color: #eaeaea;
     217        border: 0;
     218        height: 1px;
     219        margin-bottom: 28px;
     220}
     221
     222ul,
     223ol {
     224        margin: 0 0 28px 0;
     225        padding: 0;
     226}
     227
     228ul {
     229        list-style: disc;
     230}
     231
     232ol {
     233        list-style: decimal;
     234}
     235
     236li > ul,
     237li > ol {
     238        margin: 0 0 0 23px;
     239}
     240
     241dl {
     242        margin: 0 0 28px;
     243}
     244
     245dt {
     246        font-weight: bold;
     247}
     248
     249dd {
     250        margin: 0 0 28px;
     251}
     252
     253table,
     254th,
     255td,
     256.mce-item-table,
     257.mce-item-table th,
     258.mce-item-table td {
     259        border: 1px solid #eaeaea;
     260}
     261
     262table a {
     263        color: #333;
     264}
     265
     266table,
     267.mce-item-table {
     268        border-collapse: separate;
     269        border-spacing: 0;
     270        border-width: 1px 0 0 1px;
     271        margin: 0 0 28px;
     272        width: 100%;
     273}
     274
     275table th,
     276.mce-item-table th,
     277table caption {
     278        border-width: 0 1px 1px 0;
     279        font-family: "Noto Serif", serif;
     280        font-size: 17px;
     281        font-weight: 700;
     282        padding: 7px;
     283        text-align: left;
     284        vertical-align: baseline;
     285}
     286
     287table td,
     288.mce-item-table td {
     289        border-width: 0 1px 1px 0;
     290        font-family: "Noto Serif", serif;
     291        font-size: 17px;
     292        padding: 7px;
     293        vertical-align: baseline;
     294}
     295
     296img {
     297        border: 0;
     298        height: auto;
     299        max-width: 660px;
     300        vertical-align: middle;
     301}
     302
     303a img {
     304        display: block;
     305}
     306
     307figure {
     308        margin: 0;
     309}
     310
     311del {
     312        opacity: 0.8;
     313}
     314
     315a {
     316        border-bottom: 1px solid #333;
     317        color: #333;
     318        text-decoration: none;
     319}
     320
     321
     322/**
     323 * 4.0 Alignment
     324 */
     325
     326.alignleft {
     327        float: left;
     328        margin: 7px 28px 28px 0;
     329}
     330
     331.alignright {
     332        float: right;
     333        margin: 7px 0 28px 28px;
     334}
     335
     336.aligncenter {
     337        clear: both;
     338        display: block;
     339        margin: 7px auto;
     340}
     341
     342
     343/**
     344 * 5.0 Caption
     345 */
     346
     347.wp-caption {
     348        background: transparent;
     349        border: none;
     350        color: #707070;
     351        font-family: "Noto Sans", sans-serif;
     352        margin: 0 0 28px 0;
     353        max-width: 660px;
     354        padding: 0;
     355        text-align: center;
     356}
     357
     358.wp-caption.alignleft {
     359        margin: 7px 28px 21px 0;
     360}
     361
     362.wp-caption.alignright {
     363        margin: 7px 0 21px 28px;
     364}
     365
     366.wp-caption.aligncenter {
     367        margin: 7px auto;
     368}
     369
     370.wp-caption .wp-caption-text,
     371.wp-caption-dd {
     372        font-size: 14px;
     373        line-height: 1.5;
     374        padding: 7px 0;
     375}
     376
     377
     378/**
     379 * 6.0 Galleries
     380 */
     381
     382.gallery {
     383        margin-bottom: 28px;
     384}
     385
     386.gallery-item {
     387        display: inline-block;
     388        padding: 1.79104477%;
     389        text-align: center;
     390        vertical-align: top;
     391        width: 100%;
     392}
     393
     394.gallery-columns-2 .gallery-item {
     395        max-width: 50%;
     396}
     397
     398.gallery-columns-3 .gallery-item {
     399        max-width: 33.33%;
     400}
     401
     402.gallery-columns-4 .gallery-item {
     403        max-width: 25%;
     404}
     405
     406.gallery-columns-5 .gallery-item {
     407        max-width: 20%;
     408}
     409
     410.gallery-columns-6 .gallery-item {
     411        max-width: 16.66%;
     412}
     413
     414.gallery-columns-7 .gallery-item {
     415        max-width: 14.28%;
     416}
     417
     418.gallery-columns-8 .gallery-item {
     419        max-width: 12.5%;
     420}
     421
     422.gallery-columns-9 .gallery-item {
     423        max-width: 11.11%;
     424}
     425
     426.gallery .gallery-caption {
     427        color: #707070;
     428        display: block;
     429        font-family: "Noto Sans", sans-serif;
     430        font-size: 14px;
     431        line-height: 1.5;
     432        padding: 7px 0;
     433}
     434
     435.gallery-columns-6 .gallery-caption,
     436.gallery-columns-7 .gallery-caption,
     437.gallery-columns-8 .gallery-caption,
     438.gallery-columns-9 .gallery-caption {
     439        display: none;
     440}
     441
     442
     443/**
     444 * 7.0 Audio / Video
     445 */
     446
     447.mce-content-body .wpview-wrap {
     448        margin-bottom: 32px;
     449}
     450
     451.mce-content-body .wp-audio-playlist {
     452        margin: 0;
     453}
     454
     455
     456/**
     457 * 8.0 RTL
     458 */
     459
     460.rtl blockquote {
     461        border-right: 4px solid #707070;
     462        border-left: none;
     463        margin: 0 -21px 35px 0;
     464        padding-right: 17px;
     465        padding-left: 0;
     466}
     467
     468.rtl blockquote > blockquote {
     469        margin-right: 0;
     470        margin-left: auto;
     471}
     472
     473.rtl li > ul,
     474.rtl li > ol {
     475        margin: 0 23px 0 0;
     476}
     477
     478.rtl table th,
     479.rtl table caption {
     480        text-align: right;
     481}
  • src/wp-content/themes/twentyfifteen/functions.php

    diff --git a/src/wp-content/themes/twentyfifteen/css/ie.css b/src/wp-content/themes/twentyfifteen/css/ie.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/css/ie7.css b/src/wp-content/themes/twentyfifteen/css/ie7.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/footer.php b/src/wp-content/themes/twentyfifteen/footer.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/functions.php b/src/wp-content/themes/twentyfifteen/functions.php
    old mode 100644
    new mode 100755
    index 776f06a..59b908e
    a b function twentyfifteen_nav_description( $item_output, $item, $depth, $args ) { 
    310310}
    311311add_filter( 'walker_nav_menu_start_el', 'twentyfifteen_nav_description', 10, 4 );
    312312
     313
     314
     315
     316add_action( 'init' , 'my_remove_post_type_support' , 10 );
     317function my_remove_post_type_support() {
     318remove_post_type_support( 'attachment', 'caption' );
     319remove_post_type_support( 'attachment', 'title' );
     320remove_post_type_support( 'attachment', 'description' );
     321remove_post_type_support( 'attachment', 'alt' );
     322
     323
     324//global $_wp_post_type_features;
     325//print_r($_wp_post_type_features);
     326}
     327
    313328/**
    314329 * Implement the Custom Header feature.
    315330 *
  • src/wp-includes/comment-template.php

    diff --git a/src/wp-content/themes/twentyfifteen/genericons/COPYING.txt b/src/wp-content/themes/twentyfifteen/genericons/COPYING.txt
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/genericons/Genericons.eot b/src/wp-content/themes/twentyfifteen/genericons/Genericons.eot
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/genericons/Genericons.svg b/src/wp-content/themes/twentyfifteen/genericons/Genericons.svg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/genericons/Genericons.ttf b/src/wp-content/themes/twentyfifteen/genericons/Genericons.ttf
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/genericons/Genericons.woff b/src/wp-content/themes/twentyfifteen/genericons/Genericons.woff
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/genericons/LICENSE.txt b/src/wp-content/themes/twentyfifteen/genericons/LICENSE.txt
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/genericons/README.md b/src/wp-content/themes/twentyfifteen/genericons/README.md
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/genericons/example.html b/src/wp-content/themes/twentyfifteen/genericons/example.html
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/genericons/genericons.css b/src/wp-content/themes/twentyfifteen/genericons/genericons.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/header.php b/src/wp-content/themes/twentyfifteen/header.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/image.php b/src/wp-content/themes/twentyfifteen/image.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/inc/custom-header.php b/src/wp-content/themes/twentyfifteen/inc/custom-header.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/inc/customizer.php b/src/wp-content/themes/twentyfifteen/inc/customizer.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/inc/template-tags.php b/src/wp-content/themes/twentyfifteen/inc/template-tags.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/index.php b/src/wp-content/themes/twentyfifteen/index.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/js/color-scheme-control.js b/src/wp-content/themes/twentyfifteen/js/color-scheme-control.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/js/customizer.js b/src/wp-content/themes/twentyfifteen/js/customizer.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/js/functions.js b/src/wp-content/themes/twentyfifteen/js/functions.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/js/html5.js b/src/wp-content/themes/twentyfifteen/js/html5.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/js/keyboard-image-navigation.js b/src/wp-content/themes/twentyfifteen/js/keyboard-image-navigation.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/js/skip-link-focus-fix.js b/src/wp-content/themes/twentyfifteen/js/skip-link-focus-fix.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/languages/twentyfifteen.pot b/src/wp-content/themes/twentyfifteen/languages/twentyfifteen.pot
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/page.php b/src/wp-content/themes/twentyfifteen/page.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/readme.txt b/src/wp-content/themes/twentyfifteen/readme.txt
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/rtl.css b/src/wp-content/themes/twentyfifteen/rtl.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/screenshot.png b/src/wp-content/themes/twentyfifteen/screenshot.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/search.php b/src/wp-content/themes/twentyfifteen/search.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/sidebar.php b/src/wp-content/themes/twentyfifteen/sidebar.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/single.php b/src/wp-content/themes/twentyfifteen/single.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfifteen/style.css b/src/wp-content/themes/twentyfifteen/style.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/404.php b/src/wp-content/themes/twentyfourteen/404.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/archive.php b/src/wp-content/themes/twentyfourteen/archive.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/author.php b/src/wp-content/themes/twentyfourteen/author.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/category.php b/src/wp-content/themes/twentyfourteen/category.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/comments.php b/src/wp-content/themes/twentyfourteen/comments.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/content-aside.php b/src/wp-content/themes/twentyfourteen/content-aside.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/content-audio.php b/src/wp-content/themes/twentyfourteen/content-audio.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/content-featured-post.php b/src/wp-content/themes/twentyfourteen/content-featured-post.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/content-gallery.php b/src/wp-content/themes/twentyfourteen/content-gallery.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/content-image.php b/src/wp-content/themes/twentyfourteen/content-image.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/content-link.php b/src/wp-content/themes/twentyfourteen/content-link.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/content-none.php b/src/wp-content/themes/twentyfourteen/content-none.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/content-page.php b/src/wp-content/themes/twentyfourteen/content-page.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/content-quote.php b/src/wp-content/themes/twentyfourteen/content-quote.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/content-video.php b/src/wp-content/themes/twentyfourteen/content-video.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/content.php b/src/wp-content/themes/twentyfourteen/content.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/css/editor-style.css b/src/wp-content/themes/twentyfourteen/css/editor-style.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/css/ie.css b/src/wp-content/themes/twentyfourteen/css/ie.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/featured-content.php b/src/wp-content/themes/twentyfourteen/featured-content.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/footer.php b/src/wp-content/themes/twentyfourteen/footer.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/functions.php b/src/wp-content/themes/twentyfourteen/functions.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/genericons/COPYING.txt b/src/wp-content/themes/twentyfourteen/genericons/COPYING.txt
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/genericons/Genericons-Regular.otf b/src/wp-content/themes/twentyfourteen/genericons/Genericons-Regular.otf
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/genericons/LICENSE.txt b/src/wp-content/themes/twentyfourteen/genericons/LICENSE.txt
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/genericons/README.txt b/src/wp-content/themes/twentyfourteen/genericons/README.txt
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/genericons/example.html b/src/wp-content/themes/twentyfourteen/genericons/example.html
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.eot b/src/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.eot
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.svg b/src/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.svg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.ttf b/src/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.ttf
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.woff b/src/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.woff
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/genericons/genericons.css b/src/wp-content/themes/twentyfourteen/genericons/genericons.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/header.php b/src/wp-content/themes/twentyfourteen/header.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/image.php b/src/wp-content/themes/twentyfourteen/image.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/images/pattern-dark.svg b/src/wp-content/themes/twentyfourteen/images/pattern-dark.svg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/images/pattern-light.svg b/src/wp-content/themes/twentyfourteen/images/pattern-light.svg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/inc/back-compat.php b/src/wp-content/themes/twentyfourteen/inc/back-compat.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/inc/custom-header.php b/src/wp-content/themes/twentyfourteen/inc/custom-header.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/inc/customizer.php b/src/wp-content/themes/twentyfourteen/inc/customizer.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/inc/featured-content.php b/src/wp-content/themes/twentyfourteen/inc/featured-content.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/inc/template-tags.php b/src/wp-content/themes/twentyfourteen/inc/template-tags.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/inc/widgets.php b/src/wp-content/themes/twentyfourteen/inc/widgets.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/index.php b/src/wp-content/themes/twentyfourteen/index.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/js/customizer.js b/src/wp-content/themes/twentyfourteen/js/customizer.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/js/featured-content-admin.js b/src/wp-content/themes/twentyfourteen/js/featured-content-admin.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/js/functions.js b/src/wp-content/themes/twentyfourteen/js/functions.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/js/html5.js b/src/wp-content/themes/twentyfourteen/js/html5.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/js/keyboard-image-navigation.js b/src/wp-content/themes/twentyfourteen/js/keyboard-image-navigation.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/js/slider.js b/src/wp-content/themes/twentyfourteen/js/slider.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/languages/twentyfourteen.pot b/src/wp-content/themes/twentyfourteen/languages/twentyfourteen.pot
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/page-templates/contributors.php b/src/wp-content/themes/twentyfourteen/page-templates/contributors.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/page-templates/full-width.php b/src/wp-content/themes/twentyfourteen/page-templates/full-width.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/page.php b/src/wp-content/themes/twentyfourteen/page.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/rtl.css b/src/wp-content/themes/twentyfourteen/rtl.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/screenshot.png b/src/wp-content/themes/twentyfourteen/screenshot.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/search.php b/src/wp-content/themes/twentyfourteen/search.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/sidebar-content.php b/src/wp-content/themes/twentyfourteen/sidebar-content.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/sidebar-footer.php b/src/wp-content/themes/twentyfourteen/sidebar-footer.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/sidebar.php b/src/wp-content/themes/twentyfourteen/sidebar.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/single.php b/src/wp-content/themes/twentyfourteen/single.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/style.css b/src/wp-content/themes/twentyfourteen/style.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/tag.php b/src/wp-content/themes/twentyfourteen/tag.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyfourteen/taxonomy-post_format.php b/src/wp-content/themes/twentyfourteen/taxonomy-post_format.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/404.php b/src/wp-content/themes/twentyten/404.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/archive.php b/src/wp-content/themes/twentyten/archive.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/attachment.php b/src/wp-content/themes/twentyten/attachment.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/author.php b/src/wp-content/themes/twentyten/author.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/category.php b/src/wp-content/themes/twentyten/category.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/comments.php b/src/wp-content/themes/twentyten/comments.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/editor-style-rtl.css b/src/wp-content/themes/twentyten/editor-style-rtl.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/editor-style.css b/src/wp-content/themes/twentyten/editor-style.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/footer.php b/src/wp-content/themes/twentyten/footer.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/functions.php b/src/wp-content/themes/twentyten/functions.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/header.php b/src/wp-content/themes/twentyten/header.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/images/headers/berries-thumbnail.jpg b/src/wp-content/themes/twentyten/images/headers/berries-thumbnail.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/images/headers/berries.jpg b/src/wp-content/themes/twentyten/images/headers/berries.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/images/headers/cherryblossoms-thumbnail.jpg b/src/wp-content/themes/twentyten/images/headers/cherryblossoms-thumbnail.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/images/headers/cherryblossoms.jpg b/src/wp-content/themes/twentyten/images/headers/cherryblossoms.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/images/headers/concave-thumbnail.jpg b/src/wp-content/themes/twentyten/images/headers/concave-thumbnail.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/images/headers/concave.jpg b/src/wp-content/themes/twentyten/images/headers/concave.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/images/headers/fern-thumbnail.jpg b/src/wp-content/themes/twentyten/images/headers/fern-thumbnail.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/images/headers/fern.jpg b/src/wp-content/themes/twentyten/images/headers/fern.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/images/headers/forestfloor-thumbnail.jpg b/src/wp-content/themes/twentyten/images/headers/forestfloor-thumbnail.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/images/headers/forestfloor.jpg b/src/wp-content/themes/twentyten/images/headers/forestfloor.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/images/headers/inkwell-thumbnail.jpg b/src/wp-content/themes/twentyten/images/headers/inkwell-thumbnail.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/images/headers/inkwell.jpg b/src/wp-content/themes/twentyten/images/headers/inkwell.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/images/headers/path-thumbnail.jpg b/src/wp-content/themes/twentyten/images/headers/path-thumbnail.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/images/headers/path.jpg b/src/wp-content/themes/twentyten/images/headers/path.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/images/headers/sunset-thumbnail.jpg b/src/wp-content/themes/twentyten/images/headers/sunset-thumbnail.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/images/headers/sunset.jpg b/src/wp-content/themes/twentyten/images/headers/sunset.jpg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/images/wordpress.png b/src/wp-content/themes/twentyten/images/wordpress.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/index.php b/src/wp-content/themes/twentyten/index.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/languages/twentyten.pot b/src/wp-content/themes/twentyten/languages/twentyten.pot
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/license.txt b/src/wp-content/themes/twentyten/license.txt
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/loop-attachment.php b/src/wp-content/themes/twentyten/loop-attachment.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/loop-page.php b/src/wp-content/themes/twentyten/loop-page.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/loop-single.php b/src/wp-content/themes/twentyten/loop-single.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/loop.php b/src/wp-content/themes/twentyten/loop.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/onecolumn-page.php b/src/wp-content/themes/twentyten/onecolumn-page.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/page.php b/src/wp-content/themes/twentyten/page.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/rtl.css b/src/wp-content/themes/twentyten/rtl.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/screenshot.png b/src/wp-content/themes/twentyten/screenshot.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/search.php b/src/wp-content/themes/twentyten/search.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/sidebar-footer.php b/src/wp-content/themes/twentyten/sidebar-footer.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/sidebar.php b/src/wp-content/themes/twentyten/sidebar.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/single.php b/src/wp-content/themes/twentyten/single.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/style.css b/src/wp-content/themes/twentyten/style.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentyten/tag.php b/src/wp-content/themes/twentyten/tag.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/404.php b/src/wp-content/themes/twentythirteen/404.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/archive.php b/src/wp-content/themes/twentythirteen/archive.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/author-bio.php b/src/wp-content/themes/twentythirteen/author-bio.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/author.php b/src/wp-content/themes/twentythirteen/author.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/category.php b/src/wp-content/themes/twentythirteen/category.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/comments.php b/src/wp-content/themes/twentythirteen/comments.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/content-aside.php b/src/wp-content/themes/twentythirteen/content-aside.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/content-audio.php b/src/wp-content/themes/twentythirteen/content-audio.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/content-chat.php b/src/wp-content/themes/twentythirteen/content-chat.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/content-gallery.php b/src/wp-content/themes/twentythirteen/content-gallery.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/content-image.php b/src/wp-content/themes/twentythirteen/content-image.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/content-link.php b/src/wp-content/themes/twentythirteen/content-link.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/content-none.php b/src/wp-content/themes/twentythirteen/content-none.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/content-quote.php b/src/wp-content/themes/twentythirteen/content-quote.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/content-status.php b/src/wp-content/themes/twentythirteen/content-status.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/content-video.php b/src/wp-content/themes/twentythirteen/content-video.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/content.php b/src/wp-content/themes/twentythirteen/content.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/css/editor-style.css b/src/wp-content/themes/twentythirteen/css/editor-style.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/css/ie.css b/src/wp-content/themes/twentythirteen/css/ie.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/footer.php b/src/wp-content/themes/twentythirteen/footer.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/functions.php b/src/wp-content/themes/twentythirteen/functions.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/genericons/COPYING.txt b/src/wp-content/themes/twentythirteen/genericons/COPYING.txt
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/genericons/Genericons-Regular.otf b/src/wp-content/themes/twentythirteen/genericons/Genericons-Regular.otf
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/genericons/LICENSE.txt b/src/wp-content/themes/twentythirteen/genericons/LICENSE.txt
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/genericons/README.txt b/src/wp-content/themes/twentythirteen/genericons/README.txt
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/genericons/example.html b/src/wp-content/themes/twentythirteen/genericons/example.html
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.eot b/src/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.eot
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.svg b/src/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.svg
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.ttf b/src/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.ttf
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.woff b/src/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.woff
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/genericons/genericons.css b/src/wp-content/themes/twentythirteen/genericons/genericons.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/header.php b/src/wp-content/themes/twentythirteen/header.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/image.php b/src/wp-content/themes/twentythirteen/image.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/images/dotted-line-2x.png b/src/wp-content/themes/twentythirteen/images/dotted-line-2x.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/images/dotted-line-light-2x.png b/src/wp-content/themes/twentythirteen/images/dotted-line-light-2x.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/images/dotted-line-light.png b/src/wp-content/themes/twentythirteen/images/dotted-line-light.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/images/dotted-line.png b/src/wp-content/themes/twentythirteen/images/dotted-line.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/images/headers/circle-thumbnail.png b/src/wp-content/themes/twentythirteen/images/headers/circle-thumbnail.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/images/headers/circle.png b/src/wp-content/themes/twentythirteen/images/headers/circle.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/images/headers/diamond-thumbnail.png b/src/wp-content/themes/twentythirteen/images/headers/diamond-thumbnail.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/images/headers/diamond.png b/src/wp-content/themes/twentythirteen/images/headers/diamond.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/images/headers/star-thumbnail.png b/src/wp-content/themes/twentythirteen/images/headers/star-thumbnail.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/images/headers/star.png b/src/wp-content/themes/twentythirteen/images/headers/star.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/images/search-icon-2x.png b/src/wp-content/themes/twentythirteen/images/search-icon-2x.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/images/search-icon.png b/src/wp-content/themes/twentythirteen/images/search-icon.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/inc/back-compat.php b/src/wp-content/themes/twentythirteen/inc/back-compat.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/inc/custom-header.php b/src/wp-content/themes/twentythirteen/inc/custom-header.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/index.php b/src/wp-content/themes/twentythirteen/index.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/js/functions.js b/src/wp-content/themes/twentythirteen/js/functions.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/js/html5.js b/src/wp-content/themes/twentythirteen/js/html5.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/js/theme-customizer.js b/src/wp-content/themes/twentythirteen/js/theme-customizer.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/languages/twentythirteen.pot b/src/wp-content/themes/twentythirteen/languages/twentythirteen.pot
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/page.php b/src/wp-content/themes/twentythirteen/page.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/rtl.css b/src/wp-content/themes/twentythirteen/rtl.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/screenshot.png b/src/wp-content/themes/twentythirteen/screenshot.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/search.php b/src/wp-content/themes/twentythirteen/search.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/sidebar-main.php b/src/wp-content/themes/twentythirteen/sidebar-main.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/sidebar.php b/src/wp-content/themes/twentythirteen/sidebar.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/single.php b/src/wp-content/themes/twentythirteen/single.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/style.css b/src/wp-content/themes/twentythirteen/style.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/tag.php b/src/wp-content/themes/twentythirteen/tag.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentythirteen/taxonomy-post_format.php b/src/wp-content/themes/twentythirteen/taxonomy-post_format.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/404.php b/src/wp-content/themes/twentytwelve/404.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/archive.php b/src/wp-content/themes/twentytwelve/archive.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/author.php b/src/wp-content/themes/twentytwelve/author.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/category.php b/src/wp-content/themes/twentytwelve/category.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/comments.php b/src/wp-content/themes/twentytwelve/comments.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/content-aside.php b/src/wp-content/themes/twentytwelve/content-aside.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/content-image.php b/src/wp-content/themes/twentytwelve/content-image.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/content-link.php b/src/wp-content/themes/twentytwelve/content-link.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/content-none.php b/src/wp-content/themes/twentytwelve/content-none.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/content-page.php b/src/wp-content/themes/twentytwelve/content-page.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/content-quote.php b/src/wp-content/themes/twentytwelve/content-quote.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/content-status.php b/src/wp-content/themes/twentytwelve/content-status.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/content.php b/src/wp-content/themes/twentytwelve/content.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/css/ie.css b/src/wp-content/themes/twentytwelve/css/ie.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/editor-style-rtl.css b/src/wp-content/themes/twentytwelve/editor-style-rtl.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/editor-style.css b/src/wp-content/themes/twentytwelve/editor-style.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/footer.php b/src/wp-content/themes/twentytwelve/footer.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/functions.php b/src/wp-content/themes/twentytwelve/functions.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/header.php b/src/wp-content/themes/twentytwelve/header.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/image.php b/src/wp-content/themes/twentytwelve/image.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/inc/custom-header.php b/src/wp-content/themes/twentytwelve/inc/custom-header.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/index.php b/src/wp-content/themes/twentytwelve/index.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/js/html5.js b/src/wp-content/themes/twentytwelve/js/html5.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/js/navigation.js b/src/wp-content/themes/twentytwelve/js/navigation.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/js/theme-customizer.js b/src/wp-content/themes/twentytwelve/js/theme-customizer.js
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/languages/twentytwelve.pot b/src/wp-content/themes/twentytwelve/languages/twentytwelve.pot
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/page-templates/front-page.php b/src/wp-content/themes/twentytwelve/page-templates/front-page.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/page-templates/full-width.php b/src/wp-content/themes/twentytwelve/page-templates/full-width.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/page.php b/src/wp-content/themes/twentytwelve/page.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/rtl.css b/src/wp-content/themes/twentytwelve/rtl.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/screenshot.png b/src/wp-content/themes/twentytwelve/screenshot.png
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/search.php b/src/wp-content/themes/twentytwelve/search.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/sidebar-front.php b/src/wp-content/themes/twentytwelve/sidebar-front.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/sidebar.php b/src/wp-content/themes/twentytwelve/sidebar.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/single.php b/src/wp-content/themes/twentytwelve/single.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/style.css b/src/wp-content/themes/twentytwelve/style.css
    old mode 100644
    new mode 100755
    diff --git a/src/wp-content/themes/twentytwelve/tag.php b/src/wp-content/themes/twentytwelve/tag.php
    old mode 100644
    new mode 100755
    diff --git a/src/wp-includes/comment-template.php b/src/wp-includes/comment-template.php
    old mode 100644
    new mode 100755
    index 9bd0596..ab03817
    a b function get_comment_reply_link( $args = array(), $comment = null, $post = null 
    13391339                return false;
    13401340        }
    13411341
     1342        /**
     1343         * Filter the comment reply link arguments.
     1344         *
     1345         * @since 4.1.0
     1346         *
     1347         * @param array   $args    Comment reply link arguments. See {@see get_comment_reply_link()}
     1348         *                         for more information on accepted arguments.
     1349         * @param object  $comment The object of the comment being replied to.
     1350         * @param WP_Post $post    The WP_Post object.
     1351         */
     1352        $args = apply_filters( 'comment_reply_link_args', $args, $comment, $post );
     1353
    13421354        if ( get_option( 'comment_registration' ) && ! is_user_logged_in() ) {
    13431355                $link = sprintf( '<a rel="nofollow" class="comment-reply-login" href="%s">%s</a>',
    13441356                        esc_url( wp_login_url( get_permalink() ) ),
  • src/wp-includes/js/backbone.min.js

    diff --git a/src/wp-includes/js/backbone.min.js b/src/wp-includes/js/backbone.min.js
    old mode 100644
    new mode 100755
    index 0688e19..f06015a
    a b  
    1 (function(t,e){if(typeof define==="function"&&define.amd){define(["underscore","jquery","exports"],function(i,r,s){t.Backbone=e(t,s,i,r)})}else if(typeof exports!=="undefined"){var i=require("underscore");e(t,exports,i)}else{t.Backbone=e(t,{},t._,t.jQuery||t.Zepto||t.ender||t.$)}})(this,function(t,e,i,r){var s=t.Backbone;var n=[];var a=n.push;var o=n.slice;var h=n.splice;e.VERSION="1.1.2";e.$=r;e.noConflict=function(){t.Backbone=s;return this};e.emulateHTTP=false;e.emulateJSON=false;var u=e.Events={on:function(t,e,i){if(!c(this,"on",t,[e,i])||!e)return this;this._events||(this._events={});var r=this._events[t]||(this._events[t]=[]);r.push({callback:e,context:i,ctx:i||this});return this},once:function(t,e,r){if(!c(this,"once",t,[e,r])||!e)return this;var s=this;var n=i.once(function(){s.off(t,n);e.apply(this,arguments)});n._callback=e;return this.on(t,n,r)},off:function(t,e,r){var s,n,a,o,h,u,l,f;if(!this._events||!c(this,"off",t,[e,r]))return this;if(!t&&!e&&!r){this._events=void 0;return this}o=t?[t]:i.keys(this._events);for(h=0,u=o.length;h<u;h++){t=o[h];if(a=this._events[t]){this._events[t]=s=[];if(e||r){for(l=0,f=a.length;l<f;l++){n=a[l];if(e&&e!==n.callback&&e!==n.callback._callback||r&&r!==n.context){s.push(n)}}}if(!s.length)delete this._events[t]}}return this},trigger:function(t){if(!this._events)return this;var e=o.call(arguments,1);if(!c(this,"trigger",t,e))return this;var i=this._events[t];var r=this._events.all;if(i)f(i,e);if(r)f(r,arguments);return this},stopListening:function(t,e,r){var s=this._listeningTo;if(!s)return this;var n=!e&&!r;if(!r&&typeof e==="object")r=this;if(t)(s={})[t._listenId]=t;for(var a in s){t=s[a];t.off(e,r,this);if(n||i.isEmpty(t._events))delete this._listeningTo[a]}return this}};var l=/\s+/;var c=function(t,e,i,r){if(!i)return true;if(typeof i==="object"){for(var s in i){t[e].apply(t,[s,i[s]].concat(r))}return false}if(l.test(i)){var n=i.split(l);for(var a=0,o=n.length;a<o;a++){t[e].apply(t,[n[a]].concat(r))}return false}return true};var f=function(t,e){var i,r=-1,s=t.length,n=e[0],a=e[1],o=e[2];switch(e.length){case 0:while(++r<s)(i=t[r]).callback.call(i.ctx);return;case 1:while(++r<s)(i=t[r]).callback.call(i.ctx,n);return;case 2:while(++r<s)(i=t[r]).callback.call(i.ctx,n,a);return;case 3:while(++r<s)(i=t[r]).callback.call(i.ctx,n,a,o);return;default:while(++r<s)(i=t[r]).callback.apply(i.ctx,e);return}};var d={listenTo:"on",listenToOnce:"once"};i.each(d,function(t,e){u[e]=function(e,r,s){var n=this._listeningTo||(this._listeningTo={});var a=e._listenId||(e._listenId=i.uniqueId("l"));n[a]=e;if(!s&&typeof r==="object")s=this;e[t](r,s,this);return this}});u.bind=u.on;u.unbind=u.off;i.extend(e,u);var p=e.Model=function(t,e){var r=t||{};e||(e={});this.cid=i.uniqueId("c");this.attributes={};if(e.collection)this.collection=e.collection;if(e.parse)r=this.parse(r,e)||{};r=i.defaults({},r,i.result(this,"defaults"));this.set(r,e);this.changed={};this.initialize.apply(this,arguments)};i.extend(p.prototype,u,{changed:null,validationError:null,idAttribute:"id",initialize:function(){},toJSON:function(t){return i.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return i.escape(this.get(t))},has:function(t){return this.get(t)!=null},set:function(t,e,r){var s,n,a,o,h,u,l,c;if(t==null)return this;if(typeof t==="object"){n=t;r=e}else{(n={})[t]=e}r||(r={});if(!this._validate(n,r))return false;a=r.unset;h=r.silent;o=[];u=this._changing;this._changing=true;if(!u){this._previousAttributes=i.clone(this.attributes);this.changed={}}c=this.attributes,l=this._previousAttributes;if(this.idAttribute in n)this.id=n[this.idAttribute];for(s in n){e=n[s];if(!i.isEqual(c[s],e))o.push(s);if(!i.isEqual(l[s],e)){this.changed[s]=e}else{delete this.changed[s]}a?delete c[s]:c[s]=e}if(!h){if(o.length)this._pending=r;for(var f=0,d=o.length;f<d;f++){this.trigger("change:"+o[f],this,c[o[f]],r)}}if(u)return this;if(!h){while(this._pending){r=this._pending;this._pending=false;this.trigger("change",this,r)}}this._pending=false;this._changing=false;return this},unset:function(t,e){return this.set(t,void 0,i.extend({},e,{unset:true}))},clear:function(t){var e={};for(var r in this.attributes)e[r]=void 0;return this.set(e,i.extend({},t,{unset:true}))},hasChanged:function(t){if(t==null)return!i.isEmpty(this.changed);return i.has(this.changed,t)},changedAttributes:function(t){if(!t)return this.hasChanged()?i.clone(this.changed):false;var e,r=false;var s=this._changing?this._previousAttributes:this.attributes;for(var n in t){if(i.isEqual(s[n],e=t[n]))continue;(r||(r={}))[n]=e}return r},previous:function(t){if(t==null||!this._previousAttributes)return null;return this._previousAttributes[t]},previousAttributes:function(){return i.clone(this._previousAttributes)},fetch:function(t){t=t?i.clone(t):{};if(t.parse===void 0)t.parse=true;var e=this;var r=t.success;t.success=function(i){if(!e.set(e.parse(i,t),t))return false;if(r)r(e,i,t);e.trigger("sync",e,i,t)};q(this,t);return this.sync("read",this,t)},save:function(t,e,r){var s,n,a,o=this.attributes;if(t==null||typeof t==="object"){s=t;r=e}else{(s={})[t]=e}r=i.extend({validate:true},r);if(s&&!r.wait){if(!this.set(s,r))return false}else{if(!this._validate(s,r))return false}if(s&&r.wait){this.attributes=i.extend({},o,s)}if(r.parse===void 0)r.parse=true;var h=this;var u=r.success;r.success=function(t){h.attributes=o;var e=h.parse(t,r);if(r.wait)e=i.extend(s||{},e);if(i.isObject(e)&&!h.set(e,r)){return false}if(u)u(h,t,r);h.trigger("sync",h,t,r)};q(this,r);n=this.isNew()?"create":r.patch?"patch":"update";if(n==="patch")r.attrs=s;a=this.sync(n,this,r);if(s&&r.wait)this.attributes=o;return a},destroy:function(t){t=t?i.clone(t):{};var e=this;var r=t.success;var s=function(){e.trigger("destroy",e,e.collection,t)};t.success=function(i){if(t.wait||e.isNew())s();if(r)r(e,i,t);if(!e.isNew())e.trigger("sync",e,i,t)};if(this.isNew()){t.success();return false}q(this,t);var n=this.sync("delete",this,t);if(!t.wait)s();return n},url:function(){var t=i.result(this,"urlRoot")||i.result(this.collection,"url")||M();if(this.isNew())return t;return t.replace(/([^\/])$/,"$1/")+encodeURIComponent(this.id)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},i.extend(t||{},{validate:true}))},_validate:function(t,e){if(!e.validate||!this.validate)return true;t=i.extend({},this.attributes,t);var r=this.validationError=this.validate(t,e)||null;if(!r)return true;this.trigger("invalid",this,r,i.extend(e,{validationError:r}));return false}});var v=["keys","values","pairs","invert","pick","omit"];i.each(v,function(t){p.prototype[t]=function(){var e=o.call(arguments);e.unshift(this.attributes);return i[t].apply(i,e)}});var g=e.Collection=function(t,e){e||(e={});if(e.model)this.model=e.model;if(e.comparator!==void 0)this.comparator=e.comparator;this._reset();this.initialize.apply(this,arguments);if(t)this.reset(t,i.extend({silent:true},e))};var m={add:true,remove:true,merge:true};var y={add:true,remove:false};i.extend(g.prototype,u,{model:p,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return e.sync.apply(this,arguments)},add:function(t,e){return this.set(t,i.extend({merge:false},e,y))},remove:function(t,e){var r=!i.isArray(t);t=r?[t]:i.clone(t);e||(e={});var s,n,a,o;for(s=0,n=t.length;s<n;s++){o=t[s]=this.get(t[s]);if(!o)continue;delete this._byId[o.id];delete this._byId[o.cid];a=this.indexOf(o);this.models.splice(a,1);this.length--;if(!e.silent){e.index=a;o.trigger("remove",o,this,e)}this._removeReference(o,e)}return r?t[0]:t},set:function(t,e){e=i.defaults({},e,m);if(e.parse)t=this.parse(t,e);var r=!i.isArray(t);t=r?t?[t]:[]:i.clone(t);var s,n,a,o,h,u,l;var c=e.at;var f=this.model;var d=this.comparator&&c==null&&e.sort!==false;var v=i.isString(this.comparator)?this.comparator:null;var g=[],y=[],_={};var b=e.add,w=e.merge,x=e.remove;var E=!d&&b&&x?[]:false;for(s=0,n=t.length;s<n;s++){h=t[s]||{};if(h instanceof p){a=o=h}else{a=h[f.prototype.idAttribute||"id"]}if(u=this.get(a)){if(x)_[u.cid]=true;if(w){h=h===o?o.attributes:h;if(e.parse)h=u.parse(h,e);u.set(h,e);if(d&&!l&&u.hasChanged(v))l=true}t[s]=u}else if(b){o=t[s]=this._prepareModel(h,e);if(!o)continue;g.push(o);this._addReference(o,e)}o=u||o;if(E&&(o.isNew()||!_[o.id]))E.push(o);_[o.id]=true}if(x){for(s=0,n=this.length;s<n;++s){if(!_[(o=this.models[s]).cid])y.push(o)}if(y.length)this.remove(y,e)}if(g.length||E&&E.length){if(d)l=true;this.length+=g.length;if(c!=null){for(s=0,n=g.length;s<n;s++){this.models.splice(c+s,0,g[s])}}else{if(E)this.models.length=0;var k=E||g;for(s=0,n=k.length;s<n;s++){this.models.push(k[s])}}}if(l)this.sort({silent:true});if(!e.silent){for(s=0,n=g.length;s<n;s++){(o=g[s]).trigger("add",o,this,e)}if(l||E&&E.length)this.trigger("sort",this,e)}return r?t[0]:t},reset:function(t,e){e||(e={});for(var r=0,s=this.models.length;r<s;r++){this._removeReference(this.models[r],e)}e.previousModels=this.models;this._reset();t=this.add(t,i.extend({silent:true},e));if(!e.silent)this.trigger("reset",this,e);return t},push:function(t,e){return this.add(t,i.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);this.remove(e,t);return e},unshift:function(t,e){return this.add(t,i.extend({at:0},e))},shift:function(t){var e=this.at(0);this.remove(e,t);return e},slice:function(){return o.apply(this.models,arguments)},get:function(t){if(t==null)return void 0;return this._byId[t]||this._byId[t.id]||this._byId[t.cid]},at:function(t){return this.models[t]},where:function(t,e){if(i.isEmpty(t))return e?void 0:[];return this[e?"find":"filter"](function(e){for(var i in t){if(t[i]!==e.get(i))return false}return true})},findWhere:function(t){return this.where(t,true)},sort:function(t){if(!this.comparator)throw new Error("Cannot sort a set without a comparator");t||(t={});if(i.isString(this.comparator)||this.comparator.length===1){this.models=this.sortBy(this.comparator,this)}else{this.models.sort(i.bind(this.comparator,this))}if(!t.silent)this.trigger("sort",this,t);return this},pluck:function(t){return i.invoke(this.models,"get",t)},fetch:function(t){t=t?i.clone(t):{};if(t.parse===void 0)t.parse=true;var e=t.success;var r=this;t.success=function(i){var s=t.reset?"reset":"set";r[s](i,t);if(e)e(r,i,t);r.trigger("sync",r,i,t)};q(this,t);return this.sync("read",this,t)},create:function(t,e){e=e?i.clone(e):{};if(!(t=this._prepareModel(t,e)))return false;if(!e.wait)this.add(t,e);var r=this;var s=e.success;e.success=function(t,i){if(e.wait)r.add(t,e);if(s)s(t,i,e)};t.save(null,e);return t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0;this.models=[];this._byId={}},_prepareModel:function(t,e){if(t instanceof p)return t;e=e?i.clone(e):{};e.collection=this;var r=new this.model(t,e);if(!r.validationError)return r;this.trigger("invalid",this,r.validationError,e);return false},_addReference:function(t,e){this._byId[t.cid]=t;if(t.id!=null)this._byId[t.id]=t;if(!t.collection)t.collection=this;t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){if(this===t.collection)delete t.collection;t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,i,r){if((t==="add"||t==="remove")&&i!==this)return;if(t==="destroy")this.remove(e,r);if(e&&t==="change:"+e.idAttribute){delete this._byId[e.previous(e.idAttribute)];if(e.id!=null)this._byId[e.id]=e}this.trigger.apply(this,arguments)}});var _=["forEach","each","map","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","toArray","size","first","head","take","initial","rest","tail","drop","last","without","difference","indexOf","shuffle","lastIndexOf","isEmpty","chain","sample"];i.each(_,function(t){g.prototype[t]=function(){var e=o.call(arguments);e.unshift(this.models);return i[t].apply(i,e)}});var b=["groupBy","countBy","sortBy","indexBy"];i.each(b,function(t){g.prototype[t]=function(e,r){var s=i.isFunction(e)?e:function(t){return t.get(e)};return i[t](this.models,s,r)}});var w=e.View=function(t){this.cid=i.uniqueId("view");t||(t={});i.extend(this,i.pick(t,E));this._ensureElement();this.initialize.apply(this,arguments);this.delegateEvents()};var x=/^(\S+)\s*(.*)$/;var E=["model","collection","el","id","attributes","className","tagName","events"];i.extend(w.prototype,u,{tagName:"div",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){this.$el.remove();this.stopListening();return this},setElement:function(t,i){if(this.$el)this.undelegateEvents();this.$el=t instanceof e.$?t:e.$(t);this.el=this.$el[0];if(i!==false)this.delegateEvents();return this},delegateEvents:function(t){if(!(t||(t=i.result(this,"events"))))return this;this.undelegateEvents();for(var e in t){var r=t[e];if(!i.isFunction(r))r=this[t[e]];if(!r)continue;var s=e.match(x);var n=s[1],a=s[2];r=i.bind(r,this);n+=".delegateEvents"+this.cid;if(a===""){this.$el.on(n,r)}else{this.$el.on(n,a,r)}}return this},undelegateEvents:function(){this.$el.off(".delegateEvents"+this.cid);return this},_ensureElement:function(){if(!this.el){var t=i.extend({},i.result(this,"attributes"));if(this.id)t.id=i.result(this,"id");if(this.className)t["class"]=i.result(this,"className");var r=e.$("<"+i.result(this,"tagName")+">").attr(t);this.setElement(r,false)}else{this.setElement(i.result(this,"el"),false)}}});e.sync=function(t,r,s){var n=T[t];i.defaults(s||(s={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var a={type:n,dataType:"json"};if(!s.url){a.url=i.result(r,"url")||M()}if(s.data==null&&r&&(t==="create"||t==="update"||t==="patch")){a.contentType="application/json";a.data=JSON.stringify(s.attrs||r.toJSON(s))}if(s.emulateJSON){a.contentType="application/x-www-form-urlencoded";a.data=a.data?{model:a.data}:{}}if(s.emulateHTTP&&(n==="PUT"||n==="DELETE"||n==="PATCH")){a.type="POST";if(s.emulateJSON)a.data._method=n;var o=s.beforeSend;s.beforeSend=function(t){t.setRequestHeader("X-HTTP-Method-Override",n);if(o)return o.apply(this,arguments)}}if(a.type!=="GET"&&!s.emulateJSON){a.processData=false}if(a.type==="PATCH"&&k){a.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}var h=s.xhr=e.ajax(i.extend(a,s));r.trigger("request",r,h,s);return h};var k=typeof window!=="undefined"&&!!window.ActiveXObject&&!(window.XMLHttpRequest&&(new XMLHttpRequest).dispatchEvent);var T={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var $=e.Router=function(t){t||(t={});if(t.routes)this.routes=t.routes;this._bindRoutes();this.initialize.apply(this,arguments)};var S=/\((.*?)\)/g;var H=/(\(\?)?:\w+/g;var A=/\*\w+/g;var I=/[\-{}\[\]+?.,\\\^$|#\s]/g;i.extend($.prototype,u,{initialize:function(){},route:function(t,r,s){if(!i.isRegExp(t))t=this._routeToRegExp(t);if(i.isFunction(r)){s=r;r=""}if(!s)s=this[r];var n=this;e.history.route(t,function(i){var a=n._extractParameters(t,i);n.execute(s,a);n.trigger.apply(n,["route:"+r].concat(a));n.trigger("route",r,a);e.history.trigger("route",n,r,a)});return this},execute:function(t,e){if(t)t.apply(this,e)},navigate:function(t,i){e.history.navigate(t,i);return this},_bindRoutes:function(){if(!this.routes)return;this.routes=i.result(this,"routes");var t,e=i.keys(this.routes);while((t=e.pop())!=null){this.route(t,this.routes[t])}},_routeToRegExp:function(t){t=t.replace(I,"\\$&").replace(S,"(?:$1)?").replace(H,function(t,e){return e?t:"([^/?]+)"}).replace(A,"([^?]*?)");return new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var r=t.exec(e).slice(1);return i.map(r,function(t,e){if(e===r.length-1)return t||null;return t?decodeURIComponent(t):null})}});var N=e.History=function(){this.handlers=[];i.bindAll(this,"checkUrl");if(typeof window!=="undefined"){this.location=window.location;this.history=window.history}};var R=/^[#\/]|\s+$/g;var O=/^\/+|\/+$/g;var P=/msie [\w.]+/;var C=/\/$/;var j=/#.*$/;N.started=false;i.extend(N.prototype,u,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getFragment:function(t,e){if(t==null){if(this._hasPushState||!this._wantsHashChange||e){t=decodeURI(this.location.pathname+this.location.search);var i=this.root.replace(C,"");if(!t.indexOf(i))t=t.slice(i.length)}else{t=this.getHash()}}return t.replace(R,"")},start:function(t){if(N.started)throw new Error("Backbone.history has already been started");N.started=true;this.options=i.extend({root:"/"},this.options,t);this.root=this.options.root;this._wantsHashChange=this.options.hashChange!==false;this._wantsPushState=!!this.options.pushState;this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var r=this.getFragment();var s=document.documentMode;var n=P.exec(navigator.userAgent.toLowerCase())&&(!s||s<=7);this.root=("/"+this.root+"/").replace(O,"/");if(n&&this._wantsHashChange){var a=e.$('<iframe src="javascript:0" tabindex="-1">');this.iframe=a.hide().appendTo("body")[0].contentWindow;this.navigate(r)}if(this._hasPushState){e.$(window).on("popstate",this.checkUrl)}else if(this._wantsHashChange&&"onhashchange"in window&&!n){e.$(window).on("hashchange",this.checkUrl)}else if(this._wantsHashChange){this._checkUrlInterval=setInterval(this.checkUrl,this.interval)}this.fragment=r;var o=this.location;if(this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){this.fragment=this.getFragment(null,true);this.location.replace(this.root+"#"+this.fragment);return true}else if(this._hasPushState&&this.atRoot()&&o.hash){this.fragment=this.getHash().replace(R,"");this.history.replaceState({},document.title,this.root+this.fragment)}}if(!this.options.silent)return this.loadUrl()},stop:function(){e.$(window).off("popstate",this.checkUrl).off("hashchange",this.checkUrl);if(this._checkUrlInterval)clearInterval(this._checkUrlInterval);N.started=false},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe){e=this.getFragment(this.getHash(this.iframe))}if(e===this.fragment)return false;if(this.iframe)this.navigate(e);this.loadUrl()},loadUrl:function(t){t=this.fragment=this.getFragment(t);return i.any(this.handlers,function(e){if(e.route.test(t)){e.callback(t);return true}})},navigate:function(t,e){if(!N.started)return false;if(!e||e===true)e={trigger:!!e};var i=this.root+(t=this.getFragment(t||""));t=t.replace(j,"");if(this.fragment===t)return;this.fragment=t;if(t===""&&i!=="/")i=i.slice(0,-1);if(this._hasPushState){this.history[e.replace?"replaceState":"pushState"]({},document.title,i)}else if(this._wantsHashChange){this._updateHash(this.location,t,e.replace);if(this.iframe&&t!==this.getFragment(this.getHash(this.iframe))){if(!e.replace)this.iframe.document.open().close();this._updateHash(this.iframe.location,t,e.replace)}}else{return this.location.assign(i)}if(e.trigger)return this.loadUrl(t)},_updateHash:function(t,e,i){if(i){var r=t.href.replace(/(javascript:|#).*$/,"");t.replace(r+"#"+e)}else{t.hash="#"+e}}});e.history=new N;var U=function(t,e){var r=this;var s;if(t&&i.has(t,"constructor")){s=t.constructor}else{s=function(){return r.apply(this,arguments)}}i.extend(s,r,e);var n=function(){this.constructor=s};n.prototype=r.prototype;s.prototype=new n;if(t)i.extend(s.prototype,t);s.__super__=r.prototype;return s};p.extend=g.extend=$.extend=w.extend=N.extend=U;var M=function(){throw new Error('A "url" property or function must be specified')};var q=function(t,e){var i=e.error;e.error=function(r){if(i)i(t,r,e);t.trigger("error",t,r,e)}};return e});
     1!function(a,b){if("function"==typeof define&&define.amd)define(["underscore","jquery","exports"],function(c,d,e){a.Backbone=b(a,e,c,d)});else if("undefined"!=typeof exports){var c=require("underscore");b(a,exports,c)}else a.Backbone=b(a,{},a._,a.jQuery||a.Zepto||a.ender||a.$)}(this,function(a,b,c,d){{var e=a.Backbone,f=[],g=(f.push,f.slice);f.splice}b.VERSION="1.1.2",b.$=d,b.noConflict=function(){return a.Backbone=e,this},b.emulateHTTP=!1,b.emulateJSON=!1;var h=b.Events={on:function(a,b,c){if(!j(this,"on",a,[b,c])||!b)return this;this._events||(this._events={});var d=this._events[a]||(this._events[a]=[]);return d.push({callback:b,context:c,ctx:c||this}),this},once:function(a,b,d){if(!j(this,"once",a,[b,d])||!b)return this;var e=this,f=c.once(function(){e.off(a,f),b.apply(this,arguments)});return f._callback=b,this.on(a,f,d)},off:function(a,b,d){var e,f,g,h,i,k,l,m;if(!this._events||!j(this,"off",a,[b,d]))return this;if(!a&&!b&&!d)return this._events=void 0,this;for(h=a?[a]:c.keys(this._events),i=0,k=h.length;k>i;i++)if(a=h[i],g=this._events[a]){if(this._events[a]=e=[],b||d)for(l=0,m=g.length;m>l;l++)f=g[l],(b&&b!==f.callback&&b!==f.callback._callback||d&&d!==f.context)&&e.push(f);e.length||delete this._events[a]}return this},trigger:function(a){if(!this._events)return this;var b=g.call(arguments,1);if(!j(this,"trigger",a,b))return this;var c=this._events[a],d=this._events.all;return c&&k(c,b),d&&k(d,arguments),this},stopListening:function(a,b,d){var e=this._listeningTo;if(!e)return this;var f=!b&&!d;d||"object"!=typeof b||(d=this),a&&((e={})[a._listenId]=a);for(var g in e)a=e[g],a.off(b,d,this),(f||c.isEmpty(a._events))&&delete this._listeningTo[g];return this}},i=/\s+/,j=function(a,b,c,d){if(!c)return!0;if("object"==typeof c){for(var e in c)a[b].apply(a,[e,c[e]].concat(d));return!1}if(i.test(c)){for(var f=c.split(i),g=0,h=f.length;h>g;g++)a[b].apply(a,[f[g]].concat(d));return!1}return!0},k=function(a,b){var c,d=-1,e=a.length,f=b[0],g=b[1],h=b[2];switch(b.length){case 0:for(;++d<e;)(c=a[d]).callback.call(c.ctx);return;case 1:for(;++d<e;)(c=a[d]).callback.call(c.ctx,f);return;case 2:for(;++d<e;)(c=a[d]).callback.call(c.ctx,f,g);return;case 3:for(;++d<e;)(c=a[d]).callback.call(c.ctx,f,g,h);return;default:for(;++d<e;)(c=a[d]).callback.apply(c.ctx,b);return}},l={listenTo:"on",listenToOnce:"once"};c.each(l,function(a,b){h[b]=function(b,d,e){var f=this._listeningTo||(this._listeningTo={}),g=b._listenId||(b._listenId=c.uniqueId("l"));return f[g]=b,e||"object"!=typeof d||(e=this),b[a](d,e,this),this}}),h.bind=h.on,h.unbind=h.off,c.extend(b,h);var m=b.Model=function(a,b){var d=a||{};b||(b={}),this.cid=c.uniqueId("c"),this.attributes={},b.collection&&(this.collection=b.collection),b.parse&&(d=this.parse(d,b)||{}),d=c.defaults({},d,c.result(this,"defaults")),this.set(d,b),this.changed={},this.initialize.apply(this,arguments)};c.extend(m.prototype,h,{changed:null,validationError:null,idAttribute:"id",initialize:function(){},toJSON:function(){return c.clone(this.attributes)},sync:function(){return b.sync.apply(this,arguments)},get:function(a){return this.attributes[a]},escape:function(a){return c.escape(this.get(a))},has:function(a){return null!=this.get(a)},set:function(a,b,d){var e,f,g,h,i,j,k,l;if(null==a)return this;if("object"==typeof a?(f=a,d=b):(f={})[a]=b,d||(d={}),!this._validate(f,d))return!1;g=d.unset,i=d.silent,h=[],j=this._changing,this._changing=!0,j||(this._previousAttributes=c.clone(this.attributes),this.changed={}),l=this.attributes,k=this._previousAttributes,this.idAttribute in f&&(this.id=f[this.idAttribute]);for(e in f)b=f[e],c.isEqual(l[e],b)||h.push(e),c.isEqual(k[e],b)?delete this.changed[e]:this.changed[e]=b,g?delete l[e]:l[e]=b;if(!i){h.length&&(this._pending=d);for(var m=0,n=h.length;n>m;m++)this.trigger("change:"+h[m],this,l[h[m]],d)}if(j)return this;if(!i)for(;this._pending;)d=this._pending,this._pending=!1,this.trigger("change",this,d);return this._pending=!1,this._changing=!1,this},unset:function(a,b){return this.set(a,void 0,c.extend({},b,{unset:!0}))},clear:function(a){var b={};for(var d in this.attributes)b[d]=void 0;return this.set(b,c.extend({},a,{unset:!0}))},hasChanged:function(a){return null==a?!c.isEmpty(this.changed):c.has(this.changed,a)},changedAttributes:function(a){if(!a)return this.hasChanged()?c.clone(this.changed):!1;var b,d=!1,e=this._changing?this._previousAttributes:this.attributes;for(var f in a)c.isEqual(e[f],b=a[f])||((d||(d={}))[f]=b);return d},previous:function(a){return null!=a&&this._previousAttributes?this._previousAttributes[a]:null},previousAttributes:function(){return c.clone(this._previousAttributes)},fetch:function(a){a=a?c.clone(a):{},void 0===a.parse&&(a.parse=!0);var b=this,d=a.success;return a.success=function(c){return b.set(b.parse(c,a),a)?(d&&d(b,c,a),void b.trigger("sync",b,c,a)):!1},L(this,a),this.sync("read",this,a)},save:function(a,b,d){var e,f,g,h=this.attributes;if(null==a||"object"==typeof a?(e=a,d=b):(e={})[a]=b,d=c.extend({validate:!0},d),e&&!d.wait){if(!this.set(e,d))return!1}else if(!this._validate(e,d))return!1;e&&d.wait&&(this.attributes=c.extend({},h,e)),void 0===d.parse&&(d.parse=!0);var i=this,j=d.success;return d.success=function(a){i.attributes=h;var b=i.parse(a,d);return d.wait&&(b=c.extend(e||{},b)),c.isObject(b)&&!i.set(b,d)?!1:(j&&j(i,a,d),void i.trigger("sync",i,a,d))},L(this,d),f=this.isNew()?"create":d.patch?"patch":"update","patch"===f&&(d.attrs=e),g=this.sync(f,this,d),e&&d.wait&&(this.attributes=h),g},destroy:function(a){a=a?c.clone(a):{};var b=this,d=a.success,e=function(){b.trigger("destroy",b,b.collection,a)};if(a.success=function(c){(a.wait||b.isNew())&&e(),d&&d(b,c,a),b.isNew()||b.trigger("sync",b,c,a)},this.isNew())return a.success(),!1;L(this,a);var f=this.sync("delete",this,a);return a.wait||e(),f},url:function(){var a=c.result(this,"urlRoot")||c.result(this.collection,"url")||K();return this.isNew()?a:a.replace(/([^\/])$/,"$1/")+encodeURIComponent(this.id)},parse:function(a){return a},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(a){return this._validate({},c.extend(a||{},{validate:!0}))},_validate:function(a,b){if(!b.validate||!this.validate)return!0;a=c.extend({},this.attributes,a);var d=this.validationError=this.validate(a,b)||null;return d?(this.trigger("invalid",this,d,c.extend(b,{validationError:d})),!1):!0}});var n=["keys","values","pairs","invert","pick","omit"];c.each(n,function(a){m.prototype[a]=function(){var b=g.call(arguments);return b.unshift(this.attributes),c[a].apply(c,b)}});var o=b.Collection=function(a,b){b||(b={}),b.model&&(this.model=b.model),void 0!==b.comparator&&(this.comparator=b.comparator),this._reset(),this.initialize.apply(this,arguments),a&&this.reset(a,c.extend({silent:!0},b))},p={add:!0,remove:!0,merge:!0},q={add:!0,remove:!1};c.extend(o.prototype,h,{model:m,initialize:function(){},toJSON:function(a){return this.map(function(b){return b.toJSON(a)})},sync:function(){return b.sync.apply(this,arguments)},add:function(a,b){return this.set(a,c.extend({merge:!1},b,q))},remove:function(a,b){var d=!c.isArray(a);a=d?[a]:c.clone(a),b||(b={});var e,f,g,h;for(e=0,f=a.length;f>e;e++)h=a[e]=this.get(a[e]),h&&(delete this._byId[h.id],delete this._byId[h.cid],g=this.indexOf(h),this.models.splice(g,1),this.length--,b.silent||(b.index=g,h.trigger("remove",h,this,b)),this._removeReference(h,b));return d?a[0]:a},set:function(a,b){b=c.defaults({},b,p),b.parse&&(a=this.parse(a,b));var d=!c.isArray(a);a=d?a?[a]:[]:c.clone(a);var e,f,g,h,i,j,k,l=b.at,n=this.model,o=this.comparator&&null==l&&b.sort!==!1,q=c.isString(this.comparator)?this.comparator:null,r=[],s=[],t={},u=b.add,v=b.merge,w=b.remove,x=!o&&u&&w?[]:!1;for(e=0,f=a.length;f>e;e++){if(i=a[e]||{},g=i instanceof m?h=i:i[n.prototype.idAttribute||"id"],j=this.get(g))w&&(t[j.cid]=!0),v&&(i=i===h?h.attributes:i,b.parse&&(i=j.parse(i,b)),j.set(i,b),o&&!k&&j.hasChanged(q)&&(k=!0)),a[e]=j;else if(u){if(h=a[e]=this._prepareModel(i,b),!h)continue;r.push(h),this._addReference(h,b)}h=j||h,!x||!h.isNew()&&t[h.id]||x.push(h),t[h.id]=!0}if(w){for(e=0,f=this.length;f>e;++e)t[(h=this.models[e]).cid]||s.push(h);s.length&&this.remove(s,b)}if(r.length||x&&x.length)if(o&&(k=!0),this.length+=r.length,null!=l)for(e=0,f=r.length;f>e;e++)this.models.splice(l+e,0,r[e]);else{x&&(this.models.length=0);var y=x||r;for(e=0,f=y.length;f>e;e++)this.models.push(y[e])}if(k&&this.sort({silent:!0}),!b.silent){for(e=0,f=r.length;f>e;e++)(h=r[e]).trigger("add",h,this,b);(k||x&&x.length)&&this.trigger("sort",this,b)}return d?a[0]:a},reset:function(a,b){b||(b={});for(var d=0,e=this.models.length;e>d;d++)this._removeReference(this.models[d],b);return b.previousModels=this.models,this._reset(),a=this.add(a,c.extend({silent:!0},b)),b.silent||this.trigger("reset",this,b),a},push:function(a,b){return this.add(a,c.extend({at:this.length},b))},pop:function(a){var b=this.at(this.length-1);return this.remove(b,a),b},unshift:function(a,b){return this.add(a,c.extend({at:0},b))},shift:function(a){var b=this.at(0);return this.remove(b,a),b},slice:function(){return g.apply(this.models,arguments)},get:function(a){return null==a?void 0:this._byId[a]||this._byId[a.id]||this._byId[a.cid]},at:function(a){return this.models[a]},where:function(a,b){return c.isEmpty(a)?b?void 0:[]:this[b?"find":"filter"](function(b){for(var c in a)if(a[c]!==b.get(c))return!1;return!0})},findWhere:function(a){return this.where(a,!0)},sort:function(a){if(!this.comparator)throw new Error("Cannot sort a set without a comparator");return a||(a={}),c.isString(this.comparator)||1===this.comparator.length?this.models=this.sortBy(this.comparator,this):this.models.sort(c.bind(this.comparator,this)),a.silent||this.trigger("sort",this,a),this},pluck:function(a){return c.invoke(this.models,"get",a)},fetch:function(a){a=a?c.clone(a):{},void 0===a.parse&&(a.parse=!0);var b=a.success,d=this;return a.success=function(c){var e=a.reset?"reset":"set";d[e](c,a),b&&b(d,c,a),d.trigger("sync",d,c,a)},L(this,a),this.sync("read",this,a)},create:function(a,b){if(b=b?c.clone(b):{},!(a=this._prepareModel(a,b)))return!1;b.wait||this.add(a,b);var d=this,e=b.success;return b.success=function(a,c){b.wait&&d.add(a,b),e&&e(a,c,b)},a.save(null,b),a},parse:function(a){return a},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(a,b){if(a instanceof m)return a;b=b?c.clone(b):{},b.collection=this;var d=new this.model(a,b);return d.validationError?(this.trigger("invalid",this,d.validationError,b),!1):d},_addReference:function(a){this._byId[a.cid]=a,null!=a.id&&(this._byId[a.id]=a),a.collection||(a.collection=this),a.on("all",this._onModelEvent,this)},_removeReference:function(a){this===a.collection&&delete a.collection,a.off("all",this._onModelEvent,this)},_onModelEvent:function(a,b,c,d){("add"!==a&&"remove"!==a||c===this)&&("destroy"===a&&this.remove(b,d),b&&a==="change:"+b.idAttribute&&(delete this._byId[b.previous(b.idAttribute)],null!=b.id&&(this._byId[b.id]=b)),this.trigger.apply(this,arguments))}});var r=["forEach","each","map","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","toArray","size","first","head","take","initial","rest","tail","drop","last","without","difference","indexOf","shuffle","lastIndexOf","isEmpty","chain","sample"];c.each(r,function(a){o.prototype[a]=function(){var b=g.call(arguments);return b.unshift(this.models),c[a].apply(c,b)}});var s=["groupBy","countBy","sortBy","indexBy"];c.each(s,function(a){o.prototype[a]=function(b,d){var e=c.isFunction(b)?b:function(a){return a.get(b)};return c[a](this.models,e,d)}});var t=b.View=function(a){this.cid=c.uniqueId("view"),a||(a={}),c.extend(this,c.pick(a,v)),this._ensureElement(),this.initialize.apply(this,arguments),this.delegateEvents()},u=/^(\S+)\s*(.*)$/,v=["model","collection","el","id","attributes","className","tagName","events"];c.extend(t.prototype,h,{tagName:"div",$:function(a){return this.$el.find(a)},initialize:function(){},render:function(){return this},remove:function(){return this.$el.remove(),this.stopListening(),this},setElement:function(a,c){return this.$el&&this.undelegateEvents(),this.$el=a instanceof b.$?a:b.$(a),this.el=this.$el[0],c!==!1&&this.delegateEvents(),this},delegateEvents:function(a){if(!a&&!(a=c.result(this,"events")))return this;this.undelegateEvents();for(var b in a){var d=a[b];if(c.isFunction(d)||(d=this[a[b]]),d){var e=b.match(u),f=e[1],g=e[2];d=c.bind(d,this),f+=".delegateEvents"+this.cid,""===g?this.$el.on(f,d):this.$el.on(f,g,d)}}return this},undelegateEvents:function(){return this.$el.off(".delegateEvents"+this.cid),this},_ensureElement:function(){if(this.el)this.setElement(c.result(this,"el"),!1);else{var a=c.extend({},c.result(this,"attributes"));this.id&&(a.id=c.result(this,"id")),this.className&&(a["class"]=c.result(this,"className"));var d=b.$("<"+c.result(this,"tagName")+">").attr(a);this.setElement(d,!1)}}}),b.sync=function(a,d,e){var f=x[a];c.defaults(e||(e={}),{emulateHTTP:b.emulateHTTP,emulateJSON:b.emulateJSON});var g={type:f,dataType:"json"};if(e.url||(g.url=c.result(d,"url")||K()),null!=e.data||!d||"create"!==a&&"update"!==a&&"patch"!==a||(g.contentType="application/json",g.data=JSON.stringify(e.attrs||d.toJSON(e))),e.emulateJSON&&(g.contentType="application/x-www-form-urlencoded",g.data=g.data?{model:g.data}:{}),e.emulateHTTP&&("PUT"===f||"DELETE"===f||"PATCH"===f)){g.type="POST",e.emulateJSON&&(g.data._method=f);var h=e.beforeSend;e.beforeSend=function(a){return a.setRequestHeader("X-HTTP-Method-Override",f),h?h.apply(this,arguments):void 0}}"GET"===g.type||e.emulateJSON||(g.processData=!1),"PATCH"===g.type&&w&&(g.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")});var i=e.xhr=b.ajax(c.extend(g,e));return d.trigger("request",d,i,e),i};var w=!("undefined"==typeof window||!window.ActiveXObject||window.XMLHttpRequest&&(new XMLHttpRequest).dispatchEvent),x={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};b.ajax=function(){return b.$.ajax.apply(b.$,arguments)};var y=b.Router=function(a){a||(a={}),a.routes&&(this.routes=a.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},z=/\((.*?)\)/g,A=/(\(\?)?:\w+/g,B=/\*\w+/g,C=/[\-{}\[\]+?.,\\\^$|#\s]/g;c.extend(y.prototype,h,{initialize:function(){},route:function(a,d,e){c.isRegExp(a)||(a=this._routeToRegExp(a)),c.isFunction(d)&&(e=d,d=""),e||(e=this[d]);var f=this;return b.history.route(a,function(c){var g=f._extractParameters(a,c);f.execute(e,g),f.trigger.apply(f,["route:"+d].concat(g)),f.trigger("route",d,g),b.history.trigger("route",f,d,g)}),this},execute:function(a,b){a&&a.apply(this,b)},navigate:function(a,c){return b.history.navigate(a,c),this},_bindRoutes:function(){if(this.routes){this.routes=c.result(this,"routes");for(var a,b=c.keys(this.routes);null!=(a=b.pop());)this.route(a,this.routes[a])}},_routeToRegExp:function(a){return a=a.replace(C,"\\$&").replace(z,"(?:$1)?").replace(A,function(a,b){return b?a:"([^/?]+)"}).replace(B,"([^?]*?)"),new RegExp("^"+a+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(a,b){var d=a.exec(b).slice(1);return c.map(d,function(a,b){return b===d.length-1?a||null:a?decodeURIComponent(a):null})}});var D=b.History=function(){this.handlers=[],c.bindAll(this,"checkUrl"),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},E=/^[#\/]|\s+$/g,F=/^\/+|\/+$/g,G=/msie [\w.]+/,H=/\/$/,I=/#.*$/;D.started=!1,c.extend(D.prototype,h,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(a){var b=(a||this).location.href.match(/#(.*)$/);return b?b[1]:""},getFragment:function(a,b){if(null==a)if(this._hasPushState||!this._wantsHashChange||b){a=decodeURI(this.location.pathname+this.location.search);var c=this.root.replace(H,"");a.indexOf(c)||(a=a.slice(c.length))}else a=this.getHash();return a.replace(E,"")},start:function(a){if(D.started)throw new Error("Backbone.history has already been started");D.started=!0,this.options=c.extend({root:"/"},this.options,a),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var d=this.getFragment(),e=document.documentMode,f=G.exec(navigator.userAgent.toLowerCase())&&(!e||7>=e);if(this.root=("/"+this.root+"/").replace(F,"/"),f&&this._wantsHashChange){var g=b.$('<iframe src="javascript:0" tabindex="-1">');this.iframe=g.hide().appendTo("body")[0].contentWindow,this.navigate(d)}this._hasPushState?b.$(window).on("popstate",this.checkUrl):this._wantsHashChange&&"onhashchange"in window&&!f?b.$(window).on("hashchange",this.checkUrl):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),this.fragment=d;var h=this.location;if(this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot())return this.fragment=this.getFragment(null,!0),this.location.replace(this.root+"#"+this.fragment),!0;this._hasPushState&&this.atRoot()&&h.hash&&(this.fragment=this.getHash().replace(E,""),this.history.replaceState({},document.title,this.root+this.fragment))}return this.options.silent?void 0:this.loadUrl()},stop:function(){b.$(window).off("popstate",this.checkUrl).off("hashchange",this.checkUrl),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),D.started=!1},route:function(a,b){this.handlers.unshift({route:a,callback:b})},checkUrl:function(){var a=this.getFragment();return a===this.fragment&&this.iframe&&(a=this.getFragment(this.getHash(this.iframe))),a===this.fragment?!1:(this.iframe&&this.navigate(a),void this.loadUrl())},loadUrl:function(a){return a=this.fragment=this.getFragment(a),c.any(this.handlers,function(b){return b.route.test(a)?(b.callback(a),!0):void 0})},navigate:function(a,b){if(!D.started)return!1;b&&b!==!0||(b={trigger:!!b});var c=this.root+(a=this.getFragment(a||""));if(a=a.replace(I,""),this.fragment!==a){if(this.fragment=a,""===a&&"/"!==c&&(c=c.slice(0,-1)),this._hasPushState)this.history[b.replace?"replaceState":"pushState"]({},document.title,c);else{if(!this._wantsHashChange)return this.location.assign(c);this._updateHash(this.location,a,b.replace),this.iframe&&a!==this.getFragment(this.getHash(this.iframe))&&(b.replace||this.iframe.document.open().close(),this._updateHash(this.iframe.location,a,b.replace))}return b.trigger?this.loadUrl(a):void 0}},_updateHash:function(a,b,c){if(c){var d=a.href.replace(/(javascript:|#).*$/,"");a.replace(d+"#"+b)}else a.hash="#"+b}}),b.history=new D;var J=function(a,b){var d,e=this;d=a&&c.has(a,"constructor")?a.constructor:function(){return e.apply(this,arguments)},c.extend(d,e,b);var f=function(){this.constructor=d};return f.prototype=e.prototype,d.prototype=new f,a&&c.extend(d.prototype,a),d.__super__=e.prototype,d};m.extend=o.extend=y.extend=t.extend=D.extend=J;var K=function(){throw new Error('A "url" property or function must be specified')},L=function(a,b){var c=b.error;b.error=function(d){c&&c(a,d,b),a.trigger("error",a,d,b)}};return b});
     2 No newline at end of file
  • src/wp-includes/js/masonry.min.js

    diff --git a/src/wp-includes/js/masonry.min.js b/src/wp-includes/js/masonry.min.js
    old mode 100644
    new mode 100755
    index da920b7..a679d55
    a b  
    1 /*!
    2  * Masonry PACKAGED v3.1.4
    3  * Cascading grid layout library
    4  * http://masonry.desandro.com
    5  * MIT License
    6  * by David DeSandro
    7  */
    8 
    9 (function(t){function e(){}function i(t){function i(e){e.prototype.option||(e.prototype.option=function(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))})}function o(e,i){t.fn[e]=function(o){if("string"==typeof o){for(var s=n.call(arguments,1),a=0,h=this.length;h>a;a++){var p=this[a],u=t.data(p,e);if(u)if(t.isFunction(u[o])&&"_"!==o.charAt(0)){var f=u[o].apply(u,s);if(void 0!==f)return f}else r("no such method '"+o+"' for "+e+" instance");else r("cannot call methods on "+e+" prior to initialization; "+"attempted to call '"+o+"'")}return this}return this.each(function(){var n=t.data(this,e);n?(n.option(o),n._init()):(n=new i(this,o),t.data(this,e,n))})}}if(t){var r="undefined"==typeof console?e:function(t){console.error(t)};return t.bridget=function(t,e){i(e),o(t,e)},t.bridget}}var n=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],i):i(t.jQuery)})(window),function(t){function e(e){var i=t.event;return i.target=i.target||i.srcElement||e,i}var i=document.documentElement,n=function(){};i.addEventListener?n=function(t,e,i){t.addEventListener(e,i,!1)}:i.attachEvent&&(n=function(t,i,n){t[i+n]=n.handleEvent?function(){var i=e(t);n.handleEvent.call(n,i)}:function(){var i=e(t);n.call(t,i)},t.attachEvent("on"+i,t[i+n])});var o=function(){};i.removeEventListener?o=function(t,e,i){t.removeEventListener(e,i,!1)}:i.detachEvent&&(o=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(n){t[e+i]=void 0}});var r={bind:n,unbind:o};"function"==typeof define&&define.amd?define("eventie/eventie",r):"object"==typeof exports?module.exports=r:t.eventie=r}(this),function(t){function e(t){"function"==typeof t&&(e.isReady?t():r.push(t))}function i(t){var i="readystatechange"===t.type&&"complete"!==o.readyState;if(!e.isReady&&!i){e.isReady=!0;for(var n=0,s=r.length;s>n;n++){var a=r[n];a()}}}function n(n){return n.bind(o,"DOMContentLoaded",i),n.bind(o,"readystatechange",i),n.bind(t,"load",i),e}var o=t.document,r=[];e.isReady=!1,"function"==typeof define&&define.amd?(e.isReady="function"==typeof requirejs,define("doc-ready/doc-ready",["eventie/eventie"],n)):t.docReady=n(t.eventie)}(this),function(){function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function(){return this[t].apply(this,arguments)}}var n=t.prototype,o=this,r=o.EventEmitter;n.getListeners=function(t){var e,i,n=this._getEvents();if(t instanceof RegExp){e={};for(i in n)n.hasOwnProperty(i)&&t.test(i)&&(e[i]=n[i])}else e=n[t]||(n[t]=[]);return e},n.flattenListeners=function(t){var e,i=[];for(e=0;t.length>e;e+=1)i.push(t[e].listener);return i},n.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&(e={},e[t]=i),e||i},n.addListener=function(t,i){var n,o=this.getListenersAsObject(t),r="object"==typeof i;for(n in o)o.hasOwnProperty(n)&&-1===e(o[n],i)&&o[n].push(r?i:{listener:i,once:!1});return this},n.on=i("addListener"),n.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},n.once=i("addOnceListener"),n.defineEvent=function(t){return this.getListeners(t),this},n.defineEvents=function(t){for(var e=0;t.length>e;e+=1)this.defineEvent(t[e]);return this},n.removeListener=function(t,i){var n,o,r=this.getListenersAsObject(t);for(o in r)r.hasOwnProperty(o)&&(n=e(r[o],i),-1!==n&&r[o].splice(n,1));return this},n.off=i("removeListener"),n.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},n.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},n.manipulateListeners=function(t,e,i){var n,o,r=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(n=i.length;n--;)r.call(this,e,i[n]);else for(n in e)e.hasOwnProperty(n)&&(o=e[n])&&("function"==typeof o?r.call(this,n,o):s.call(this,n,o));return this},n.removeEvent=function(t){var e,i=typeof t,n=this._getEvents();if("string"===i)delete n[t];else if(t instanceof RegExp)for(e in n)n.hasOwnProperty(e)&&t.test(e)&&delete n[e];else delete this._events;return this},n.removeAllListeners=i("removeEvent"),n.emitEvent=function(t,e){var i,n,o,r,s=this.getListenersAsObject(t);for(o in s)if(s.hasOwnProperty(o))for(n=s[o].length;n--;)i=s[o][n],i.once===!0&&this.removeListener(t,i.listener),r=i.listener.apply(this,e||[]),r===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},n.trigger=i("emitEvent"),n.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},n.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},n._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},n._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return o.EventEmitter=r,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:this.EventEmitter=t}.call(this),function(t){function e(t){if(t){if("string"==typeof n[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,o=0,r=i.length;r>o;o++)if(e=i[o]+t,"string"==typeof n[e])return e}}var i="Webkit Moz ms Ms O".split(" "),n=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return e}):"object"==typeof exports?module.exports=e:t.getStyleProperty=e}(window),function(t){function e(t){var e=parseFloat(t),i=-1===t.indexOf("%")&&!isNaN(e);return i&&e}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,i=s.length;i>e;e++){var n=s[e];t[n]=0}return t}function n(t){function n(t){if("string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var n=r(t);if("none"===n.display)return i();var o={};o.width=t.offsetWidth,o.height=t.offsetHeight;for(var u=o.isBorderBox=!(!p||!n[p]||"border-box"!==n[p]),f=0,c=s.length;c>f;f++){var d=s[f],l=n[d];l=a(t,l);var m=parseFloat(l);o[d]=isNaN(m)?0:m}var y=o.paddingLeft+o.paddingRight,g=o.paddingTop+o.paddingBottom,v=o.marginLeft+o.marginRight,b=o.marginTop+o.marginBottom,_=o.borderLeftWidth+o.borderRightWidth,E=o.borderTopWidth+o.borderBottomWidth,L=u&&h,x=e(n.width);x!==!1&&(o.width=x+(L?0:y+_));var z=e(n.height);return z!==!1&&(o.height=z+(L?0:g+E)),o.innerWidth=o.width-(y+_),o.innerHeight=o.height-(g+E),o.outerWidth=o.width+v,o.outerHeight=o.height+b,o}}function a(t,e){if(o||-1===e.indexOf("%"))return e;var i=t.style,n=i.left,r=t.runtimeStyle,s=r&&r.left;return s&&(r.left=t.currentStyle.left),i.left=e,e=i.pixelLeft,i.left=n,s&&(r.left=s),e}var h,p=t("boxSizing");return function(){if(p){var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style[p]="border-box";var i=document.body||document.documentElement;i.appendChild(t);var n=r(t);h=200===e(n.width),i.removeChild(t)}}(),n}var o=t.getComputedStyle,r=o?function(t){return o(t,null)}:function(t){return t.currentStyle},s=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],n):"object"==typeof exports?module.exports=n(require("get-style-property")):t.getSize=n(t.getStyleProperty)}(window),function(t,e){function i(t,e){return t[a](e)}function n(t){if(!t.parentNode){var e=document.createDocumentFragment();e.appendChild(t)}}function o(t,e){n(t);for(var i=t.parentNode.querySelectorAll(e),o=0,r=i.length;r>o;o++)if(i[o]===t)return!0;return!1}function r(t,e){return n(t),i(t,e)}var s,a=function(){if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0,n=t.length;n>i;i++){var o=t[i],r=o+"MatchesSelector";if(e[r])return r}}();if(a){var h=document.createElement("div"),p=i(h,"div");s=p?i:r}else s=o;"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return s}):window.matchesSelector=s}(this,Element.prototype),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){for(var e in t)return!1;return e=null,!0}function n(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}function o(t,o,r){function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var h=r("transition"),p=r("transform"),u=h&&p,f=!!r("perspective"),c={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[h],d=["transform","transition","transitionDuration","transitionProperty"],l=function(){for(var t={},e=0,i=d.length;i>e;e++){var n=d[e],o=r(n);o&&o!==n&&(t[n]=o)}return t}();e(a.prototype,t.prototype),a.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},a.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},a.prototype.getSize=function(){this.size=o(this.element)},a.prototype.css=function(t){var e=this.element.style;for(var i in t){var n=l[i]||i;e[n]=t[i]}},a.prototype.getPosition=function(){var t=s(this.element),e=this.layout.options,i=e.isOriginLeft,n=e.isOriginTop,o=parseInt(t[i?"left":"right"],10),r=parseInt(t[n?"top":"bottom"],10);o=isNaN(o)?0:o,r=isNaN(r)?0:r;var a=this.layout.size;o-=i?a.paddingLeft:a.paddingRight,r-=n?a.paddingTop:a.paddingBottom,this.position.x=o,this.position.y=r},a.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,i={};e.isOriginLeft?(i.left=this.position.x+t.paddingLeft+"px",i.right=""):(i.right=this.position.x+t.paddingRight+"px",i.left=""),e.isOriginTop?(i.top=this.position.y+t.paddingTop+"px",i.bottom=""):(i.bottom=this.position.y+t.paddingBottom+"px",i.top=""),this.css(i),this.emitEvent("layout",[this])};var m=f?function(t,e){return"translate3d("+t+"px, "+e+"px, 0)"}:function(t,e){return"translate("+t+"px, "+e+"px)"};a.prototype._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=parseInt(t,10),r=parseInt(e,10),s=o===this.position.x&&r===this.position.y;if(this.setPosition(t,e),s&&!this.isTransitioning)return this.layoutPosition(),void 0;var a=t-i,h=e-n,p={},u=this.layout.options;a=u.isOriginLeft?a:-a,h=u.isOriginTop?h:-h,p.transform=m(a,h),this.transition({to:p,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},a.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},a.prototype.moveTo=u?a.prototype._transitionTo:a.prototype.goTo,a.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},a.prototype._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},a.prototype._transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return this._nonTransition(t),void 0;var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var n=this.element.offsetHeight;n=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var y=p&&n(p)+",opacity";a.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:y,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(c,this,!1))},a.prototype.transition=a.prototype[h?"_transition":"_nonTransition"],a.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},a.prototype.onotransitionend=function(t){this.ontransitionend(t)};var g={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};a.prototype.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=g[t.propertyName]||t.propertyName;if(delete e.ingProperties[n],i(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd){var o=e.onEnd[n];o.call(this),delete e.onEnd[n]}this.emitEvent("transitionEnd",[this])}},a.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(c,this,!1),this.isTransitioning=!1},a.prototype._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var v={transitionProperty:"",transitionDuration:""};return a.prototype.removeTransitionStyles=function(){this.css(v)},a.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.emitEvent("remove",[this])},a.prototype.remove=function(){if(!h||!parseFloat(this.layout.options.transitionDuration))return this.removeElem(),void 0;var t=this;this.on("transitionEnd",function(){return t.removeElem(),!0}),this.hide()},a.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options;this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0})},a.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options;this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:{opacity:function(){this.isHidden&&this.css({display:"none"})}}})},a.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}var r=document.defaultView,s=r&&r.getComputedStyle?function(t){return r.getComputedStyle(t,null)}:function(t){return t.currentStyle};"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property"],o):(t.Outlayer={},t.Outlayer.Item=o(t.EventEmitter,t.getSize,t.getStyleProperty))}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){return"[object Array]"===f.call(t)}function n(t){var e=[];if(i(t))e=t;else if(t&&"number"==typeof t.length)for(var n=0,o=t.length;o>n;n++)e.push(t[n]);else e.push(t);return e}function o(t,e){var i=d(e,t);-1!==i&&e.splice(i,1)}function r(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()}function s(i,s,f,d,l,m){function y(t,i){if("string"==typeof t&&(t=a.querySelector(t)),!t||!c(t))return h&&h.error("Bad "+this.constructor.namespace+" element: "+t),void 0;this.element=t,this.options=e({},this.options),this.option(i);var n=++v;this.element.outlayerGUID=n,b[n]=this,this._create(),this.options.isInitLayout&&this.layout()}function g(t,i){t.prototype[i]=e({},y.prototype[i])}var v=0,b={};return y.namespace="outlayer",y.Item=m,y.prototype.options={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},e(y.prototype,f.prototype),y.prototype.option=function(t){e(this.options,t)},y.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),e(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},y.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},y.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0,r=e.length;r>o;o++){var s=e[o],a=new i(s,this);n.push(a)}return n},y.prototype._filterFindItemElements=function(t){t=n(t);for(var e=this.options.itemSelector,i=[],o=0,r=t.length;r>o;o++){var s=t[o];if(c(s))if(e){l(s,e)&&i.push(s);for(var a=s.querySelectorAll(e),h=0,p=a.length;p>h;h++)i.push(a[h])}else i.push(s)}return i},y.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;i>e;e++)t.push(this.items[e].element);return t},y.prototype.layout=function(){this._resetLayout(),this._manageStamps();var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},y.prototype._init=y.prototype.layout,y.prototype._resetLayout=function(){this.getSize()},y.prototype.getSize=function(){this.size=d(this.element)},y.prototype._getMeasurement=function(t,e){var i,n=this.options[t];n?("string"==typeof n?i=this.element.querySelector(n):c(n)&&(i=n),this[t]=i?d(i)[e]:n):this[t]=0},y.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},y.prototype._getItemsForLayout=function(t){for(var e=[],i=0,n=t.length;n>i;i++){var o=t[i];o.isIgnored||e.push(o)}return e},y.prototype._layoutItems=function(t,e){function i(){n.emitEvent("layoutComplete",[n,t])}var n=this;if(!t||!t.length)return i(),void 0;this._itemsOn(t,"layout",i);for(var o=[],r=0,s=t.length;s>r;r++){var a=t[r],h=this._getItemLayoutPosition(a);h.item=a,h.isInstant=e||a.isLayoutInstant,o.push(h)}this._processLayoutQueue(o)},y.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},y.prototype._processLayoutQueue=function(t){for(var e=0,i=t.length;i>e;e++){var n=t[e];this._positionItem(n.item,n.x,n.y,n.isInstant)}},y.prototype._positionItem=function(t,e,i,n){n?t.goTo(e,i):t.moveTo(e,i)},y.prototype._postLayout=function(){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))},y.prototype._getContainerSize=u,y.prototype._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},y.prototype._itemsOn=function(t,e,i){function n(){return o++,o===r&&i.call(s),!0}for(var o=0,r=t.length,s=this,a=0,h=t.length;h>a;a++){var p=t[a];p.on(e,n)}},y.prototype.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},y.prototype.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},y.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.concat(t);for(var e=0,i=t.length;i>e;e++){var n=t[e];this.ignore(n)}}},y.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;i>e;e++){var n=t[e];o(n,this.stamps),this.unignore(n)}},y.prototype._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=n(t)):void 0},y.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var t=0,e=this.stamps.length;e>t;t++){var i=this.stamps[t];this._manageStamp(i)}}},y.prototype._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},y.prototype._manageStamp=u,y.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,n=d(t),o={left:e.left-i.left-n.marginLeft,top:e.top-i.top-n.marginTop,right:i.right-e.right-n.marginRight,bottom:i.bottom-e.bottom-n.marginBottom};return o},y.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},y.prototype.bindResize=function(){this.isResizeBound||(i.bind(t,"resize",this),this.isResizeBound=!0)},y.prototype.unbindResize=function(){i.unbind(t,"resize",this),this.isResizeBound=!1},y.prototype.onresize=function(){function t(){e.resize(),delete e.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var e=this;this.resizeTimeout=setTimeout(t,100)},y.prototype.resize=function(){var t=d(this.element),e=this.size&&t;e&&t.innerWidth===this.size.innerWidth||this.layout()},y.prototype.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},y.prototype.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},y.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},y.prototype.reveal=function(t){var e=t&&t.length;if(e)for(var i=0;e>i;i++){var n=t[i];n.reveal()}},y.prototype.hide=function(t){var e=t&&t.length;if(e)for(var i=0;e>i;i++){var n=t[i];n.hide()}},y.prototype.getItem=function(t){for(var e=0,i=this.items.length;i>e;e++){var n=this.items[e];if(n.element===t)return n}},y.prototype.getItems=function(t){if(t&&t.length){for(var e=[],i=0,n=t.length;n>i;i++){var o=t[i],r=this.getItem(o);r&&e.push(r)}return e}},y.prototype.remove=function(t){t=n(t);var e=this.getItems(t);if(e&&e.length){this._itemsOn(e,"remove",function(){this.emitEvent("removeComplete",[this,e])});for(var i=0,r=e.length;r>i;i++){var s=e[i];s.remove(),o(s,this.items)}}},y.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,i=this.items.length;i>e;e++){var n=this.items[e];n.destroy()}this.unbindResize(),delete this.element.outlayerGUID,p&&p.removeData(this.element,this.constructor.namespace)},y.data=function(t){var e=t&&t.outlayerGUID;return e&&b[e]},y.create=function(t,i){function n(){y.apply(this,arguments)}return Object.create?n.prototype=Object.create(y.prototype):e(n.prototype,y.prototype),n.prototype.constructor=n,g(n,"options"),e(n.prototype.options,i),n.namespace=t,n.data=y.data,n.Item=function(){m.apply(this,arguments)},n.Item.prototype=new m,s(function(){for(var e=r(t),i=a.querySelectorAll(".js-"+e),o="data-"+e+"-options",s=0,u=i.length;u>s;s++){var f,c=i[s],d=c.getAttribute(o);try{f=d&&JSON.parse(d)}catch(l){h&&h.error("Error parsing "+o+" on "+c.nodeName.toLowerCase()+(c.id?"#"+c.id:"")+": "+l);continue}var m=new n(c,f);p&&p.data(c,t,m)}}),p&&p.bridget&&p.bridget(t,n),n},y.Item=m,y}var a=t.document,h=t.console,p=t.jQuery,u=function(){},f=Object.prototype.toString,c="object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1===t.nodeType&&"string"==typeof t.nodeName},d=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,n=t.length;n>i;i++)if(t[i]===e)return i;return-1};"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","doc-ready/doc-ready","eventEmitter/EventEmitter","get-size/get-size","matches-selector/matches-selector","./item"],s):t.Outlayer=s(t.eventie,t.docReady,t.EventEmitter,t.getSize,t.matchesSelector,t.Outlayer.Item)}(window),function(t){function e(t,e){var n=t.create("masonry");return n.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var t=this.cols;for(this.colYs=[];t--;)this.colYs.push(0);this.maxY=0},n.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}this.columnWidth+=this.gutter,this.cols=Math.floor((this.containerWidth+this.gutter)/this.columnWidth),this.cols=Math.max(this.cols,1)},n.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},n.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,n=e&&1>e?"round":"ceil",o=Math[n](t.size.outerWidth/this.columnWidth);o=Math.min(o,this.cols);for(var r=this._getColGroup(o),s=Math.min.apply(Math,r),a=i(r,s),h={x:this.columnWidth*a,y:s},p=s+t.size.outerHeight,u=this.cols+1-r.length,f=0;u>f;f++)this.colYs[a+f]=p;return h},n.prototype._getColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;i>n;n++){var o=this.colYs.slice(n,n+t);e[n]=Math.max.apply(Math,o)}return e},n.prototype._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this.options.isOriginLeft?n.left:n.right,r=o+i.outerWidth,s=Math.floor(o/this.columnWidth);s=Math.max(0,s);var a=Math.floor(r/this.columnWidth);a-=r%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var h=(this.options.isOriginTop?n.top:n.bottom)+i.outerHeight,p=s;a>=p;p++)this.colYs[p]=Math.max(h,this.colYs[p])},n.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this.options.isFitWidth&&(t.width=this._getContainerFitWidth()),t},n.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.prototype.resize=function(){var t=this.containerWidth;this.getContainerWidth(),t!==this.containerWidth&&this.layout()},n}var i=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,n=t.length;n>i;i++){var o=t[i];if(o===e)return i}return-1};"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],e):t.Masonry=e(t.Outlayer,t.getSize)}(window);
    10 
    11 /*!
    12  * imagesLoaded PACKAGED v3.1.4
    13  * JavaScript is all like "You images are done yet or what?"
    14  * MIT License
    15  */
    16 
    17 (function(){function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,o=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;e.length>t;t+=1)n.push(e[t].listener);return n},i.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},i.addListener=function(e,n){var i,r=this.getListenersAsObject(e),o="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(o?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var t=0;e.length>t;t+=1)this.defineEvent(e[t]);return this},i.removeListener=function(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&(i=t(o[r],n),-1!==i&&o[r].splice(i,1));return this},i.off=n("removeListener"),i.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},i.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},i.manipulateListeners=function(e,t,n){var i,r,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):s.call(this,i,r));return this},i.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(e,t){var n,i,r,o,s=this.getListenersAsObject(e);for(r in s)if(s.hasOwnProperty(r))for(i=s[r].length;i--;)n=s[r][i],n.once===!0&&this.removeListener(e,n.listener),o=n.listener.apply(this,t||[]),o===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},i._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return r.EventEmitter=o,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}).call(this),function(e){function t(t){var n=e.event;return n.target=n.target||n.srcElement||t,n}var n=document.documentElement,i=function(){};n.addEventListener?i=function(e,t,n){e.addEventListener(t,n,!1)}:n.attachEvent&&(i=function(e,n,i){e[n+i]=i.handleEvent?function(){var n=t(e);i.handleEvent.call(i,n)}:function(){var n=t(e);i.call(e,n)},e.attachEvent("on"+n,e[n+i])});var r=function(){};n.removeEventListener?r=function(e,t,n){e.removeEventListener(t,n,!1)}:n.detachEvent&&(r=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(i){e[t+n]=void 0}});var o={bind:i,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",o):e.eventie=o}(this),function(e,t){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return t(e,n,i)}):"object"==typeof exports?module.exports=t(e,require("eventEmitter"),require("eventie")):e.imagesLoaded=t(e,e.EventEmitter,e.eventie)}(this,function(e,t,n){function i(e,t){for(var n in t)e[n]=t[n];return e}function r(e){return"[object Array]"===d.call(e)}function o(e){var t=[];if(r(e))t=e;else if("number"==typeof e.length)for(var n=0,i=e.length;i>n;n++)t.push(e[n]);else t.push(e);return t}function s(e,t,n){if(!(this instanceof s))return new s(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=o(e),this.options=i({},this.options),"function"==typeof t?n=t:i(this.options,t),n&&this.on("always",n),this.getImages(),a&&(this.jqDeferred=new a.Deferred);var r=this;setTimeout(function(){r.check()})}function c(e){this.img=e}function f(e){this.src=e,v[e]=this}var a=e.jQuery,u=e.console,h=u!==void 0,d=Object.prototype.toString;s.prototype=new t,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;t>e;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);for(var i=n.querySelectorAll("img"),r=0,o=i.length;o>r;r++){var s=i[r];this.addImage(s)}}},s.prototype.addImage=function(e){var t=new c(e);this.images.push(t)},s.prototype.check=function(){function e(e,r){return t.options.debug&&h&&u.log("confirm",e,r),t.progress(e),n++,n===i&&t.complete(),!0}var t=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return this.complete(),void 0;for(var r=0;i>r;r++){var o=this.images[r];o.on("confirm",e),o.check()}},s.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},a&&(a.fn.imagesLoaded=function(e,t){var n=new s(this,e,t);return n.jqDeferred.promise(a(this))}),c.prototype=new t,c.prototype.check=function(){var e=v[this.img.src]||new f(this.img.src);if(e.isConfirmed)return this.confirm(e.isLoaded,"cached was confirmed"),void 0;if(this.img.complete&&void 0!==this.img.naturalWidth)return this.confirm(0!==this.img.naturalWidth,"naturalWidth"),void 0;var t=this;e.on("confirm",function(e,n){return t.confirm(e.isLoaded,n),!0}),e.check()},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var v={};return f.prototype=new t,f.prototype.check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},f.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},f.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},f.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},f.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},f.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},s});
    18  No newline at end of file
     1!function(a){function b(){}function c(a){function c(b){b.prototype.option||(b.prototype.option=function(b){a.isPlainObject(b)&&(this.options=a.extend(!0,this.options,b))})}function e(b,c){a.fn[b]=function(e){if("string"==typeof e){for(var g=d.call(arguments,1),h=0,i=this.length;i>h;h++){var j=this[h],k=a.data(j,b);if(k)if(a.isFunction(k[e])&&"_"!==e.charAt(0)){var l=k[e].apply(k,g);if(void 0!==l)return l}else f("no such method '"+e+"' for "+b+" instance");else f("cannot call methods on "+b+" prior to initialization; attempted to call '"+e+"'")}return this}return this.each(function(){var d=a.data(this,b);d?(d.option(e),d._init()):(d=new c(this,e),a.data(this,b,d))})}}if(a){var f="undefined"==typeof console?b:function(a){console.error(a)};return a.bridget=function(a,b){c(b),e(a,b)},a.bridget}}var d=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],c):c(a.jQuery)}(window),function(a){function b(b){var c=a.event;return c.target=c.target||c.srcElement||b,c}var c=document.documentElement,d=function(){};c.addEventListener?d=function(a,b,c){a.addEventListener(b,c,!1)}:c.attachEvent&&(d=function(a,c,d){a[c+d]=d.handleEvent?function(){var c=b(a);d.handleEvent.call(d,c)}:function(){var c=b(a);d.call(a,c)},a.attachEvent("on"+c,a[c+d])});var e=function(){};c.removeEventListener?e=function(a,b,c){a.removeEventListener(b,c,!1)}:c.detachEvent&&(e=function(a,b,c){a.detachEvent("on"+b,a[b+c]);try{delete a[b+c]}catch(d){a[b+c]=void 0}});var f={bind:d,unbind:e};"function"==typeof define&&define.amd?define("eventie/eventie",f):"object"==typeof exports?module.exports=f:a.eventie=f}(this),function(a){function b(a){"function"==typeof a&&(b.isReady?a():f.push(a))}function c(a){var c="readystatechange"===a.type&&"complete"!==e.readyState;if(!b.isReady&&!c){b.isReady=!0;for(var d=0,g=f.length;g>d;d++){var h=f[d];h()}}}function d(d){return d.bind(e,"DOMContentLoaded",c),d.bind(e,"readystatechange",c),d.bind(a,"load",c),b}var e=a.document,f=[];b.isReady=!1,"function"==typeof define&&define.amd?(b.isReady="function"==typeof requirejs,define("doc-ready/doc-ready",["eventie/eventie"],d)):a.docReady=d(a.eventie)}(this),function(){function a(){}function b(a,b){for(var c=a.length;c--;)if(a[c].listener===b)return c;return-1}function c(a){return function(){return this[a].apply(this,arguments)}}var d=a.prototype,e=this,f=e.EventEmitter;d.getListeners=function(a){var b,c,d=this._getEvents();if(a instanceof RegExp){b={};for(c in d)d.hasOwnProperty(c)&&a.test(c)&&(b[c]=d[c])}else b=d[a]||(d[a]=[]);return b},d.flattenListeners=function(a){var b,c=[];for(b=0;a.length>b;b+=1)c.push(a[b].listener);return c},d.getListenersAsObject=function(a){var b,c=this.getListeners(a);return c instanceof Array&&(b={},b[a]=c),b||c},d.addListener=function(a,c){var d,e=this.getListenersAsObject(a),f="object"==typeof c;for(d in e)e.hasOwnProperty(d)&&-1===b(e[d],c)&&e[d].push(f?c:{listener:c,once:!1});return this},d.on=c("addListener"),d.addOnceListener=function(a,b){return this.addListener(a,{listener:b,once:!0})},d.once=c("addOnceListener"),d.defineEvent=function(a){return this.getListeners(a),this},d.defineEvents=function(a){for(var b=0;a.length>b;b+=1)this.defineEvent(a[b]);return this},d.removeListener=function(a,c){var d,e,f=this.getListenersAsObject(a);for(e in f)f.hasOwnProperty(e)&&(d=b(f[e],c),-1!==d&&f[e].splice(d,1));return this},d.off=c("removeListener"),d.addListeners=function(a,b){return this.manipulateListeners(!1,a,b)},d.removeListeners=function(a,b){return this.manipulateListeners(!0,a,b)},d.manipulateListeners=function(a,b,c){var d,e,f=a?this.removeListener:this.addListener,g=a?this.removeListeners:this.addListeners;if("object"!=typeof b||b instanceof RegExp)for(d=c.length;d--;)f.call(this,b,c[d]);else for(d in b)b.hasOwnProperty(d)&&(e=b[d])&&("function"==typeof e?f.call(this,d,e):g.call(this,d,e));return this},d.removeEvent=function(a){var b,c=typeof a,d=this._getEvents();if("string"===c)delete d[a];else if(a instanceof RegExp)for(b in d)d.hasOwnProperty(b)&&a.test(b)&&delete d[b];else delete this._events;return this},d.removeAllListeners=c("removeEvent"),d.emitEvent=function(a,b){var c,d,e,f,g=this.getListenersAsObject(a);for(e in g)if(g.hasOwnProperty(e))for(d=g[e].length;d--;)c=g[e][d],c.once===!0&&this.removeListener(a,c.listener),f=c.listener.apply(this,b||[]),f===this._getOnceReturnValue()&&this.removeListener(a,c.listener);return this},d.trigger=c("emitEvent"),d.emit=function(a){var b=Array.prototype.slice.call(arguments,1);return this.emitEvent(a,b)},d.setOnceReturnValue=function(a){return this._onceReturnValue=a,this},d._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},d._getEvents=function(){return this._events||(this._events={})},a.noConflict=function(){return e.EventEmitter=f,a},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return a}):"object"==typeof module&&module.exports?module.exports=a:this.EventEmitter=a}.call(this),function(a){function b(a){if(a){if("string"==typeof d[a])return a;a=a.charAt(0).toUpperCase()+a.slice(1);for(var b,e=0,f=c.length;f>e;e++)if(b=c[e]+a,"string"==typeof d[b])return b}}var c="Webkit Moz ms Ms O".split(" "),d=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return b}):"object"==typeof exports?module.exports=b:a.getStyleProperty=b}(window),function(a){function b(a){var b=parseFloat(a),c=-1===a.indexOf("%")&&!isNaN(b);return c&&b}function c(){for(var a={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},b=0,c=g.length;c>b;b++){var d=g[b];a[d]=0}return a}function d(a){function d(a){if("string"==typeof a&&(a=document.querySelector(a)),a&&"object"==typeof a&&a.nodeType){var d=f(a);if("none"===d.display)return c();var e={};e.width=a.offsetWidth,e.height=a.offsetHeight;for(var k=e.isBorderBox=!(!j||!d[j]||"border-box"!==d[j]),l=0,m=g.length;m>l;l++){var n=g[l],o=d[n];o=h(a,o);var p=parseFloat(o);e[n]=isNaN(p)?0:p}var q=e.paddingLeft+e.paddingRight,r=e.paddingTop+e.paddingBottom,s=e.marginLeft+e.marginRight,t=e.marginTop+e.marginBottom,u=e.borderLeftWidth+e.borderRightWidth,v=e.borderTopWidth+e.borderBottomWidth,w=k&&i,x=b(d.width);x!==!1&&(e.width=x+(w?0:q+u));var y=b(d.height);return y!==!1&&(e.height=y+(w?0:r+v)),e.innerWidth=e.width-(q+u),e.innerHeight=e.height-(r+v),e.outerWidth=e.width+s,e.outerHeight=e.height+t,e}}function h(a,b){if(e||-1===b.indexOf("%"))return b;var c=a.style,d=c.left,f=a.runtimeStyle,g=f&&f.left;return g&&(f.left=a.currentStyle.left),c.left=b,b=c.pixelLeft,c.left=d,g&&(f.left=g),b}var i,j=a("boxSizing");return function(){if(j){var a=document.createElement("div");a.style.width="200px",a.style.padding="1px 2px 3px 4px",a.style.borderStyle="solid",a.style.borderWidth="1px 2px 3px 4px",a.style[j]="border-box";var c=document.body||document.documentElement;c.appendChild(a);var d=f(a);i=200===b(d.width),c.removeChild(a)}}(),d}var e=a.getComputedStyle,f=e?function(a){return e(a,null)}:function(a){return a.currentStyle},g=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],d):"object"==typeof exports?module.exports=d(require("get-style-property")):a.getSize=d(a.getStyleProperty)}(window),function(a,b){function c(a,b){return a[h](b)}function d(a){if(!a.parentNode){var b=document.createDocumentFragment();b.appendChild(a)}}function e(a,b){d(a);for(var c=a.parentNode.querySelectorAll(b),e=0,f=c.length;f>e;e++)if(c[e]===a)return!0;return!1}function f(a,b){return d(a),c(a,b)}var g,h=function(){if(b.matchesSelector)return"matchesSelector";for(var a=["webkit","moz","ms","o"],c=0,d=a.length;d>c;c++){var e=a[c],f=e+"MatchesSelector";if(b[f])return f}}();if(h){var i=document.createElement("div"),j=c(i,"div");g=j?c:f}else g=e;"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return g}):window.matchesSelector=g}(this,Element.prototype),function(a){function b(a,b){for(var c in b)a[c]=b[c];return a}function c(a){for(var b in a)return!1;return b=null,!0}function d(a){return a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()})}function e(a,e,f){function h(a,b){a&&(this.element=a,this.layout=b,this.position={x:0,y:0},this._create())}var i=f("transition"),j=f("transform"),k=i&&j,l=!!f("perspective"),m={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[i],n=["transform","transition","transitionDuration","transitionProperty"],o=function(){for(var a={},b=0,c=n.length;c>b;b++){var d=n[b],e=f(d);e&&e!==d&&(a[d]=e)}return a}();b(h.prototype,a.prototype),h.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},h.prototype.handleEvent=function(a){var b="on"+a.type;this[b]&&this[b](a)},h.prototype.getSize=function(){this.size=e(this.element)},h.prototype.css=function(a){var b=this.element.style;for(var c in a){var d=o[c]||c;b[d]=a[c]}},h.prototype.getPosition=function(){var a=g(this.element),b=this.layout.options,c=b.isOriginLeft,d=b.isOriginTop,e=parseInt(a[c?"left":"right"],10),f=parseInt(a[d?"top":"bottom"],10);e=isNaN(e)?0:e,f=isNaN(f)?0:f;var h=this.layout.size;e-=c?h.paddingLeft:h.paddingRight,f-=d?h.paddingTop:h.paddingBottom,this.position.x=e,this.position.y=f},h.prototype.layoutPosition=function(){var a=this.layout.size,b=this.layout.options,c={};b.isOriginLeft?(c.left=this.position.x+a.paddingLeft+"px",c.right=""):(c.right=this.position.x+a.paddingRight+"px",c.left=""),b.isOriginTop?(c.top=this.position.y+a.paddingTop+"px",c.bottom=""):(c.bottom=this.position.y+a.paddingBottom+"px",c.top=""),this.css(c),this.emitEvent("layout",[this])};var p=l?function(a,b){return"translate3d("+a+"px, "+b+"px, 0)"}:function(a,b){return"translate("+a+"px, "+b+"px)"};h.prototype._transitionTo=function(a,b){this.getPosition();var c=this.position.x,d=this.position.y,e=parseInt(a,10),f=parseInt(b,10),g=e===this.position.x&&f===this.position.y;if(this.setPosition(a,b),g&&!this.isTransitioning)return void this.layoutPosition();var h=a-c,i=b-d,j={},k=this.layout.options;h=k.isOriginLeft?h:-h,i=k.isOriginTop?i:-i,j.transform=p(h,i),this.transition({to:j,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},h.prototype.goTo=function(a,b){this.setPosition(a,b),this.layoutPosition()},h.prototype.moveTo=k?h.prototype._transitionTo:h.prototype.goTo,h.prototype.setPosition=function(a,b){this.position.x=parseInt(a,10),this.position.y=parseInt(b,10)},h.prototype._nonTransition=function(a){this.css(a.to),a.isCleaning&&this._removeStyles(a.to);for(var b in a.onTransitionEnd)a.onTransitionEnd[b].call(this)},h.prototype._transition=function(a){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(a);var b=this._transn;for(var c in a.onTransitionEnd)b.onEnd[c]=a.onTransitionEnd[c];for(c in a.to)b.ingProperties[c]=!0,a.isCleaning&&(b.clean[c]=!0);if(a.from){this.css(a.from);var d=this.element.offsetHeight;d=null}this.enableTransition(a.to),this.css(a.to),this.isTransitioning=!0};var q=j&&d(j)+",opacity";h.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:q,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(m,this,!1))},h.prototype.transition=h.prototype[i?"_transition":"_nonTransition"],h.prototype.onwebkitTransitionEnd=function(a){this.ontransitionend(a)},h.prototype.onotransitionend=function(a){this.ontransitionend(a)};var r={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};h.prototype.ontransitionend=function(a){if(a.target===this.element){var b=this._transn,d=r[a.propertyName]||a.propertyName;if(delete b.ingProperties[d],c(b.ingProperties)&&this.disableTransition(),d in b.clean&&(this.element.style[a.propertyName]="",delete b.clean[d]),d in b.onEnd){var e=b.onEnd[d];e.call(this),delete b.onEnd[d]}this.emitEvent("transitionEnd",[this])}},h.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(m,this,!1),this.isTransitioning=!1},h.prototype._removeStyles=function(a){var b={};for(var c in a)b[c]="";this.css(b)};var s={transitionProperty:"",transitionDuration:""};return h.prototype.removeTransitionStyles=function(){this.css(s)},h.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.emitEvent("remove",[this])},h.prototype.remove=function(){if(!i||!parseFloat(this.layout.options.transitionDuration))return void this.removeElem();var a=this;this.on("transitionEnd",function(){return a.removeElem(),!0}),this.hide()},h.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var a=this.layout.options;this.transition({from:a.hiddenStyle,to:a.visibleStyle,isCleaning:!0})},h.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var a=this.layout.options;this.transition({from:a.visibleStyle,to:a.hiddenStyle,isCleaning:!0,onTransitionEnd:{opacity:function(){this.isHidden&&this.css({display:"none"})}}})},h.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},h}var f=document.defaultView,g=f&&f.getComputedStyle?function(a){return f.getComputedStyle(a,null)}:function(a){return a.currentStyle};"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property"],e):(a.Outlayer={},a.Outlayer.Item=e(a.EventEmitter,a.getSize,a.getStyleProperty))}(window),function(a){function b(a,b){for(var c in b)a[c]=b[c];return a}function c(a){return"[object Array]"===l.call(a)}function d(a){var b=[];if(c(a))b=a;else if(a&&"number"==typeof a.length)for(var d=0,e=a.length;e>d;d++)b.push(a[d]);else b.push(a);return b}function e(a,b){var c=n(b,a);-1!==c&&b.splice(c,1)}function f(a){return a.replace(/(.)([A-Z])/g,function(a,b,c){return b+"-"+c}).toLowerCase()}function g(c,g,l,n,o,p){function q(a,c){if("string"==typeof a&&(a=h.querySelector(a)),!a||!m(a))return void(i&&i.error("Bad "+this.constructor.namespace+" element: "+a));this.element=a,this.options=b({},this.options),this.option(c);var d=++s;this.element.outlayerGUID=d,t[d]=this,this._create(),this.options.isInitLayout&&this.layout()}function r(a,c){a.prototype[c]=b({},q.prototype[c])}var s=0,t={};return q.namespace="outlayer",q.Item=p,q.prototype.options={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},b(q.prototype,l.prototype),q.prototype.option=function(a){b(this.options,a)},q.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),b(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},q.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},q.prototype._itemize=function(a){for(var b=this._filterFindItemElements(a),c=this.constructor.Item,d=[],e=0,f=b.length;f>e;e++){var g=b[e],h=new c(g,this);d.push(h)}return d},q.prototype._filterFindItemElements=function(a){a=d(a);for(var b=this.options.itemSelector,c=[],e=0,f=a.length;f>e;e++){var g=a[e];if(m(g))if(b){o(g,b)&&c.push(g);for(var h=g.querySelectorAll(b),i=0,j=h.length;j>i;i++)c.push(h[i])}else c.push(g)}return c},q.prototype.getItemElements=function(){for(var a=[],b=0,c=this.items.length;c>b;b++)a.push(this.items[b].element);return a},q.prototype.layout=function(){this._resetLayout(),this._manageStamps();var a=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,a),this._isLayoutInited=!0},q.prototype._init=q.prototype.layout,q.prototype._resetLayout=function(){this.getSize()},q.prototype.getSize=function(){this.size=n(this.element)},q.prototype._getMeasurement=function(a,b){var c,d=this.options[a];d?("string"==typeof d?c=this.element.querySelector(d):m(d)&&(c=d),this[a]=c?n(c)[b]:d):this[a]=0},q.prototype.layoutItems=function(a,b){a=this._getItemsForLayout(a),this._layoutItems(a,b),this._postLayout()},q.prototype._getItemsForLayout=function(a){for(var b=[],c=0,d=a.length;d>c;c++){var e=a[c];e.isIgnored||b.push(e)}return b},q.prototype._layoutItems=function(a,b){function c(){d.emitEvent("layoutComplete",[d,a])}var d=this;if(!a||!a.length)return void c();this._itemsOn(a,"layout",c);for(var e=[],f=0,g=a.length;g>f;f++){var h=a[f],i=this._getItemLayoutPosition(h);i.item=h,i.isInstant=b||h.isLayoutInstant,e.push(i)}this._processLayoutQueue(e)},q.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},q.prototype._processLayoutQueue=function(a){for(var b=0,c=a.length;c>b;b++){var d=a[b];this._positionItem(d.item,d.x,d.y,d.isInstant)}},q.prototype._positionItem=function(a,b,c,d){d?a.goTo(b,c):a.moveTo(b,c)},q.prototype._postLayout=function(){var a=this._getContainerSize();a&&(this._setContainerMeasure(a.width,!0),this._setContainerMeasure(a.height,!1))},q.prototype._getContainerSize=k,q.prototype._setContainerMeasure=function(a,b){if(void 0!==a){var c=this.size;c.isBorderBox&&(a+=b?c.paddingLeft+c.paddingRight+c.borderLeftWidth+c.borderRightWidth:c.paddingBottom+c.paddingTop+c.borderTopWidth+c.borderBottomWidth),a=Math.max(a,0),this.element.style[b?"width":"height"]=a+"px"}},q.prototype._itemsOn=function(a,b,c){function d(){return e++,e===f&&c.call(g),!0}for(var e=0,f=a.length,g=this,h=0,i=a.length;i>h;h++){var j=a[h];j.on(b,d)}},q.prototype.ignore=function(a){var b=this.getItem(a);b&&(b.isIgnored=!0)},q.prototype.unignore=function(a){var b=this.getItem(a);b&&delete b.isIgnored},q.prototype.stamp=function(a){if(a=this._find(a)){this.stamps=this.stamps.concat(a);for(var b=0,c=a.length;c>b;b++){var d=a[b];this.ignore(d)}}},q.prototype.unstamp=function(a){if(a=this._find(a))for(var b=0,c=a.length;c>b;b++){var d=a[b];e(d,this.stamps),this.unignore(d)}},q.prototype._find=function(a){return a?("string"==typeof a&&(a=this.element.querySelectorAll(a)),a=d(a)):void 0},q.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var a=0,b=this.stamps.length;b>a;a++){var c=this.stamps[a];this._manageStamp(c)}}},q.prototype._getBoundingRect=function(){var a=this.element.getBoundingClientRect(),b=this.size;this._boundingRect={left:a.left+b.paddingLeft+b.borderLeftWidth,top:a.top+b.paddingTop+b.borderTopWidth,right:a.right-(b.paddingRight+b.borderRightWidth),bottom:a.bottom-(b.paddingBottom+b.borderBottomWidth)}},q.prototype._manageStamp=k,q.prototype._getElementOffset=function(a){var b=a.getBoundingClientRect(),c=this._boundingRect,d=n(a),e={left:b.left-c.left-d.marginLeft,top:b.top-c.top-d.marginTop,right:c.right-b.right-d.marginRight,bottom:c.bottom-b.bottom-d.marginBottom};return e},q.prototype.handleEvent=function(a){var b="on"+a.type;this[b]&&this[b](a)},q.prototype.bindResize=function(){this.isResizeBound||(c.bind(a,"resize",this),this.isResizeBound=!0)},q.prototype.unbindResize=function(){c.unbind(a,"resize",this),this.isResizeBound=!1},q.prototype.onresize=function(){function a(){b.resize(),delete b.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var b=this;this.resizeTimeout=setTimeout(a,100)},q.prototype.resize=function(){var a=n(this.element),b=this.size&&a;b&&a.innerWidth===this.size.innerWidth||this.layout()},q.prototype.addItems=function(a){var b=this._itemize(a);return b.length&&(this.items=this.items.concat(b)),b},q.prototype.appended=function(a){var b=this.addItems(a);b.length&&(this.layoutItems(b,!0),this.reveal(b))},q.prototype.prepended=function(a){var b=this._itemize(a);if(b.length){var c=this.items.slice(0);this.items=b.concat(c),this._resetLayout(),this._manageStamps(),this.layoutItems(b,!0),this.reveal(b),this.layoutItems(c)}},q.prototype.reveal=function(a){var b=a&&a.length;if(b)for(var c=0;b>c;c++){var d=a[c];d.reveal()}},q.prototype.hide=function(a){var b=a&&a.length;if(b)for(var c=0;b>c;c++){var d=a[c];d.hide()}},q.prototype.getItem=function(a){for(var b=0,c=this.items.length;c>b;b++){var d=this.items[b];if(d.element===a)return d}},q.prototype.getItems=function(a){if(a&&a.length){for(var b=[],c=0,d=a.length;d>c;c++){var e=a[c],f=this.getItem(e);f&&b.push(f)}return b}},q.prototype.remove=function(a){a=d(a);var b=this.getItems(a);if(b&&b.length){this._itemsOn(b,"remove",function(){this.emitEvent("removeComplete",[this,b])});for(var c=0,f=b.length;f>c;c++){var g=b[c];g.remove(),e(g,this.items)}}},q.prototype.destroy=function(){var a=this.element.style;a.height="",a.position="",a.width="";for(var b=0,c=this.items.length;c>b;b++){var d=this.items[b];d.destroy()}this.unbindResize(),delete this.element.outlayerGUID,j&&j.removeData(this.element,this.constructor.namespace)},q.data=function(a){var b=a&&a.outlayerGUID;return b&&t[b]},q.create=function(a,c){function d(){q.apply(this,arguments)}return Object.create?d.prototype=Object.create(q.prototype):b(d.prototype,q.prototype),d.prototype.constructor=d,r(d,"options"),b(d.prototype.options,c),d.namespace=a,d.data=q.data,d.Item=function(){p.apply(this,arguments)},d.Item.prototype=new p,g(function(){for(var b=f(a),c=h.querySelectorAll(".js-"+b),e="data-"+b+"-options",g=0,k=c.length;k>g;g++){var l,m=c[g],n=m.getAttribute(e);try{l=n&&JSON.parse(n)}catch(o){i&&i.error("Error parsing "+e+" on "+m.nodeName.toLowerCase()+(m.id?"#"+m.id:"")+": "+o);continue}var p=new d(m,l);j&&j.data(m,a,p)}}),j&&j.bridget&&j.bridget(a,d),d},q.Item=p,q}var h=a.document,i=a.console,j=a.jQuery,k=function(){},l=Object.prototype.toString,m="object"==typeof HTMLElement?function(a){return a instanceof HTMLElement}:function(a){return a&&"object"==typeof a&&1===a.nodeType&&"string"==typeof a.nodeName},n=Array.prototype.indexOf?function(a,b){return a.indexOf(b)}:function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1};"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","doc-ready/doc-ready","eventEmitter/EventEmitter","get-size/get-size","matches-selector/matches-selector","./item"],g):a.Outlayer=g(a.eventie,a.docReady,a.EventEmitter,a.getSize,a.matchesSelector,a.Outlayer.Item)}(window),function(a){function b(a,b){var d=a.create("masonry");return d.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var a=this.cols;for(this.colYs=[];a--;)this.colYs.push(0);this.maxY=0},d.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var a=this.items[0],c=a&&a.element;this.columnWidth=c&&b(c).outerWidth||this.containerWidth}this.columnWidth+=this.gutter,this.cols=Math.floor((this.containerWidth+this.gutter)/this.columnWidth),this.cols=Math.max(this.cols,1)},d.prototype.getContainerWidth=function(){var a=this.options.isFitWidth?this.element.parentNode:this.element,c=b(a);this.containerWidth=c&&c.innerWidth},d.prototype._getItemLayoutPosition=function(a){a.getSize();var b=a.size.outerWidth%this.columnWidth,d=b&&1>b?"round":"ceil",e=Math[d](a.size.outerWidth/this.columnWidth);e=Math.min(e,this.cols);for(var f=this._getColGroup(e),g=Math.min.apply(Math,f),h=c(f,g),i={x:this.columnWidth*h,y:g},j=g+a.size.outerHeight,k=this.cols+1-f.length,l=0;k>l;l++)this.colYs[h+l]=j;return i},d.prototype._getColGroup=function(a){if(2>a)return this.colYs;for(var b=[],c=this.cols+1-a,d=0;c>d;d++){var e=this.colYs.slice(d,d+a);b[d]=Math.max.apply(Math,e)}return b},d.prototype._manageStamp=function(a){var c=b(a),d=this._getElementOffset(a),e=this.options.isOriginLeft?d.left:d.right,f=e+c.outerWidth,g=Math.floor(e/this.columnWidth);g=Math.max(0,g);var h=Math.floor(f/this.columnWidth);h-=f%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var i=(this.options.isOriginTop?d.top:d.bottom)+c.outerHeight,j=g;h>=j;j++)this.colYs[j]=Math.max(i,this.colYs[j])},d.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var a={height:this.maxY};return this.options.isFitWidth&&(a.width=this._getContainerFitWidth()),a},d.prototype._getContainerFitWidth=function(){for(var a=0,b=this.cols;--b&&0===this.colYs[b];)a++;return(this.cols-a)*this.columnWidth-this.gutter},d.prototype.resize=function(){var a=this.containerWidth;this.getContainerWidth(),a!==this.containerWidth&&this.layout()},d}var c=Array.prototype.indexOf?function(a,b){return a.indexOf(b)}:function(a,b){for(var c=0,d=a.length;d>c;c++){var e=a[c];if(e===b)return c}return-1};"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],b):a.Masonry=b(a.Outlayer,a.getSize)}(window),function(){function a(){}function b(a,b){for(var c=a.length;c--;)if(a[c].listener===b)return c;return-1}function c(a){return function(){return this[a].apply(this,arguments)}}var d=a.prototype,e=this,f=e.EventEmitter;d.getListeners=function(a){var b,c,d=this._getEvents();if("object"==typeof a){b={};for(c in d)d.hasOwnProperty(c)&&a.test(c)&&(b[c]=d[c])}else b=d[a]||(d[a]=[]);return b},d.flattenListeners=function(a){var b,c=[];for(b=0;a.length>b;b+=1)c.push(a[b].listener);return c},d.getListenersAsObject=function(a){var b,c=this.getListeners(a);return c instanceof Array&&(b={},b[a]=c),b||c},d.addListener=function(a,c){var d,e=this.getListenersAsObject(a),f="object"==typeof c;for(d in e)e.hasOwnProperty(d)&&-1===b(e[d],c)&&e[d].push(f?c:{listener:c,once:!1});return this},d.on=c("addListener"),d.addOnceListener=function(a,b){return this.addListener(a,{listener:b,once:!0})},d.once=c("addOnceListener"),d.defineEvent=function(a){return this.getListeners(a),this},d.defineEvents=function(a){for(var b=0;a.length>b;b+=1)this.defineEvent(a[b]);return this},d.removeListener=function(a,c){var d,e,f=this.getListenersAsObject(a);for(e in f)f.hasOwnProperty(e)&&(d=b(f[e],c),-1!==d&&f[e].splice(d,1));return this},d.off=c("removeListener"),d.addListeners=function(a,b){return this.manipulateListeners(!1,a,b)},d.removeListeners=function(a,b){return this.manipulateListeners(!0,a,b)},d.manipulateListeners=function(a,b,c){var d,e,f=a?this.removeListener:this.addListener,g=a?this.removeListeners:this.addListeners;if("object"!=typeof b||b instanceof RegExp)for(d=c.length;d--;)f.call(this,b,c[d]);else for(d in b)b.hasOwnProperty(d)&&(e=b[d])&&("function"==typeof e?f.call(this,d,e):g.call(this,d,e));return this},d.removeEvent=function(a){var b,c=typeof a,d=this._getEvents();if("string"===c)delete d[a];else if("object"===c)for(b in d)d.hasOwnProperty(b)&&a.test(b)&&delete d[b];else delete this._events;return this},d.removeAllListeners=c("removeEvent"),d.emitEvent=function(a,b){var c,d,e,f,g=this.getListenersAsObject(a);for(e in g)if(g.hasOwnProperty(e))for(d=g[e].length;d--;)c=g[e][d],c.once===!0&&this.removeListener(a,c.listener),f=c.listener.apply(this,b||[]),f===this._getOnceReturnValue()&&this.removeListener(a,c.listener);return this},d.trigger=c("emitEvent"),d.emit=function(a){var b=Array.prototype.slice.call(arguments,1);return this.emitEvent(a,b)},d.setOnceReturnValue=function(a){return this._onceReturnValue=a,this},d._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},d._getEvents=function(){return this._events||(this._events={})},a.noConflict=function(){return e.EventEmitter=f,a},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return a}):"object"==typeof module&&module.exports?module.exports=a:this.EventEmitter=a}.call(this),function(a){function b(b){var c=a.event;return c.target=c.target||c.srcElement||b,c}var c=document.documentElement,d=function(){};c.addEventListener?d=function(a,b,c){a.addEventListener(b,c,!1)}:c.attachEvent&&(d=function(a,c,d){a[c+d]=d.handleEvent?function(){var c=b(a);d.handleEvent.call(d,c)}:function(){var c=b(a);d.call(a,c)},a.attachEvent("on"+c,a[c+d])});var e=function(){};c.removeEventListener?e=function(a,b,c){a.removeEventListener(b,c,!1)}:c.detachEvent&&(e=function(a,b,c){a.detachEvent("on"+b,a[b+c]);try{delete a[b+c]}catch(d){a[b+c]=void 0}});var f={bind:d,unbind:e};"function"==typeof define&&define.amd?define("eventie/eventie",f):a.eventie=f}(this),function(a,b){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(c,d){return b(a,c,d)}):"object"==typeof exports?module.exports=b(a,require("eventEmitter"),require("eventie")):a.imagesLoaded=b(a,a.EventEmitter,a.eventie)}(this,function(a,b,c){function d(a,b){for(var c in b)a[c]=b[c];return a}function e(a){return"[object Array]"===m.call(a)}function f(a){var b=[];if(e(a))b=a;else if("number"==typeof a.length)for(var c=0,d=a.length;d>c;c++)b.push(a[c]);else b.push(a);return b}function g(a,b,c){if(!(this instanceof g))return new g(a,b);"string"==typeof a&&(a=document.querySelectorAll(a)),this.elements=f(a),this.options=d({},this.options),"function"==typeof b?c=b:d(this.options,b),c&&this.on("always",c),this.getImages(),j&&(this.jqDeferred=new j.Deferred);var e=this;setTimeout(function(){e.check()})}function h(a){this.img=a}function i(a){this.src=a,n[a]=this}var j=a.jQuery,k=a.console,l=void 0!==k,m=Object.prototype.toString;g.prototype=new b,g.prototype.options={},g.prototype.getImages=function(){this.images=[];for(var a=0,b=this.elements.length;b>a;a++){var c=this.elements[a];"IMG"===c.nodeName&&this.addImage(c);for(var d=c.querySelectorAll("img"),e=0,f=d.length;f>e;e++){var g=d[e];this.addImage(g)}}},g.prototype.addImage=function(a){var b=new h(a);this.images.push(b)},g.prototype.check=function(){function a(a,e){return b.options.debug&&l&&k.log("confirm",a,e),b.progress(a),c++,c===d&&b.complete(),!0}var b=this,c=0,d=this.images.length;if(this.hasAnyBroken=!1,!d)return void this.complete();for(var e=0;d>e;e++){var f=this.images[e];f.on("confirm",a),f.check()}},g.prototype.progress=function(a){this.hasAnyBroken=this.hasAnyBroken||!a.isLoaded;var b=this;setTimeout(function(){b.emit("progress",b,a),b.jqDeferred&&b.jqDeferred.notify&&b.jqDeferred.notify(b,a)})},g.prototype.complete=function(){var a=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var b=this;setTimeout(function(){if(b.emit(a,b),b.emit("always",b),b.jqDeferred){var c=b.hasAnyBroken?"reject":"resolve";b.jqDeferred[c](b)}})},j&&(j.fn.imagesLoaded=function(a,b){var c=new g(this,a,b);return c.jqDeferred.promise(j(this))}),h.prototype=new b,h.prototype.check=function(){var a=n[this.img.src]||new i(this.img.src);if(a.isConfirmed)return void this.confirm(a.isLoaded,"cached was confirmed");if(this.img.complete&&void 0!==this.img.naturalWidth)return void this.confirm(0!==this.img.naturalWidth,"naturalWidth");var b=this;a.on("confirm",function(a,c){return b.confirm(a.isLoaded,c),!0}),a.check()},h.prototype.confirm=function(a,b){this.isLoaded=a,this.emit("confirm",this,b)};var n={};return i.prototype=new b,i.prototype.check=function(){if(!this.isChecked){var a=new Image;c.bind(a,"load",this),c.bind(a,"error",this),a.src=this.src,this.isChecked=!0}},i.prototype.handleEvent=function(a){var b="on"+a.type;this[b]&&this[b](a)},i.prototype.onload=function(a){this.confirm(!0,"onload"),this.unbindProxyEvents(a)},i.prototype.onerror=function(a){this.confirm(!1,"onerror"),this.unbindProxyEvents(a)},i.prototype.confirm=function(a,b){this.isConfirmed=!0,this.isLoaded=a,this.emit("confirm",this,b)},i.prototype.unbindProxyEvents=function(a){c.unbind(a.target,"load",this),c.unbind(a.target,"error",this)},g});
     2 No newline at end of file
  • src/wp-includes/js/tinymce/plugins/compat3x/css/dialog.css

    diff --git a/src/wp-includes/js/tinymce/plugins/compat3x/css/dialog.css b/src/wp-includes/js/tinymce/plugins/compat3x/css/dialog.css
    old mode 100644
    new mode 100755
    index 7809b7b..2b8cb13
    a b  
    1 @import url(//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=latin-ext,latin);
    2 
    3 /* Generic */
    4 body {
    5 font-family: "Open Sans", sans-serif;
    6 font-size:13px;
    7 background:#fcfcfc;
    8 padding:0;
    9 margin:8px 8px 0 8px;
    10 }
    11 
    12 textarea {resize:none;outline:none;}
    13 
    14 a:link, a:hover {
    15         color: #2B6FB6;
    16 }
    17 
    18 a:visited {
    19         color: #3C2BB6;
    20 }
    21 
    22 .nowrap {white-space: nowrap}
    23 
    24 /* Forms */
    25 form {margin: 0;}
    26 fieldset {margin:0; padding:4px; border:1px solid #dfdfdf; font-family:Verdana, Arial; font-size:10px;}
    27 legend {color:#2B6FB6; font-weight:bold;}
    28 label.msg {display:none;}
    29 label.invalid {color:#EE0000; display:inline;}
    30 input.invalid {border:1px solid #EE0000;}
    31 input {background:#FFF; border:1px solid #dfdfdf;}
    32 input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
    33 input, select, textarea {border:1px solid #dfdfdf;}
    34 input.radio {border:1px none #000000; background:transparent; vertical-align:middle;}
    35 input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;}
    36 .input_noborder {border:0;}
    37 
    38 /* Buttons */
    39 #insert,
    40 #cancel,
    41 #apply,
    42 .mceActionPanel .button,
    43 input.mceButton,
    44 .updateButton {
    45         display: inline-block;
    46         text-decoration: none;
    47         border: 1px solid #adadad;
    48         margin: 0;
    49         padding: 0 10px 1px;
    50         font-size: 13px;
    51         height: 24px;
    52         line-height: 22px;
    53         color: #333;
    54         cursor: pointer;
    55         -webkit-border-radius: 3px;
    56         -webkit-appearance: none;
    57         border-radius: 3px;
    58         white-space: nowrap;
    59         -webkit-box-sizing: border-box;
    60         -moz-box-sizing: border-box;
    61         box-sizing: border-box;
    62         background: #fafafa;
    63         background-image: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#e9e9e9));
    64         background-image: -webkit-linear-gradient(top, #fafafa, #e9e9e9);
    65         background-image: -moz-linear-gradient(top, #fafafa, #e9e9e9);
    66         background-image: -o-linear-gradient(top, #fafafa, #e9e9e9);
    67         background-image: linear-gradient(to bottom, #fafafa, #e9e9e9);
    68        
    69         text-shadow: 0 1px 0 #fff;
    70         -webkit-box-shadow: inset 0 1px 0 #fff;
    71         -moz-box-shadow: inset 0 1px 0 #fff;
    72         box-shadow: inset 0 1px 0 #fff;
    73 }
    74 
    75 #insert {
    76         background: #2ea2cc;
    77         background: -webkit-gradient(linear, left top, left bottom, from(#2ea2cc), to(#1e8cbe));
    78         background: -webkit-linear-gradient(top, #2ea2cc 0%,#1e8cbe 100%);
    79         background: linear-gradient(top, #2ea2cc 0%,#1e8cbe 100%);
    80         filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2ea2cc', endColorstr='#1e8cbe',GradientType=0 );
    81         border-color: #0074a2;
    82         -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
    83         box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
    84         color: #fff;
    85         text-decoration: none;
    86         text-shadow: 0 1px 0 rgba(0,86,132,0.7);
    87 }
    88 
    89 #cancel:hover,
    90 input.mceButton:hover,
    91 .updateButton:hover,
    92 #cancel:focus,
    93 input.mceButton:focus,
    94 .updateButton:focus {
    95         background: #f3f3f3;
    96         background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f3f3f3));
    97         background-image: -webkit-linear-gradient(top, #fff, #f3f3f3);
    98         background-image: -moz-linear-gradient(top, #fff, #f3f3f3);
    99         background-image: -ms-linear-gradient(top, #fff, #f3f3f3);
    100         background-image: -o-linear-gradient(top, #fff, #f3f3f3);
    101         background-image: linear-gradient(to bottom, #fff, #f3f3f3);
    102         border-color: #999;
    103         color: #222;
    104 }
    105 
    106 #insert:hover,
    107 #insert:focus {
    108         background: #1e8cbe;
    109         background: -webkit-gradient(linear, left top, left bottom, from(#1e8cbe), to(#0074a2));
    110         background: -webkit-linear-gradient(top, #1e8cbe 0%,#0074a2 100%);
    111         background: linear-gradient(top, #1e8cbe 0%,#0074a2 100%);
    112         filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e8cbe', endColorstr='#0074a2',GradientType=0 );
    113         border-color: #0074a2;
    114         -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
    115         box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
    116         color: #fff;
    117 }
    118 
    119 .mceActionPanel #insert {
    120         float: right;
    121 }
    122 
    123 /* Browse */
    124 a.pickcolor, a.browse {text-decoration:none}
    125 a.browse span {display:block; width:20px; height:18px; border:1px solid #FFF; margin-left:1px;}
    126 .mceOldBoxModel a.browse span {width:22px; height:20px;}
    127 a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;}
    128 a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30);}
    129 a.browse:hover span.disabled {border:1px solid white; background-color:transparent;}
    130 a.pickcolor span {display:block; width:20px; height:16px; margin-left:2px;}
    131 .mceOldBoxModel a.pickcolor span {width:21px; height:17px;}
    132 a.pickcolor:hover span {background-color:#B2BBD0;}
    133 div.iframecontainer {background: #fff;}
    134 
    135 /* Charmap */
    136 table.charmap {border:1px solid #AAA; text-align:center}
    137 td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;}
    138 #charmap a {display:block; color:#000; text-decoration:none; border:0}
    139 #charmap a:hover {background:#CCC;color:#2B6FB6}
    140 #charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center}
    141 #charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center}
    142 #charmap #charmapView {background-color:#fff;}
    143 
    144 /* Source */
    145 .wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;}
    146 .mceActionPanel {margin-top:5px;}
    147 
    148 /* Tabs classes */
    149 .tabs {width:100%; height:19px; line-height:normal; border-bottom: 1px solid #aaa;}
    150 .tabs ul {margin:0; padding:0; list-style:none;}
    151 .tabs li {float:left; border: 1px solid #aaa; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;}
    152 .tabs li.current {border-bottom: 1px solid #fff; margin-right:2px;}
    153 .tabs span {float:left; display:block; padding:0px 10px 0 0;}
    154 .tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;}
    155 .tabs a:link, .tabs a:visited, .tabs a:hover {color:black;}
    156 
    157 .wp-core-ui #tabs {
    158         padding-bottom: 5px;
    159         background-color: transparent;
    160 }
    161 
    162 .wp-core-ui #tabs a {
    163         padding: 6px 10px;
    164         margin: 0 2px;
    165 }
    166 
    167 /* Panels */
    168 .panel_wrapper div.panel {display:none;}
    169 .panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;}
    170 .panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;}
    171 
    172 /* Columns */
    173 .column {float:left;}
    174 .properties {width:100%;}
    175 .properties .column1 {}
    176 .properties .column2 {text-align:left;}
    177 
    178 /* Titles */
    179 h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;}
    180 h3 {font-size:14px;}
    181 .title {font-size:12px; font-weight:bold; color:#2B6FB6;}
    182 
    183 /* Dialog specific */
    184 #link .panel_wrapper, #link div.current {height:125px;}
    185 #image .panel_wrapper, #image div.current {height:200px;}
    186 #plugintable thead {font-weight:bold; background:#DDD;}
    187 #plugintable, #about #plugintable td {border:1px solid #919B9C;}
    188 #plugintable {width:96%; margin-top:10px;}
    189 #pluginscontainer {height:290px; overflow:auto;}
    190 #colorpicker #preview {display:inline-block; padding-left:40px; height:14px; border:1px solid black; margin-left:5px; margin-right: 5px}
    191 #colorpicker #previewblock {position: relative; top: -3px; padding-left:5px; padding-top: 0px; display:inline}
    192 #colorpicker #preview_wrapper {text-align:center; padding-top:4px; white-space: nowrap; float: right;}
    193 #colorpicker #insert, #colorpicker #cancel {width: 90px}
    194 #colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;}
    195 #colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;}
    196 #colorpicker #light div {overflow:hidden;}
    197 #colorpicker .panel_wrapper div.current {height:175px;}
    198 #colorpicker #namedcolors {width:150px;}
    199 #colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;}
    200 #colorpicker #colornamecontainer {margin-top:5px;}
    201 #colorpicker #picker_panel fieldset {margin:auto;width:325px;}
    202 
    203 
    204 /* Localization */
    205 
    206 body[dir="rtl"],
    207 body[dir="rtl"] fieldset,
    208 body[dir="rtl"] input, body[dir="rtl"] select, body[dir="rtl"]  textarea,
    209 body[dir="rtl"]  #charmap #codeN,
    210 body[dir="rtl"] .tabs a {
    211         font-family: Tahoma, sans-serif;
    212 }
     1@import url(//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=latin-ext,latin);
     2
     3/* Generic */
     4body {
     5font-family: "Open Sans", sans-serif;
     6font-size:13px;
     7background:#fcfcfc;
     8padding:0;
     9margin:8px 8px 0 8px;
     10}
     11
     12textarea {resize:none;outline:none;}
     13
     14a:link, a:hover {
     15        color: #2B6FB6;
     16}
     17
     18a:visited {
     19        color: #3C2BB6;
     20}
     21
     22.nowrap {white-space: nowrap}
     23
     24/* Forms */
     25form {margin: 0;}
     26fieldset {margin:0; padding:4px; border:1px solid #dfdfdf; font-family:Verdana, Arial; font-size:10px;}
     27legend {color:#2B6FB6; font-weight:bold;}
     28label.msg {display:none;}
     29label.invalid {color:#EE0000; display:inline;}
     30input.invalid {border:1px solid #EE0000;}
     31input {background:#FFF; border:1px solid #dfdfdf;}
     32input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
     33input, select, textarea {border:1px solid #dfdfdf;}
     34input.radio {border:1px none #000000; background:transparent; vertical-align:middle;}
     35input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;}
     36.input_noborder {border:0;}
     37
     38/* Buttons */
     39#insert,
     40#cancel,
     41#apply,
     42.mceActionPanel .button,
     43input.mceButton,
     44.updateButton {
     45        display: inline-block;
     46        text-decoration: none;
     47        border: 1px solid #adadad;
     48        margin: 0;
     49        padding: 0 10px 1px;
     50        font-size: 13px;
     51        height: 24px;
     52        line-height: 22px;
     53        color: #333;
     54        cursor: pointer;
     55        -webkit-border-radius: 3px;
     56        -webkit-appearance: none;
     57        border-radius: 3px;
     58        white-space: nowrap;
     59        -webkit-box-sizing: border-box;
     60        -moz-box-sizing: border-box;
     61        box-sizing: border-box;
     62        background: #fafafa;
     63        background-image: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#e9e9e9));
     64        background-image: -webkit-linear-gradient(top, #fafafa, #e9e9e9);
     65        background-image: -moz-linear-gradient(top, #fafafa, #e9e9e9);
     66        background-image: -o-linear-gradient(top, #fafafa, #e9e9e9);
     67        background-image: linear-gradient(to bottom, #fafafa, #e9e9e9);
     68       
     69        text-shadow: 0 1px 0 #fff;
     70        -webkit-box-shadow: inset 0 1px 0 #fff;
     71        -moz-box-shadow: inset 0 1px 0 #fff;
     72        box-shadow: inset 0 1px 0 #fff;
     73}
     74
     75#insert {
     76        background: #2ea2cc;
     77        background: -webkit-gradient(linear, left top, left bottom, from(#2ea2cc), to(#1e8cbe));
     78        background: -webkit-linear-gradient(top, #2ea2cc 0%,#1e8cbe 100%);
     79        background: linear-gradient(top, #2ea2cc 0%,#1e8cbe 100%);
     80        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2ea2cc', endColorstr='#1e8cbe',GradientType=0 );
     81        border-color: #0074a2;
     82        -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
     83        box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
     84        color: #fff;
     85        text-decoration: none;
     86        text-shadow: 0 1px 0 rgba(0,86,132,0.7);
     87}
     88
     89#cancel:hover,
     90input.mceButton:hover,
     91.updateButton:hover,
     92#cancel:focus,
     93input.mceButton:focus,
     94.updateButton:focus {
     95        background: #f3f3f3;
     96        background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f3f3f3));
     97        background-image: -webkit-linear-gradient(top, #fff, #f3f3f3);
     98        background-image: -moz-linear-gradient(top, #fff, #f3f3f3);
     99        background-image: -ms-linear-gradient(top, #fff, #f3f3f3);
     100        background-image: -o-linear-gradient(top, #fff, #f3f3f3);
     101        background-image: linear-gradient(to bottom, #fff, #f3f3f3);
     102        border-color: #999;
     103        color: #222;
     104}
     105
     106#insert:hover,
     107#insert:focus {
     108        background: #1e8cbe;
     109        background: -webkit-gradient(linear, left top, left bottom, from(#1e8cbe), to(#0074a2));
     110        background: -webkit-linear-gradient(top, #1e8cbe 0%,#0074a2 100%);
     111        background: linear-gradient(top, #1e8cbe 0%,#0074a2 100%);
     112        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e8cbe', endColorstr='#0074a2',GradientType=0 );
     113        border-color: #0074a2;
     114        -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
     115        box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
     116        color: #fff;
     117}
     118
     119.mceActionPanel #insert {
     120        float: right;
     121}
     122
     123/* Browse */
     124a.pickcolor, a.browse {text-decoration:none}
     125a.browse span {display:block; width:20px; height:18px; border:1px solid #FFF; margin-left:1px;}
     126.mceOldBoxModel a.browse span {width:22px; height:20px;}
     127a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;}
     128a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30);}
     129a.browse:hover span.disabled {border:1px solid white; background-color:transparent;}
     130a.pickcolor span {display:block; width:20px; height:16px; margin-left:2px;}
     131.mceOldBoxModel a.pickcolor span {width:21px; height:17px;}
     132a.pickcolor:hover span {background-color:#B2BBD0;}
     133div.iframecontainer {background: #fff;}
     134
     135/* Charmap */
     136table.charmap {border:1px solid #AAA; text-align:center}
     137td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;}
     138#charmap a {display:block; color:#000; text-decoration:none; border:0}
     139#charmap a:hover {background:#CCC;color:#2B6FB6}
     140#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center}
     141#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center}
     142#charmap #charmapView {background-color:#fff;}
     143
     144/* Source */
     145.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;}
     146.mceActionPanel {margin-top:5px;}
     147
     148/* Tabs classes */
     149.tabs {width:100%; height:19px; line-height:normal; border-bottom: 1px solid #aaa;}
     150.tabs ul {margin:0; padding:0; list-style:none;}
     151.tabs li {float:left; border: 1px solid #aaa; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;}
     152.tabs li.current {border-bottom: 1px solid #fff; margin-right:2px;}
     153.tabs span {float:left; display:block; padding:0px 10px 0 0;}
     154.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;}
     155.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;}
     156
     157.wp-core-ui #tabs {
     158        padding-bottom: 5px;
     159        background-color: transparent;
     160}
     161
     162.wp-core-ui #tabs a {
     163        padding: 6px 10px;
     164        margin: 0 2px;
     165}
     166
     167/* Panels */
     168.panel_wrapper div.panel {display:none;}
     169.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;}
     170.panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;}
     171
     172/* Columns */
     173.column {float:left;}
     174.properties {width:100%;}
     175.properties .column1 {}
     176.properties .column2 {text-align:left;}
     177
     178/* Titles */
     179h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;}
     180h3 {font-size:14px;}
     181.title {font-size:12px; font-weight:bold; color:#2B6FB6;}
     182
     183/* Dialog specific */
     184#link .panel_wrapper, #link div.current {height:125px;}
     185#image .panel_wrapper, #image div.current {height:200px;}
     186#plugintable thead {font-weight:bold; background:#DDD;}
     187#plugintable, #about #plugintable td {border:1px solid #919B9C;}
     188#plugintable {width:96%; margin-top:10px;}
     189#pluginscontainer {height:290px; overflow:auto;}
     190#colorpicker #preview {display:inline-block; padding-left:40px; height:14px; border:1px solid black; margin-left:5px; margin-right: 5px}
     191#colorpicker #previewblock {position: relative; top: -3px; padding-left:5px; padding-top: 0px; display:inline}
     192#colorpicker #preview_wrapper {text-align:center; padding-top:4px; white-space: nowrap; float: right;}
     193#colorpicker #insert, #colorpicker #cancel {width: 90px}
     194#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;}
     195#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;}
     196#colorpicker #light div {overflow:hidden;}
     197#colorpicker .panel_wrapper div.current {height:175px;}
     198#colorpicker #namedcolors {width:150px;}
     199#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;}
     200#colorpicker #colornamecontainer {margin-top:5px;}
     201#colorpicker #picker_panel fieldset {margin:auto;width:325px;}
     202
     203
     204/* Localization */
     205
     206body[dir="rtl"],
     207body[dir="rtl"] fieldset,
     208body[dir="rtl"] input, body[dir="rtl"] select, body[dir="rtl"]  textarea,
     209body[dir="rtl"]  #charmap #codeN,
     210body[dir="rtl"] .tabs a {
     211        font-family: Tahoma, sans-serif;
     212}
  • src/wp-includes/js/underscore.min.js

    diff --git a/src/wp-includes/js/underscore.min.js b/src/wp-includes/js/underscore.min.js
    old mode 100644
    new mode 100755
    index 3434d6c..5c6742f
    a b  
    1 //     Underscore.js 1.6.0
    2 //     http://underscorejs.org
    3 //     (c) 2009-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
    4 //     Underscore may be freely distributed under the MIT license.
    5 (function(){var n=this,t=n._,r={},e=Array.prototype,u=Object.prototype,i=Function.prototype,a=e.push,o=e.slice,c=e.concat,l=u.toString,f=u.hasOwnProperty,s=e.forEach,p=e.map,h=e.reduce,v=e.reduceRight,g=e.filter,d=e.every,m=e.some,y=e.indexOf,b=e.lastIndexOf,x=Array.isArray,w=Object.keys,_=i.bind,j=function(n){return n instanceof j?n:this instanceof j?void(this._wrapped=n):new j(n)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=j),exports._=j):n._=j,j.VERSION="1.6.0";var A=j.each=j.forEach=function(n,t,e){if(null==n)return n;if(s&&n.forEach===s)n.forEach(t,e);else if(n.length===+n.length){for(var u=0,i=n.length;i>u;u++)if(t.call(e,n[u],u,n)===r)return}else for(var a=j.keys(n),u=0,i=a.length;i>u;u++)if(t.call(e,n[a[u]],a[u],n)===r)return;return n};j.map=j.collect=function(n,t,r){var e=[];return null==n?e:p&&n.map===p?n.map(t,r):(A(n,function(n,u,i){e.push(t.call(r,n,u,i))}),e)};var O="Reduce of empty array with no initial value";j.reduce=j.foldl=j.inject=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),h&&n.reduce===h)return e&&(t=j.bind(t,e)),u?n.reduce(t,r):n.reduce(t);if(A(n,function(n,i,a){u?r=t.call(e,r,n,i,a):(r=n,u=!0)}),!u)throw new TypeError(O);return r},j.reduceRight=j.foldr=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),v&&n.reduceRight===v)return e&&(t=j.bind(t,e)),u?n.reduceRight(t,r):n.reduceRight(t);var i=n.length;if(i!==+i){var a=j.keys(n);i=a.length}if(A(n,function(o,c,l){c=a?a[--i]:--i,u?r=t.call(e,r,n[c],c,l):(r=n[c],u=!0)}),!u)throw new TypeError(O);return r},j.find=j.detect=function(n,t,r){var e;return k(n,function(n,u,i){return t.call(r,n,u,i)?(e=n,!0):void 0}),e},j.filter=j.select=function(n,t,r){var e=[];return null==n?e:g&&n.filter===g?n.filter(t,r):(A(n,function(n,u,i){t.call(r,n,u,i)&&e.push(n)}),e)},j.reject=function(n,t,r){return j.filter(n,function(n,e,u){return!t.call(r,n,e,u)},r)},j.every=j.all=function(n,t,e){t||(t=j.identity);var u=!0;return null==n?u:d&&n.every===d?n.every(t,e):(A(n,function(n,i,a){return(u=u&&t.call(e,n,i,a))?void 0:r}),!!u)};var k=j.some=j.any=function(n,t,e){t||(t=j.identity);var u=!1;return null==n?u:m&&n.some===m?n.some(t,e):(A(n,function(n,i,a){return u||(u=t.call(e,n,i,a))?r:void 0}),!!u)};j.contains=j.include=function(n,t){return null==n?!1:y&&n.indexOf===y?n.indexOf(t)!=-1:k(n,function(n){return n===t})},j.invoke=function(n,t){var r=o.call(arguments,2),e=j.isFunction(t);return j.map(n,function(n){return(e?t:n[t]).apply(n,r)})},j.pluck=function(n,t){return j.map(n,j.property(t))},j.where=function(n,t){return j.filter(n,j.matches(t))},j.findWhere=function(n,t){return j.find(n,j.matches(t))},j.max=function(n,t,r){if(!t&&j.isArray(n)&&n[0]===+n[0]&&n.length<65535)return Math.max.apply(Math,n);var e=-1/0,u=-1/0;return A(n,function(n,i,a){var o=t?t.call(r,n,i,a):n;o>u&&(e=n,u=o)}),e},j.min=function(n,t,r){if(!t&&j.isArray(n)&&n[0]===+n[0]&&n.length<65535)return Math.min.apply(Math,n);var e=1/0,u=1/0;return A(n,function(n,i,a){var o=t?t.call(r,n,i,a):n;u>o&&(e=n,u=o)}),e},j.shuffle=function(n){var t,r=0,e=[];return A(n,function(n){t=j.random(r++),e[r-1]=e[t],e[t]=n}),e},j.sample=function(n,t,r){return null==t||r?(n.length!==+n.length&&(n=j.values(n)),n[j.random(n.length-1)]):j.shuffle(n).slice(0,Math.max(0,t))};var E=function(n){return null==n?j.identity:j.isFunction(n)?n:j.property(n)};j.sortBy=function(n,t,r){return t=E(t),j.pluck(j.map(n,function(n,e,u){return{value:n,index:e,criteria:t.call(r,n,e,u)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(r>e||r===void 0)return 1;if(e>r||e===void 0)return-1}return n.index-t.index}),"value")};var F=function(n){return function(t,r,e){var u={};return r=E(r),A(t,function(i,a){var o=r.call(e,i,a,t);n(u,o,i)}),u}};j.groupBy=F(function(n,t,r){j.has(n,t)?n[t].push(r):n[t]=[r]}),j.indexBy=F(function(n,t,r){n[t]=r}),j.countBy=F(function(n,t){j.has(n,t)?n[t]++:n[t]=1}),j.sortedIndex=function(n,t,r,e){r=E(r);for(var u=r.call(e,t),i=0,a=n.length;a>i;){var o=i+a>>>1;r.call(e,n[o])<u?i=o+1:a=o}return i},j.toArray=function(n){return n?j.isArray(n)?o.call(n):n.length===+n.length?j.map(n,j.identity):j.values(n):[]},j.size=function(n){return null==n?0:n.length===+n.length?n.length:j.keys(n).length},j.first=j.head=j.take=function(n,t,r){return null==n?void 0:null==t||r?n[0]:0>t?[]:o.call(n,0,t)},j.initial=function(n,t,r){return o.call(n,0,n.length-(null==t||r?1:t))},j.last=function(n,t,r){return null==n?void 0:null==t||r?n[n.length-1]:o.call(n,Math.max(n.length-t,0))},j.rest=j.tail=j.drop=function(n,t,r){return o.call(n,null==t||r?1:t)},j.compact=function(n){return j.filter(n,j.identity)};var M=function(n,t,r){return t&&j.every(n,j.isArray)?c.apply(r,n):(A(n,function(n){j.isArray(n)||j.isArguments(n)?t?a.apply(r,n):M(n,t,r):r.push(n)}),r)};j.flatten=function(n,t){return M(n,t,[])},j.without=function(n){return j.difference(n,o.call(arguments,1))},j.partition=function(n,t){var r=[],e=[];return A(n,function(n){(t(n)?r:e).push(n)}),[r,e]},j.uniq=j.unique=function(n,t,r,e){j.isFunction(t)&&(e=r,r=t,t=!1);var u=r?j.map(n,r,e):n,i=[],a=[];return A(u,function(r,e){(t?e&&a[a.length-1]===r:j.contains(a,r))||(a.push(r),i.push(n[e]))}),i},j.union=function(){return j.uniq(j.flatten(arguments,!0))},j.intersection=function(n){var t=o.call(arguments,1);return j.filter(j.uniq(n),function(n){return j.every(t,function(t){return j.contains(t,n)})})},j.difference=function(n){var t=c.apply(e,o.call(arguments,1));return j.filter(n,function(n){return!j.contains(t,n)})},j.zip=function(){for(var n=j.max(j.pluck(arguments,"length").concat(0)),t=new Array(n),r=0;n>r;r++)t[r]=j.pluck(arguments,""+r);return t},j.object=function(n,t){if(null==n)return{};for(var r={},e=0,u=n.length;u>e;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},j.indexOf=function(n,t,r){if(null==n)return-1;var e=0,u=n.length;if(r){if("number"!=typeof r)return e=j.sortedIndex(n,t),n[e]===t?e:-1;e=0>r?Math.max(0,u+r):r}if(y&&n.indexOf===y)return n.indexOf(t,r);for(;u>e;e++)if(n[e]===t)return e;return-1},j.lastIndexOf=function(n,t,r){if(null==n)return-1;var e=null!=r;if(b&&n.lastIndexOf===b)return e?n.lastIndexOf(t,r):n.lastIndexOf(t);for(var u=e?r:n.length;u--;)if(n[u]===t)return u;return-1},j.range=function(n,t,r){arguments.length<=1&&(t=n||0,n=0),r=arguments[2]||1;for(var e=Math.max(Math.ceil((t-n)/r),0),u=0,i=new Array(e);e>u;)i[u++]=n,n+=r;return i};var R=function(){};j.bind=function(n,t){var r,e;if(_&&n.bind===_)return _.apply(n,o.call(arguments,1));if(!j.isFunction(n))throw new TypeError;return r=o.call(arguments,2),e=function(){if(!(this instanceof e))return n.apply(t,r.concat(o.call(arguments)));R.prototype=n.prototype;var u=new R;R.prototype=null;var i=n.apply(u,r.concat(o.call(arguments)));return Object(i)===i?i:u}},j.partial=function(n){var t=o.call(arguments,1);return function(){for(var r=0,e=t.slice(),u=0,i=e.length;i>u;u++)e[u]===j&&(e[u]=arguments[r++]);for(;r<arguments.length;)e.push(arguments[r++]);return n.apply(this,e)}},j.bindAll=function(n){var t=o.call(arguments,1);if(0===t.length)throw new Error("bindAll must be passed function names");return A(t,function(t){n[t]=j.bind(n[t],n)}),n},j.memoize=function(n,t){var r={};return t||(t=j.identity),function(){var e=t.apply(this,arguments);return j.has(r,e)?r[e]:r[e]=n.apply(this,arguments)}},j.delay=function(n,t){var r=o.call(arguments,2);return setTimeout(function(){return n.apply(null,r)},t)},j.defer=function(n){return j.delay.apply(j,[n,1].concat(o.call(arguments,1)))},j.throttle=function(n,t,r){var e,u,i,a=null,o=0;r||(r={});var c=function(){o=r.leading===!1?0:j.now(),a=null,i=n.apply(e,u),e=u=null};return function(){var l=j.now();o||r.leading!==!1||(o=l);var f=t-(l-o);return e=this,u=arguments,0>=f?(clearTimeout(a),a=null,o=l,i=n.apply(e,u),e=u=null):a||r.trailing===!1||(a=setTimeout(c,f)),i}},j.debounce=function(n,t,r){var e,u,i,a,o,c=function(){var l=j.now()-a;t>l?e=setTimeout(c,t-l):(e=null,r||(o=n.apply(i,u),i=u=null))};return function(){i=this,u=arguments,a=j.now();var l=r&&!e;return e||(e=setTimeout(c,t)),l&&(o=n.apply(i,u),i=u=null),o}},j.once=function(n){var t,r=!1;return function(){return r?t:(r=!0,t=n.apply(this,arguments),n=null,t)}},j.wrap=function(n,t){return j.partial(t,n)},j.compose=function(){var n=arguments;return function(){for(var t=arguments,r=n.length-1;r>=0;r--)t=[n[r].apply(this,t)];return t[0]}},j.after=function(n,t){return function(){return--n<1?t.apply(this,arguments):void 0}},j.keys=function(n){if(!j.isObject(n))return[];if(w)return w(n);var t=[];for(var r in n)j.has(n,r)&&t.push(r);return t},j.values=function(n){for(var t=j.keys(n),r=t.length,e=new Array(r),u=0;r>u;u++)e[u]=n[t[u]];return e},j.pairs=function(n){for(var t=j.keys(n),r=t.length,e=new Array(r),u=0;r>u;u++)e[u]=[t[u],n[t[u]]];return e},j.invert=function(n){for(var t={},r=j.keys(n),e=0,u=r.length;u>e;e++)t[n[r[e]]]=r[e];return t},j.functions=j.methods=function(n){var t=[];for(var r in n)j.isFunction(n[r])&&t.push(r);return t.sort()},j.extend=function(n){return A(o.call(arguments,1),function(t){if(t)for(var r in t)n[r]=t[r]}),n},j.pick=function(n){var t={},r=c.apply(e,o.call(arguments,1));return A(r,function(r){r in n&&(t[r]=n[r])}),t},j.omit=function(n){var t={},r=c.apply(e,o.call(arguments,1));for(var u in n)j.contains(r,u)||(t[u]=n[u]);return t},j.defaults=function(n){return A(o.call(arguments,1),function(t){if(t)for(var r in t)n[r]===void 0&&(n[r]=t[r])}),n},j.clone=function(n){return j.isObject(n)?j.isArray(n)?n.slice():j.extend({},n):n},j.tap=function(n,t){return t(n),n};var S=function(n,t,r,e){if(n===t)return 0!==n||1/n==1/t;if(null==n||null==t)return n===t;n instanceof j&&(n=n._wrapped),t instanceof j&&(t=t._wrapped);var u=l.call(n);if(u!=l.call(t))return!1;switch(u){case"[object String]":return n==String(t);case"[object Number]":return n!=+n?t!=+t:0==n?1/n==1/t:n==+t;case"[object Date]":case"[object Boolean]":return+n==+t;case"[object RegExp]":return n.source==t.source&&n.global==t.global&&n.multiline==t.multiline&&n.ignoreCase==t.ignoreCase}if("object"!=typeof n||"object"!=typeof t)return!1;for(var i=r.length;i--;)if(r[i]==n)return e[i]==t;var a=n.constructor,o=t.constructor;if(a!==o&&!(j.isFunction(a)&&a instanceof a&&j.isFunction(o)&&o instanceof o)&&"constructor"in n&&"constructor"in t)return!1;r.push(n),e.push(t);var c=0,f=!0;if("[object Array]"==u){if(c=n.length,f=c==t.length)for(;c--&&(f=S(n[c],t[c],r,e)););}else{for(var s in n)if(j.has(n,s)&&(c++,!(f=j.has(t,s)&&S(n[s],t[s],r,e))))break;if(f){for(s in t)if(j.has(t,s)&&!c--)break;f=!c}}return r.pop(),e.pop(),f};j.isEqual=function(n,t){return S(n,t,[],[])},j.isEmpty=function(n){if(null==n)return!0;if(j.isArray(n)||j.isString(n))return 0===n.length;for(var t in n)if(j.has(n,t))return!1;return!0},j.isElement=function(n){return!(!n||1!==n.nodeType)},j.isArray=x||function(n){return"[object Array]"==l.call(n)},j.isObject=function(n){return n===Object(n)},A(["Arguments","Function","String","Number","Date","RegExp"],function(n){j["is"+n]=function(t){return l.call(t)=="[object "+n+"]"}}),j.isArguments(arguments)||(j.isArguments=function(n){return!(!n||!j.has(n,"callee"))}),"function"!=typeof/./&&(j.isFunction=function(n){return"function"==typeof n}),j.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))},j.isNaN=function(n){return j.isNumber(n)&&n!=+n},j.isBoolean=function(n){return n===!0||n===!1||"[object Boolean]"==l.call(n)},j.isNull=function(n){return null===n},j.isUndefined=function(n){return n===void 0},j.has=function(n,t){return f.call(n,t)},j.noConflict=function(){return n._=t,this},j.identity=function(n){return n},j.constant=function(n){return function(){return n}},j.property=function(n){return function(t){return t[n]}},j.matches=function(n){return function(t){if(t===n)return!0;for(var r in n)if(n[r]!==t[r])return!1;return!0}},j.times=function(n,t,r){for(var e=Array(Math.max(0,n)),u=0;n>u;u++)e[u]=t.call(r,u);return e},j.random=function(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))},j.now=Date.now||function(){return(new Date).getTime()};var T={escape:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;"}};T.unescape=j.invert(T.escape);var I={escape:new RegExp("["+j.keys(T.escape).join("")+"]","g"),unescape:new RegExp("("+j.keys(T.unescape).join("|")+")","g")};j.each(["escape","unescape"],function(n){j[n]=function(t){return null==t?"":(""+t).replace(I[n],function(t){return T[n][t]})}}),j.result=function(n,t){if(null==n)return void 0;var r=n[t];return j.isFunction(r)?r.call(n):r},j.mixin=function(n){A(j.functions(n),function(t){var r=j[t]=n[t];j.prototype[t]=function(){var n=[this._wrapped];return a.apply(n,arguments),z.call(this,r.apply(j,n))}})};var N=0;j.uniqueId=function(n){var t=++N+"";return n?n+t:t},j.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var q=/(.)^/,B={"'":"'","\\":"\\","\r":"r","\n":"n","   ":"t","\u2028":"u2028","\u2029":"u2029"},D=/\\|'|\r|\n|\t|\u2028|\u2029/g;j.template=function(n,t,r){var e;r=j.defaults({},r,j.templateSettings);var u=new RegExp([(r.escape||q).source,(r.interpolate||q).source,(r.evaluate||q).source].join("|")+"|$","g"),i=0,a="__p+='";n.replace(u,function(t,r,e,u,o){return a+=n.slice(i,o).replace(D,function(n){return"\\"+B[n]}),r&&(a+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'"),e&&(a+="'+\n((__t=("+e+"))==null?'':__t)+\n'"),u&&(a+="';\n"+u+"\n__p+='"),i=o+t.length,t}),a+="';\n",r.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,"+"print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{e=new Function(r.variable||"obj","_",a)}catch(o){throw o.source=a,o}if(t)return e(t,j);var c=function(n){return e.call(this,n,j)};return c.source="function("+(r.variable||"obj")+"){\n"+a+"}",c},j.chain=function(n){return j(n).chain()};var z=function(n){return this._chain?j(n).chain():n};j.mixin(j),A(["pop","push","reverse","shift","sort","splice","unshift"],function(n){var t=e[n];j.prototype[n]=function(){var r=this._wrapped;return t.apply(r,arguments),"shift"!=n&&"splice"!=n||0!==r.length||delete r[0],z.call(this,r)}}),A(["concat","join","slice"],function(n){var t=e[n];j.prototype[n]=function(){return z.call(this,t.apply(this._wrapped,arguments))}}),j.extend(j.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}}),"function"==typeof define&&define.amd&&define("underscore",[],function(){return j})}).call(this);
    6 //# sourceMappingURL=underscore-min.map
    7  No newline at end of file
     1(function(){var a=this,b=a._,c={},d=Array.prototype,e=Object.prototype,f=Function.prototype,g=d.push,h=d.slice,i=d.concat,j=e.toString,k=e.hasOwnProperty,l=d.forEach,m=d.map,n=d.reduce,o=d.reduceRight,p=d.filter,q=d.every,r=d.some,s=d.indexOf,t=d.lastIndexOf,u=Array.isArray,v=Object.keys,w=f.bind,x=function(a){return a instanceof x?a:this instanceof x?void(this._wrapped=a):new x(a)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=x),exports._=x):a._=x,x.VERSION="1.6.0";var y=x.each=x.forEach=function(a,b,d){if(null==a)return a;if(l&&a.forEach===l)a.forEach(b,d);else if(a.length===+a.length){for(var e=0,f=a.length;f>e;e++)if(b.call(d,a[e],e,a)===c)return}else for(var g=x.keys(a),e=0,f=g.length;f>e;e++)if(b.call(d,a[g[e]],g[e],a)===c)return;return a};x.map=x.collect=function(a,b,c){var d=[];return null==a?d:m&&a.map===m?a.map(b,c):(y(a,function(a,e,f){d.push(b.call(c,a,e,f))}),d)};var z="Reduce of empty array with no initial value";x.reduce=x.foldl=x.inject=function(a,b,c,d){var e=arguments.length>2;if(null==a&&(a=[]),n&&a.reduce===n)return d&&(b=x.bind(b,d)),e?a.reduce(b,c):a.reduce(b);if(y(a,function(a,f,g){e?c=b.call(d,c,a,f,g):(c=a,e=!0)}),!e)throw new TypeError(z);return c},x.reduceRight=x.foldr=function(a,b,c,d){var e=arguments.length>2;if(null==a&&(a=[]),o&&a.reduceRight===o)return d&&(b=x.bind(b,d)),e?a.reduceRight(b,c):a.reduceRight(b);var f=a.length;if(f!==+f){var g=x.keys(a);f=g.length}if(y(a,function(h,i,j){i=g?g[--f]:--f,e?c=b.call(d,c,a[i],i,j):(c=a[i],e=!0)}),!e)throw new TypeError(z);return c},x.find=x.detect=function(a,b,c){var d;return A(a,function(a,e,f){return b.call(c,a,e,f)?(d=a,!0):void 0}),d},x.filter=x.select=function(a,b,c){var d=[];return null==a?d:p&&a.filter===p?a.filter(b,c):(y(a,function(a,e,f){b.call(c,a,e,f)&&d.push(a)}),d)},x.reject=function(a,b,c){return x.filter(a,function(a,d,e){return!b.call(c,a,d,e)},c)},x.every=x.all=function(a,b,d){b||(b=x.identity);var e=!0;return null==a?e:q&&a.every===q?a.every(b,d):(y(a,function(a,f,g){return(e=e&&b.call(d,a,f,g))?void 0:c}),!!e)};var A=x.some=x.any=function(a,b,d){b||(b=x.identity);var e=!1;return null==a?e:r&&a.some===r?a.some(b,d):(y(a,function(a,f,g){return e||(e=b.call(d,a,f,g))?c:void 0}),!!e)};x.contains=x.include=function(a,b){return null==a?!1:s&&a.indexOf===s?-1!=a.indexOf(b):A(a,function(a){return a===b})},x.invoke=function(a,b){var c=h.call(arguments,2),d=x.isFunction(b);return x.map(a,function(a){return(d?b:a[b]).apply(a,c)})},x.pluck=function(a,b){return x.map(a,x.property(b))},x.where=function(a,b){return x.filter(a,x.matches(b))},x.findWhere=function(a,b){return x.find(a,x.matches(b))},x.max=function(a,b,c){if(!b&&x.isArray(a)&&a[0]===+a[0]&&a.length<65535)return Math.max.apply(Math,a);var d=-1/0,e=-1/0;return y(a,function(a,f,g){var h=b?b.call(c,a,f,g):a;h>e&&(d=a,e=h)}),d},x.min=function(a,b,c){if(!b&&x.isArray(a)&&a[0]===+a[0]&&a.length<65535)return Math.min.apply(Math,a);var d=1/0,e=1/0;return y(a,function(a,f,g){var h=b?b.call(c,a,f,g):a;e>h&&(d=a,e=h)}),d},x.shuffle=function(a){var b,c=0,d=[];return y(a,function(a){b=x.random(c++),d[c-1]=d[b],d[b]=a}),d},x.sample=function(a,b,c){return null==b||c?(a.length!==+a.length&&(a=x.values(a)),a[x.random(a.length-1)]):x.shuffle(a).slice(0,Math.max(0,b))};var B=function(a){return null==a?x.identity:x.isFunction(a)?a:x.property(a)};x.sortBy=function(a,b,c){return b=B(b),x.pluck(x.map(a,function(a,d,e){return{value:a,index:d,criteria:b.call(c,a,d,e)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;if(c!==d){if(c>d||void 0===c)return 1;if(d>c||void 0===d)return-1}return a.index-b.index}),"value")};var C=function(a){return function(b,c,d){var e={};return c=B(c),y(b,function(f,g){var h=c.call(d,f,g,b);a(e,h,f)}),e}};x.groupBy=C(function(a,b,c){x.has(a,b)?a[b].push(c):a[b]=[c]}),x.indexBy=C(function(a,b,c){a[b]=c}),x.countBy=C(function(a,b){x.has(a,b)?a[b]++:a[b]=1}),x.sortedIndex=function(a,b,c,d){c=B(c);for(var e=c.call(d,b),f=0,g=a.length;g>f;){var h=f+g>>>1;c.call(d,a[h])<e?f=h+1:g=h}return f},x.toArray=function(a){return a?x.isArray(a)?h.call(a):a.length===+a.length?x.map(a,x.identity):x.values(a):[]},x.size=function(a){return null==a?0:a.length===+a.length?a.length:x.keys(a).length},x.first=x.head=x.take=function(a,b,c){return null==a?void 0:null==b||c?a[0]:0>b?[]:h.call(a,0,b)},x.initial=function(a,b,c){return h.call(a,0,a.length-(null==b||c?1:b))},x.last=function(a,b,c){return null==a?void 0:null==b||c?a[a.length-1]:h.call(a,Math.max(a.length-b,0))},x.rest=x.tail=x.drop=function(a,b,c){return h.call(a,null==b||c?1:b)},x.compact=function(a){return x.filter(a,x.identity)};var D=function(a,b,c){return b&&x.every(a,x.isArray)?i.apply(c,a):(y(a,function(a){x.isArray(a)||x.isArguments(a)?b?g.apply(c,a):D(a,b,c):c.push(a)}),c)};x.flatten=function(a,b){return D(a,b,[])},x.without=function(a){return x.difference(a,h.call(arguments,1))},x.partition=function(a,b){var c=[],d=[];return y(a,function(a){(b(a)?c:d).push(a)}),[c,d]},x.uniq=x.unique=function(a,b,c,d){x.isFunction(b)&&(d=c,c=b,b=!1);var e=c?x.map(a,c,d):a,f=[],g=[];return y(e,function(c,d){(b?d&&g[g.length-1]===c:x.contains(g,c))||(g.push(c),f.push(a[d]))}),f},x.union=function(){return x.uniq(x.flatten(arguments,!0))},x.intersection=function(a){var b=h.call(arguments,1);return x.filter(x.uniq(a),function(a){return x.every(b,function(b){return x.contains(b,a)})})},x.difference=function(a){var b=i.apply(d,h.call(arguments,1));return x.filter(a,function(a){return!x.contains(b,a)})},x.zip=function(){for(var a=x.max(x.pluck(arguments,"length").concat(0)),b=new Array(a),c=0;a>c;c++)b[c]=x.pluck(arguments,""+c);return b},x.object=function(a,b){if(null==a)return{};for(var c={},d=0,e=a.length;e>d;d++)b?c[a[d]]=b[d]:c[a[d][0]]=a[d][1];return c},x.indexOf=function(a,b,c){if(null==a)return-1;var d=0,e=a.length;if(c){if("number"!=typeof c)return d=x.sortedIndex(a,b),a[d]===b?d:-1;d=0>c?Math.max(0,e+c):c}if(s&&a.indexOf===s)return a.indexOf(b,c);for(;e>d;d++)if(a[d]===b)return d;return-1},x.lastIndexOf=function(a,b,c){if(null==a)return-1;var d=null!=c;if(t&&a.lastIndexOf===t)return d?a.lastIndexOf(b,c):a.lastIndexOf(b);for(var e=d?c:a.length;e--;)if(a[e]===b)return e;return-1},x.range=function(a,b,c){arguments.length<=1&&(b=a||0,a=0),c=arguments[2]||1;for(var d=Math.max(Math.ceil((b-a)/c),0),e=0,f=new Array(d);d>e;)f[e++]=a,a+=c;return f};var E=function(){};x.bind=function(a,b){var c,d;if(w&&a.bind===w)return w.apply(a,h.call(arguments,1));if(!x.isFunction(a))throw new TypeError;return c=h.call(arguments,2),d=function(){if(!(this instanceof d))return a.apply(b,c.concat(h.call(arguments)));E.prototype=a.prototype;var e=new E;E.prototype=null;var f=a.apply(e,c.concat(h.call(arguments)));return Object(f)===f?f:e}},x.partial=function(a){var b=h.call(arguments,1);return function(){for(var c=0,d=b.slice(),e=0,f=d.length;f>e;e++)d[e]===x&&(d[e]=arguments[c++]);for(;c<arguments.length;)d.push(arguments[c++]);return a.apply(this,d)}},x.bindAll=function(a){var b=h.call(arguments,1);if(0===b.length)throw new Error("bindAll must be passed function names");return y(b,function(b){a[b]=x.bind(a[b],a)}),a},x.memoize=function(a,b){var c={};return b||(b=x.identity),function(){var d=b.apply(this,arguments);return x.has(c,d)?c[d]:c[d]=a.apply(this,arguments)}},x.delay=function(a,b){var c=h.call(arguments,2);return setTimeout(function(){return a.apply(null,c)},b)},x.defer=function(a){return x.delay.apply(x,[a,1].concat(h.call(arguments,1)))},x.throttle=function(a,b,c){var d,e,f,g=null,h=0;c||(c={});var i=function(){h=c.leading===!1?0:x.now(),g=null,f=a.apply(d,e),d=e=null};return function(){var j=x.now();h||c.leading!==!1||(h=j);var k=b-(j-h);return d=this,e=arguments,0>=k?(clearTimeout(g),g=null,h=j,f=a.apply(d,e),d=e=null):g||c.trailing===!1||(g=setTimeout(i,k)),f}},x.debounce=function(a,b,c){var d,e,f,g,h,i=function(){var j=x.now()-g;b>j?d=setTimeout(i,b-j):(d=null,c||(h=a.apply(f,e),f=e=null))};return function(){f=this,e=arguments,g=x.now();var j=c&&!d;return d||(d=setTimeout(i,b)),j&&(h=a.apply(f,e),f=e=null),h}},x.once=function(a){var b,c=!1;return function(){return c?b:(c=!0,b=a.apply(this,arguments),a=null,b)}},x.wrap=function(a,b){return x.partial(b,a)},x.compose=function(){var a=arguments;return function(){for(var b=arguments,c=a.length-1;c>=0;c--)b=[a[c].apply(this,b)];return b[0]}},x.after=function(a,b){return function(){return--a<1?b.apply(this,arguments):void 0}},x.keys=function(a){if(!x.isObject(a))return[];if(v)return v(a);var b=[];for(var c in a)x.has(a,c)&&b.push(c);return b},x.values=function(a){for(var b=x.keys(a),c=b.length,d=new Array(c),e=0;c>e;e++)d[e]=a[b[e]];return d},x.pairs=function(a){for(var b=x.keys(a),c=b.length,d=new Array(c),e=0;c>e;e++)d[e]=[b[e],a[b[e]]];return d},x.invert=function(a){for(var b={},c=x.keys(a),d=0,e=c.length;e>d;d++)b[a[c[d]]]=c[d];return b},x.functions=x.methods=function(a){var b=[];for(var c in a)x.isFunction(a[c])&&b.push(c);return b.sort()},x.extend=function(a){return y(h.call(arguments,1),function(b){if(b)for(var c in b)a[c]=b[c]}),a},x.pick=function(a){var b={},c=i.apply(d,h.call(arguments,1));return y(c,function(c){c in a&&(b[c]=a[c])}),b},x.omit=function(a){var b={},c=i.apply(d,h.call(arguments,1));for(var e in a)x.contains(c,e)||(b[e]=a[e]);return b},x.defaults=function(a){return y(h.call(arguments,1),function(b){if(b)for(var c in b)void 0===a[c]&&(a[c]=b[c])}),a},x.clone=function(a){return x.isObject(a)?x.isArray(a)?a.slice():x.extend({},a):a},x.tap=function(a,b){return b(a),a};var F=function(a,b,c,d){if(a===b)return 0!==a||1/a==1/b;if(null==a||null==b)return a===b;a instanceof x&&(a=a._wrapped),b instanceof x&&(b=b._wrapped);var e=j.call(a);if(e!=j.call(b))return!1;switch(e){case"[object String]":return a==String(b);case"[object Number]":return a!=+a?b!=+b:0==a?1/a==1/b:a==+b;case"[object Date]":case"[object Boolean]":return+a==+b;case"[object RegExp]":return a.source==b.source&&a.global==b.global&&a.multiline==b.multiline&&a.ignoreCase==b.ignoreCase}if("object"!=typeof a||"object"!=typeof b)return!1;for(var f=c.length;f--;)if(c[f]==a)return d[f]==b;var g=a.constructor,h=b.constructor;if(g!==h&&!(x.isFunction(g)&&g instanceof g&&x.isFunction(h)&&h instanceof h)&&"constructor"in a&&"constructor"in b)return!1;c.push(a),d.push(b);var i=0,k=!0;if("[object Array]"==e){if(i=a.length,k=i==b.length)for(;i--&&(k=F(a[i],b[i],c,d)););}else{for(var l in a)if(x.has(a,l)&&(i++,!(k=x.has(b,l)&&F(a[l],b[l],c,d))))break;if(k){for(l in b)if(x.has(b,l)&&!i--)break;k=!i}}return c.pop(),d.pop(),k};x.isEqual=function(a,b){return F(a,b,[],[])},x.isEmpty=function(a){if(null==a)return!0;if(x.isArray(a)||x.isString(a))return 0===a.length;for(var b in a)if(x.has(a,b))return!1;return!0},x.isElement=function(a){return!(!a||1!==a.nodeType)},x.isArray=u||function(a){return"[object Array]"==j.call(a)},x.isObject=function(a){return a===Object(a)},y(["Arguments","Function","String","Number","Date","RegExp"],function(a){x["is"+a]=function(b){return j.call(b)=="[object "+a+"]"}}),x.isArguments(arguments)||(x.isArguments=function(a){return!(!a||!x.has(a,"callee"))}),"function"!=typeof/./&&(x.isFunction=function(a){return"function"==typeof a}),x.isFinite=function(a){return isFinite(a)&&!isNaN(parseFloat(a))},x.isNaN=function(a){return x.isNumber(a)&&a!=+a},x.isBoolean=function(a){return a===!0||a===!1||"[object Boolean]"==j.call(a)},x.isNull=function(a){return null===a},x.isUndefined=function(a){return void 0===a},x.has=function(a,b){return k.call(a,b)},x.noConflict=function(){return a._=b,this},x.identity=function(a){return a},x.constant=function(a){return function(){return a}},x.property=function(a){return function(b){return b[a]}},x.matches=function(a){return function(b){if(b===a)return!0;for(var c in a)if(a[c]!==b[c])return!1;return!0}},x.times=function(a,b,c){for(var d=Array(Math.max(0,a)),e=0;a>e;e++)d[e]=b.call(c,e);return d},x.random=function(a,b){return null==b&&(b=a,a=0),a+Math.floor(Math.random()*(b-a+1))},x.now=Date.now||function(){return(new Date).getTime()};var G={escape:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;"}};G.unescape=x.invert(G.escape);var H={escape:new RegExp("["+x.keys(G.escape).join("")+"]","g"),unescape:new RegExp("("+x.keys(G.unescape).join("|")+")","g")};x.each(["escape","unescape"],function(a){x[a]=function(b){return null==b?"":(""+b).replace(H[a],function(b){return G[a][b]})}}),x.result=function(a,b){if(null==a)return void 0;var c=a[b];return x.isFunction(c)?c.call(a):c},x.mixin=function(a){y(x.functions(a),function(b){var c=x[b]=a[b];x.prototype[b]=function(){var a=[this._wrapped];return g.apply(a,arguments),M.call(this,c.apply(x,a))}})};var I=0;x.uniqueId=function(a){var b=++I+"";return a?a+b:b},x.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var J=/(.)^/,K={"'":"'","\\":"\\","\r":"r","\n":"n","   ":"t","\u2028":"u2028","\u2029":"u2029"},L=/\\|'|\r|\n|\t|\u2028|\u2029/g;x.template=function(a,b,c){var d;c=x.defaults({},c,x.templateSettings);var e=new RegExp([(c.escape||J).source,(c.interpolate||J).source,(c.evaluate||J).source].join("|")+"|$","g"),f=0,g="__p+='";a.replace(e,function(b,c,d,e,h){return g+=a.slice(f,h).replace(L,function(a){return"\\"+K[a]}),c&&(g+="'+\n((__t=("+c+"))==null?'':_.escape(__t))+\n'"),d&&(g+="'+\n((__t=("+d+"))==null?'':__t)+\n'"),e&&(g+="';\n"+e+"\n__p+='"),f=h+b.length,b}),g+="';\n",c.variable||(g="with(obj||{}){\n"+g+"}\n"),g="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+g+"return __p;\n";try{d=new Function(c.variable||"obj","_",g)}catch(h){throw h.source=g,h}if(b)return d(b,x);var i=function(a){return d.call(this,a,x)};return i.source="function("+(c.variable||"obj")+"){\n"+g+"}",i},x.chain=function(a){return x(a).chain()};var M=function(a){return this._chain?x(a).chain():a};x.mixin(x),y(["pop","push","reverse","shift","sort","splice","unshift"],function(a){var b=d[a];x.prototype[a]=function(){var c=this._wrapped;return b.apply(c,arguments),"shift"!=a&&"splice"!=a||0!==c.length||delete c[0],M.call(this,c)}}),y(["concat","join","slice"],function(a){var b=d[a];x.prototype[a]=function(){return M.call(this,b.apply(this._wrapped,arguments))}}),x.extend(x.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}}),"function"==typeof define&&define.amd&&define("underscore",[],function(){return x})}).call(this);
     2 No newline at end of file
  • src/wp-includes/media-template.php

    diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php
    index 1c7749a..366c601 100644
    a b function wp_print_media_templates() { 
    361361                                        <input type="text" value="{{ data.url }}" readonly />
    362362                                </label>
    363363                                <# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #>
     364                                        <?php if ( post_type_supports('attachment', 'title') ) { ?>
    364365                                <label class="setting" data-setting="title">
    365366                                        <span class="name"><?php _e('Title'); ?></span>
    366367                                        <input type="text" value="{{ data.title }}" {{ maybeReadOnly }} />
    367368                                </label>
     369                                <?php } ?>
    368370                                <# if ( 'audio' === data.type ) { #>
    369371                                <?php foreach ( array(
    370372                                        'artist' => __( 'Artist' ),
    function wp_print_media_templates() { 
    376378                                </label>
    377379                                <?php endforeach; ?>
    378380                                <# } #>
     381                                        <?php if ( post_type_supports( 'attachment', 'caption') ) { ?>
    379382                                <label class="setting" data-setting="caption">
    380383                                        <span class="name"><?php _e( 'Caption' ); ?></span>
    381384                                        <textarea {{ maybeReadOnly }}>{{ data.caption }}</textarea>
    382385                                </label>
     386                                        <?php } ?>
    383387                                <# if ( 'image' === data.type ) { #>
     388                                        <?php if ( post_type_supports('attachment', 'alt') ) { ?>
    384389                                        <label class="setting" data-setting="alt">
    385390                                                <span class="name"><?php _e( 'Alt Text' ); ?></span>
    386391                                                <input type="text" value="{{ data.alt }}" {{ maybeReadOnly }} />
    387392                                        </label>
     393                                        <?php } ?>
    388394                                <# } #>
     395                                        <?php if ( post_type_supports('attachment', 'description') ) { ?>
    389396                                <label class="setting" data-setting="description">
    390397                                        <span class="name"><?php _e('Description'); ?></span>
    391398                                        <textarea {{ maybeReadOnly }}>{{ data.description }}</textarea>
    392399                                </label>
     400                                <?php } ?>
    393401                                <label class="setting">
    394402                                        <span class="name"><?php _e( 'Uploaded By' ); ?></span>
    395403                                        <span class="value">{{ data.authorName }}</span>
    function wp_print_media_templates() { 
    540548                        <input type="text" value="{{ data.url }}" readonly />
    541549                </label>
    542550                <# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #>
     551                <?php if ( post_type_supports('attachment', 'title') ) { ?>
    543552                <label class="setting" data-setting="title">
    544553                        <span class="name"><?php _e('Title'); ?></span>
    545554                        <input type="text" value="{{ data.title }}" {{ maybeReadOnly }} />
    546555                </label>
     556                <?php } ?>
    547557                <# if ( 'audio' === data.type ) { #>
    548558                <?php foreach ( array(
    549559                        'artist' => __( 'Artist' ),
    function wp_print_media_templates() { 
    555565                </label>
    556566                <?php endforeach; ?>
    557567                <# } #>
     568                <?php if ( post_type_supports('attachment', 'caption') ) { ?>
    558569                <label class="setting" data-setting="caption">
    559570                        <span class="name"><?php _e('Caption'); ?></span>
    560571                        <textarea {{ maybeReadOnly }}>{{ data.caption }}</textarea>
    561572                </label>
     573                <?php } ?>
    562574                <# if ( 'image' === data.type ) { #>
     575                <?php if ( post_type_supports('attachment', 'alt') ) { ?>
    563576                        <label class="setting" data-setting="alt">
    564577                                <span class="name"><?php _e('Alt Text'); ?></span>
    565578                                <input type="text" value="{{ data.alt }}" {{ maybeReadOnly }} />
    566579                        </label>
     580                        <?php } ?>
    567581                <# } #>
     582                <?php if ( post_type_supports('attachment', 'description') ) { ?>
    568583                <label class="setting" data-setting="description">
    569584                        <span class="name"><?php _e('Description'); ?></span>
    570585                        <textarea {{ maybeReadOnly }}>{{ data.description }}</textarea>
    571586                </label>
     587                <?php } ?>
    572588        </script>
    573589
    574590        <script type="text/html" id="tmpl-media-selection">
    function wp_print_media_templates() { 
    878894                                        <?php
    879895                                        /** This filter is documented in wp-admin/includes/media.php */
    880896                                        if ( ! apply_filters( 'disable_captions', '' ) ) : ?>
     897                                                <?php if ( post_type_supports('attachment', 'caption') ) { ?>
    881898                                                <label class="setting caption">
    882899                                                        <span><?php _e('Caption'); ?></span>
    883900                                                        <textarea data-setting="caption">{{ data.model.caption }}</textarea>
    884901                                                </label>
     902                                                <?php } ?>
    885903                                        <?php endif; ?>
    886 
     904                                        <?php if ( post_type_supports('attachment', 'alt') ) { ?>
    887905                                        <label class="setting alt-text">
    888906                                                <span><?php _e('Alternative Text'); ?></span>
    889907                                                <input type="text" data-setting="alt" value="{{ data.model.alt }}" />
    890908                                        </label>
    891 
     909                                        <?php } ?>
    892910                                        <h3><?php _e( 'Display Settings' ); ?></h3>
    893911                                        <div class="setting align">
    894912                                                <span><?php _e('Align'); ?></span>
  • src/wp-includes/nav-menu-template.php

    diff --git a/src/wp-includes/nav-menu-template.php b/src/wp-includes/nav-menu-template.php
    old mode 100644
    new mode 100755
    index 6db82b1..a346f27
    a b class Walker_Nav_Menu extends Walker { 
    9595                 * @param object $item    The current menu item.
    9696                 * @param array  $args    An array of wp_nav_menu() arguments.
    9797                 */
    98                 $class_names = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args ) );
     98                $class_names = join( ' ', (array) apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args ) );
    9999                $class_names = $class_names ? ' class="' . esc_attr( $class_names ) . '"' : '';
    100100
    101101                /**
  • src/wp-includes/post-template.php

    diff --git a/src/wp-includes/post-template.php b/src/wp-includes/post-template.php
    old mode 100644
    new mode 100755
    index fab9e3c..7145a21
    a b function get_post_class( $class = '', $post_id = null ) { 
    437437
    438438        // sticky for Sticky Posts
    439439        if ( is_sticky( $post->ID ) ) {
    440                 if ( is_home() && ! is_paged() ) {
     440                if ( is_home() && ! is_paged() && ! get_query_var( 'ignore_sticky_posts' ) ) {
    441441                        $classes[] = 'sticky';
    442442                } elseif ( is_admin() ) {
    443443                        $classes[] = 'status-sticky';
    function wp_link_pages( $args = '' ) { 
    787787                                 * @param int    $i    Page number for paginated posts' page links.
    788788                                 */
    789789                                $link = apply_filters( 'wp_link_pages_link', $link, $i );
    790                                 $output .= $r['separator'] . $link;
     790
     791                                // Use the custom links separator beginning with the second link.
     792                                $output .= ( 1 === $i ) ? ' ' : $r['separator'];
     793                                $output .= $link;
    791794                        }
    792795                        $output .= $r['after'];
    793796                } elseif ( $more ) {
    function wp_link_pages( $args = '' ) { 
    797800                                $link = _wp_link_page( $prev ) . $r['link_before'] . $r['previouspagelink'] . $r['link_after'] . '</a>';
    798801
    799802                                /** This filter is documented in wp-includes/post-template.php */
    800                                 $link = apply_filters( 'wp_link_pages_link', $link, $prev );
    801                                 $output .= $r['separator'] . $link;
     803                                $output .= apply_filters( 'wp_link_pages_link', $link, $prev );
    802804                        }
    803805                        $next = $page + 1;
    804806                        if ( $next <= $numpages ) {
     807                                if ( $prev ) {
     808                                        $output .= $r['separator'];
     809                                }
    805810                                $link = _wp_link_page( $next ) . $r['link_before'] . $r['nextpagelink'] . $r['link_after'] . '</a>';
    806811
    807812                                /** This filter is documented in wp-includes/post-template.php */
    808                                 $link = apply_filters( 'wp_link_pages_link', $link, $next );
    809                                 $output .= $r['separator'] . $link;
     813                                $output .= apply_filters( 'wp_link_pages_link', $link, $next );
    810814                        }
    811815                        $output .= $r['after'];
    812816                }
  • src/wp-includes/post.php

    diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php
    old mode 100644
    new mode 100755
    index e9d9317..f133893
    a b function create_initial_post_types() { 
    7272                'query_var' => false,
    7373                'show_in_nav_menus' => false,
    7474                'delete_with_user' => true,
    75                 'supports' => array( 'title', 'author', 'comments' ),
     75                'supports' => array( 'title', 'author', 'comments', 'caption', 'description', 'alt' ),
    7676        ) );
    7777        add_post_type_support( 'attachment:audio', 'thumbnail' );
    7878        add_post_type_support( 'attachment:video', 'thumbnail' );
    function register_post_type( $post_type, $args = array() ) { 
    13521352
    13531353        // If not set, default to the whether the full UI is shown.
    13541354        if ( null === $args->show_in_admin_bar )
    1355                 $args->show_in_admin_bar = true === $args->show_in_menu;
     1355                $args->show_in_admin_bar = (bool) $args->show_in_menu;
    13561356
    13571357        // If not set, default to the setting for public.
    13581358        if ( null === $args->show_in_nav_menus )
  • src/wp-includes/taxonomy.php

    diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php
    old mode 100644
    new mode 100755
    index 2eecfec..b8261df
    a b class WP_Tax_Query { 
    832832         * @return bool  Whether the query clause is a first-order clause.
    833833         */
    834834        protected static function is_first_order_clause( $query ) {
    835                 return empty( $query ) || array_key_exists( 'terms', $query ) || array_key_exists( 'taxonomy', $query ) || array_key_exists( 'include_children', $query ) || array_key_exists( 'field', $query ) || array_key_exists( 'operator', $query );
     835                return is_array( $query ) && ( empty( $query ) || array_key_exists( 'terms', $query ) || array_key_exists( 'taxonomy', $query ) || array_key_exists( 'include_children', $query ) || array_key_exists( 'field', $query ) || array_key_exists( 'operator', $query ) );
    836836        }
    837837
    838838        /**
  • src/wp-includes/theme.php

    diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php
    old mode 100644
    new mode 100755
    index 340fe67..db68476
    a b function add_theme_support( $feature ) { 
    14721472
    14731473        switch ( $feature ) {
    14741474                case 'post-formats' :
    1475                         if ( is_array( $args[0] ) )
    1476                                 $args[0] = array_intersect( $args[0], array_keys( get_post_format_slugs() ) );
     1475                        if ( is_array( $args[0] ) ) {
     1476                                $post_formats = get_post_format_slugs();
     1477                                unset( $post_formats['standard'] );
     1478
     1479                                $args[0] = array_intersect( $args[0], array_keys( $post_formats ) );
     1480                        }
    14771481                        break;
    14781482
    14791483                case 'html5' :
  • src/wp-includes/user.php

    diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php
    old mode 100644
    new mode 100755
    index 71b32fc..15523ec
    a b function _wp_get_user_contactmethods( $user = null ) { 
    20902090 *
    20912091 * @return string The password hint text.
    20922092 */
    2093 function _wp_password_hint() {
     2093function _wp_get_password_hint() {
    20942094        $hint = __( 'Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! " ? $ % ^ &amp; ).' );
    20952095
    20962096        /**
  • src/wp-includes/version.php

    diff --git a/src/wp-includes/version.php b/src/wp-includes/version.php
    old mode 100644
    new mode 100755
    index 3f0523c..f227fe2
    a b  
    44 *
    55 * @global string $wp_version
    66 */
    7 $wp_version = '4.1-alpha-30000-src';
     7$wp_version = '4.1-alpha-30041';
    88
    99/**
    1010 * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
  • src/wp-login.php

    diff --git a/src/wp-login.php b/src/wp-login.php
    old mode 100644
    new mode 100755
    index 426c6d4..6401558
    a b case 'rp' : 
    626626        </p>
    627627
    628628        <div id="pass-strength-result" class="hide-if-no-js"><?php _e('Strength indicator'); ?></div>
    629         <p class="description indicator-hint"><?php echo _wp_password_hint(); ?></p>
     629        <p class="description indicator-hint"><?php echo _wp_get_password_hint(); ?></p>
    630630        <br class="clear" />
    631631
    632632        <?php